@coinbase/cdp-sdk 1.34.1 → 1.36.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (167) hide show
  1. package/CHANGELOG.md +22 -0
  2. package/README.md +17 -15
  3. package/_cjs/accounts/evm/networkCapabilities.js +4 -4
  4. package/_cjs/accounts/evm/networkCapabilities.js.map +1 -1
  5. package/_cjs/accounts/evm/toNetworkScopedEvmServerAccount.js +12 -2
  6. package/_cjs/accounts/evm/toNetworkScopedEvmServerAccount.js.map +1 -1
  7. package/_cjs/accounts/evm/toNetworkScopedEvmSmartAccount.js +8 -2
  8. package/_cjs/accounts/evm/toNetworkScopedEvmSmartAccount.js.map +1 -1
  9. package/_cjs/actions/evm/listTokenBalances.js +1 -1
  10. package/_cjs/actions/evm/listTokenBalances.js.map +1 -1
  11. package/_cjs/client/evm/evm.js +7 -0
  12. package/_cjs/client/evm/evm.js.map +1 -1
  13. package/_cjs/openapi-client/generated/coinbaseDeveloperPlatformAPIs.schemas.js +30 -3
  14. package/_cjs/openapi-client/generated/coinbaseDeveloperPlatformAPIs.schemas.js.map +1 -1
  15. package/_cjs/openapi-client/index.js +2 -0
  16. package/_cjs/openapi-client/index.js.map +1 -1
  17. package/_cjs/policies/evmSchema.js +52 -9
  18. package/_cjs/policies/evmSchema.js.map +1 -1
  19. package/_cjs/policies/solanaSchema.js +75 -1
  20. package/_cjs/policies/solanaSchema.js.map +1 -1
  21. package/_cjs/version.js +1 -1
  22. package/_esm/accounts/evm/networkCapabilities.js +4 -4
  23. package/_esm/accounts/evm/networkCapabilities.js.map +1 -1
  24. package/_esm/accounts/evm/toNetworkScopedEvmServerAccount.js +12 -2
  25. package/_esm/accounts/evm/toNetworkScopedEvmServerAccount.js.map +1 -1
  26. package/_esm/accounts/evm/toNetworkScopedEvmSmartAccount.js +8 -2
  27. package/_esm/accounts/evm/toNetworkScopedEvmSmartAccount.js.map +1 -1
  28. package/_esm/actions/evm/listTokenBalances.js +1 -1
  29. package/_esm/actions/evm/listTokenBalances.js.map +1 -1
  30. package/_esm/client/evm/evm.js +7 -0
  31. package/_esm/client/evm/evm.js.map +1 -1
  32. package/_esm/openapi-client/generated/coinbaseDeveloperPlatformAPIs.schemas.js +28 -1
  33. package/_esm/openapi-client/generated/coinbaseDeveloperPlatformAPIs.schemas.js.map +1 -1
  34. package/_esm/openapi-client/index.js +2 -0
  35. package/_esm/openapi-client/index.js.map +1 -1
  36. package/_esm/policies/evmSchema.js +51 -8
  37. package/_esm/policies/evmSchema.js.map +1 -1
  38. package/_esm/policies/solanaSchema.js +74 -0
  39. package/_esm/policies/solanaSchema.js.map +1 -1
  40. package/_esm/version.js +1 -1
  41. package/_types/accounts/evm/networkCapabilities.d.ts +4 -4
  42. package/_types/accounts/evm/toNetworkScopedEvmServerAccount.d.ts.map +1 -1
  43. package/_types/accounts/evm/toNetworkScopedEvmSmartAccount.d.ts.map +1 -1
  44. package/_types/accounts/evm/types.d.ts +3 -3
  45. package/_types/accounts/evm/types.d.ts.map +1 -1
  46. package/_types/client/evm/evm.d.ts.map +1 -1
  47. package/_types/openapi-client/generated/coinbaseDeveloperPlatformAPIs.schemas.d.ts +152 -7
  48. package/_types/openapi-client/generated/coinbaseDeveloperPlatformAPIs.schemas.d.ts.map +1 -1
  49. package/_types/openapi-client/index.d.ts +3 -0
  50. package/_types/openapi-client/index.d.ts.map +1 -1
  51. package/_types/policies/evmSchema.d.ts +180 -101
  52. package/_types/policies/evmSchema.d.ts.map +1 -1
  53. package/_types/policies/solanaSchema.d.ts +852 -0
  54. package/_types/policies/solanaSchema.d.ts.map +1 -1
  55. package/_types/policies/types.d.ts +986 -38
  56. package/_types/policies/types.d.ts.map +1 -1
  57. package/_types/version.d.ts +1 -1
  58. package/accounts/evm/networkCapabilities.ts +4 -4
  59. package/accounts/evm/toNetworkScopedEvmServerAccount.ts +18 -5
  60. package/accounts/evm/toNetworkScopedEvmSmartAccount.ts +15 -4
  61. package/accounts/evm/types.ts +9 -5
  62. package/actions/evm/listTokenBalances.ts +1 -1
  63. package/client/evm/evm.ts +10 -0
  64. package/openapi-client/generated/coinbaseDeveloperPlatformAPIs.schemas.ts +179 -8
  65. package/openapi-client/index.ts +2 -0
  66. package/package.json +1 -1
  67. package/policies/evmSchema.ts +66 -9
  68. package/policies/solanaSchema.ts +100 -0
  69. package/version.ts +1 -1
  70. package/_cjs/openapi-client/generated/end-user-accounts/end-user-accounts.msw.js +0 -61
  71. package/_cjs/openapi-client/generated/end-user-accounts/end-user-accounts.msw.js.map +0 -1
  72. package/_cjs/openapi-client/generated/evm-accounts/evm-accounts.msw.js +0 -319
  73. package/_cjs/openapi-client/generated/evm-accounts/evm-accounts.msw.js.map +0 -1
  74. package/_cjs/openapi-client/generated/evm-smart-accounts/evm-smart-accounts.msw.js +0 -514
  75. package/_cjs/openapi-client/generated/evm-smart-accounts/evm-smart-accounts.msw.js.map +0 -1
  76. package/_cjs/openapi-client/generated/evm-swaps/evm-swaps.msw.js +0 -179
  77. package/_cjs/openapi-client/generated/evm-swaps/evm-swaps.msw.js.map +0 -1
  78. package/_cjs/openapi-client/generated/evm-token-balances/evm-token-balances.msw.js +0 -45
  79. package/_cjs/openapi-client/generated/evm-token-balances/evm-token-balances.msw.js.map +0 -1
  80. package/_cjs/openapi-client/generated/faucets/faucets.msw.js +0 -47
  81. package/_cjs/openapi-client/generated/faucets/faucets.msw.js.map +0 -1
  82. package/_cjs/openapi-client/generated/index.msw.js +0 -30
  83. package/_cjs/openapi-client/generated/index.msw.js.map +0 -1
  84. package/_cjs/openapi-client/generated/onchain-data/onchain-data.msw.js +0 -139
  85. package/_cjs/openapi-client/generated/onchain-data/onchain-data.msw.js.map +0 -1
  86. package/_cjs/openapi-client/generated/onramp/onramp.msw.js +0 -98
  87. package/_cjs/openapi-client/generated/onramp/onramp.msw.js.map +0 -1
  88. package/_cjs/openapi-client/generated/payments-alpha/payments-alpha.msw.js +0 -270
  89. package/_cjs/openapi-client/generated/payments-alpha/payments-alpha.msw.js.map +0 -1
  90. package/_cjs/openapi-client/generated/policy-engine/policy-engine.msw.js +0 -1387
  91. package/_cjs/openapi-client/generated/policy-engine/policy-engine.msw.js.map +0 -1
  92. package/_cjs/openapi-client/generated/solana-accounts/solana-accounts.msw.js +0 -294
  93. package/_cjs/openapi-client/generated/solana-accounts/solana-accounts.msw.js.map +0 -1
  94. package/_cjs/openapi-client/generated/solana-token-balances/solana-token-balances.msw.js +0 -43
  95. package/_cjs/openapi-client/generated/solana-token-balances/solana-token-balances.msw.js.map +0 -1
  96. package/_cjs/openapi-client/generated/x402-facilitator/x402-facilitator.msw.js +0 -84
  97. package/_cjs/openapi-client/generated/x402-facilitator/x402-facilitator.msw.js.map +0 -1
  98. package/_esm/openapi-client/generated/end-user-accounts/end-user-accounts.msw.js +0 -52
  99. package/_esm/openapi-client/generated/end-user-accounts/end-user-accounts.msw.js.map +0 -1
  100. package/_esm/openapi-client/generated/evm-accounts/evm-accounts.msw.js +0 -289
  101. package/_esm/openapi-client/generated/evm-accounts/evm-accounts.msw.js.map +0 -1
  102. package/_esm/openapi-client/generated/evm-smart-accounts/evm-smart-accounts.msw.js +0 -488
  103. package/_esm/openapi-client/generated/evm-smart-accounts/evm-smart-accounts.msw.js.map +0 -1
  104. package/_esm/openapi-client/generated/evm-swaps/evm-swaps.msw.js +0 -167
  105. package/_esm/openapi-client/generated/evm-swaps/evm-swaps.msw.js.map +0 -1
  106. package/_esm/openapi-client/generated/evm-token-balances/evm-token-balances.msw.js +0 -39
  107. package/_esm/openapi-client/generated/evm-token-balances/evm-token-balances.msw.js.map +0 -1
  108. package/_esm/openapi-client/generated/faucets/faucets.msw.js +0 -39
  109. package/_esm/openapi-client/generated/faucets/faucets.msw.js.map +0 -1
  110. package/_esm/openapi-client/generated/index.msw.js +0 -14
  111. package/_esm/openapi-client/generated/index.msw.js.map +0 -1
  112. package/_esm/openapi-client/generated/onchain-data/onchain-data.msw.js +0 -129
  113. package/_esm/openapi-client/generated/onchain-data/onchain-data.msw.js.map +0 -1
  114. package/_esm/openapi-client/generated/onramp/onramp.msw.js +0 -90
  115. package/_esm/openapi-client/generated/onramp/onramp.msw.js.map +0 -1
  116. package/_esm/openapi-client/generated/payments-alpha/payments-alpha.msw.js +0 -250
  117. package/_esm/openapi-client/generated/payments-alpha/payments-alpha.msw.js.map +0 -1
  118. package/_esm/openapi-client/generated/policy-engine/policy-engine.msw.js +0 -1293
  119. package/_esm/openapi-client/generated/policy-engine/policy-engine.msw.js.map +0 -1
  120. package/_esm/openapi-client/generated/solana-accounts/solana-accounts.msw.js +0 -268
  121. package/_esm/openapi-client/generated/solana-accounts/solana-accounts.msw.js.map +0 -1
  122. package/_esm/openapi-client/generated/solana-token-balances/solana-token-balances.msw.js +0 -37
  123. package/_esm/openapi-client/generated/solana-token-balances/solana-token-balances.msw.js.map +0 -1
  124. package/_esm/openapi-client/generated/x402-facilitator/x402-facilitator.msw.js +0 -74
  125. package/_esm/openapi-client/generated/x402-facilitator/x402-facilitator.msw.js.map +0 -1
  126. package/_types/openapi-client/generated/end-user-accounts/end-user-accounts.msw.d.ts +0 -9
  127. package/_types/openapi-client/generated/end-user-accounts/end-user-accounts.msw.d.ts.map +0 -1
  128. package/_types/openapi-client/generated/evm-accounts/evm-accounts.msw.d.ts +0 -30
  129. package/_types/openapi-client/generated/evm-accounts/evm-accounts.msw.d.ts.map +0 -1
  130. package/_types/openapi-client/generated/evm-smart-accounts/evm-smart-accounts.msw.d.ts +0 -26
  131. package/_types/openapi-client/generated/evm-smart-accounts/evm-smart-accounts.msw.d.ts.map +0 -1
  132. package/_types/openapi-client/generated/evm-swaps/evm-swaps.msw.d.ts +0 -12
  133. package/_types/openapi-client/generated/evm-swaps/evm-swaps.msw.d.ts.map +0 -1
  134. package/_types/openapi-client/generated/evm-token-balances/evm-token-balances.msw.d.ts +0 -6
  135. package/_types/openapi-client/generated/evm-token-balances/evm-token-balances.msw.d.ts.map +0 -1
  136. package/_types/openapi-client/generated/faucets/faucets.msw.d.ts +0 -8
  137. package/_types/openapi-client/generated/faucets/faucets.msw.d.ts.map +0 -1
  138. package/_types/openapi-client/generated/index.msw.d.ts +0 -14
  139. package/_types/openapi-client/generated/index.msw.d.ts.map +0 -1
  140. package/_types/openapi-client/generated/onchain-data/onchain-data.msw.d.ts +0 -10
  141. package/_types/openapi-client/generated/onchain-data/onchain-data.msw.d.ts.map +0 -1
  142. package/_types/openapi-client/generated/onramp/onramp.msw.d.ts +0 -8
  143. package/_types/openapi-client/generated/onramp/onramp.msw.d.ts.map +0 -1
  144. package/_types/openapi-client/generated/payments-alpha/payments-alpha.msw.d.ts +0 -20
  145. package/_types/openapi-client/generated/payments-alpha/payments-alpha.msw.d.ts.map +0 -1
  146. package/_types/openapi-client/generated/policy-engine/policy-engine.msw.d.ts +0 -93
  147. package/_types/openapi-client/generated/policy-engine/policy-engine.msw.d.ts.map +0 -1
  148. package/_types/openapi-client/generated/solana-accounts/solana-accounts.msw.d.ts +0 -26
  149. package/_types/openapi-client/generated/solana-accounts/solana-accounts.msw.d.ts.map +0 -1
  150. package/_types/openapi-client/generated/solana-token-balances/solana-token-balances.msw.d.ts +0 -6
  151. package/_types/openapi-client/generated/solana-token-balances/solana-token-balances.msw.d.ts.map +0 -1
  152. package/_types/openapi-client/generated/x402-facilitator/x402-facilitator.msw.d.ts +0 -10
  153. package/_types/openapi-client/generated/x402-facilitator/x402-facilitator.msw.d.ts.map +0 -1
  154. package/openapi-client/generated/end-user-accounts/end-user-accounts.msw.ts +0 -95
  155. package/openapi-client/generated/evm-accounts/evm-accounts.msw.ts +0 -523
  156. package/openapi-client/generated/evm-smart-accounts/evm-smart-accounts.msw.ts +0 -705
  157. package/openapi-client/generated/evm-swaps/evm-swaps.msw.ts +0 -217
  158. package/openapi-client/generated/evm-token-balances/evm-token-balances.msw.ts +0 -57
  159. package/openapi-client/generated/faucets/faucets.msw.ts +0 -76
  160. package/openapi-client/generated/index.msw.ts +0 -13
  161. package/openapi-client/generated/onchain-data/onchain-data.msw.ts +0 -185
  162. package/openapi-client/generated/onramp/onramp.msw.ts +0 -135
  163. package/openapi-client/generated/payments-alpha/payments-alpha.msw.ts +0 -369
  164. package/openapi-client/generated/policy-engine/policy-engine.msw.ts +0 -1912
  165. package/openapi-client/generated/solana-accounts/solana-accounts.msw.ts +0 -478
  166. package/openapi-client/generated/solana-token-balances/solana-token-balances.msw.ts +0 -55
  167. package/openapi-client/generated/x402-facilitator/x402-facilitator.msw.ts +0 -136
