viem 2.47.10 → 2.47.12
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.
- package/CHANGELOG.md +16 -0
- package/_cjs/actions/wallet/prepareTransactionRequest.js +5 -0
- package/_cjs/actions/wallet/prepareTransactionRequest.js.map +1 -1
- package/_cjs/chains/definitions/fluent.js +26 -0
- package/_cjs/chains/definitions/fluent.js.map +1 -0
- package/_cjs/chains/index.js +13 -11
- package/_cjs/chains/index.js.map +1 -1
- package/_cjs/errors/version.js +1 -1
- package/_cjs/tempo/Abis.js +656 -4
- package/_cjs/tempo/Abis.js.map +1 -1
- package/_cjs/tempo/Account.js +6 -2
- package/_cjs/tempo/Account.js.map +1 -1
- package/_cjs/tempo/Expiry.js +31 -0
- package/_cjs/tempo/Expiry.js.map +1 -0
- package/_cjs/tempo/actions/accessKey.js +2 -1
- package/_cjs/tempo/actions/accessKey.js.map +1 -1
- package/_cjs/tempo/actions/validator.js +11 -11
- package/_cjs/tempo/actions/validator.js.map +1 -1
- package/_cjs/tempo/index.js +3 -1
- package/_cjs/tempo/index.js.map +1 -1
- package/_cjs/utils/buildRequest.js +2 -0
- package/_cjs/utils/buildRequest.js.map +1 -1
- package/_esm/actions/wallet/prepareTransactionRequest.js +5 -0
- package/_esm/actions/wallet/prepareTransactionRequest.js.map +1 -1
- package/_esm/chains/definitions/fluent.js +23 -0
- package/_esm/chains/definitions/fluent.js.map +1 -0
- package/_esm/chains/index.js +1 -0
- package/_esm/chains/index.js.map +1 -1
- package/_esm/errors/version.js +1 -1
- package/_esm/tempo/Abis.js +655 -3
- package/_esm/tempo/Abis.js.map +1 -1
- package/_esm/tempo/Account.js +6 -2
- package/_esm/tempo/Account.js.map +1 -1
- package/_esm/tempo/Expiry.js +29 -0
- package/_esm/tempo/Expiry.js.map +1 -0
- package/_esm/tempo/actions/accessKey.js +2 -1
- package/_esm/tempo/actions/accessKey.js.map +1 -1
- package/_esm/tempo/actions/validator.js +11 -11
- package/_esm/tempo/actions/validator.js.map +1 -1
- package/_esm/tempo/index.js +2 -1
- package/_esm/tempo/index.js.map +1 -1
- package/_esm/utils/buildRequest.js +5 -0
- package/_esm/utils/buildRequest.js.map +1 -1
- package/_types/actions/wallet/prepareTransactionRequest.d.ts.map +1 -1
- package/_types/chains/definitions/fluent.d.ts +48 -0
- package/_types/chains/definitions/fluent.d.ts.map +1 -0
- package/_types/chains/definitions/tempo.d.ts +10 -10
- package/_types/chains/definitions/tempoDevnet.d.ts +10 -10
- package/_types/chains/definitions/tempoLocalnet.d.ts +10 -10
- package/_types/chains/definitions/tempoModerato.d.ts +10 -10
- package/_types/chains/index.d.ts +1 -0
- package/_types/chains/index.d.ts.map +1 -1
- package/_types/errors/version.d.ts +1 -1
- package/_types/tempo/Abis.d.ts +1072 -35
- package/_types/tempo/Abis.d.ts.map +1 -1
- package/_types/tempo/Account.d.ts +2 -2
- package/_types/tempo/Account.d.ts.map +1 -1
- package/_types/tempo/Expiry.d.ts +15 -0
- package/_types/tempo/Expiry.d.ts.map +1 -0
- package/_types/tempo/actions/accessKey.d.ts +539 -0
- package/_types/tempo/actions/accessKey.d.ts.map +1 -1
- package/_types/tempo/actions/policy.d.ts +444 -4
- package/_types/tempo/actions/policy.d.ts.map +1 -1
- package/_types/tempo/actions/validator.d.ts +6 -6
- package/_types/tempo/actions/validator.d.ts.map +1 -1
- package/_types/tempo/chainConfig.d.ts +5 -5
- package/_types/tempo/index.d.ts +2 -1
- package/_types/tempo/index.d.ts.map +1 -1
- package/_types/utils/buildRequest.d.ts.map +1 -1
- package/actions/wallet/prepareTransactionRequest.ts +5 -0
- package/chains/definitions/fluent.ts +23 -0
- package/chains/index.ts +1 -0
- package/errors/version.ts +1 -1
- package/package.json +2 -2
- package/tempo/Abis.ts +658 -3
- package/tempo/Account.ts +8 -4
- package/tempo/Expiry.ts +34 -0
- package/tempo/actions/accessKey.ts +13 -2
- package/tempo/actions/validator.ts +17 -17
- package/tempo/index.ts +2 -1
- package/utils/buildRequest.ts +4 -0
package/_types/tempo/Abis.d.ts
CHANGED
|
@@ -807,6 +807,624 @@ export declare const tip20: readonly [{
|
|
|
807
807
|
readonly type: "error";
|
|
808
808
|
readonly inputs: readonly [];
|
|
809
809
|
}];
|
|
810
|
+
export declare const validatorConfigV2: readonly [{
|
|
811
|
+
readonly name: "getActiveValidators";
|
|
812
|
+
readonly type: "function";
|
|
813
|
+
readonly stateMutability: "view";
|
|
814
|
+
readonly inputs: readonly [];
|
|
815
|
+
readonly outputs: readonly [{
|
|
816
|
+
readonly type: "tuple[]";
|
|
817
|
+
readonly name: "validators";
|
|
818
|
+
readonly components: readonly [{
|
|
819
|
+
readonly type: "bytes32";
|
|
820
|
+
readonly name: "publicKey";
|
|
821
|
+
}, {
|
|
822
|
+
readonly type: "address";
|
|
823
|
+
readonly name: "validatorAddress";
|
|
824
|
+
}, {
|
|
825
|
+
readonly type: "string";
|
|
826
|
+
readonly name: "ingress";
|
|
827
|
+
}, {
|
|
828
|
+
readonly type: "string";
|
|
829
|
+
readonly name: "egress";
|
|
830
|
+
}, {
|
|
831
|
+
readonly type: "address";
|
|
832
|
+
readonly name: "feeRecipient";
|
|
833
|
+
}, {
|
|
834
|
+
readonly type: "uint64";
|
|
835
|
+
readonly name: "index";
|
|
836
|
+
}, {
|
|
837
|
+
readonly type: "uint64";
|
|
838
|
+
readonly name: "addedAtHeight";
|
|
839
|
+
}, {
|
|
840
|
+
readonly type: "uint64";
|
|
841
|
+
readonly name: "deactivatedAtHeight";
|
|
842
|
+
}];
|
|
843
|
+
}];
|
|
844
|
+
}, {
|
|
845
|
+
readonly name: "getInitializedAtHeight";
|
|
846
|
+
readonly type: "function";
|
|
847
|
+
readonly stateMutability: "view";
|
|
848
|
+
readonly inputs: readonly [];
|
|
849
|
+
readonly outputs: readonly [{
|
|
850
|
+
readonly type: "uint64";
|
|
851
|
+
}];
|
|
852
|
+
}, {
|
|
853
|
+
readonly name: "owner";
|
|
854
|
+
readonly type: "function";
|
|
855
|
+
readonly stateMutability: "view";
|
|
856
|
+
readonly inputs: readonly [];
|
|
857
|
+
readonly outputs: readonly [{
|
|
858
|
+
readonly type: "address";
|
|
859
|
+
}];
|
|
860
|
+
}, {
|
|
861
|
+
readonly name: "validatorCount";
|
|
862
|
+
readonly type: "function";
|
|
863
|
+
readonly stateMutability: "view";
|
|
864
|
+
readonly inputs: readonly [];
|
|
865
|
+
readonly outputs: readonly [{
|
|
866
|
+
readonly type: "uint64";
|
|
867
|
+
}];
|
|
868
|
+
}, {
|
|
869
|
+
readonly name: "validatorByIndex";
|
|
870
|
+
readonly type: "function";
|
|
871
|
+
readonly stateMutability: "view";
|
|
872
|
+
readonly inputs: readonly [{
|
|
873
|
+
readonly type: "uint64";
|
|
874
|
+
readonly name: "index";
|
|
875
|
+
}];
|
|
876
|
+
readonly outputs: readonly [{
|
|
877
|
+
readonly type: "tuple";
|
|
878
|
+
readonly components: readonly [{
|
|
879
|
+
readonly type: "bytes32";
|
|
880
|
+
readonly name: "publicKey";
|
|
881
|
+
}, {
|
|
882
|
+
readonly type: "address";
|
|
883
|
+
readonly name: "validatorAddress";
|
|
884
|
+
}, {
|
|
885
|
+
readonly type: "string";
|
|
886
|
+
readonly name: "ingress";
|
|
887
|
+
}, {
|
|
888
|
+
readonly type: "string";
|
|
889
|
+
readonly name: "egress";
|
|
890
|
+
}, {
|
|
891
|
+
readonly type: "address";
|
|
892
|
+
readonly name: "feeRecipient";
|
|
893
|
+
}, {
|
|
894
|
+
readonly type: "uint64";
|
|
895
|
+
readonly name: "index";
|
|
896
|
+
}, {
|
|
897
|
+
readonly type: "uint64";
|
|
898
|
+
readonly name: "addedAtHeight";
|
|
899
|
+
}, {
|
|
900
|
+
readonly type: "uint64";
|
|
901
|
+
readonly name: "deactivatedAtHeight";
|
|
902
|
+
}];
|
|
903
|
+
}];
|
|
904
|
+
}, {
|
|
905
|
+
readonly name: "validatorByAddress";
|
|
906
|
+
readonly type: "function";
|
|
907
|
+
readonly stateMutability: "view";
|
|
908
|
+
readonly inputs: readonly [{
|
|
909
|
+
readonly type: "address";
|
|
910
|
+
readonly name: "validatorAddress";
|
|
911
|
+
}];
|
|
912
|
+
readonly outputs: readonly [{
|
|
913
|
+
readonly type: "tuple";
|
|
914
|
+
readonly components: readonly [{
|
|
915
|
+
readonly type: "bytes32";
|
|
916
|
+
readonly name: "publicKey";
|
|
917
|
+
}, {
|
|
918
|
+
readonly type: "address";
|
|
919
|
+
readonly name: "validatorAddress";
|
|
920
|
+
}, {
|
|
921
|
+
readonly type: "string";
|
|
922
|
+
readonly name: "ingress";
|
|
923
|
+
}, {
|
|
924
|
+
readonly type: "string";
|
|
925
|
+
readonly name: "egress";
|
|
926
|
+
}, {
|
|
927
|
+
readonly type: "address";
|
|
928
|
+
readonly name: "feeRecipient";
|
|
929
|
+
}, {
|
|
930
|
+
readonly type: "uint64";
|
|
931
|
+
readonly name: "index";
|
|
932
|
+
}, {
|
|
933
|
+
readonly type: "uint64";
|
|
934
|
+
readonly name: "addedAtHeight";
|
|
935
|
+
}, {
|
|
936
|
+
readonly type: "uint64";
|
|
937
|
+
readonly name: "deactivatedAtHeight";
|
|
938
|
+
}];
|
|
939
|
+
}];
|
|
940
|
+
}, {
|
|
941
|
+
readonly name: "validatorByPublicKey";
|
|
942
|
+
readonly type: "function";
|
|
943
|
+
readonly stateMutability: "view";
|
|
944
|
+
readonly inputs: readonly [{
|
|
945
|
+
readonly type: "bytes32";
|
|
946
|
+
readonly name: "publicKey";
|
|
947
|
+
}];
|
|
948
|
+
readonly outputs: readonly [{
|
|
949
|
+
readonly type: "tuple";
|
|
950
|
+
readonly components: readonly [{
|
|
951
|
+
readonly type: "bytes32";
|
|
952
|
+
readonly name: "publicKey";
|
|
953
|
+
}, {
|
|
954
|
+
readonly type: "address";
|
|
955
|
+
readonly name: "validatorAddress";
|
|
956
|
+
}, {
|
|
957
|
+
readonly type: "string";
|
|
958
|
+
readonly name: "ingress";
|
|
959
|
+
}, {
|
|
960
|
+
readonly type: "string";
|
|
961
|
+
readonly name: "egress";
|
|
962
|
+
}, {
|
|
963
|
+
readonly type: "address";
|
|
964
|
+
readonly name: "feeRecipient";
|
|
965
|
+
}, {
|
|
966
|
+
readonly type: "uint64";
|
|
967
|
+
readonly name: "index";
|
|
968
|
+
}, {
|
|
969
|
+
readonly type: "uint64";
|
|
970
|
+
readonly name: "addedAtHeight";
|
|
971
|
+
}, {
|
|
972
|
+
readonly type: "uint64";
|
|
973
|
+
readonly name: "deactivatedAtHeight";
|
|
974
|
+
}];
|
|
975
|
+
}];
|
|
976
|
+
}, {
|
|
977
|
+
readonly name: "getNextNetworkIdentityRotationEpoch";
|
|
978
|
+
readonly type: "function";
|
|
979
|
+
readonly stateMutability: "view";
|
|
980
|
+
readonly inputs: readonly [];
|
|
981
|
+
readonly outputs: readonly [{
|
|
982
|
+
readonly type: "uint64";
|
|
983
|
+
}];
|
|
984
|
+
}, {
|
|
985
|
+
readonly name: "isInitialized";
|
|
986
|
+
readonly type: "function";
|
|
987
|
+
readonly stateMutability: "view";
|
|
988
|
+
readonly inputs: readonly [];
|
|
989
|
+
readonly outputs: readonly [{
|
|
990
|
+
readonly type: "bool";
|
|
991
|
+
}];
|
|
992
|
+
}, {
|
|
993
|
+
readonly name: "addValidator";
|
|
994
|
+
readonly type: "function";
|
|
995
|
+
readonly stateMutability: "nonpayable";
|
|
996
|
+
readonly inputs: readonly [{
|
|
997
|
+
readonly type: "address";
|
|
998
|
+
readonly name: "validatorAddress";
|
|
999
|
+
}, {
|
|
1000
|
+
readonly type: "bytes32";
|
|
1001
|
+
readonly name: "publicKey";
|
|
1002
|
+
}, {
|
|
1003
|
+
readonly type: "string";
|
|
1004
|
+
readonly name: "ingress";
|
|
1005
|
+
}, {
|
|
1006
|
+
readonly type: "string";
|
|
1007
|
+
readonly name: "egress";
|
|
1008
|
+
}, {
|
|
1009
|
+
readonly type: "address";
|
|
1010
|
+
readonly name: "feeRecipient";
|
|
1011
|
+
}, {
|
|
1012
|
+
readonly type: "bytes";
|
|
1013
|
+
readonly name: "signature";
|
|
1014
|
+
}];
|
|
1015
|
+
readonly outputs: readonly [{
|
|
1016
|
+
readonly type: "uint64";
|
|
1017
|
+
readonly name: "index";
|
|
1018
|
+
}];
|
|
1019
|
+
}, {
|
|
1020
|
+
readonly name: "deactivateValidator";
|
|
1021
|
+
readonly type: "function";
|
|
1022
|
+
readonly stateMutability: "nonpayable";
|
|
1023
|
+
readonly inputs: readonly [{
|
|
1024
|
+
readonly type: "uint64";
|
|
1025
|
+
readonly name: "idx";
|
|
1026
|
+
}];
|
|
1027
|
+
readonly outputs: readonly [];
|
|
1028
|
+
}, {
|
|
1029
|
+
readonly name: "rotateValidator";
|
|
1030
|
+
readonly type: "function";
|
|
1031
|
+
readonly stateMutability: "nonpayable";
|
|
1032
|
+
readonly inputs: readonly [{
|
|
1033
|
+
readonly type: "uint64";
|
|
1034
|
+
readonly name: "idx";
|
|
1035
|
+
}, {
|
|
1036
|
+
readonly type: "bytes32";
|
|
1037
|
+
readonly name: "publicKey";
|
|
1038
|
+
}, {
|
|
1039
|
+
readonly type: "string";
|
|
1040
|
+
readonly name: "ingress";
|
|
1041
|
+
}, {
|
|
1042
|
+
readonly type: "string";
|
|
1043
|
+
readonly name: "egress";
|
|
1044
|
+
}, {
|
|
1045
|
+
readonly type: "bytes";
|
|
1046
|
+
readonly name: "signature";
|
|
1047
|
+
}];
|
|
1048
|
+
readonly outputs: readonly [];
|
|
1049
|
+
}, {
|
|
1050
|
+
readonly name: "setFeeRecipient";
|
|
1051
|
+
readonly type: "function";
|
|
1052
|
+
readonly stateMutability: "nonpayable";
|
|
1053
|
+
readonly inputs: readonly [{
|
|
1054
|
+
readonly type: "uint64";
|
|
1055
|
+
readonly name: "idx";
|
|
1056
|
+
}, {
|
|
1057
|
+
readonly type: "address";
|
|
1058
|
+
readonly name: "feeRecipient";
|
|
1059
|
+
}];
|
|
1060
|
+
readonly outputs: readonly [];
|
|
1061
|
+
}, {
|
|
1062
|
+
readonly name: "setIpAddresses";
|
|
1063
|
+
readonly type: "function";
|
|
1064
|
+
readonly stateMutability: "nonpayable";
|
|
1065
|
+
readonly inputs: readonly [{
|
|
1066
|
+
readonly type: "uint64";
|
|
1067
|
+
readonly name: "idx";
|
|
1068
|
+
}, {
|
|
1069
|
+
readonly type: "string";
|
|
1070
|
+
readonly name: "ingress";
|
|
1071
|
+
}, {
|
|
1072
|
+
readonly type: "string";
|
|
1073
|
+
readonly name: "egress";
|
|
1074
|
+
}];
|
|
1075
|
+
readonly outputs: readonly [];
|
|
1076
|
+
}, {
|
|
1077
|
+
readonly name: "transferValidatorOwnership";
|
|
1078
|
+
readonly type: "function";
|
|
1079
|
+
readonly stateMutability: "nonpayable";
|
|
1080
|
+
readonly inputs: readonly [{
|
|
1081
|
+
readonly type: "uint64";
|
|
1082
|
+
readonly name: "idx";
|
|
1083
|
+
}, {
|
|
1084
|
+
readonly type: "address";
|
|
1085
|
+
readonly name: "newAddress";
|
|
1086
|
+
}];
|
|
1087
|
+
readonly outputs: readonly [];
|
|
1088
|
+
}, {
|
|
1089
|
+
readonly name: "transferOwnership";
|
|
1090
|
+
readonly type: "function";
|
|
1091
|
+
readonly stateMutability: "nonpayable";
|
|
1092
|
+
readonly inputs: readonly [{
|
|
1093
|
+
readonly type: "address";
|
|
1094
|
+
readonly name: "newOwner";
|
|
1095
|
+
}];
|
|
1096
|
+
readonly outputs: readonly [];
|
|
1097
|
+
}, {
|
|
1098
|
+
readonly name: "setNetworkIdentityRotationEpoch";
|
|
1099
|
+
readonly type: "function";
|
|
1100
|
+
readonly stateMutability: "nonpayable";
|
|
1101
|
+
readonly inputs: readonly [{
|
|
1102
|
+
readonly type: "uint64";
|
|
1103
|
+
readonly name: "epoch";
|
|
1104
|
+
}];
|
|
1105
|
+
readonly outputs: readonly [];
|
|
1106
|
+
}, {
|
|
1107
|
+
readonly name: "migrateValidator";
|
|
1108
|
+
readonly type: "function";
|
|
1109
|
+
readonly stateMutability: "nonpayable";
|
|
1110
|
+
readonly inputs: readonly [{
|
|
1111
|
+
readonly type: "uint64";
|
|
1112
|
+
readonly name: "idx";
|
|
1113
|
+
}];
|
|
1114
|
+
readonly outputs: readonly [];
|
|
1115
|
+
}, {
|
|
1116
|
+
readonly name: "initializeIfMigrated";
|
|
1117
|
+
readonly type: "function";
|
|
1118
|
+
readonly stateMutability: "nonpayable";
|
|
1119
|
+
readonly inputs: readonly [];
|
|
1120
|
+
readonly outputs: readonly [];
|
|
1121
|
+
}, {
|
|
1122
|
+
readonly name: "ValidatorAdded";
|
|
1123
|
+
readonly type: "event";
|
|
1124
|
+
readonly inputs: readonly [{
|
|
1125
|
+
readonly type: "uint64";
|
|
1126
|
+
readonly name: "index";
|
|
1127
|
+
readonly indexed: true;
|
|
1128
|
+
}, {
|
|
1129
|
+
readonly type: "address";
|
|
1130
|
+
readonly name: "validatorAddress";
|
|
1131
|
+
readonly indexed: true;
|
|
1132
|
+
}, {
|
|
1133
|
+
readonly type: "bytes32";
|
|
1134
|
+
readonly name: "publicKey";
|
|
1135
|
+
}, {
|
|
1136
|
+
readonly type: "string";
|
|
1137
|
+
readonly name: "ingress";
|
|
1138
|
+
}, {
|
|
1139
|
+
readonly type: "string";
|
|
1140
|
+
readonly name: "egress";
|
|
1141
|
+
}, {
|
|
1142
|
+
readonly type: "address";
|
|
1143
|
+
readonly name: "feeRecipient";
|
|
1144
|
+
}];
|
|
1145
|
+
}, {
|
|
1146
|
+
readonly name: "ValidatorDeactivated";
|
|
1147
|
+
readonly type: "event";
|
|
1148
|
+
readonly inputs: readonly [{
|
|
1149
|
+
readonly type: "uint64";
|
|
1150
|
+
readonly name: "index";
|
|
1151
|
+
readonly indexed: true;
|
|
1152
|
+
}, {
|
|
1153
|
+
readonly type: "address";
|
|
1154
|
+
readonly name: "validatorAddress";
|
|
1155
|
+
readonly indexed: true;
|
|
1156
|
+
}];
|
|
1157
|
+
}, {
|
|
1158
|
+
readonly name: "ValidatorRotated";
|
|
1159
|
+
readonly type: "event";
|
|
1160
|
+
readonly inputs: readonly [{
|
|
1161
|
+
readonly type: "uint64";
|
|
1162
|
+
readonly name: "index";
|
|
1163
|
+
readonly indexed: true;
|
|
1164
|
+
}, {
|
|
1165
|
+
readonly type: "uint64";
|
|
1166
|
+
readonly name: "deactivatedIndex";
|
|
1167
|
+
readonly indexed: true;
|
|
1168
|
+
}, {
|
|
1169
|
+
readonly type: "address";
|
|
1170
|
+
readonly name: "validatorAddress";
|
|
1171
|
+
readonly indexed: true;
|
|
1172
|
+
}, {
|
|
1173
|
+
readonly type: "bytes32";
|
|
1174
|
+
readonly name: "oldPublicKey";
|
|
1175
|
+
}, {
|
|
1176
|
+
readonly type: "bytes32";
|
|
1177
|
+
readonly name: "newPublicKey";
|
|
1178
|
+
}, {
|
|
1179
|
+
readonly type: "string";
|
|
1180
|
+
readonly name: "ingress";
|
|
1181
|
+
}, {
|
|
1182
|
+
readonly type: "string";
|
|
1183
|
+
readonly name: "egress";
|
|
1184
|
+
}, {
|
|
1185
|
+
readonly type: "address";
|
|
1186
|
+
readonly name: "caller";
|
|
1187
|
+
}];
|
|
1188
|
+
}, {
|
|
1189
|
+
readonly name: "FeeRecipientUpdated";
|
|
1190
|
+
readonly type: "event";
|
|
1191
|
+
readonly inputs: readonly [{
|
|
1192
|
+
readonly type: "uint64";
|
|
1193
|
+
readonly name: "index";
|
|
1194
|
+
readonly indexed: true;
|
|
1195
|
+
}, {
|
|
1196
|
+
readonly type: "address";
|
|
1197
|
+
readonly name: "feeRecipient";
|
|
1198
|
+
}, {
|
|
1199
|
+
readonly type: "address";
|
|
1200
|
+
readonly name: "caller";
|
|
1201
|
+
}];
|
|
1202
|
+
}, {
|
|
1203
|
+
readonly name: "IpAddressesUpdated";
|
|
1204
|
+
readonly type: "event";
|
|
1205
|
+
readonly inputs: readonly [{
|
|
1206
|
+
readonly type: "uint64";
|
|
1207
|
+
readonly name: "index";
|
|
1208
|
+
readonly indexed: true;
|
|
1209
|
+
}, {
|
|
1210
|
+
readonly type: "string";
|
|
1211
|
+
readonly name: "ingress";
|
|
1212
|
+
}, {
|
|
1213
|
+
readonly type: "string";
|
|
1214
|
+
readonly name: "egress";
|
|
1215
|
+
}, {
|
|
1216
|
+
readonly type: "address";
|
|
1217
|
+
readonly name: "caller";
|
|
1218
|
+
}];
|
|
1219
|
+
}, {
|
|
1220
|
+
readonly name: "ValidatorOwnershipTransferred";
|
|
1221
|
+
readonly type: "event";
|
|
1222
|
+
readonly inputs: readonly [{
|
|
1223
|
+
readonly type: "uint64";
|
|
1224
|
+
readonly name: "index";
|
|
1225
|
+
readonly indexed: true;
|
|
1226
|
+
}, {
|
|
1227
|
+
readonly type: "address";
|
|
1228
|
+
readonly name: "oldAddress";
|
|
1229
|
+
readonly indexed: true;
|
|
1230
|
+
}, {
|
|
1231
|
+
readonly type: "address";
|
|
1232
|
+
readonly name: "newAddress";
|
|
1233
|
+
readonly indexed: true;
|
|
1234
|
+
}, {
|
|
1235
|
+
readonly type: "address";
|
|
1236
|
+
readonly name: "caller";
|
|
1237
|
+
}];
|
|
1238
|
+
}, {
|
|
1239
|
+
readonly name: "OwnershipTransferred";
|
|
1240
|
+
readonly type: "event";
|
|
1241
|
+
readonly inputs: readonly [{
|
|
1242
|
+
readonly type: "address";
|
|
1243
|
+
readonly name: "oldOwner";
|
|
1244
|
+
readonly indexed: true;
|
|
1245
|
+
}, {
|
|
1246
|
+
readonly type: "address";
|
|
1247
|
+
readonly name: "newOwner";
|
|
1248
|
+
readonly indexed: true;
|
|
1249
|
+
}];
|
|
1250
|
+
}, {
|
|
1251
|
+
readonly name: "ValidatorMigrated";
|
|
1252
|
+
readonly type: "event";
|
|
1253
|
+
readonly inputs: readonly [{
|
|
1254
|
+
readonly type: "uint64";
|
|
1255
|
+
readonly name: "index";
|
|
1256
|
+
readonly indexed: true;
|
|
1257
|
+
}, {
|
|
1258
|
+
readonly type: "address";
|
|
1259
|
+
readonly name: "validatorAddress";
|
|
1260
|
+
readonly indexed: true;
|
|
1261
|
+
}, {
|
|
1262
|
+
readonly type: "bytes32";
|
|
1263
|
+
readonly name: "publicKey";
|
|
1264
|
+
}];
|
|
1265
|
+
}, {
|
|
1266
|
+
readonly name: "NetworkIdentityRotationEpochSet";
|
|
1267
|
+
readonly type: "event";
|
|
1268
|
+
readonly inputs: readonly [{
|
|
1269
|
+
readonly type: "uint64";
|
|
1270
|
+
readonly name: "previousEpoch";
|
|
1271
|
+
readonly indexed: true;
|
|
1272
|
+
}, {
|
|
1273
|
+
readonly type: "uint64";
|
|
1274
|
+
readonly name: "nextEpoch";
|
|
1275
|
+
readonly indexed: true;
|
|
1276
|
+
}];
|
|
1277
|
+
}, {
|
|
1278
|
+
readonly name: "Initialized";
|
|
1279
|
+
readonly type: "event";
|
|
1280
|
+
readonly inputs: readonly [{
|
|
1281
|
+
readonly type: "uint64";
|
|
1282
|
+
readonly name: "height";
|
|
1283
|
+
}];
|
|
1284
|
+
}, {
|
|
1285
|
+
readonly name: "SkippedValidatorMigration";
|
|
1286
|
+
readonly type: "event";
|
|
1287
|
+
readonly inputs: readonly [{
|
|
1288
|
+
readonly type: "uint64";
|
|
1289
|
+
readonly name: "index";
|
|
1290
|
+
readonly indexed: true;
|
|
1291
|
+
}, {
|
|
1292
|
+
readonly type: "address";
|
|
1293
|
+
readonly name: "validatorAddress";
|
|
1294
|
+
readonly indexed: true;
|
|
1295
|
+
}, {
|
|
1296
|
+
readonly type: "bytes32";
|
|
1297
|
+
readonly name: "publicKey";
|
|
1298
|
+
}];
|
|
1299
|
+
}, {
|
|
1300
|
+
readonly name: "AlreadyInitialized";
|
|
1301
|
+
readonly type: "error";
|
|
1302
|
+
readonly inputs: readonly [];
|
|
1303
|
+
}, {
|
|
1304
|
+
readonly name: "IngressAlreadyExists";
|
|
1305
|
+
readonly type: "error";
|
|
1306
|
+
readonly inputs: readonly [{
|
|
1307
|
+
readonly type: "string";
|
|
1308
|
+
readonly name: "ingress";
|
|
1309
|
+
}];
|
|
1310
|
+
}, {
|
|
1311
|
+
readonly name: "EmptyV1ValidatorSet";
|
|
1312
|
+
readonly type: "error";
|
|
1313
|
+
readonly inputs: readonly [];
|
|
1314
|
+
}, {
|
|
1315
|
+
readonly name: "InvalidMigrationIndex";
|
|
1316
|
+
readonly type: "error";
|
|
1317
|
+
readonly inputs: readonly [];
|
|
1318
|
+
}, {
|
|
1319
|
+
readonly name: "InvalidOwner";
|
|
1320
|
+
readonly type: "error";
|
|
1321
|
+
readonly inputs: readonly [];
|
|
1322
|
+
}, {
|
|
1323
|
+
readonly name: "InvalidPublicKey";
|
|
1324
|
+
readonly type: "error";
|
|
1325
|
+
readonly inputs: readonly [];
|
|
1326
|
+
}, {
|
|
1327
|
+
readonly name: "InvalidSignature";
|
|
1328
|
+
readonly type: "error";
|
|
1329
|
+
readonly inputs: readonly [];
|
|
1330
|
+
}, {
|
|
1331
|
+
readonly name: "InvalidSignatureFormat";
|
|
1332
|
+
readonly type: "error";
|
|
1333
|
+
readonly inputs: readonly [];
|
|
1334
|
+
}, {
|
|
1335
|
+
readonly name: "InvalidValidatorAddress";
|
|
1336
|
+
readonly type: "error";
|
|
1337
|
+
readonly inputs: readonly [];
|
|
1338
|
+
}, {
|
|
1339
|
+
readonly name: "MigrationNotComplete";
|
|
1340
|
+
readonly type: "error";
|
|
1341
|
+
readonly inputs: readonly [];
|
|
1342
|
+
}, {
|
|
1343
|
+
readonly name: "NotInitialized";
|
|
1344
|
+
readonly type: "error";
|
|
1345
|
+
readonly inputs: readonly [];
|
|
1346
|
+
}, {
|
|
1347
|
+
readonly name: "NotIp";
|
|
1348
|
+
readonly type: "error";
|
|
1349
|
+
readonly inputs: readonly [{
|
|
1350
|
+
readonly type: "string";
|
|
1351
|
+
readonly name: "input";
|
|
1352
|
+
}, {
|
|
1353
|
+
readonly type: "string";
|
|
1354
|
+
readonly name: "backtrace";
|
|
1355
|
+
}];
|
|
1356
|
+
}, {
|
|
1357
|
+
readonly name: "NotIpPort";
|
|
1358
|
+
readonly type: "error";
|
|
1359
|
+
readonly inputs: readonly [{
|
|
1360
|
+
readonly type: "string";
|
|
1361
|
+
readonly name: "input";
|
|
1362
|
+
}, {
|
|
1363
|
+
readonly type: "string";
|
|
1364
|
+
readonly name: "backtrace";
|
|
1365
|
+
}];
|
|
1366
|
+
}, {
|
|
1367
|
+
readonly name: "PublicKeyAlreadyExists";
|
|
1368
|
+
readonly type: "error";
|
|
1369
|
+
readonly inputs: readonly [];
|
|
1370
|
+
}, {
|
|
1371
|
+
readonly name: "Unauthorized";
|
|
1372
|
+
readonly type: "error";
|
|
1373
|
+
readonly inputs: readonly [];
|
|
1374
|
+
}, {
|
|
1375
|
+
readonly name: "AddressAlreadyHasValidator";
|
|
1376
|
+
readonly type: "error";
|
|
1377
|
+
readonly inputs: readonly [];
|
|
1378
|
+
}, {
|
|
1379
|
+
readonly name: "ValidatorAlreadyDeactivated";
|
|
1380
|
+
readonly type: "error";
|
|
1381
|
+
readonly inputs: readonly [];
|
|
1382
|
+
}, {
|
|
1383
|
+
readonly name: "ValidatorNotFound";
|
|
1384
|
+
readonly type: "error";
|
|
1385
|
+
readonly inputs: readonly [];
|
|
1386
|
+
}];
|
|
1387
|
+
export declare const signatureVerifier: readonly [{
|
|
1388
|
+
readonly name: "recover";
|
|
1389
|
+
readonly type: "function";
|
|
1390
|
+
readonly stateMutability: "view";
|
|
1391
|
+
readonly inputs: readonly [{
|
|
1392
|
+
readonly type: "bytes32";
|
|
1393
|
+
readonly name: "hash";
|
|
1394
|
+
}, {
|
|
1395
|
+
readonly type: "bytes";
|
|
1396
|
+
readonly name: "signature";
|
|
1397
|
+
}];
|
|
1398
|
+
readonly outputs: readonly [{
|
|
1399
|
+
readonly type: "address";
|
|
1400
|
+
readonly name: "signer";
|
|
1401
|
+
}];
|
|
1402
|
+
}, {
|
|
1403
|
+
readonly name: "verify";
|
|
1404
|
+
readonly type: "function";
|
|
1405
|
+
readonly stateMutability: "view";
|
|
1406
|
+
readonly inputs: readonly [{
|
|
1407
|
+
readonly type: "address";
|
|
1408
|
+
readonly name: "signer";
|
|
1409
|
+
}, {
|
|
1410
|
+
readonly type: "bytes32";
|
|
1411
|
+
readonly name: "hash";
|
|
1412
|
+
}, {
|
|
1413
|
+
readonly type: "bytes";
|
|
1414
|
+
readonly name: "signature";
|
|
1415
|
+
}];
|
|
1416
|
+
readonly outputs: readonly [{
|
|
1417
|
+
readonly type: "bool";
|
|
1418
|
+
}];
|
|
1419
|
+
}, {
|
|
1420
|
+
readonly name: "InvalidFormat";
|
|
1421
|
+
readonly type: "error";
|
|
1422
|
+
readonly inputs: readonly [];
|
|
1423
|
+
}, {
|
|
1424
|
+
readonly name: "InvalidSignature";
|
|
1425
|
+
readonly type: "error";
|
|
1426
|
+
readonly inputs: readonly [];
|
|
1427
|
+
}];
|
|
810
1428
|
export declare const stablecoinDex: readonly [{
|
|
811
1429
|
readonly name: "createPair";
|
|
812
1430
|
readonly type: "function";
|
|
@@ -1283,49 +1901,157 @@ export declare const stablecoinDex: readonly [{
|
|
|
1283
1901
|
readonly type: "error";
|
|
1284
1902
|
readonly inputs: readonly [];
|
|
1285
1903
|
}, {
|
|
1286
|
-
readonly name: "TickOutOfBounds";
|
|
1904
|
+
readonly name: "TickOutOfBounds";
|
|
1905
|
+
readonly type: "error";
|
|
1906
|
+
readonly inputs: readonly [{
|
|
1907
|
+
readonly type: "int16";
|
|
1908
|
+
readonly name: "tick";
|
|
1909
|
+
}];
|
|
1910
|
+
}, {
|
|
1911
|
+
readonly name: "InvalidTick";
|
|
1912
|
+
readonly type: "error";
|
|
1913
|
+
readonly inputs: readonly [];
|
|
1914
|
+
}, {
|
|
1915
|
+
readonly name: "InvalidFlipTick";
|
|
1916
|
+
readonly type: "error";
|
|
1917
|
+
readonly inputs: readonly [];
|
|
1918
|
+
}, {
|
|
1919
|
+
readonly name: "InsufficientBalance";
|
|
1920
|
+
readonly type: "error";
|
|
1921
|
+
readonly inputs: readonly [];
|
|
1922
|
+
}, {
|
|
1923
|
+
readonly name: "InsufficientLiquidity";
|
|
1924
|
+
readonly type: "error";
|
|
1925
|
+
readonly inputs: readonly [];
|
|
1926
|
+
}, {
|
|
1927
|
+
readonly name: "InsufficientOutput";
|
|
1928
|
+
readonly type: "error";
|
|
1929
|
+
readonly inputs: readonly [];
|
|
1930
|
+
}, {
|
|
1931
|
+
readonly name: "MaxInputExceeded";
|
|
1932
|
+
readonly type: "error";
|
|
1933
|
+
readonly inputs: readonly [];
|
|
1934
|
+
}, {
|
|
1935
|
+
readonly name: "BelowMinimumOrderSize";
|
|
1936
|
+
readonly type: "error";
|
|
1937
|
+
readonly inputs: readonly [{
|
|
1938
|
+
readonly type: "uint128";
|
|
1939
|
+
readonly name: "amount";
|
|
1940
|
+
}];
|
|
1941
|
+
}, {
|
|
1942
|
+
readonly name: "InvalidBaseToken";
|
|
1943
|
+
readonly type: "error";
|
|
1944
|
+
readonly inputs: readonly [];
|
|
1945
|
+
}, {
|
|
1946
|
+
readonly name: "OrderNotStale";
|
|
1947
|
+
readonly type: "error";
|
|
1948
|
+
readonly inputs: readonly [];
|
|
1949
|
+
}];
|
|
1950
|
+
export declare const addressRegistry: readonly [{
|
|
1951
|
+
readonly name: "registerVirtualMaster";
|
|
1952
|
+
readonly type: "function";
|
|
1953
|
+
readonly stateMutability: "nonpayable";
|
|
1954
|
+
readonly inputs: readonly [{
|
|
1955
|
+
readonly type: "bytes32";
|
|
1956
|
+
readonly name: "salt";
|
|
1957
|
+
}];
|
|
1958
|
+
readonly outputs: readonly [{
|
|
1959
|
+
readonly type: "bytes4";
|
|
1960
|
+
readonly name: "masterId";
|
|
1961
|
+
}];
|
|
1962
|
+
}, {
|
|
1963
|
+
readonly name: "getMaster";
|
|
1964
|
+
readonly type: "function";
|
|
1965
|
+
readonly stateMutability: "view";
|
|
1966
|
+
readonly inputs: readonly [{
|
|
1967
|
+
readonly type: "bytes4";
|
|
1968
|
+
readonly name: "masterId";
|
|
1969
|
+
}];
|
|
1970
|
+
readonly outputs: readonly [{
|
|
1971
|
+
readonly type: "address";
|
|
1972
|
+
}];
|
|
1973
|
+
}, {
|
|
1974
|
+
readonly name: "resolveRecipient";
|
|
1975
|
+
readonly type: "function";
|
|
1976
|
+
readonly stateMutability: "view";
|
|
1977
|
+
readonly inputs: readonly [{
|
|
1978
|
+
readonly type: "address";
|
|
1979
|
+
readonly name: "to";
|
|
1980
|
+
}];
|
|
1981
|
+
readonly outputs: readonly [{
|
|
1982
|
+
readonly type: "address";
|
|
1983
|
+
readonly name: "effectiveRecipient";
|
|
1984
|
+
}];
|
|
1985
|
+
}, {
|
|
1986
|
+
readonly name: "resolveVirtualAddress";
|
|
1987
|
+
readonly type: "function";
|
|
1988
|
+
readonly stateMutability: "view";
|
|
1989
|
+
readonly inputs: readonly [{
|
|
1990
|
+
readonly type: "address";
|
|
1991
|
+
readonly name: "virtualAddr";
|
|
1992
|
+
}];
|
|
1993
|
+
readonly outputs: readonly [{
|
|
1994
|
+
readonly type: "address";
|
|
1995
|
+
readonly name: "master";
|
|
1996
|
+
}];
|
|
1997
|
+
}, {
|
|
1998
|
+
readonly name: "isVirtualAddress";
|
|
1999
|
+
readonly type: "function";
|
|
2000
|
+
readonly stateMutability: "pure";
|
|
2001
|
+
readonly inputs: readonly [{
|
|
2002
|
+
readonly type: "address";
|
|
2003
|
+
readonly name: "addr";
|
|
2004
|
+
}];
|
|
2005
|
+
readonly outputs: readonly [{
|
|
2006
|
+
readonly type: "bool";
|
|
2007
|
+
}];
|
|
2008
|
+
}, {
|
|
2009
|
+
readonly name: "decodeVirtualAddress";
|
|
2010
|
+
readonly type: "function";
|
|
2011
|
+
readonly stateMutability: "pure";
|
|
2012
|
+
readonly inputs: readonly [{
|
|
2013
|
+
readonly type: "address";
|
|
2014
|
+
readonly name: "addr";
|
|
2015
|
+
}];
|
|
2016
|
+
readonly outputs: readonly [{
|
|
2017
|
+
readonly type: "bool";
|
|
2018
|
+
readonly name: "isVirtual";
|
|
2019
|
+
}, {
|
|
2020
|
+
readonly type: "bytes4";
|
|
2021
|
+
readonly name: "masterId";
|
|
2022
|
+
}, {
|
|
2023
|
+
readonly type: "bytes6";
|
|
2024
|
+
readonly name: "userTag";
|
|
2025
|
+
}];
|
|
2026
|
+
}, {
|
|
2027
|
+
readonly name: "MasterRegistered";
|
|
2028
|
+
readonly type: "event";
|
|
2029
|
+
readonly inputs: readonly [{
|
|
2030
|
+
readonly type: "bytes4";
|
|
2031
|
+
readonly name: "masterId";
|
|
2032
|
+
readonly indexed: true;
|
|
2033
|
+
}, {
|
|
2034
|
+
readonly type: "address";
|
|
2035
|
+
readonly name: "masterAddress";
|
|
2036
|
+
readonly indexed: true;
|
|
2037
|
+
}];
|
|
2038
|
+
}, {
|
|
2039
|
+
readonly name: "MasterIdCollision";
|
|
1287
2040
|
readonly type: "error";
|
|
1288
2041
|
readonly inputs: readonly [{
|
|
1289
|
-
readonly type: "
|
|
1290
|
-
readonly name: "
|
|
2042
|
+
readonly type: "address";
|
|
2043
|
+
readonly name: "master";
|
|
1291
2044
|
}];
|
|
1292
2045
|
}, {
|
|
1293
|
-
readonly name: "
|
|
1294
|
-
readonly type: "error";
|
|
1295
|
-
readonly inputs: readonly [];
|
|
1296
|
-
}, {
|
|
1297
|
-
readonly name: "InvalidFlipTick";
|
|
1298
|
-
readonly type: "error";
|
|
1299
|
-
readonly inputs: readonly [];
|
|
1300
|
-
}, {
|
|
1301
|
-
readonly name: "InsufficientBalance";
|
|
1302
|
-
readonly type: "error";
|
|
1303
|
-
readonly inputs: readonly [];
|
|
1304
|
-
}, {
|
|
1305
|
-
readonly name: "InsufficientLiquidity";
|
|
1306
|
-
readonly type: "error";
|
|
1307
|
-
readonly inputs: readonly [];
|
|
1308
|
-
}, {
|
|
1309
|
-
readonly name: "InsufficientOutput";
|
|
1310
|
-
readonly type: "error";
|
|
1311
|
-
readonly inputs: readonly [];
|
|
1312
|
-
}, {
|
|
1313
|
-
readonly name: "MaxInputExceeded";
|
|
2046
|
+
readonly name: "InvalidMasterAddress";
|
|
1314
2047
|
readonly type: "error";
|
|
1315
2048
|
readonly inputs: readonly [];
|
|
1316
2049
|
}, {
|
|
1317
|
-
readonly name: "
|
|
1318
|
-
readonly type: "error";
|
|
1319
|
-
readonly inputs: readonly [{
|
|
1320
|
-
readonly type: "uint128";
|
|
1321
|
-
readonly name: "amount";
|
|
1322
|
-
}];
|
|
1323
|
-
}, {
|
|
1324
|
-
readonly name: "InvalidBaseToken";
|
|
2050
|
+
readonly name: "ProofOfWorkFailed";
|
|
1325
2051
|
readonly type: "error";
|
|
1326
2052
|
readonly inputs: readonly [];
|
|
1327
2053
|
}, {
|
|
1328
|
-
readonly name: "
|
|
2054
|
+
readonly name: "VirtualAddressUnregistered";
|
|
1329
2055
|
readonly type: "error";
|
|
1330
2056
|
readonly inputs: readonly [];
|
|
1331
2057
|
}];
|
|
@@ -1779,6 +2505,61 @@ export declare const accountKeychain: readonly [{
|
|
|
1779
2505
|
}];
|
|
1780
2506
|
}];
|
|
1781
2507
|
readonly outputs: readonly [];
|
|
2508
|
+
}, {
|
|
2509
|
+
readonly name: "authorizeKey";
|
|
2510
|
+
readonly type: "function";
|
|
2511
|
+
readonly stateMutability: "nonpayable";
|
|
2512
|
+
readonly inputs: readonly [{
|
|
2513
|
+
readonly type: "address";
|
|
2514
|
+
readonly name: "keyId";
|
|
2515
|
+
}, {
|
|
2516
|
+
readonly type: "uint8";
|
|
2517
|
+
readonly name: "signatureType";
|
|
2518
|
+
}, {
|
|
2519
|
+
readonly type: "tuple";
|
|
2520
|
+
readonly name: "config";
|
|
2521
|
+
readonly components: readonly [{
|
|
2522
|
+
readonly type: "uint64";
|
|
2523
|
+
readonly name: "expiry";
|
|
2524
|
+
}, {
|
|
2525
|
+
readonly type: "bool";
|
|
2526
|
+
readonly name: "enforceLimits";
|
|
2527
|
+
}, {
|
|
2528
|
+
readonly type: "tuple[]";
|
|
2529
|
+
readonly name: "limits";
|
|
2530
|
+
readonly components: readonly [{
|
|
2531
|
+
readonly type: "address";
|
|
2532
|
+
readonly name: "token";
|
|
2533
|
+
}, {
|
|
2534
|
+
readonly type: "uint256";
|
|
2535
|
+
readonly name: "amount";
|
|
2536
|
+
}, {
|
|
2537
|
+
readonly type: "uint64";
|
|
2538
|
+
readonly name: "period";
|
|
2539
|
+
}];
|
|
2540
|
+
}, {
|
|
2541
|
+
readonly type: "bool";
|
|
2542
|
+
readonly name: "allowAnyCalls";
|
|
2543
|
+
}, {
|
|
2544
|
+
readonly type: "tuple[]";
|
|
2545
|
+
readonly name: "allowedCalls";
|
|
2546
|
+
readonly components: readonly [{
|
|
2547
|
+
readonly type: "address";
|
|
2548
|
+
readonly name: "target";
|
|
2549
|
+
}, {
|
|
2550
|
+
readonly type: "tuple[]";
|
|
2551
|
+
readonly name: "selectorRules";
|
|
2552
|
+
readonly components: readonly [{
|
|
2553
|
+
readonly type: "bytes4";
|
|
2554
|
+
readonly name: "selector";
|
|
2555
|
+
}, {
|
|
2556
|
+
readonly type: "address[]";
|
|
2557
|
+
readonly name: "recipients";
|
|
2558
|
+
}];
|
|
2559
|
+
}];
|
|
2560
|
+
}];
|
|
2561
|
+
}];
|
|
2562
|
+
readonly outputs: readonly [];
|
|
1782
2563
|
}, {
|
|
1783
2564
|
readonly name: "revokeKey";
|
|
1784
2565
|
readonly type: "function";
|
|
@@ -1803,6 +2584,44 @@ export declare const accountKeychain: readonly [{
|
|
|
1803
2584
|
readonly name: "newLimit";
|
|
1804
2585
|
}];
|
|
1805
2586
|
readonly outputs: readonly [];
|
|
2587
|
+
}, {
|
|
2588
|
+
readonly name: "setAllowedCalls";
|
|
2589
|
+
readonly type: "function";
|
|
2590
|
+
readonly stateMutability: "nonpayable";
|
|
2591
|
+
readonly inputs: readonly [{
|
|
2592
|
+
readonly type: "address";
|
|
2593
|
+
readonly name: "keyId";
|
|
2594
|
+
}, {
|
|
2595
|
+
readonly type: "tuple[]";
|
|
2596
|
+
readonly name: "scopes";
|
|
2597
|
+
readonly components: readonly [{
|
|
2598
|
+
readonly type: "address";
|
|
2599
|
+
readonly name: "target";
|
|
2600
|
+
}, {
|
|
2601
|
+
readonly type: "tuple[]";
|
|
2602
|
+
readonly name: "selectorRules";
|
|
2603
|
+
readonly components: readonly [{
|
|
2604
|
+
readonly type: "bytes4";
|
|
2605
|
+
readonly name: "selector";
|
|
2606
|
+
}, {
|
|
2607
|
+
readonly type: "address[]";
|
|
2608
|
+
readonly name: "recipients";
|
|
2609
|
+
}];
|
|
2610
|
+
}];
|
|
2611
|
+
}];
|
|
2612
|
+
readonly outputs: readonly [];
|
|
2613
|
+
}, {
|
|
2614
|
+
readonly name: "removeAllowedCalls";
|
|
2615
|
+
readonly type: "function";
|
|
2616
|
+
readonly stateMutability: "nonpayable";
|
|
2617
|
+
readonly inputs: readonly [{
|
|
2618
|
+
readonly type: "address";
|
|
2619
|
+
readonly name: "keyId";
|
|
2620
|
+
}, {
|
|
2621
|
+
readonly type: "address";
|
|
2622
|
+
readonly name: "target";
|
|
2623
|
+
}];
|
|
2624
|
+
readonly outputs: readonly [];
|
|
1806
2625
|
}, {
|
|
1807
2626
|
readonly name: "getKey";
|
|
1808
2627
|
readonly type: "function";
|
|
@@ -1849,6 +2668,7 @@ export declare const accountKeychain: readonly [{
|
|
|
1849
2668
|
}];
|
|
1850
2669
|
readonly outputs: readonly [{
|
|
1851
2670
|
readonly type: "uint256";
|
|
2671
|
+
readonly name: "remaining";
|
|
1852
2672
|
}];
|
|
1853
2673
|
}, {
|
|
1854
2674
|
readonly name: "getRemainingLimitWithPeriod";
|
|
@@ -1871,6 +2691,38 @@ export declare const accountKeychain: readonly [{
|
|
|
1871
2691
|
readonly type: "uint64";
|
|
1872
2692
|
readonly name: "periodEnd";
|
|
1873
2693
|
}];
|
|
2694
|
+
}, {
|
|
2695
|
+
readonly name: "getAllowedCalls";
|
|
2696
|
+
readonly type: "function";
|
|
2697
|
+
readonly stateMutability: "view";
|
|
2698
|
+
readonly inputs: readonly [{
|
|
2699
|
+
readonly type: "address";
|
|
2700
|
+
readonly name: "account";
|
|
2701
|
+
}, {
|
|
2702
|
+
readonly type: "address";
|
|
2703
|
+
readonly name: "keyId";
|
|
2704
|
+
}];
|
|
2705
|
+
readonly outputs: readonly [{
|
|
2706
|
+
readonly type: "bool";
|
|
2707
|
+
readonly name: "isScoped";
|
|
2708
|
+
}, {
|
|
2709
|
+
readonly type: "tuple[]";
|
|
2710
|
+
readonly name: "scopes";
|
|
2711
|
+
readonly components: readonly [{
|
|
2712
|
+
readonly type: "address";
|
|
2713
|
+
readonly name: "target";
|
|
2714
|
+
}, {
|
|
2715
|
+
readonly type: "tuple[]";
|
|
2716
|
+
readonly name: "selectorRules";
|
|
2717
|
+
readonly components: readonly [{
|
|
2718
|
+
readonly type: "bytes4";
|
|
2719
|
+
readonly name: "selector";
|
|
2720
|
+
}, {
|
|
2721
|
+
readonly type: "address[]";
|
|
2722
|
+
readonly name: "recipients";
|
|
2723
|
+
}];
|
|
2724
|
+
}];
|
|
2725
|
+
}];
|
|
1874
2726
|
}, {
|
|
1875
2727
|
readonly name: "getTransactionKey";
|
|
1876
2728
|
readonly type: "function";
|
|
@@ -1928,6 +2780,28 @@ export declare const accountKeychain: readonly [{
|
|
|
1928
2780
|
readonly type: "uint256";
|
|
1929
2781
|
readonly name: "newLimit";
|
|
1930
2782
|
}];
|
|
2783
|
+
}, {
|
|
2784
|
+
readonly name: "AccessKeySpend";
|
|
2785
|
+
readonly type: "event";
|
|
2786
|
+
readonly inputs: readonly [{
|
|
2787
|
+
readonly type: "address";
|
|
2788
|
+
readonly name: "account";
|
|
2789
|
+
readonly indexed: true;
|
|
2790
|
+
}, {
|
|
2791
|
+
readonly type: "address";
|
|
2792
|
+
readonly name: "publicKey";
|
|
2793
|
+
readonly indexed: true;
|
|
2794
|
+
}, {
|
|
2795
|
+
readonly type: "address";
|
|
2796
|
+
readonly name: "token";
|
|
2797
|
+
readonly indexed: true;
|
|
2798
|
+
}, {
|
|
2799
|
+
readonly type: "uint256";
|
|
2800
|
+
readonly name: "amount";
|
|
2801
|
+
}, {
|
|
2802
|
+
readonly type: "uint256";
|
|
2803
|
+
readonly name: "remainingLimit";
|
|
2804
|
+
}];
|
|
1931
2805
|
}, {
|
|
1932
2806
|
readonly name: "UnauthorizedCaller";
|
|
1933
2807
|
readonly type: "error";
|
|
@@ -1948,6 +2822,10 @@ export declare const accountKeychain: readonly [{
|
|
|
1948
2822
|
readonly name: "SpendingLimitExceeded";
|
|
1949
2823
|
readonly type: "error";
|
|
1950
2824
|
readonly inputs: readonly [];
|
|
2825
|
+
}, {
|
|
2826
|
+
readonly name: "InvalidSpendingLimit";
|
|
2827
|
+
readonly type: "error";
|
|
2828
|
+
readonly inputs: readonly [];
|
|
1951
2829
|
}, {
|
|
1952
2830
|
readonly name: "InvalidSignatureType";
|
|
1953
2831
|
readonly type: "error";
|
|
@@ -1964,6 +2842,31 @@ export declare const accountKeychain: readonly [{
|
|
|
1964
2842
|
readonly name: "KeyAlreadyRevoked";
|
|
1965
2843
|
readonly type: "error";
|
|
1966
2844
|
readonly inputs: readonly [];
|
|
2845
|
+
}, {
|
|
2846
|
+
readonly name: "SignatureTypeMismatch";
|
|
2847
|
+
readonly type: "error";
|
|
2848
|
+
readonly inputs: readonly [{
|
|
2849
|
+
readonly type: "uint8";
|
|
2850
|
+
readonly name: "expected";
|
|
2851
|
+
}, {
|
|
2852
|
+
readonly type: "uint8";
|
|
2853
|
+
readonly name: "actual";
|
|
2854
|
+
}];
|
|
2855
|
+
}, {
|
|
2856
|
+
readonly name: "CallNotAllowed";
|
|
2857
|
+
readonly type: "error";
|
|
2858
|
+
readonly inputs: readonly [];
|
|
2859
|
+
}, {
|
|
2860
|
+
readonly name: "InvalidCallScope";
|
|
2861
|
+
readonly type: "error";
|
|
2862
|
+
readonly inputs: readonly [];
|
|
2863
|
+
}, {
|
|
2864
|
+
readonly name: "LegacyAuthorizeKeySelectorChanged";
|
|
2865
|
+
readonly type: "error";
|
|
2866
|
+
readonly inputs: readonly [{
|
|
2867
|
+
readonly type: "bytes4";
|
|
2868
|
+
readonly name: "newSelector";
|
|
2869
|
+
}];
|
|
1967
2870
|
}];
|
|
1968
2871
|
export declare const nonce: readonly [{
|
|
1969
2872
|
readonly name: "getNonce";
|
|
@@ -2007,6 +2910,18 @@ export declare const nonce: readonly [{
|
|
|
2007
2910
|
readonly name: "NonceOverflow";
|
|
2008
2911
|
readonly type: "error";
|
|
2009
2912
|
readonly inputs: readonly [];
|
|
2913
|
+
}, {
|
|
2914
|
+
readonly name: "ExpiringNonceReplay";
|
|
2915
|
+
readonly type: "error";
|
|
2916
|
+
readonly inputs: readonly [];
|
|
2917
|
+
}, {
|
|
2918
|
+
readonly name: "ExpiringNonceSetFull";
|
|
2919
|
+
readonly type: "error";
|
|
2920
|
+
readonly inputs: readonly [];
|
|
2921
|
+
}, {
|
|
2922
|
+
readonly name: "InvalidExpiringNonceExpiry";
|
|
2923
|
+
readonly type: "error";
|
|
2924
|
+
readonly inputs: readonly [];
|
|
2010
2925
|
}];
|
|
2011
2926
|
export declare const tip20Factory: readonly [{
|
|
2012
2927
|
readonly name: "createToken";
|
|
@@ -2153,6 +3068,66 @@ export declare const tip403Registry: readonly [{
|
|
|
2153
3068
|
readonly outputs: readonly [{
|
|
2154
3069
|
readonly type: "bool";
|
|
2155
3070
|
}];
|
|
3071
|
+
}, {
|
|
3072
|
+
readonly name: "isAuthorizedSender";
|
|
3073
|
+
readonly type: "function";
|
|
3074
|
+
readonly stateMutability: "view";
|
|
3075
|
+
readonly inputs: readonly [{
|
|
3076
|
+
readonly type: "uint64";
|
|
3077
|
+
readonly name: "policyId";
|
|
3078
|
+
}, {
|
|
3079
|
+
readonly type: "address";
|
|
3080
|
+
readonly name: "user";
|
|
3081
|
+
}];
|
|
3082
|
+
readonly outputs: readonly [{
|
|
3083
|
+
readonly type: "bool";
|
|
3084
|
+
}];
|
|
3085
|
+
}, {
|
|
3086
|
+
readonly name: "isAuthorizedRecipient";
|
|
3087
|
+
readonly type: "function";
|
|
3088
|
+
readonly stateMutability: "view";
|
|
3089
|
+
readonly inputs: readonly [{
|
|
3090
|
+
readonly type: "uint64";
|
|
3091
|
+
readonly name: "policyId";
|
|
3092
|
+
}, {
|
|
3093
|
+
readonly type: "address";
|
|
3094
|
+
readonly name: "user";
|
|
3095
|
+
}];
|
|
3096
|
+
readonly outputs: readonly [{
|
|
3097
|
+
readonly type: "bool";
|
|
3098
|
+
}];
|
|
3099
|
+
}, {
|
|
3100
|
+
readonly name: "isAuthorizedMintRecipient";
|
|
3101
|
+
readonly type: "function";
|
|
3102
|
+
readonly stateMutability: "view";
|
|
3103
|
+
readonly inputs: readonly [{
|
|
3104
|
+
readonly type: "uint64";
|
|
3105
|
+
readonly name: "policyId";
|
|
3106
|
+
}, {
|
|
3107
|
+
readonly type: "address";
|
|
3108
|
+
readonly name: "user";
|
|
3109
|
+
}];
|
|
3110
|
+
readonly outputs: readonly [{
|
|
3111
|
+
readonly type: "bool";
|
|
3112
|
+
}];
|
|
3113
|
+
}, {
|
|
3114
|
+
readonly name: "compoundPolicyData";
|
|
3115
|
+
readonly type: "function";
|
|
3116
|
+
readonly stateMutability: "view";
|
|
3117
|
+
readonly inputs: readonly [{
|
|
3118
|
+
readonly type: "uint64";
|
|
3119
|
+
readonly name: "policyId";
|
|
3120
|
+
}];
|
|
3121
|
+
readonly outputs: readonly [{
|
|
3122
|
+
readonly type: "uint64";
|
|
3123
|
+
readonly name: "senderPolicyId";
|
|
3124
|
+
}, {
|
|
3125
|
+
readonly type: "uint64";
|
|
3126
|
+
readonly name: "recipientPolicyId";
|
|
3127
|
+
}, {
|
|
3128
|
+
readonly type: "uint64";
|
|
3129
|
+
readonly name: "mintRecipientPolicyId";
|
|
3130
|
+
}];
|
|
2156
3131
|
}, {
|
|
2157
3132
|
readonly name: "createPolicy";
|
|
2158
3133
|
readonly type: "function";
|
|
@@ -2226,6 +3201,23 @@ export declare const tip403Registry: readonly [{
|
|
|
2226
3201
|
readonly name: "restricted";
|
|
2227
3202
|
}];
|
|
2228
3203
|
readonly outputs: readonly [];
|
|
3204
|
+
}, {
|
|
3205
|
+
readonly name: "createCompoundPolicy";
|
|
3206
|
+
readonly type: "function";
|
|
3207
|
+
readonly stateMutability: "nonpayable";
|
|
3208
|
+
readonly inputs: readonly [{
|
|
3209
|
+
readonly type: "uint64";
|
|
3210
|
+
readonly name: "senderPolicyId";
|
|
3211
|
+
}, {
|
|
3212
|
+
readonly type: "uint64";
|
|
3213
|
+
readonly name: "recipientPolicyId";
|
|
3214
|
+
}, {
|
|
3215
|
+
readonly type: "uint64";
|
|
3216
|
+
readonly name: "mintRecipientPolicyId";
|
|
3217
|
+
}];
|
|
3218
|
+
readonly outputs: readonly [{
|
|
3219
|
+
readonly type: "uint64";
|
|
3220
|
+
}];
|
|
2229
3221
|
}, {
|
|
2230
3222
|
readonly name: "PolicyAdminUpdated";
|
|
2231
3223
|
readonly type: "event";
|
|
@@ -2295,20 +3287,53 @@ export declare const tip403Registry: readonly [{
|
|
|
2295
3287
|
readonly type: "bool";
|
|
2296
3288
|
readonly name: "restricted";
|
|
2297
3289
|
}];
|
|
3290
|
+
}, {
|
|
3291
|
+
readonly name: "CompoundPolicyCreated";
|
|
3292
|
+
readonly type: "event";
|
|
3293
|
+
readonly inputs: readonly [{
|
|
3294
|
+
readonly type: "uint64";
|
|
3295
|
+
readonly name: "policyId";
|
|
3296
|
+
readonly indexed: true;
|
|
3297
|
+
}, {
|
|
3298
|
+
readonly type: "address";
|
|
3299
|
+
readonly name: "creator";
|
|
3300
|
+
readonly indexed: true;
|
|
3301
|
+
}, {
|
|
3302
|
+
readonly type: "uint64";
|
|
3303
|
+
readonly name: "senderPolicyId";
|
|
3304
|
+
}, {
|
|
3305
|
+
readonly type: "uint64";
|
|
3306
|
+
readonly name: "recipientPolicyId";
|
|
3307
|
+
}, {
|
|
3308
|
+
readonly type: "uint64";
|
|
3309
|
+
readonly name: "mintRecipientPolicyId";
|
|
3310
|
+
}];
|
|
2298
3311
|
}, {
|
|
2299
3312
|
readonly name: "Unauthorized";
|
|
2300
3313
|
readonly type: "error";
|
|
2301
3314
|
readonly inputs: readonly [];
|
|
3315
|
+
}, {
|
|
3316
|
+
readonly name: "PolicyNotFound";
|
|
3317
|
+
readonly type: "error";
|
|
3318
|
+
readonly inputs: readonly [];
|
|
3319
|
+
}, {
|
|
3320
|
+
readonly name: "PolicyNotSimple";
|
|
3321
|
+
readonly type: "error";
|
|
3322
|
+
readonly inputs: readonly [];
|
|
3323
|
+
}, {
|
|
3324
|
+
readonly name: "InvalidPolicyType";
|
|
3325
|
+
readonly type: "error";
|
|
3326
|
+
readonly inputs: readonly [];
|
|
2302
3327
|
}, {
|
|
2303
3328
|
readonly name: "IncompatiblePolicyType";
|
|
2304
3329
|
readonly type: "error";
|
|
2305
3330
|
readonly inputs: readonly [];
|
|
2306
3331
|
}, {
|
|
2307
|
-
readonly name: "
|
|
3332
|
+
readonly name: "VirtualAddressNotAllowed";
|
|
2308
3333
|
readonly type: "error";
|
|
2309
3334
|
readonly inputs: readonly [];
|
|
2310
3335
|
}];
|
|
2311
|
-
export declare const
|
|
3336
|
+
export declare const validatorConfig: readonly [{
|
|
2312
3337
|
readonly name: "getValidators";
|
|
2313
3338
|
readonly type: "function";
|
|
2314
3339
|
readonly stateMutability: "view";
|
|
@@ -2387,6 +3412,18 @@ export declare const validator: readonly [{
|
|
|
2387
3412
|
readonly name: "active";
|
|
2388
3413
|
}];
|
|
2389
3414
|
readonly outputs: readonly [];
|
|
3415
|
+
}, {
|
|
3416
|
+
readonly name: "changeValidatorStatusByIndex";
|
|
3417
|
+
readonly type: "function";
|
|
3418
|
+
readonly stateMutability: "nonpayable";
|
|
3419
|
+
readonly inputs: readonly [{
|
|
3420
|
+
readonly type: "uint64";
|
|
3421
|
+
readonly name: "index";
|
|
3422
|
+
}, {
|
|
3423
|
+
readonly type: "bool";
|
|
3424
|
+
readonly name: "active";
|
|
3425
|
+
}];
|
|
3426
|
+
readonly outputs: readonly [];
|
|
2390
3427
|
}, {
|
|
2391
3428
|
readonly name: "owner";
|
|
2392
3429
|
readonly type: "function";
|