@@ -626,16 +626,16 @@ export declare const RuleSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
626
626
  addresses: string[];
627
627
  }>, z.ZodObject<{
628
628
  type: z.ZodLiteral<"evmNetwork">;
629
- networks: z.ZodArray<z.ZodEnum<["base", "base-sepolia"]>, "many">;
629
+ networks: z.ZodArray<z.ZodEnum<["base", "base-sepolia", "ethereum", "ethereum-sepolia", "avalanche", "polygon", "optimism", "arbitrum"]>, "many">;
630
630
  operator: z.ZodEnum<["in", "not in"]>;
631
631
  }, "strip", z.ZodTypeAny, {
632
632
  type: "evmNetwork";
633
633
  operator: "in" | "not in";
634
- networks: ("base-sepolia" | "base")[];
634
+ networks: ("base-sepolia" | "base" | "arbitrum" | "optimism" | "polygon" | "avalanche" | "ethereum" | "ethereum-sepolia")[];
635
635
  }, {
636
636
  type: "evmNetwork";
637
637
  operator: "in" | "not in";
638
- networks: ("base-sepolia" | "base")[];
638
+ networks: ("base-sepolia" | "base" | "arbitrum" | "optimism" | "polygon" | "avalanche" | "ethereum" | "ethereum-sepolia")[];
639
639
  }>, z.ZodObject<{
640
640
  type: z.ZodLiteral<"evmData">;
641
641
  abi: z.ZodUnion<[z.ZodEnum<["erc20", "erc721", "erc1155"]>, z.ZodReadonly<z.ZodArray<z.ZodUnion<[z.ZodObject<{
@@ -887,7 +887,7 @@ export declare const RuleSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
887
887
  } | {
888
888
  type: "evmNetwork";
889
889
  operator: "in" | "not in";
890
- networks: ("base-sepolia" | "base")[];
890
+ networks: ("base-sepolia" | "base" | "arbitrum" | "optimism" | "polygon" | "avalanche" | "ethereum" | "ethereum-sepolia")[];
891
891
  } | {
892
892
  type: "netUSDChange";
893
893
  operator: ">" | ">=" | "<" | "<=" | "==";
@@ -952,7 +952,7 @@ export declare const RuleSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
952
952
  } | {
953
953
  type: "evmNetwork";
954
954
  operator: "in" | "not in";
955
- networks: ("base-sepolia" | "base")[];
955
+ networks: ("base-sepolia" | "base" | "arbitrum" | "optimism" | "polygon" | "avalanche" | "ethereum" | "ethereum-sepolia")[];
956
956
  } | {
957
957
  type: "netUSDChange";
958
958
  operator: ">" | ">=" | "<" | "<=" | "==";
@@ -1036,6 +1036,104 @@ export declare const RuleSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1036
1036
  type: "mintAddress";
1037
1037
  operator: "in" | "not in";
1038
1038
  addresses: string[];
1039
+ }>, z.ZodObject<{
1040
+ type: z.ZodLiteral<"solData">;
1041
+ idls: z.ZodArray<z.ZodUnion<[z.ZodEnum<["SystemProgram", "TokenProgram", "AssociatedTokenProgram"]>, z.ZodObject<{
1042
+ address: z.ZodString;
1043
+ instructions: z.ZodArray<z.ZodAny, "many">;
1044
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1045
+ address: z.ZodString;
1046
+ instructions: z.ZodArray<z.ZodAny, "many">;
1047
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1048
+ address: z.ZodString;
1049
+ instructions: z.ZodArray<z.ZodAny, "many">;
1050
+ }, z.ZodTypeAny, "passthrough">>]>, "many">;
1051
+ conditions: z.ZodArray<z.ZodObject<{
1052
+ instruction: z.ZodString;
1053
+ params: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
1054
+ name: z.ZodString;
1055
+ operator: z.ZodEnum<[">", ">=", "<", "<=", "=="]>;
1056
+ value: z.ZodString;
1057
+ }, "strip", z.ZodTypeAny, {
1058
+ value: string;
1059
+ name: string;
1060
+ operator: ">" | ">=" | "<" | "<=" | "==";
1061
+ }, {
1062
+ value: string;
1063
+ name: string;
1064
+ operator: ">" | ">=" | "<" | "<=" | "==";
1065
+ }>, z.ZodObject<{
1066
+ name: z.ZodString;
1067
+ operator: z.ZodEnum<["in", "not in"]>;
1068
+ values: z.ZodArray<z.ZodString, "many">;
1069
+ }, "strip", z.ZodTypeAny, {
1070
+ values: string[];
1071
+ name: string;
1072
+ operator: "in" | "not in";
1073
+ }, {
1074
+ values: string[];
1075
+ name: string;
1076
+ operator: "in" | "not in";
1077
+ }>]>, "many">>;
1078
+ }, "strip", z.ZodTypeAny, {
1079
+ instruction: string;
1080
+ params?: ({
1081
+ value: string;
1082
+ name: string;
1083
+ operator: ">" | ">=" | "<" | "<=" | "==";
1084
+ } | {
1085
+ values: string[];
1086
+ name: string;
1087
+ operator: "in" | "not in";
1088
+ })[] | undefined;
1089
+ }, {
1090
+ instruction: string;
1091
+ params?: ({
1092
+ value: string;
1093
+ name: string;
1094
+ operator: ">" | ">=" | "<" | "<=" | "==";
1095
+ } | {
1096
+ values: string[];
1097
+ name: string;
1098
+ operator: "in" | "not in";
1099
+ })[] | undefined;
1100
+ }>, "many">;
1101
+ }, "strip", z.ZodTypeAny, {
1102
+ type: "solData";
1103
+ conditions: {
1104
+ instruction: string;
1105
+ params?: ({
1106
+ value: string;
1107
+ name: string;
1108
+ operator: ">" | ">=" | "<" | "<=" | "==";
1109
+ } | {
1110
+ values: string[];
1111
+ name: string;
1112
+ operator: "in" | "not in";
1113
+ })[] | undefined;
1114
+ }[];
1115
+ idls: ("SystemProgram" | "TokenProgram" | "AssociatedTokenProgram" | z.objectOutputType<{
1116
+ address: z.ZodString;
1117
+ instructions: z.ZodArray<z.ZodAny, "many">;
1118
+ }, z.ZodTypeAny, "passthrough">)[];
1119
+ }, {
1120
+ type: "solData";
1121
+ conditions: {
1122
+ instruction: string;
1123
+ params?: ({
1124
+ value: string;
1125
+ name: string;
1126
+ operator: ">" | ">=" | "<" | "<=" | "==";
1127
+ } | {
1128
+ values: string[];
1129
+ name: string;
1130
+ operator: "in" | "not in";
1131
+ })[] | undefined;
1132
+ }[];
1133
+ idls: ("SystemProgram" | "TokenProgram" | "AssociatedTokenProgram" | z.objectInputType<{
1134
+ address: z.ZodString;
1135
+ instructions: z.ZodArray<z.ZodAny, "many">;
1136
+ }, z.ZodTypeAny, "passthrough">)[];
1039
1137
  }>]>, "many">;
1040
1138
  }, "strip", z.ZodTypeAny, {
1041
1139
  action: "reject" | "accept";
@@ -1060,6 +1158,24 @@ export declare const RuleSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1060
1158
  type: "mintAddress";
1061
1159
  operator: "in" | "not in";
1062
1160
  addresses: string[];
1161
+ } | {
1162
+ type: "solData";
1163
+ conditions: {
1164
+ instruction: string;
1165
+ params?: ({
1166
+ value: string;
1167
+ name: string;
1168
+ operator: ">" | ">=" | "<" | "<=" | "==";
1169
+ } | {
1170
+ values: string[];
1171
+ name: string;
1172
+ operator: "in" | "not in";
1173
+ })[] | undefined;
1174
+ }[];
1175
+ idls: ("SystemProgram" | "TokenProgram" | "AssociatedTokenProgram" | z.objectOutputType<{
1176
+ address: z.ZodString;
1177
+ instructions: z.ZodArray<z.ZodAny, "many">;
1178
+ }, z.ZodTypeAny, "passthrough">)[];
1063
1179
  })[];
1064
1180
  }, {
1065
1181
  action: "reject" | "accept";
@@ -1084,6 +1200,24 @@ export declare const RuleSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1084
1200
  type: "mintAddress";
1085
1201
  operator: "in" | "not in";
1086
1202
  addresses: string[];
1203
+ } | {
1204
+ type: "solData";
1205
+ conditions: {
1206
+ instruction: string;
1207
+ params?: ({
1208
+ value: string;
1209
+ name: string;
1210
+ operator: ">" | ">=" | "<" | "<=" | "==";
1211
+ } | {
1212
+ values: string[];
1213
+ name: string;
1214
+ operator: "in" | "not in";
1215
+ })[] | undefined;
1216
+ }[];
1217
+ idls: ("SystemProgram" | "TokenProgram" | "AssociatedTokenProgram" | z.objectInputType<{
1218
+ address: z.ZodString;
1219
+ instructions: z.ZodArray<z.ZodAny, "many">;
1220
+ }, z.ZodTypeAny, "passthrough">)[];
1087
1221
  })[];
1088
1222
  }>, z.ZodObject<{
1089
1223
  action: z.ZodEnum<["reject", "accept"]>;
@@ -1148,6 +1282,104 @@ export declare const RuleSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1148
1282
  type: "mintAddress";
1149
1283
  operator: "in" | "not in";
1150
1284
  addresses: string[];
1285
+ }>, z.ZodObject<{
1286
+ type: z.ZodLiteral<"solData">;
1287
+ idls: z.ZodArray<z.ZodUnion<[z.ZodEnum<["SystemProgram", "TokenProgram", "AssociatedTokenProgram"]>, z.ZodObject<{
1288
+ address: z.ZodString;
1289
+ instructions: z.ZodArray<z.ZodAny, "many">;
1290
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1291
+ address: z.ZodString;
1292
+ instructions: z.ZodArray<z.ZodAny, "many">;
1293
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1294
+ address: z.ZodString;
1295
+ instructions: z.ZodArray<z.ZodAny, "many">;
1296
+ }, z.ZodTypeAny, "passthrough">>]>, "many">;
1297
+ conditions: z.ZodArray<z.ZodObject<{
1298
+ instruction: z.ZodString;
1299
+ params: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
1300
+ name: z.ZodString;
1301
+ operator: z.ZodEnum<[">", ">=", "<", "<=", "=="]>;
1302
+ value: z.ZodString;
1303
+ }, "strip", z.ZodTypeAny, {
1304
+ value: string;
1305
+ name: string;
1306
+ operator: ">" | ">=" | "<" | "<=" | "==";
1307
+ }, {
1308
+ value: string;
1309
+ name: string;
1310
+ operator: ">" | ">=" | "<" | "<=" | "==";
1311
+ }>, z.ZodObject<{
1312
+ name: z.ZodString;
1313
+ operator: z.ZodEnum<["in", "not in"]>;
1314
+ values: z.ZodArray<z.ZodString, "many">;
1315
+ }, "strip", z.ZodTypeAny, {
1316
+ values: string[];
1317
+ name: string;
1318
+ operator: "in" | "not in";
1319
+ }, {
1320
+ values: string[];
1321
+ name: string;
1322
+ operator: "in" | "not in";
1323
+ }>]>, "many">>;
1324
+ }, "strip", z.ZodTypeAny, {
1325
+ instruction: string;
1326
+ params?: ({
1327
+ value: string;
1328
+ name: string;
1329
+ operator: ">" | ">=" | "<" | "<=" | "==";
1330
+ } | {
1331
+ values: string[];
1332
+ name: string;
1333
+ operator: "in" | "not in";
1334
+ })[] | undefined;
1335
+ }, {
1336
+ instruction: string;
1337
+ params?: ({
1338
+ value: string;
1339
+ name: string;
1340
+ operator: ">" | ">=" | "<" | "<=" | "==";
1341
+ } | {
1342
+ values: string[];
1343
+ name: string;
1344
+ operator: "in" | "not in";
1345
+ })[] | undefined;
1346
+ }>, "many">;
1347
+ }, "strip", z.ZodTypeAny, {
1348
+ type: "solData";
1349
+ conditions: {
1350
+ instruction: string;
1351
+ params?: ({
1352
+ value: string;
1353
+ name: string;
1354
+ operator: ">" | ">=" | "<" | "<=" | "==";
1355
+ } | {
1356
+ values: string[];
1357
+ name: string;
1358
+ operator: "in" | "not in";
1359
+ })[] | undefined;
1360
+ }[];
1361
+ idls: ("SystemProgram" | "TokenProgram" | "AssociatedTokenProgram" | z.objectOutputType<{
1362
+ address: z.ZodString;
1363
+ instructions: z.ZodArray<z.ZodAny, "many">;
1364
+ }, z.ZodTypeAny, "passthrough">)[];
1365
+ }, {
1366
+ type: "solData";
1367
+ conditions: {
1368
+ instruction: string;
1369
+ params?: ({
1370
+ value: string;
1371
+ name: string;
1372
+ operator: ">" | ">=" | "<" | "<=" | "==";
1373
+ } | {
1374
+ values: string[];
1375
+ name: string;
1376
+ operator: "in" | "not in";
1377
+ })[] | undefined;
1378
+ }[];
1379
+ idls: ("SystemProgram" | "TokenProgram" | "AssociatedTokenProgram" | z.objectInputType<{
1380
+ address: z.ZodString;
1381
+ instructions: z.ZodArray<z.ZodAny, "many">;
1382
+ }, z.ZodTypeAny, "passthrough">)[];
1151
1383
  }>]>, "many">;
1152
1384
  }, "strip", z.ZodTypeAny, {
1153
1385
  action: "reject" | "accept";
@@ -1172,6 +1404,24 @@ export declare const RuleSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1172
1404
  type: "mintAddress";
1173
1405
  operator: "in" | "not in";
1174
1406
  addresses: string[];
1407
+ } | {
1408
+ type: "solData";
1409
+ conditions: {
1410
+ instruction: string;
1411
+ params?: ({
1412
+ value: string;
1413
+ name: string;
1414
+ operator: ">" | ">=" | "<" | "<=" | "==";
1415
+ } | {
1416
+ values: string[];
1417
+ name: string;
1418
+ operator: "in" | "not in";
1419
+ })[] | undefined;
1420
+ }[];
1421
+ idls: ("SystemProgram" | "TokenProgram" | "AssociatedTokenProgram" | z.objectOutputType<{
1422
+ address: z.ZodString;
1423
+ instructions: z.ZodArray<z.ZodAny, "many">;
1424
+ }, z.ZodTypeAny, "passthrough">)[];
1175
1425
  })[];
1176
1426
  }, {
1177
1427
  action: "reject" | "accept";
@@ -1196,6 +1446,24 @@ export declare const RuleSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1196
1446
  type: "mintAddress";
1197
1447
  operator: "in" | "not in";
1198
1448
  addresses: string[];
1449
+ } | {
1450
+ type: "solData";
1451
+ conditions: {
1452
+ instruction: string;
1453
+ params?: ({
1454
+ value: string;
1455
+ name: string;
1456
+ operator: ">" | ">=" | "<" | "<=" | "==";
1457
+ } | {
1458
+ values: string[];
1459
+ name: string;
1460
+ operator: "in" | "not in";
1461
+ })[] | undefined;
1462
+ }[];
1463
+ idls: ("SystemProgram" | "TokenProgram" | "AssociatedTokenProgram" | z.objectInputType<{
1464
+ address: z.ZodString;
1465
+ instructions: z.ZodArray<z.ZodAny, "many">;
1466
+ }, z.ZodTypeAny, "passthrough">)[];
1199
1467
  })[];
1200
1468
  }>, z.ZodObject<{
1201
1469
  action: z.ZodEnum<["reject", "accept"]>;
@@ -1226,16 +1494,16 @@ export declare const RuleSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1226
1494
  addresses: string[];
1227
1495
  }>, z.ZodObject<{
1228
1496
  type: z.ZodLiteral<"evmNetwork">;
1229
- networks: z.ZodArray<z.ZodEnum<["base", "base-sepolia"]>, "many">;
1497
+ networks: z.ZodArray<z.ZodEnum<["base-sepolia", "base", "arbitrum", "optimism", "zora", "polygon", "bnb", "avalanche", "ethereum", "ethereum-sepolia"]>, "many">;
1230
1498
  operator: z.ZodEnum<["in", "not in"]>;
1231
1499
  }, "strip", z.ZodTypeAny, {
1232
1500
  type: "evmNetwork";
1233
1501
  operator: "in" | "not in";
1234
- networks: ("base-sepolia" | "base")[];
1502
+ networks: ("base-sepolia" | "base" | "arbitrum" | "optimism" | "zora" | "polygon" | "bnb" | "avalanche" | "ethereum" | "ethereum-sepolia")[];
1235
1503
  }, {
1236
1504
  type: "evmNetwork";
1237
1505
  operator: "in" | "not in";
1238
- networks: ("base-sepolia" | "base")[];
1506
+ networks: ("base-sepolia" | "base" | "arbitrum" | "optimism" | "zora" | "polygon" | "bnb" | "avalanche" | "ethereum" | "ethereum-sepolia")[];
1239
1507
  }>, z.ZodObject<{
1240
1508
  type: z.ZodLiteral<"evmData">;
1241
1509
  abi: z.ZodUnion<[z.ZodEnum<["erc20", "erc721", "erc1155"]>, z.ZodReadonly<z.ZodArray<z.ZodUnion<[z.ZodObject<{
@@ -1475,7 +1743,7 @@ export declare const RuleSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1475
1743
  } | {
1476
1744
  type: "evmNetwork";
1477
1745
  operator: "in" | "not in";
1478
- networks: ("base-sepolia" | "base")[];
1746
+ networks: ("base-sepolia" | "base" | "arbitrum" | "optimism" | "zora" | "polygon" | "bnb" | "avalanche" | "ethereum" | "ethereum-sepolia")[];
1479
1747
  } | {
1480
1748
  type: "evmData";
1481
1749
  abi: "erc20" | "erc721" | "erc1155" | readonly ({
@@ -1536,7 +1804,7 @@ export declare const RuleSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1536
1804
  } | {
1537
1805
  type: "evmNetwork";
1538
1806
  operator: "in" | "not in";
1539
- networks: ("base-sepolia" | "base")[];
1807
+ networks: ("base-sepolia" | "base" | "arbitrum" | "optimism" | "zora" | "polygon" | "bnb" | "avalanche" | "ethereum" | "ethereum-sepolia")[];
1540
1808
  } | {
1541
1809
  type: "evmData";
1542
1810
  abi: "erc20" | "erc721" | "erc1155" | readonly unknown[];
@@ -2511,16 +2779,16 @@ export declare const CreatePolicyBodySchema: z.ZodObject<{
2511
2779
  addresses: string[];
2512
2780
  }>, z.ZodObject<{
2513
2781
  type: z.ZodLiteral<"evmNetwork">;
2514
- networks: z.ZodArray<z.ZodEnum<["base", "base-sepolia"]>, "many">;
2782
+ networks: z.ZodArray<z.ZodEnum<["base", "base-sepolia", "ethereum", "ethereum-sepolia", "avalanche", "polygon", "optimism", "arbitrum"]>, "many">;
2515
2783
  operator: z.ZodEnum<["in", "not in"]>;
2516
2784
  }, "strip", z.ZodTypeAny, {
2517
2785
  type: "evmNetwork";
2518
2786
  operator: "in" | "not in";
2519
- networks: ("base-sepolia" | "base")[];
2787
+ networks: ("base-sepolia" | "base" | "arbitrum" | "optimism" | "polygon" | "avalanche" | "ethereum" | "ethereum-sepolia")[];
2520
2788
  }, {
2521
2789
  type: "evmNetwork";
2522
2790
  operator: "in" | "not in";
2523
- networks: ("base-sepolia" | "base")[];
2791
+ networks: ("base-sepolia" | "base" | "arbitrum" | "optimism" | "polygon" | "avalanche" | "ethereum" | "ethereum-sepolia")[];
2524
2792
  }>, z.ZodObject<{
2525
2793
  type: z.ZodLiteral<"evmData">;
2526
2794
  abi: z.ZodUnion<[z.ZodEnum<["erc20", "erc721", "erc1155"]>, z.ZodReadonly<z.ZodArray<z.ZodUnion<[z.ZodObject<{
@@ -2772,7 +3040,7 @@ export declare const CreatePolicyBodySchema: z.ZodObject<{
2772
3040
  } | {
2773
3041
  type: "evmNetwork";
2774
3042
  operator: "in" | "not in";
2775
- networks: ("base-sepolia" | "base")[];
3043
+ networks: ("base-sepolia" | "base" | "arbitrum" | "optimism" | "polygon" | "avalanche" | "ethereum" | "ethereum-sepolia")[];
2776
3044
  } | {
2777
3045
  type: "netUSDChange";
2778
3046
  operator: ">" | ">=" | "<" | "<=" | "==";
@@ -2837,7 +3105,7 @@ export declare const CreatePolicyBodySchema: z.ZodObject<{
2837
3105
  } | {
2838
3106
  type: "evmNetwork";
2839
3107
  operator: "in" | "not in";
2840
- networks: ("base-sepolia" | "base")[];
3108
+ networks: ("base-sepolia" | "base" | "arbitrum" | "optimism" | "polygon" | "avalanche" | "ethereum" | "ethereum-sepolia")[];
2841
3109
  } | {
2842
3110
  type: "netUSDChange";
2843
3111
  operator: ">" | ">=" | "<" | "<=" | "==";
@@ -2921,6 +3189,104 @@ export declare const CreatePolicyBodySchema: z.ZodObject<{
2921
3189
  type: "mintAddress";
2922
3190
  operator: "in" | "not in";
2923
3191
  addresses: string[];
3192
+ }>, z.ZodObject<{
3193
+ type: z.ZodLiteral<"solData">;
3194
+ idls: z.ZodArray<z.ZodUnion<[z.ZodEnum<["SystemProgram", "TokenProgram", "AssociatedTokenProgram"]>, z.ZodObject<{
3195
+ address: z.ZodString;
3196
+ instructions: z.ZodArray<z.ZodAny, "many">;
3197
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
3198
+ address: z.ZodString;
3199
+ instructions: z.ZodArray<z.ZodAny, "many">;
3200
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
3201
+ address: z.ZodString;
3202
+ instructions: z.ZodArray<z.ZodAny, "many">;
3203
+ }, z.ZodTypeAny, "passthrough">>]>, "many">;
3204
+ conditions: z.ZodArray<z.ZodObject<{
3205
+ instruction: z.ZodString;
3206
+ params: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
3207
+ name: z.ZodString;
3208
+ operator: z.ZodEnum<[">", ">=", "<", "<=", "=="]>;
3209
+ value: z.ZodString;
3210
+ }, "strip", z.ZodTypeAny, {
3211
+ value: string;
3212
+ name: string;
3213
+ operator: ">" | ">=" | "<" | "<=" | "==";
3214
+ }, {
3215
+ value: string;
3216
+ name: string;
3217
+ operator: ">" | ">=" | "<" | "<=" | "==";
3218
+ }>, z.ZodObject<{
3219
+ name: z.ZodString;
3220
+ operator: z.ZodEnum<["in", "not in"]>;
3221
+ values: z.ZodArray<z.ZodString, "many">;
3222
+ }, "strip", z.ZodTypeAny, {
3223
+ values: string[];
3224
+ name: string;
3225
+ operator: "in" | "not in";
3226
+ }, {
3227
+ values: string[];
3228
+ name: string;
3229
+ operator: "in" | "not in";
3230
+ }>]>, "many">>;
3231
+ }, "strip", z.ZodTypeAny, {
3232
+ instruction: string;
3233
+ params?: ({
3234
+ value: string;
3235
+ name: string;
3236
+ operator: ">" | ">=" | "<" | "<=" | "==";
3237
+ } | {
3238
+ values: string[];
3239
+ name: string;
3240
+ operator: "in" | "not in";
3241
+ })[] | undefined;
3242
+ }, {
3243
+ instruction: string;
3244
+ params?: ({
3245
+ value: string;
3246
+ name: string;
3247
+ operator: ">" | ">=" | "<" | "<=" | "==";
3248
+ } | {
3249
+ values: string[];
3250
+ name: string;
3251
+ operator: "in" | "not in";
3252
+ })[] | undefined;
3253
+ }>, "many">;
3254
+ }, "strip", z.ZodTypeAny, {
3255
+ type: "solData";
3256
+ conditions: {
3257
+ instruction: string;
3258
+ params?: ({
3259
+ value: string;
3260
+ name: string;
3261
+ operator: ">" | ">=" | "<" | "<=" | "==";
3262
+ } | {
3263
+ values: string[];
3264
+ name: string;
3265
+ operator: "in" | "not in";
3266
+ })[] | undefined;
3267
+ }[];
3268
+ idls: ("SystemProgram" | "TokenProgram" | "AssociatedTokenProgram" | z.objectOutputType<{
3269
+ address: z.ZodString;
3270
+ instructions: z.ZodArray<z.ZodAny, "many">;
3271
+ }, z.ZodTypeAny, "passthrough">)[];
3272
+ }, {
3273
+ type: "solData";
3274
+ conditions: {
3275
+ instruction: string;
3276
+ params?: ({
3277
+ value: string;
3278
+ name: string;
3279
+ operator: ">" | ">=" | "<" | "<=" | "==";
3280
+ } | {
3281
+ values: string[];
3282
+ name: string;
3283
+ operator: "in" | "not in";
3284
+ })[] | undefined;
3285
+ }[];
3286
+ idls: ("SystemProgram" | "TokenProgram" | "AssociatedTokenProgram" | z.objectInputType<{
3287
+ address: z.ZodString;
3288
+ instructions: z.ZodArray<z.ZodAny, "many">;
3289
+ }, z.ZodTypeAny, "passthrough">)[];
2924
3290
  }>]>, "many">;
2925
3291
  }, "strip", z.ZodTypeAny, {
2926
3292
  action: "reject" | "accept";
@@ -2945,6 +3311,24 @@ export declare const CreatePolicyBodySchema: z.ZodObject<{
2945
3311
  type: "mintAddress";
2946
3312
  operator: "in" | "not in";
2947
3313
  addresses: string[];
3314
+ } | {
3315
+ type: "solData";
3316
+ conditions: {
3317
+ instruction: string;
3318
+ params?: ({
3319
+ value: string;
3320
+ name: string;
3321
+ operator: ">" | ">=" | "<" | "<=" | "==";
3322
+ } | {
3323
+ values: string[];
3324
+ name: string;
3325
+ operator: "in" | "not in";
3326
+ })[] | undefined;
3327
+ }[];
3328
+ idls: ("SystemProgram" | "TokenProgram" | "AssociatedTokenProgram" | z.objectOutputType<{
3329
+ address: z.ZodString;
3330
+ instructions: z.ZodArray<z.ZodAny, "many">;
3331
+ }, z.ZodTypeAny, "passthrough">)[];
2948
3332
  })[];
2949
3333
  }, {
2950
3334
  action: "reject" | "accept";
@@ -2969,6 +3353,24 @@ export declare const CreatePolicyBodySchema: z.ZodObject<{
2969
3353
  type: "mintAddress";
2970
3354
  operator: "in" | "not in";
2971
3355
  addresses: string[];
3356
+ } | {
3357
+ type: "solData";
3358
+ conditions: {
3359
+ instruction: string;
3360
+ params?: ({
3361
+ value: string;
3362
+ name: string;
3363
+ operator: ">" | ">=" | "<" | "<=" | "==";
3364
+ } | {
3365
+ values: string[];
3366
+ name: string;
3367
+ operator: "in" | "not in";
3368
+ })[] | undefined;
3369
+ }[];
3370
+ idls: ("SystemProgram" | "TokenProgram" | "AssociatedTokenProgram" | z.objectInputType<{
3371
+ address: z.ZodString;
3372
+ instructions: z.ZodArray<z.ZodAny, "many">;
3373
+ }, z.ZodTypeAny, "passthrough">)[];
2972
3374
  })[];
2973
3375
  }>, z.ZodObject<{
2974
3376
  action: z.ZodEnum<["reject", "accept"]>;
@@ -3033,6 +3435,104 @@ export declare const CreatePolicyBodySchema: z.ZodObject<{
3033
3435
  type: "mintAddress";
3034
3436
  operator: "in" | "not in";
3035
3437
  addresses: string[];
3438
+ }>, z.ZodObject<{
3439
+ type: z.ZodLiteral<"solData">;
3440
+ idls: z.ZodArray<z.ZodUnion<[z.ZodEnum<["SystemProgram", "TokenProgram", "AssociatedTokenProgram"]>, z.ZodObject<{
3441
+ address: z.ZodString;
3442
+ instructions: z.ZodArray<z.ZodAny, "many">;
3443
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
3444
+ address: z.ZodString;
3445
+ instructions: z.ZodArray<z.ZodAny, "many">;
3446
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
3447
+ address: z.ZodString;
3448
+ instructions: z.ZodArray<z.ZodAny, "many">;
3449
+ }, z.ZodTypeAny, "passthrough">>]>, "many">;
3450
+ conditions: z.ZodArray<z.ZodObject<{
3451
+ instruction: z.ZodString;
3452
+ params: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
3453
+ name: z.ZodString;
3454
+ operator: z.ZodEnum<[">", ">=", "<", "<=", "=="]>;
3455
+ value: z.ZodString;
3456
+ }, "strip", z.ZodTypeAny, {
3457
+ value: string;
3458
+ name: string;
3459
+ operator: ">" | ">=" | "<" | "<=" | "==";
3460
+ }, {
3461
+ value: string;
3462
+ name: string;
3463
+ operator: ">" | ">=" | "<" | "<=" | "==";
3464
+ }>, z.ZodObject<{
3465
+ name: z.ZodString;
3466
+ operator: z.ZodEnum<["in", "not in"]>;
3467
+ values: z.ZodArray<z.ZodString, "many">;
3468
+ }, "strip", z.ZodTypeAny, {
3469
+ values: string[];
3470
+ name: string;
3471
+ operator: "in" | "not in";
3472
+ }, {
3473
+ values: string[];
3474
+ name: string;
3475
+ operator: "in" | "not in";
3476
+ }>]>, "many">>;
3477
+ }, "strip", z.ZodTypeAny, {
3478
+ instruction: string;
3479
+ params?: ({
3480
+ value: string;
3481
+ name: string;
3482
+ operator: ">" | ">=" | "<" | "<=" | "==";
3483
+ } | {
3484
+ values: string[];
3485
+ name: string;
3486
+ operator: "in" | "not in";
3487
+ })[] | undefined;
3488
+ }, {
3489
+ instruction: string;
3490
+ params?: ({
3491
+ value: string;
3492
+ name: string;
3493
+ operator: ">" | ">=" | "<" | "<=" | "==";
3494
+ } | {
3495
+ values: string[];
3496
+ name: string;
3497
+ operator: "in" | "not in";
3498
+ })[] | undefined;
3499
+ }>, "many">;
3500
+ }, "strip", z.ZodTypeAny, {
3501
+ type: "solData";
3502
+ conditions: {
3503
+ instruction: string;
3504
+ params?: ({
3505
+ value: string;
3506
+ name: string;
3507
+ operator: ">" | ">=" | "<" | "<=" | "==";
3508
+ } | {
3509
+ values: string[];
3510
+ name: string;
3511
+ operator: "in" | "not in";
3512
+ })[] | undefined;
3513
+ }[];
3514
+ idls: ("SystemProgram" | "TokenProgram" | "AssociatedTokenProgram" | z.objectOutputType<{
3515
+ address: z.ZodString;
3516
+ instructions: z.ZodArray<z.ZodAny, "many">;
3517
+ }, z.ZodTypeAny, "passthrough">)[];
3518
+ }, {
3519
+ type: "solData";
3520
+ conditions: {
3521
+ instruction: string;
3522
+ params?: ({
3523
+ value: string;
3524
+ name: string;
3525
+ operator: ">" | ">=" | "<" | "<=" | "==";
3526
+ } | {
3527
+ values: string[];
3528
+ name: string;
3529
+ operator: "in" | "not in";
3530
+ })[] | undefined;
3531
+ }[];
3532
+ idls: ("SystemProgram" | "TokenProgram" | "AssociatedTokenProgram" | z.objectInputType<{
3533
+ address: z.ZodString;
3534
+ instructions: z.ZodArray<z.ZodAny, "many">;
3535
+ }, z.ZodTypeAny, "passthrough">)[];
3036
3536
  }>]>, "many">;
3037
3537
  }, "strip", z.ZodTypeAny, {
3038
3538
  action: "reject" | "accept";
@@ -3057,6 +3557,24 @@ export declare const CreatePolicyBodySchema: z.ZodObject<{
3057
3557
  type: "mintAddress";
3058
3558
  operator: "in" | "not in";
3059
3559
  addresses: string[];
3560
+ } | {
3561
+ type: "solData";
3562
+ conditions: {
3563
+ instruction: string;
3564
+ params?: ({
3565
+ value: string;
3566
+ name: string;
3567
+ operator: ">" | ">=" | "<" | "<=" | "==";
3568
+ } | {
3569
+ values: string[];
3570
+ name: string;
3571
+ operator: "in" | "not in";
3572
+ })[] | undefined;
3573
+ }[];
3574
+ idls: ("SystemProgram" | "TokenProgram" | "AssociatedTokenProgram" | z.objectOutputType<{
3575
+ address: z.ZodString;
3576
+ instructions: z.ZodArray<z.ZodAny, "many">;
3577
+ }, z.ZodTypeAny, "passthrough">)[];
3060
3578
  })[];
3061
3579
  }, {
3062
3580
  action: "reject" | "accept";
@@ -3081,6 +3599,24 @@ export declare const CreatePolicyBodySchema: z.ZodObject<{
3081
3599
  type: "mintAddress";
3082
3600
  operator: "in" | "not in";
3083
3601
  addresses: string[];
3602
+ } | {
3603
+ type: "solData";
3604
+ conditions: {
3605
+ instruction: string;
3606
+ params?: ({
3607
+ value: string;
3608
+ name: string;
3609
+ operator: ">" | ">=" | "<" | "<=" | "==";
3610
+ } | {
3611
+ values: string[];
3612
+ name: string;
3613
+ operator: "in" | "not in";
3614
+ })[] | undefined;
3615
+ }[];
3616
+ idls: ("SystemProgram" | "TokenProgram" | "AssociatedTokenProgram" | z.objectInputType<{
3617
+ address: z.ZodString;
3618
+ instructions: z.ZodArray<z.ZodAny, "many">;
3619
+ }, z.ZodTypeAny, "passthrough">)[];
3084
3620
  })[];
3085
3621
  }>, z.ZodObject<{
3086
3622
  action: z.ZodEnum<["reject", "accept"]>;
@@ -3111,16 +3647,16 @@ export declare const CreatePolicyBodySchema: z.ZodObject<{
3111
3647
  addresses: string[];
3112
3648
  }>, z.ZodObject<{
3113
3649
  type: z.ZodLiteral<"evmNetwork">;
3114
- networks: z.ZodArray<z.ZodEnum<["base", "base-sepolia"]>, "many">;
3650
+ networks: z.ZodArray<z.ZodEnum<["base-sepolia", "base", "arbitrum", "optimism", "zora", "polygon", "bnb", "avalanche", "ethereum", "ethereum-sepolia"]>, "many">;
3115
3651
  operator: z.ZodEnum<["in", "not in"]>;
3116
3652
  }, "strip", z.ZodTypeAny, {
3117
3653
  type: "evmNetwork";
3118
3654
  operator: "in" | "not in";
3119
- networks: ("base-sepolia" | "base")[];
3655
+ networks: ("base-sepolia" | "base" | "arbitrum" | "optimism" | "zora" | "polygon" | "bnb" | "avalanche" | "ethereum" | "ethereum-sepolia")[];
3120
3656
  }, {
3121
3657
  type: "evmNetwork";
3122
3658
  operator: "in" | "not in";
3123
- networks: ("base-sepolia" | "base")[];
3659
+ networks: ("base-sepolia" | "base" | "arbitrum" | "optimism" | "zora" | "polygon" | "bnb" | "avalanche" | "ethereum" | "ethereum-sepolia")[];
3124
3660
  }>, z.ZodObject<{
3125
3661
  type: z.ZodLiteral<"evmData">;
3126
3662
  abi: z.ZodUnion<[z.ZodEnum<["erc20", "erc721", "erc1155"]>, z.ZodReadonly<z.ZodArray<z.ZodUnion<[z.ZodObject<{
@@ -3360,7 +3896,7 @@ export declare const CreatePolicyBodySchema: z.ZodObject<{
3360
3896
  } | {
3361
3897
  type: "evmNetwork";
3362
3898
  operator: "in" | "not in";
3363
- networks: ("base-sepolia" | "base")[];
3899
+ networks: ("base-sepolia" | "base" | "arbitrum" | "optimism" | "zora" | "polygon" | "bnb" | "avalanche" | "ethereum" | "ethereum-sepolia")[];
3364
3900
  } | {
3365
3901
  type: "evmData";
3366
3902
  abi: "erc20" | "erc721" | "erc1155" | readonly ({
@@ -3421,7 +3957,7 @@ export declare const CreatePolicyBodySchema: z.ZodObject<{
3421
3957
  } | {
3422
3958
  type: "evmNetwork";
3423
3959
  operator: "in" | "not in";
3424
- networks: ("base-sepolia" | "base")[];
3960
+ networks: ("base-sepolia" | "base" | "arbitrum" | "optimism" | "zora" | "polygon" | "bnb" | "avalanche" | "ethereum" | "ethereum-sepolia")[];
3425
3961
  } | {
3426
3962
  type: "evmData";
3427
3963
  abi: "erc20" | "erc721" | "erc1155" | readonly unknown[];
@@ -3891,7 +4427,7 @@ export declare const CreatePolicyBodySchema: z.ZodObject<{
3891
4427
  } | {
3892
4428
  type: "evmNetwork";
3893
4429
  operator: "in" | "not in";
3894
- networks: ("base-sepolia" | "base")[];
4430
+ networks: ("base-sepolia" | "base" | "arbitrum" | "optimism" | "polygon" | "avalanche" | "ethereum" | "ethereum-sepolia")[];
3895
4431
  } | {
3896
4432
  type: "netUSDChange";
3897
4433
  operator: ">" | ">=" | "<" | "<=" | "==";
@@ -3956,7 +4492,7 @@ export declare const CreatePolicyBodySchema: z.ZodObject<{
3956
4492
  } | {
3957
4493
  type: "evmNetwork";
3958
4494
  operator: "in" | "not in";
3959
- networks: ("base-sepolia" | "base")[];
4495
+ networks: ("base-sepolia" | "base" | "arbitrum" | "optimism" | "zora" | "polygon" | "bnb" | "avalanche" | "ethereum" | "ethereum-sepolia")[];
3960
4496
  } | {
3961
4497
  type: "evmData";
3962
4498
  abi: "erc20" | "erc721" | "erc1155" | readonly ({
@@ -4083,6 +4619,24 @@ export declare const CreatePolicyBodySchema: z.ZodObject<{
4083
4619
  type: "mintAddress";
4084
4620
  operator: "in" | "not in";
4085
4621
  addresses: string[];
4622
+ } | {
4623
+ type: "solData";
4624
+ conditions: {
4625
+ instruction: string;
4626
+ params?: ({
4627
+ value: string;
4628
+ name: string;
4629
+ operator: ">" | ">=" | "<" | "<=" | "==";
4630
+ } | {
4631
+ values: string[];
4632
+ name: string;
4633
+ operator: "in" | "not in";
4634
+ })[] | undefined;
4635
+ }[];
4636
+ idls: ("SystemProgram" | "TokenProgram" | "AssociatedTokenProgram" | z.objectOutputType<{
4637
+ address: z.ZodString;
4638
+ instructions: z.ZodArray<z.ZodAny, "many">;
4639
+ }, z.ZodTypeAny, "passthrough">)[];
4086
4640
  })[];
4087
4641
  } | {
4088
4642
  action: "reject" | "accept";
@@ -4107,6 +4661,24 @@ export declare const CreatePolicyBodySchema: z.ZodObject<{
4107
4661
  type: "mintAddress";
4108
4662
  operator: "in" | "not in";
4109
4663
  addresses: string[];
4664
+ } | {
4665
+ type: "solData";
4666
+ conditions: {
4667
+ instruction: string;
4668
+ params?: ({
4669
+ value: string;
4670
+ name: string;
4671
+ operator: ">" | ">=" | "<" | "<=" | "==";
4672
+ } | {
4673
+ values: string[];
4674
+ name: string;
4675
+ operator: "in" | "not in";
4676
+ })[] | undefined;
4677
+ }[];
4678
+ idls: ("SystemProgram" | "TokenProgram" | "AssociatedTokenProgram" | z.objectOutputType<{
4679
+ address: z.ZodString;
4680
+ instructions: z.ZodArray<z.ZodAny, "many">;
4681
+ }, z.ZodTypeAny, "passthrough">)[];
4110
4682
  })[];
4111
4683
  })[];
4112
4684
  description?: string | undefined;
@@ -4196,7 +4768,7 @@ export declare const CreatePolicyBodySchema: z.ZodObject<{
4196
4768
  } | {
4197
4769
  type: "evmNetwork";
4198
4770
  operator: "in" | "not in";
4199
- networks: ("base-sepolia" | "base")[];
4771
+ networks: ("base-sepolia" | "base" | "arbitrum" | "optimism" | "polygon" | "avalanche" | "ethereum" | "ethereum-sepolia")[];
4200
4772
  } | {
4201
4773
  type: "netUSDChange";
4202
4774
  operator: ">" | ">=" | "<" | "<=" | "==";
@@ -4231,7 +4803,7 @@ export declare const CreatePolicyBodySchema: z.ZodObject<{
4231
4803
  } | {
4232
4804
  type: "evmNetwork";
4233
4805
  operator: "in" | "not in";
4234
- networks: ("base-sepolia" | "base")[];
4806
+ networks: ("base-sepolia" | "base" | "arbitrum" | "optimism" | "zora" | "polygon" | "bnb" | "avalanche" | "ethereum" | "ethereum-sepolia")[];
4235
4807
  } | {
4236
4808
  type: "evmData";
4237
4809
  abi: "erc20" | "erc721" | "erc1155" | readonly unknown[];
@@ -4298,6 +4870,24 @@ export declare const CreatePolicyBodySchema: z.ZodObject<{
4298
4870
  type: "mintAddress";
4299
4871
  operator: "in" | "not in";
4300
4872
  addresses: string[];
4873
+ } | {
4874
+ type: "solData";
4875
+ conditions: {
4876
+ instruction: string;
4877
+ params?: ({
4878
+ value: string;
4879
+ name: string;
4880
+ operator: ">" | ">=" | "<" | "<=" | "==";
4881
+ } | {
4882
+ values: string[];
4883
+ name: string;
4884
+ operator: "in" | "not in";
4885
+ })[] | undefined;
4886
+ }[];
4887
+ idls: ("SystemProgram" | "TokenProgram" | "AssociatedTokenProgram" | z.objectInputType<{
4888
+ address: z.ZodString;
4889
+ instructions: z.ZodArray<z.ZodAny, "many">;
4890
+ }, z.ZodTypeAny, "passthrough">)[];
4301
4891
  })[];
4302
4892
  } | {
4303
4893
  action: "reject" | "accept";
@@ -4322,6 +4912,24 @@ export declare const CreatePolicyBodySchema: z.ZodObject<{
4322
4912
  type: "mintAddress";
4323
4913
  operator: "in" | "not in";
4324
4914
  addresses: string[];
4915
+ } | {
4916
+ type: "solData";
4917
+ conditions: {
4918
+ instruction: string;
4919
+ params?: ({
4920
+ value: string;
4921
+ name: string;
4922
+ operator: ">" | ">=" | "<" | "<=" | "==";
4923
+ } | {
4924
+ values: string[];
4925
+ name: string;
4926
+ operator: "in" | "not in";
4927
+ })[] | undefined;
4928
+ }[];
4929
+ idls: ("SystemProgram" | "TokenProgram" | "AssociatedTokenProgram" | z.objectInputType<{
4930
+ address: z.ZodString;
4931
+ instructions: z.ZodArray<z.ZodAny, "many">;
4932
+ }, z.ZodTypeAny, "passthrough">)[];
4325
4933
  })[];
4326
4934
  })[];
4327
4935
  description?: string | undefined;
@@ -4939,16 +5547,16 @@ export declare const UpdatePolicyBodySchema: z.ZodObject<{
4939
5547
  addresses: string[];
4940
5548
  }>, z.ZodObject<{
4941
5549
  type: z.ZodLiteral<"evmNetwork">;
4942
- networks: z.ZodArray<z.ZodEnum<["base", "base-sepolia"]>, "many">;
5550
+ networks: z.ZodArray<z.ZodEnum<["base", "base-sepolia", "ethereum", "ethereum-sepolia", "avalanche", "polygon", "optimism", "arbitrum"]>, "many">;
4943
5551
  operator: z.ZodEnum<["in", "not in"]>;
4944
5552
  }, "strip", z.ZodTypeAny, {
4945
5553
  type: "evmNetwork";
4946
5554
  operator: "in" | "not in";
4947
- networks: ("base-sepolia" | "base")[];
5555
+ networks: ("base-sepolia" | "base" | "arbitrum" | "optimism" | "polygon" | "avalanche" | "ethereum" | "ethereum-sepolia")[];
4948
5556
  }, {
4949
5557
  type: "evmNetwork";
4950
5558
  operator: "in" | "not in";
4951
- networks: ("base-sepolia" | "base")[];
5559
+ networks: ("base-sepolia" | "base" | "arbitrum" | "optimism" | "polygon" | "avalanche" | "ethereum" | "ethereum-sepolia")[];
4952
5560
  }>, z.ZodObject<{
4953
5561
  type: z.ZodLiteral<"evmData">;
4954
5562
  abi: z.ZodUnion<[z.ZodEnum<["erc20", "erc721", "erc1155"]>, z.ZodReadonly<z.ZodArray<z.ZodUnion<[z.ZodObject<{
@@ -5200,7 +5808,7 @@ export declare const UpdatePolicyBodySchema: z.ZodObject<{
5200
5808
  } | {
5201
5809
  type: "evmNetwork";
5202
5810
  operator: "in" | "not in";
5203
- networks: ("base-sepolia" | "base")[];
5811
+ networks: ("base-sepolia" | "base" | "arbitrum" | "optimism" | "polygon" | "avalanche" | "ethereum" | "ethereum-sepolia")[];
5204
5812
  } | {
5205
5813
  type: "netUSDChange";
5206
5814
  operator: ">" | ">=" | "<" | "<=" | "==";
@@ -5265,7 +5873,7 @@ export declare const UpdatePolicyBodySchema: z.ZodObject<{
5265
5873
  } | {
5266
5874
  type: "evmNetwork";
5267
5875
  operator: "in" | "not in";
5268
- networks: ("base-sepolia" | "base")[];
5876
+ networks: ("base-sepolia" | "base" | "arbitrum" | "optimism" | "polygon" | "avalanche" | "ethereum" | "ethereum-sepolia")[];
5269
5877
  } | {
5270
5878
  type: "netUSDChange";
5271
5879
  operator: ">" | ">=" | "<" | "<=" | "==";
@@ -5349,6 +5957,104 @@ export declare const UpdatePolicyBodySchema: z.ZodObject<{
5349
5957
  type: "mintAddress";
5350
5958
  operator: "in" | "not in";
5351
5959
  addresses: string[];
5960
+ }>, z.ZodObject<{
5961
+ type: z.ZodLiteral<"solData">;
5962
+ idls: z.ZodArray<z.ZodUnion<[z.ZodEnum<["SystemProgram", "TokenProgram", "AssociatedTokenProgram"]>, z.ZodObject<{
5963
+ address: z.ZodString;
5964
+ instructions: z.ZodArray<z.ZodAny, "many">;
5965
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
5966
+ address: z.ZodString;
5967
+ instructions: z.ZodArray<z.ZodAny, "many">;
5968
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
5969
+ address: z.ZodString;
5970
+ instructions: z.ZodArray<z.ZodAny, "many">;
5971
+ }, z.ZodTypeAny, "passthrough">>]>, "many">;
5972
+ conditions: z.ZodArray<z.ZodObject<{
5973
+ instruction: z.ZodString;
5974
+ params: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
5975
+ name: z.ZodString;
5976
+ operator: z.ZodEnum<[">", ">=", "<", "<=", "=="]>;
5977
+ value: z.ZodString;
5978
+ }, "strip", z.ZodTypeAny, {
5979
+ value: string;
5980
+ name: string;
5981
+ operator: ">" | ">=" | "<" | "<=" | "==";
5982
+ }, {
5983
+ value: string;
5984
+ name: string;
5985
+ operator: ">" | ">=" | "<" | "<=" | "==";
5986
+ }>, z.ZodObject<{
5987
+ name: z.ZodString;
5988
+ operator: z.ZodEnum<["in", "not in"]>;
5989
+ values: z.ZodArray<z.ZodString, "many">;
5990
+ }, "strip", z.ZodTypeAny, {
5991
+ values: string[];
5992
+ name: string;
5993
+ operator: "in" | "not in";
5994
+ }, {
5995
+ values: string[];
5996
+ name: string;
5997
+ operator: "in" | "not in";
5998
+ }>]>, "many">>;
5999
+ }, "strip", z.ZodTypeAny, {
6000
+ instruction: string;
6001
+ params?: ({
6002
+ value: string;
6003
+ name: string;
6004
+ operator: ">" | ">=" | "<" | "<=" | "==";
6005
+ } | {
6006
+ values: string[];
6007
+ name: string;
6008
+ operator: "in" | "not in";
6009
+ })[] | undefined;
6010
+ }, {
6011
+ instruction: string;
6012
+ params?: ({
6013
+ value: string;
6014
+ name: string;
6015
+ operator: ">" | ">=" | "<" | "<=" | "==";
6016
+ } | {
6017
+ values: string[];
6018
+ name: string;
6019
+ operator: "in" | "not in";
6020
+ })[] | undefined;
6021
+ }>, "many">;
6022
+ }, "strip", z.ZodTypeAny, {
6023
+ type: "solData";
6024
+ conditions: {
6025
+ instruction: string;
6026
+ params?: ({
6027
+ value: string;
6028
+ name: string;
6029
+ operator: ">" | ">=" | "<" | "<=" | "==";
6030
+ } | {
6031
+ values: string[];
6032
+ name: string;
6033
+ operator: "in" | "not in";
6034
+ })[] | undefined;
6035
+ }[];
6036
+ idls: ("SystemProgram" | "TokenProgram" | "AssociatedTokenProgram" | z.objectOutputType<{
6037
+ address: z.ZodString;
6038
+ instructions: z.ZodArray<z.ZodAny, "many">;
6039
+ }, z.ZodTypeAny, "passthrough">)[];
6040
+ }, {
6041
+ type: "solData";
6042
+ conditions: {
6043
+ instruction: string;
6044
+ params?: ({
6045
+ value: string;
6046
+ name: string;
6047
+ operator: ">" | ">=" | "<" | "<=" | "==";
6048
+ } | {
6049
+ values: string[];
6050
+ name: string;
6051
+ operator: "in" | "not in";
6052
+ })[] | undefined;
6053
+ }[];
6054
+ idls: ("SystemProgram" | "TokenProgram" | "AssociatedTokenProgram" | z.objectInputType<{
6055
+ address: z.ZodString;
6056
+ instructions: z.ZodArray<z.ZodAny, "many">;
6057
+ }, z.ZodTypeAny, "passthrough">)[];
5352
6058
  }>]>, "many">;
5353
6059
  }, "strip", z.ZodTypeAny, {
5354
6060
  action: "reject" | "accept";
@@ -5373,6 +6079,24 @@ export declare const UpdatePolicyBodySchema: z.ZodObject<{
5373
6079
  type: "mintAddress";
5374
6080
  operator: "in" | "not in";
5375
6081
  addresses: string[];
6082
+ } | {
6083
+ type: "solData";
6084
+ conditions: {
6085
+ instruction: string;
6086
+ params?: ({
6087
+ value: string;
6088
+ name: string;
6089
+ operator: ">" | ">=" | "<" | "<=" | "==";
6090
+ } | {
6091
+ values: string[];
6092
+ name: string;
6093
+ operator: "in" | "not in";
6094
+ })[] | undefined;
6095
+ }[];
6096
+ idls: ("SystemProgram" | "TokenProgram" | "AssociatedTokenProgram" | z.objectOutputType<{
6097
+ address: z.ZodString;
6098
+ instructions: z.ZodArray<z.ZodAny, "many">;
6099
+ }, z.ZodTypeAny, "passthrough">)[];
5376
6100
  })[];
5377
6101
  }, {
5378
6102
  action: "reject" | "accept";
@@ -5397,6 +6121,24 @@ export declare const UpdatePolicyBodySchema: z.ZodObject<{
5397
6121
  type: "mintAddress";
5398
6122
  operator: "in" | "not in";
5399
6123
  addresses: string[];
6124
+ } | {
6125
+ type: "solData";
6126
+ conditions: {
6127
+ instruction: string;
6128
+ params?: ({
6129
+ value: string;
6130
+ name: string;
6131
+ operator: ">" | ">=" | "<" | "<=" | "==";
6132
+ } | {
6133
+ values: string[];
6134
+ name: string;
6135
+ operator: "in" | "not in";
6136
+ })[] | undefined;
6137
+ }[];
6138
+ idls: ("SystemProgram" | "TokenProgram" | "AssociatedTokenProgram" | z.objectInputType<{
6139
+ address: z.ZodString;
6140
+ instructions: z.ZodArray<z.ZodAny, "many">;
6141
+ }, z.ZodTypeAny, "passthrough">)[];
5400
6142
  })[];
5401
6143
  }>, z.ZodObject<{
5402
6144
  action: z.ZodEnum<["reject", "accept"]>;
@@ -5461,6 +6203,104 @@ export declare const UpdatePolicyBodySchema: z.ZodObject<{
5461
6203
  type: "mintAddress";
5462
6204
  operator: "in" | "not in";
5463
6205
  addresses: string[];
6206
+ }>, z.ZodObject<{
6207
+ type: z.ZodLiteral<"solData">;
6208
+ idls: z.ZodArray<z.ZodUnion<[z.ZodEnum<["SystemProgram", "TokenProgram", "AssociatedTokenProgram"]>, z.ZodObject<{
6209
+ address: z.ZodString;
6210
+ instructions: z.ZodArray<z.ZodAny, "many">;
6211
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
6212
+ address: z.ZodString;
6213
+ instructions: z.ZodArray<z.ZodAny, "many">;
6214
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
6215
+ address: z.ZodString;
6216
+ instructions: z.ZodArray<z.ZodAny, "many">;
6217
+ }, z.ZodTypeAny, "passthrough">>]>, "many">;
6218
+ conditions: z.ZodArray<z.ZodObject<{
6219
+ instruction: z.ZodString;
6220
+ params: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
6221
+ name: z.ZodString;
6222
+ operator: z.ZodEnum<[">", ">=", "<", "<=", "=="]>;
6223
+ value: z.ZodString;
6224
+ }, "strip", z.ZodTypeAny, {
6225
+ value: string;
6226
+ name: string;
6227
+ operator: ">" | ">=" | "<" | "<=" | "==";
6228
+ }, {
6229
+ value: string;
6230
+ name: string;
6231
+ operator: ">" | ">=" | "<" | "<=" | "==";
6232
+ }>, z.ZodObject<{
6233
+ name: z.ZodString;
6234
+ operator: z.ZodEnum<["in", "not in"]>;
6235
+ values: z.ZodArray<z.ZodString, "many">;
6236
+ }, "strip", z.ZodTypeAny, {
6237
+ values: string[];
6238
+ name: string;
6239
+ operator: "in" | "not in";
6240
+ }, {
6241
+ values: string[];
6242
+ name: string;
6243
+ operator: "in" | "not in";
6244
+ }>]>, "many">>;
6245
+ }, "strip", z.ZodTypeAny, {
6246
+ instruction: string;
6247
+ params?: ({
6248
+ value: string;
6249
+ name: string;
6250
+ operator: ">" | ">=" | "<" | "<=" | "==";
6251
+ } | {
6252
+ values: string[];
6253
+ name: string;
6254
+ operator: "in" | "not in";
6255
+ })[] | undefined;
6256
+ }, {
6257
+ instruction: string;
6258
+ params?: ({
6259
+ value: string;
6260
+ name: string;
6261
+ operator: ">" | ">=" | "<" | "<=" | "==";
6262
+ } | {
6263
+ values: string[];
6264
+ name: string;
6265
+ operator: "in" | "not in";
6266
+ })[] | undefined;
6267
+ }>, "many">;
6268
+ }, "strip", z.ZodTypeAny, {
6269
+ type: "solData";
6270
+ conditions: {
6271
+ instruction: string;
6272
+ params?: ({
6273
+ value: string;
6274
+ name: string;
6275
+ operator: ">" | ">=" | "<" | "<=" | "==";
6276
+ } | {
6277
+ values: string[];
6278
+ name: string;
6279
+ operator: "in" | "not in";
6280
+ })[] | undefined;
6281
+ }[];
6282
+ idls: ("SystemProgram" | "TokenProgram" | "AssociatedTokenProgram" | z.objectOutputType<{
6283
+ address: z.ZodString;
6284
+ instructions: z.ZodArray<z.ZodAny, "many">;
6285
+ }, z.ZodTypeAny, "passthrough">)[];
6286
+ }, {
6287
+ type: "solData";
6288
+ conditions: {
6289
+ instruction: string;
6290
+ params?: ({
6291
+ value: string;
6292
+ name: string;
6293
+ operator: ">" | ">=" | "<" | "<=" | "==";
6294
+ } | {
6295
+ values: string[];
6296
+ name: string;
6297
+ operator: "in" | "not in";
6298
+ })[] | undefined;
6299
+ }[];
6300
+ idls: ("SystemProgram" | "TokenProgram" | "AssociatedTokenProgram" | z.objectInputType<{
6301
+ address: z.ZodString;
6302
+ instructions: z.ZodArray<z.ZodAny, "many">;
6303
+ }, z.ZodTypeAny, "passthrough">)[];
5464
6304
  }>]>, "many">;
5465
6305
  }, "strip", z.ZodTypeAny, {
5466
6306
  action: "reject" | "accept";
@@ -5485,6 +6325,24 @@ export declare const UpdatePolicyBodySchema: z.ZodObject<{
5485
6325
  type: "mintAddress";
5486
6326
  operator: "in" | "not in";
5487
6327
  addresses: string[];
6328
+ } | {
6329
+ type: "solData";
6330
+ conditions: {
6331
+ instruction: string;
6332
+ params?: ({
6333
+ value: string;
6334
+ name: string;
6335
+ operator: ">" | ">=" | "<" | "<=" | "==";
6336
+ } | {
6337
+ values: string[];
6338
+ name: string;
6339
+ operator: "in" | "not in";
6340
+ })[] | undefined;
6341
+ }[];
6342
+ idls: ("SystemProgram" | "TokenProgram" | "AssociatedTokenProgram" | z.objectOutputType<{
6343
+ address: z.ZodString;
6344
+ instructions: z.ZodArray<z.ZodAny, "many">;
6345
+ }, z.ZodTypeAny, "passthrough">)[];
5488
6346
  })[];
5489
6347
  }, {
5490
6348
  action: "reject" | "accept";
@@ -5509,6 +6367,24 @@ export declare const UpdatePolicyBodySchema: z.ZodObject<{
5509
6367
  type: "mintAddress";
5510
6368
  operator: "in" | "not in";
5511
6369
  addresses: string[];
6370
+ } | {
6371
+ type: "solData";
6372
+ conditions: {
6373
+ instruction: string;
6374
+ params?: ({
6375
+ value: string;
6376
+ name: string;
6377
+ operator: ">" | ">=" | "<" | "<=" | "==";
6378
+ } | {
6379
+ values: string[];
6380
+ name: string;
6381
+ operator: "in" | "not in";
6382
+ })[] | undefined;
6383
+ }[];
6384
+ idls: ("SystemProgram" | "TokenProgram" | "AssociatedTokenProgram" | z.objectInputType<{
6385
+ address: z.ZodString;
6386
+ instructions: z.ZodArray<z.ZodAny, "many">;
6387
+ }, z.ZodTypeAny, "passthrough">)[];
5512
6388
  })[];
5513
6389
  }>, z.ZodObject<{
5514
6390
  action: z.ZodEnum<["reject", "accept"]>;
@@ -5539,16 +6415,16 @@ export declare const UpdatePolicyBodySchema: z.ZodObject<{
5539
6415
  addresses: string[];
5540
6416
  }>, z.ZodObject<{
5541
6417
  type: z.ZodLiteral<"evmNetwork">;
5542
- networks: z.ZodArray<z.ZodEnum<["base", "base-sepolia"]>, "many">;
6418
+ networks: z.ZodArray<z.ZodEnum<["base-sepolia", "base", "arbitrum", "optimism", "zora", "polygon", "bnb", "avalanche", "ethereum", "ethereum-sepolia"]>, "many">;
5543
6419
  operator: z.ZodEnum<["in", "not in"]>;
5544
6420
  }, "strip", z.ZodTypeAny, {
5545
6421
  type: "evmNetwork";
5546
6422
  operator: "in" | "not in";
5547
- networks: ("base-sepolia" | "base")[];
6423
+ networks: ("base-sepolia" | "base" | "arbitrum" | "optimism" | "zora" | "polygon" | "bnb" | "avalanche" | "ethereum" | "ethereum-sepolia")[];
5548
6424
  }, {
5549
6425
  type: "evmNetwork";
5550
6426
  operator: "in" | "not in";
5551
- networks: ("base-sepolia" | "base")[];
6427
+ networks: ("base-sepolia" | "base" | "arbitrum" | "optimism" | "zora" | "polygon" | "bnb" | "avalanche" | "ethereum" | "ethereum-sepolia")[];
5552
6428
  }>, z.ZodObject<{
5553
6429
  type: z.ZodLiteral<"evmData">;
5554
6430
  abi: z.ZodUnion<[z.ZodEnum<["erc20", "erc721", "erc1155"]>, z.ZodReadonly<z.ZodArray<z.ZodUnion<[z.ZodObject<{
@@ -5788,7 +6664,7 @@ export declare const UpdatePolicyBodySchema: z.ZodObject<{
5788
6664
  } | {
5789
6665
  type: "evmNetwork";
5790
6666
  operator: "in" | "not in";
5791
- networks: ("base-sepolia" | "base")[];
6667
+ networks: ("base-sepolia" | "base" | "arbitrum" | "optimism" | "zora" | "polygon" | "bnb" | "avalanche" | "ethereum" | "ethereum-sepolia")[];
5792
6668
  } | {
5793
6669
  type: "evmData";
5794
6670
  abi: "erc20" | "erc721" | "erc1155" | readonly ({
@@ -5849,7 +6725,7 @@ export declare const UpdatePolicyBodySchema: z.ZodObject<{
5849
6725
  } | {
5850
6726
  type: "evmNetwork";
5851
6727
  operator: "in" | "not in";
5852
- networks: ("base-sepolia" | "base")[];
6728
+ networks: ("base-sepolia" | "base" | "arbitrum" | "optimism" | "zora" | "polygon" | "bnb" | "avalanche" | "ethereum" | "ethereum-sepolia")[];
5853
6729
  } | {
5854
6730
  type: "evmData";
5855
6731
  abi: "erc20" | "erc721" | "erc1155" | readonly unknown[];
@@ -6318,7 +7194,7 @@ export declare const UpdatePolicyBodySchema: z.ZodObject<{
6318
7194
  } | {
6319
7195
  type: "evmNetwork";
6320
7196
  operator: "in" | "not in";
6321
- networks: ("base-sepolia" | "base")[];
7197
+ networks: ("base-sepolia" | "base" | "arbitrum" | "optimism" | "polygon" | "avalanche" | "ethereum" | "ethereum-sepolia")[];
6322
7198
  } | {
6323
7199
  type: "netUSDChange";
6324
7200
  operator: ">" | ">=" | "<" | "<=" | "==";
@@ -6383,7 +7259,7 @@ export declare const UpdatePolicyBodySchema: z.ZodObject<{
6383
7259
  } | {
6384
7260
  type: "evmNetwork";
6385
7261
  operator: "in" | "not in";
6386
- networks: ("base-sepolia" | "base")[];
7262
+ networks: ("base-sepolia" | "base" | "arbitrum" | "optimism" | "zora" | "polygon" | "bnb" | "avalanche" | "ethereum" | "ethereum-sepolia")[];
6387
7263
  } | {
6388
7264
  type: "evmData";
6389
7265
  abi: "erc20" | "erc721" | "erc1155" | readonly ({
@@ -6510,6 +7386,24 @@ export declare const UpdatePolicyBodySchema: z.ZodObject<{
6510
7386
  type: "mintAddress";
6511
7387
  operator: "in" | "not in";
6512
7388
  addresses: string[];
7389
+ } | {
7390
+ type: "solData";
7391
+ conditions: {
7392
+ instruction: string;
7393
+ params?: ({
7394
+ value: string;
7395
+ name: string;
7396
+ operator: ">" | ">=" | "<" | "<=" | "==";
7397
+ } | {
7398
+ values: string[];
7399
+ name: string;
7400
+ operator: "in" | "not in";
7401
+ })[] | undefined;
7402
+ }[];
7403
+ idls: ("SystemProgram" | "TokenProgram" | "AssociatedTokenProgram" | z.objectOutputType<{
7404
+ address: z.ZodString;
7405
+ instructions: z.ZodArray<z.ZodAny, "many">;
7406
+ }, z.ZodTypeAny, "passthrough">)[];
6513
7407
  })[];
6514
7408
  } | {
6515
7409
  action: "reject" | "accept";
@@ -6534,6 +7428,24 @@ export declare const UpdatePolicyBodySchema: z.ZodObject<{
6534
7428
  type: "mintAddress";
6535
7429
  operator: "in" | "not in";
6536
7430
  addresses: string[];
7431
+ } | {
7432
+ type: "solData";
7433
+ conditions: {
7434
+ instruction: string;
7435
+ params?: ({
7436
+ value: string;
7437
+ name: string;
7438
+ operator: ">" | ">=" | "<" | "<=" | "==";
7439
+ } | {
7440
+ values: string[];
7441
+ name: string;
7442
+ operator: "in" | "not in";
7443
+ })[] | undefined;
7444
+ }[];
7445
+ idls: ("SystemProgram" | "TokenProgram" | "AssociatedTokenProgram" | z.objectOutputType<{
7446
+ address: z.ZodString;
7447
+ instructions: z.ZodArray<z.ZodAny, "many">;
7448
+ }, z.ZodTypeAny, "passthrough">)[];
6537
7449
  })[];
6538
7450
  })[];
6539
7451
  description?: string | undefined;
@@ -6622,7 +7534,7 @@ export declare const UpdatePolicyBodySchema: z.ZodObject<{
6622
7534
  } | {
6623
7535
  type: "evmNetwork";
6624
7536
  operator: "in" | "not in";
6625
- networks: ("base-sepolia" | "base")[];
7537
+ networks: ("base-sepolia" | "base" | "arbitrum" | "optimism" | "polygon" | "avalanche" | "ethereum" | "ethereum-sepolia")[];
6626
7538
  } | {
6627
7539
  type: "netUSDChange";
6628
7540
  operator: ">" | ">=" | "<" | "<=" | "==";
@@ -6657,7 +7569,7 @@ export declare const UpdatePolicyBodySchema: z.ZodObject<{
6657
7569
  } | {
6658
7570
  type: "evmNetwork";
6659
7571
  operator: "in" | "not in";
6660
- networks: ("base-sepolia" | "base")[];
7572
+ networks: ("base-sepolia" | "base" | "arbitrum" | "optimism" | "zora" | "polygon" | "bnb" | "avalanche" | "ethereum" | "ethereum-sepolia")[];
6661
7573
  } | {
6662
7574
  type: "evmData";
6663
7575
  abi: "erc20" | "erc721" | "erc1155" | readonly unknown[];
@@ -6724,6 +7636,24 @@ export declare const UpdatePolicyBodySchema: z.ZodObject<{
6724
7636
  type: "mintAddress";
6725
7637
  operator: "in" | "not in";
6726
7638
  addresses: string[];
7639
+ } | {
7640
+ type: "solData";
7641
+ conditions: {
7642
+ instruction: string;
7643
+ params?: ({
7644
+ value: string;
7645
+ name: string;
7646
+ operator: ">" | ">=" | "<" | "<=" | "==";
7647
+ } | {
7648
+ values: string[];
7649
+ name: string;
7650
+ operator: "in" | "not in";
7651
+ })[] | undefined;
7652
+ }[];
7653
+ idls: ("SystemProgram" | "TokenProgram" | "AssociatedTokenProgram" | z.objectInputType<{
7654
+ address: z.ZodString;
7655
+ instructions: z.ZodArray<z.ZodAny, "many">;
7656
+ }, z.ZodTypeAny, "passthrough">)[];
6727
7657
  })[];
6728
7658
  } | {
6729
7659
  action: "reject" | "accept";
@@ -6748,6 +7678,24 @@ export declare const UpdatePolicyBodySchema: z.ZodObject<{
6748
7678
  type: "mintAddress";
6749
7679
  operator: "in" | "not in";
6750
7680
  addresses: string[];
7681
+ } | {
7682
+ type: "solData";
7683
+ conditions: {
7684
+ instruction: string;
7685
+ params?: ({
7686
+ value: string;
7687
+ name: string;
7688
+ operator: ">" | ">=" | "<" | "<=" | "==";
7689
+ } | {
7690
+ values: string[];
7691
+ name: string;
7692
+ operator: "in" | "not in";
7693
+ })[] | undefined;
7694
+ }[];
7695
+ idls: ("SystemProgram" | "TokenProgram" | "AssociatedTokenProgram" | z.objectInputType<{
7696
+ address: z.ZodString;
7697
+ instructions: z.ZodArray<z.ZodAny, "many">;
7698
+ }, z.ZodTypeAny, "passthrough">)[];
6751
7699
  })[];
6752
7700
  })[];
6753
7701
  description?: string | undefined;