@flarenetwork/flare-periphery-contract-artifacts 0.1.43 → 0.1.44-alpha.3
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/coston/artifacts/contracts/IAssetManager.sol/IAssetManager.json +2352 -985
- package/coston/artifacts/contracts/ICoreVaultClient.sol/ICoreVaultClient.json +159 -0
- package/coston/artifacts/contracts/ICoreVaultClientSettings.sol/ICoreVaultClientSettings.json +13 -0
- package/coston/artifacts/contracts/IDirectMinting.sol/IDirectMinting.json +377 -0
- package/coston/artifacts/contracts/IDirectMintingSettings.sol/IDirectMintingSettings.json +334 -0
- package/coston/artifacts/contracts/IFdcVerification.sol/IFdcVerification.json +284 -0
- package/coston/artifacts/contracts/IRedeemExtended.sol/IRedeemExtended.json +464 -0
- package/coston/artifacts/contracts/IRedeemExtendedSettings.sol/IRedeemExtendedSettings.json +28 -0
- package/coston/artifacts/contracts/IRelay.sol/IRelay.json +76 -0
- package/coston/artifacts/contracts/IXRPPaymentNonexistenceVerification.sol/IXRPPaymentNonexistenceVerification.json +134 -0
- package/coston/artifacts/contracts/IXRPPaymentVerification.sol/IXRPPaymentVerification.json +154 -0
- package/coston/artifacts/contracts/adapters/interfaces/AggregatorV3Interface.sol/AggregatorV3Interface.json +113 -0
- package/coston/artifacts/contracts/protocol/interfaces/IIRelay.sol/IIRelay.json +76 -0
- package/coston2/artifacts/contracts/IAssetManager.sol/IAssetManager.json +2352 -985
- package/coston2/artifacts/contracts/ICoreVaultClient.sol/ICoreVaultClient.json +159 -0
- package/coston2/artifacts/contracts/ICoreVaultClientSettings.sol/ICoreVaultClientSettings.json +13 -0
- package/coston2/artifacts/contracts/ICustomInstructionsFacet.sol/ICustomInstructionsFacet.json +186 -0
- package/coston2/artifacts/contracts/IDirectMinting.sol/IDirectMinting.json +377 -0
- package/coston2/artifacts/contracts/IDirectMintingSettings.sol/IDirectMintingSettings.json +334 -0
- package/coston2/artifacts/contracts/IFdcVerification.sol/IFdcVerification.json +284 -0
- package/coston2/artifacts/contracts/IInstructionsFacet.sol/IInstructionsFacet.json +47 -0
- package/coston2/artifacts/contracts/IMasterAccountController.sol/IMasterAccountController.json +256 -0
- package/coston2/artifacts/contracts/IPersonalAccount.sol/IPersonalAccount.json +58 -0
- package/coston2/artifacts/contracts/IRedeemExtended.sol/IRedeemExtended.json +464 -0
- package/coston2/artifacts/contracts/IRedeemExtendedSettings.sol/IRedeemExtendedSettings.json +28 -0
- package/coston2/artifacts/contracts/IRelay.sol/IRelay.json +76 -0
- package/coston2/artifacts/contracts/IVaultsFacet.sol/IVaultsFacet.json +25 -0
- package/coston2/artifacts/contracts/IXRPPaymentNonexistenceVerification.sol/IXRPPaymentNonexistenceVerification.json +134 -0
- package/coston2/artifacts/contracts/IXRPPaymentVerification.sol/IXRPPaymentVerification.json +154 -0
- package/coston2/artifacts/contracts/adapters/interfaces/AggregatorV3Interface.sol/AggregatorV3Interface.json +113 -0
- package/coston2/artifacts/contracts/protocol/interfaces/IIRelay.sol/IIRelay.json +76 -0
- package/dist/coston/abis.d.ts.map +1 -1
- package/dist/coston/artifacts/contracts/IAssetManager.sol/IAssetManager.json +2352 -985
- package/dist/coston/artifacts/contracts/ICoreVaultClient.sol/ICoreVaultClient.json +159 -0
- package/dist/coston/artifacts/contracts/ICoreVaultClientSettings.sol/ICoreVaultClientSettings.json +13 -0
- package/dist/coston/artifacts/contracts/IDirectMinting.sol/IDirectMinting.json +377 -0
- package/dist/coston/artifacts/contracts/IDirectMintingSettings.sol/IDirectMintingSettings.json +334 -0
- package/dist/coston/artifacts/contracts/IFdcVerification.sol/IFdcVerification.json +284 -0
- package/dist/coston/artifacts/contracts/IRedeemExtended.sol/IRedeemExtended.json +464 -0
- package/dist/coston/artifacts/contracts/IRedeemExtendedSettings.sol/IRedeemExtendedSettings.json +28 -0
- package/dist/coston/artifacts/contracts/IRelay.sol/IRelay.json +76 -0
- package/dist/coston/artifacts/contracts/IXRPPaymentNonexistenceVerification.sol/IXRPPaymentNonexistenceVerification.json +134 -0
- package/dist/coston/artifacts/contracts/IXRPPaymentVerification.sol/IXRPPaymentVerification.json +154 -0
- package/dist/coston/artifacts/contracts/adapters/interfaces/AggregatorV3Interface.sol/AggregatorV3Interface.json +113 -0
- package/dist/coston/artifacts/contracts/protocol/interfaces/IIRelay.sol/IIRelay.json +76 -0
- package/dist/coston2/abis.d.ts.map +1 -1
- package/dist/coston2/artifacts/contracts/IAssetManager.sol/IAssetManager.json +2352 -985
- package/dist/coston2/artifacts/contracts/ICoreVaultClient.sol/ICoreVaultClient.json +159 -0
- package/dist/coston2/artifacts/contracts/ICoreVaultClientSettings.sol/ICoreVaultClientSettings.json +13 -0
- package/dist/coston2/artifacts/contracts/ICustomInstructionsFacet.sol/ICustomInstructionsFacet.json +186 -0
- package/dist/coston2/artifacts/contracts/IDirectMinting.sol/IDirectMinting.json +377 -0
- package/dist/coston2/artifacts/contracts/IDirectMintingSettings.sol/IDirectMintingSettings.json +334 -0
- package/dist/coston2/artifacts/contracts/IFdcVerification.sol/IFdcVerification.json +284 -0
- package/dist/coston2/artifacts/contracts/IInstructionsFacet.sol/IInstructionsFacet.json +47 -0
- package/dist/coston2/artifacts/contracts/IMasterAccountController.sol/IMasterAccountController.json +256 -0
- package/dist/coston2/artifacts/contracts/IPersonalAccount.sol/IPersonalAccount.json +58 -0
- package/dist/coston2/artifacts/contracts/IRedeemExtended.sol/IRedeemExtended.json +464 -0
- package/dist/coston2/artifacts/contracts/IRedeemExtendedSettings.sol/IRedeemExtendedSettings.json +28 -0
- package/dist/coston2/artifacts/contracts/IRelay.sol/IRelay.json +76 -0
- package/dist/coston2/artifacts/contracts/IVaultsFacet.sol/IVaultsFacet.json +25 -0
- package/dist/coston2/artifacts/contracts/IXRPPaymentNonexistenceVerification.sol/IXRPPaymentNonexistenceVerification.json +134 -0
- package/dist/coston2/artifacts/contracts/IXRPPaymentVerification.sol/IXRPPaymentVerification.json +154 -0
- package/dist/coston2/artifacts/contracts/adapters/interfaces/AggregatorV3Interface.sol/AggregatorV3Interface.json +113 -0
- package/dist/coston2/artifacts/contracts/protocol/interfaces/IIRelay.sol/IIRelay.json +76 -0
- package/dist/flare/abis.d.ts.map +1 -1
- package/dist/flare/artifacts/contracts/IAssetManager.sol/IAssetManager.json +2352 -985
- package/dist/flare/artifacts/contracts/ICoreVaultClient.sol/ICoreVaultClient.json +159 -0
- package/dist/flare/artifacts/contracts/ICoreVaultClientSettings.sol/ICoreVaultClientSettings.json +13 -0
- package/dist/flare/artifacts/contracts/IDirectMinting.sol/IDirectMinting.json +377 -0
- package/dist/flare/artifacts/contracts/IDirectMintingSettings.sol/IDirectMintingSettings.json +334 -0
- package/dist/flare/artifacts/contracts/IFdcVerification.sol/IFdcVerification.json +284 -0
- package/dist/flare/artifacts/contracts/IRedeemExtended.sol/IRedeemExtended.json +464 -0
- package/dist/flare/artifacts/contracts/IRedeemExtendedSettings.sol/IRedeemExtendedSettings.json +28 -0
- package/dist/flare/artifacts/contracts/IRelay.sol/IRelay.json +76 -0
- package/dist/flare/artifacts/contracts/IXRPPayment.sol/IXRPPayment.json +1 -0
- package/dist/flare/artifacts/contracts/IXRPPaymentNonexistence.sol/IXRPPaymentNonexistence.json +1 -0
- package/dist/flare/artifacts/contracts/IXRPPaymentNonexistenceVerification.sol/IXRPPaymentNonexistenceVerification.json +134 -0
- package/dist/flare/artifacts/contracts/IXRPPaymentVerification.sol/IXRPPaymentVerification.json +154 -0
- package/dist/flare/artifacts/contracts/adapters/interfaces/AggregatorV3Interface.sol/AggregatorV3Interface.json +113 -0
- package/dist/flare/artifacts/contracts/protocol/interfaces/IIRelay.sol/IIRelay.json +76 -0
- package/dist/index.js +74 -30
- package/dist/index.js.map +1 -1
- package/dist/songbird/abis.d.ts.map +1 -1
- package/dist/songbird/artifacts/contracts/IAssetManager.sol/IAssetManager.json +2352 -985
- package/dist/songbird/artifacts/contracts/ICoreVaultClient.sol/ICoreVaultClient.json +159 -0
- package/dist/songbird/artifacts/contracts/ICoreVaultClientSettings.sol/ICoreVaultClientSettings.json +13 -0
- package/dist/songbird/artifacts/contracts/IDirectMinting.sol/IDirectMinting.json +377 -0
- package/dist/songbird/artifacts/contracts/IDirectMintingSettings.sol/IDirectMintingSettings.json +334 -0
- package/dist/songbird/artifacts/contracts/IFdcVerification.sol/IFdcVerification.json +284 -0
- package/dist/songbird/artifacts/contracts/IRedeemExtended.sol/IRedeemExtended.json +464 -0
- package/dist/songbird/artifacts/contracts/IRedeemExtendedSettings.sol/IRedeemExtendedSettings.json +28 -0
- package/dist/songbird/artifacts/contracts/IRelay.sol/IRelay.json +76 -0
- package/dist/songbird/artifacts/contracts/IXRPPayment.sol/IXRPPayment.json +1 -0
- package/dist/songbird/artifacts/contracts/IXRPPaymentNonexistence.sol/IXRPPaymentNonexistence.json +1 -0
- package/dist/songbird/artifacts/contracts/IXRPPaymentNonexistenceVerification.sol/IXRPPaymentNonexistenceVerification.json +134 -0
- package/dist/songbird/artifacts/contracts/IXRPPaymentVerification.sol/IXRPPaymentVerification.json +154 -0
- package/dist/songbird/artifacts/contracts/adapters/interfaces/AggregatorV3Interface.sol/AggregatorV3Interface.json +113 -0
- package/dist/songbird/artifacts/contracts/protocol/interfaces/IIRelay.sol/IIRelay.json +76 -0
- package/flare/artifacts/contracts/IAssetManager.sol/IAssetManager.json +2352 -985
- package/flare/artifacts/contracts/ICoreVaultClient.sol/ICoreVaultClient.json +159 -0
- package/flare/artifacts/contracts/ICoreVaultClientSettings.sol/ICoreVaultClientSettings.json +13 -0
- package/flare/artifacts/contracts/IDirectMinting.sol/IDirectMinting.json +377 -0
- package/flare/artifacts/contracts/IDirectMintingSettings.sol/IDirectMintingSettings.json +334 -0
- package/flare/artifacts/contracts/IFdcVerification.sol/IFdcVerification.json +284 -0
- package/flare/artifacts/contracts/IRedeemExtended.sol/IRedeemExtended.json +464 -0
- package/flare/artifacts/contracts/IRedeemExtendedSettings.sol/IRedeemExtendedSettings.json +28 -0
- package/flare/artifacts/contracts/IRelay.sol/IRelay.json +76 -0
- package/flare/artifacts/contracts/IXRPPayment.sol/IXRPPayment.json +1 -0
- package/flare/artifacts/contracts/IXRPPaymentNonexistence.sol/IXRPPaymentNonexistence.json +1 -0
- package/flare/artifacts/contracts/IXRPPaymentNonexistenceVerification.sol/IXRPPaymentNonexistenceVerification.json +134 -0
- package/flare/artifacts/contracts/IXRPPaymentVerification.sol/IXRPPaymentVerification.json +154 -0
- package/flare/artifacts/contracts/adapters/interfaces/AggregatorV3Interface.sol/AggregatorV3Interface.json +113 -0
- package/flare/artifacts/contracts/protocol/interfaces/IIRelay.sol/IIRelay.json +76 -0
- package/package.json +1 -1
- package/songbird/artifacts/contracts/IAssetManager.sol/IAssetManager.json +2352 -985
- package/songbird/artifacts/contracts/ICoreVaultClient.sol/ICoreVaultClient.json +159 -0
- package/songbird/artifacts/contracts/ICoreVaultClientSettings.sol/ICoreVaultClientSettings.json +13 -0
- package/songbird/artifacts/contracts/IDirectMinting.sol/IDirectMinting.json +377 -0
- package/songbird/artifacts/contracts/IDirectMintingSettings.sol/IDirectMintingSettings.json +334 -0
- package/songbird/artifacts/contracts/IFdcVerification.sol/IFdcVerification.json +284 -0
- package/songbird/artifacts/contracts/IRedeemExtended.sol/IRedeemExtended.json +464 -0
- package/songbird/artifacts/contracts/IRedeemExtendedSettings.sol/IRedeemExtendedSettings.json +28 -0
- package/songbird/artifacts/contracts/IRelay.sol/IRelay.json +76 -0
- package/songbird/artifacts/contracts/IXRPPayment.sol/IXRPPayment.json +1 -0
- package/songbird/artifacts/contracts/IXRPPaymentNonexistence.sol/IXRPPaymentNonexistence.json +1 -0
- package/songbird/artifacts/contracts/IXRPPaymentNonexistenceVerification.sol/IXRPPaymentNonexistenceVerification.json +134 -0
- package/songbird/artifacts/contracts/IXRPPaymentVerification.sol/IXRPPaymentVerification.json +154 -0
- package/songbird/artifacts/contracts/adapters/interfaces/AggregatorV3Interface.sol/AggregatorV3Interface.json +113 -0
- package/songbird/artifacts/contracts/protocol/interfaces/IIRelay.sol/IIRelay.json +76 -0
- package/coston/artifacts/contracts/IJsonApiVerification.sol/IJsonApiVerification.json +0 -89
- package/coston2/artifacts/contracts/IJsonApiVerification.sol/IJsonApiVerification.json +0 -89
- package/dist/coston/artifacts/contracts/IJsonApiVerification.sol/IJsonApiVerification.json +0 -89
- package/dist/coston2/artifacts/contracts/IJsonApiVerification.sol/IJsonApiVerification.json +0 -89
- package/dist/flare/artifacts/contracts/IJsonApiVerification.sol/IJsonApiVerification.json +0 -89
- package/dist/songbird/artifacts/contracts/IJsonApiVerification.sol/IJsonApiVerification.json +0 -89
- package/flare/artifacts/contracts/IJsonApiVerification.sol/IJsonApiVerification.json +0 -89
- package/songbird/artifacts/contracts/IJsonApiVerification.sol/IJsonApiVerification.json +0 -89
- /package/coston/artifacts/contracts/{IJsonApi.sol/IJsonApi.json → IXRPPayment.sol/IXRPPayment.json} +0 -0
- /package/{coston2/artifacts/contracts/IJsonApi.sol/IJsonApi.json → coston/artifacts/contracts/IXRPPaymentNonexistence.sol/IXRPPaymentNonexistence.json} +0 -0
- /package/{dist/coston/artifacts/contracts/IJsonApi.sol/IJsonApi.json → coston2/artifacts/contracts/IXRPPayment.sol/IXRPPayment.json} +0 -0
- /package/{dist/coston2/artifacts/contracts/IJsonApi.sol/IJsonApi.json → coston2/artifacts/contracts/IXRPPaymentNonexistence.sol/IXRPPaymentNonexistence.json} +0 -0
- /package/dist/{flare/artifacts/contracts/IJsonApi.sol/IJsonApi.json → coston/artifacts/contracts/IXRPPayment.sol/IXRPPayment.json} +0 -0
- /package/dist/{songbird/artifacts/contracts/IJsonApi.sol/IJsonApi.json → coston/artifacts/contracts/IXRPPaymentNonexistence.sol/IXRPPaymentNonexistence.json} +0 -0
- /package/{flare/artifacts/contracts/IJsonApi.sol/IJsonApi.json → dist/coston2/artifacts/contracts/IXRPPayment.sol/IXRPPayment.json} +0 -0
- /package/{songbird/artifacts/contracts/IJsonApi.sol/IJsonApi.json → dist/coston2/artifacts/contracts/IXRPPaymentNonexistence.sol/IXRPPaymentNonexistence.json} +0 -0
|
@@ -850,5 +850,289 @@
|
|
|
850
850
|
],
|
|
851
851
|
"stateMutability": "view",
|
|
852
852
|
"type": "function"
|
|
853
|
+
},
|
|
854
|
+
{
|
|
855
|
+
"inputs": [
|
|
856
|
+
{
|
|
857
|
+
"components": [
|
|
858
|
+
{
|
|
859
|
+
"internalType": "bytes32[]",
|
|
860
|
+
"name": "merkleProof",
|
|
861
|
+
"type": "bytes32[]"
|
|
862
|
+
},
|
|
863
|
+
{
|
|
864
|
+
"components": [
|
|
865
|
+
{
|
|
866
|
+
"internalType": "bytes32",
|
|
867
|
+
"name": "attestationType",
|
|
868
|
+
"type": "bytes32"
|
|
869
|
+
},
|
|
870
|
+
{
|
|
871
|
+
"internalType": "bytes32",
|
|
872
|
+
"name": "sourceId",
|
|
873
|
+
"type": "bytes32"
|
|
874
|
+
},
|
|
875
|
+
{
|
|
876
|
+
"internalType": "uint64",
|
|
877
|
+
"name": "votingRound",
|
|
878
|
+
"type": "uint64"
|
|
879
|
+
},
|
|
880
|
+
{
|
|
881
|
+
"internalType": "uint64",
|
|
882
|
+
"name": "lowestUsedTimestamp",
|
|
883
|
+
"type": "uint64"
|
|
884
|
+
},
|
|
885
|
+
{
|
|
886
|
+
"components": [
|
|
887
|
+
{
|
|
888
|
+
"internalType": "bytes32",
|
|
889
|
+
"name": "transactionId",
|
|
890
|
+
"type": "bytes32"
|
|
891
|
+
},
|
|
892
|
+
{
|
|
893
|
+
"internalType": "address",
|
|
894
|
+
"name": "proofOwner",
|
|
895
|
+
"type": "address"
|
|
896
|
+
}
|
|
897
|
+
],
|
|
898
|
+
"internalType": "struct IXRPPayment.RequestBody",
|
|
899
|
+
"name": "requestBody",
|
|
900
|
+
"type": "tuple"
|
|
901
|
+
},
|
|
902
|
+
{
|
|
903
|
+
"components": [
|
|
904
|
+
{
|
|
905
|
+
"internalType": "uint64",
|
|
906
|
+
"name": "blockNumber",
|
|
907
|
+
"type": "uint64"
|
|
908
|
+
},
|
|
909
|
+
{
|
|
910
|
+
"internalType": "uint64",
|
|
911
|
+
"name": "blockTimestamp",
|
|
912
|
+
"type": "uint64"
|
|
913
|
+
},
|
|
914
|
+
{
|
|
915
|
+
"internalType": "string",
|
|
916
|
+
"name": "sourceAddress",
|
|
917
|
+
"type": "string"
|
|
918
|
+
},
|
|
919
|
+
{
|
|
920
|
+
"internalType": "bytes32",
|
|
921
|
+
"name": "sourceAddressHash",
|
|
922
|
+
"type": "bytes32"
|
|
923
|
+
},
|
|
924
|
+
{
|
|
925
|
+
"internalType": "bytes32",
|
|
926
|
+
"name": "receivingAddressHash",
|
|
927
|
+
"type": "bytes32"
|
|
928
|
+
},
|
|
929
|
+
{
|
|
930
|
+
"internalType": "bytes32",
|
|
931
|
+
"name": "intendedReceivingAddressHash",
|
|
932
|
+
"type": "bytes32"
|
|
933
|
+
},
|
|
934
|
+
{
|
|
935
|
+
"internalType": "int256",
|
|
936
|
+
"name": "spentAmount",
|
|
937
|
+
"type": "int256"
|
|
938
|
+
},
|
|
939
|
+
{
|
|
940
|
+
"internalType": "int256",
|
|
941
|
+
"name": "intendedSpentAmount",
|
|
942
|
+
"type": "int256"
|
|
943
|
+
},
|
|
944
|
+
{
|
|
945
|
+
"internalType": "int256",
|
|
946
|
+
"name": "receivedAmount",
|
|
947
|
+
"type": "int256"
|
|
948
|
+
},
|
|
949
|
+
{
|
|
950
|
+
"internalType": "int256",
|
|
951
|
+
"name": "intendedReceivedAmount",
|
|
952
|
+
"type": "int256"
|
|
953
|
+
},
|
|
954
|
+
{
|
|
955
|
+
"internalType": "bool",
|
|
956
|
+
"name": "hasMemoData",
|
|
957
|
+
"type": "bool"
|
|
958
|
+
},
|
|
959
|
+
{
|
|
960
|
+
"internalType": "bytes",
|
|
961
|
+
"name": "firstMemoData",
|
|
962
|
+
"type": "bytes"
|
|
963
|
+
},
|
|
964
|
+
{
|
|
965
|
+
"internalType": "bool",
|
|
966
|
+
"name": "hasDestinationTag",
|
|
967
|
+
"type": "bool"
|
|
968
|
+
},
|
|
969
|
+
{
|
|
970
|
+
"internalType": "uint256",
|
|
971
|
+
"name": "destinationTag",
|
|
972
|
+
"type": "uint256"
|
|
973
|
+
},
|
|
974
|
+
{
|
|
975
|
+
"internalType": "uint8",
|
|
976
|
+
"name": "status",
|
|
977
|
+
"type": "uint8"
|
|
978
|
+
}
|
|
979
|
+
],
|
|
980
|
+
"internalType": "struct IXRPPayment.ResponseBody",
|
|
981
|
+
"name": "responseBody",
|
|
982
|
+
"type": "tuple"
|
|
983
|
+
}
|
|
984
|
+
],
|
|
985
|
+
"internalType": "struct IXRPPayment.Response",
|
|
986
|
+
"name": "data",
|
|
987
|
+
"type": "tuple"
|
|
988
|
+
}
|
|
989
|
+
],
|
|
990
|
+
"internalType": "struct IXRPPayment.Proof",
|
|
991
|
+
"name": "_proof",
|
|
992
|
+
"type": "tuple"
|
|
993
|
+
}
|
|
994
|
+
],
|
|
995
|
+
"name": "verifyXRPPayment",
|
|
996
|
+
"outputs": [
|
|
997
|
+
{
|
|
998
|
+
"internalType": "bool",
|
|
999
|
+
"name": "_proved",
|
|
1000
|
+
"type": "bool"
|
|
1001
|
+
}
|
|
1002
|
+
],
|
|
1003
|
+
"stateMutability": "view",
|
|
1004
|
+
"type": "function"
|
|
1005
|
+
},
|
|
1006
|
+
{
|
|
1007
|
+
"inputs": [
|
|
1008
|
+
{
|
|
1009
|
+
"components": [
|
|
1010
|
+
{
|
|
1011
|
+
"internalType": "bytes32[]",
|
|
1012
|
+
"name": "merkleProof",
|
|
1013
|
+
"type": "bytes32[]"
|
|
1014
|
+
},
|
|
1015
|
+
{
|
|
1016
|
+
"components": [
|
|
1017
|
+
{
|
|
1018
|
+
"internalType": "bytes32",
|
|
1019
|
+
"name": "attestationType",
|
|
1020
|
+
"type": "bytes32"
|
|
1021
|
+
},
|
|
1022
|
+
{
|
|
1023
|
+
"internalType": "bytes32",
|
|
1024
|
+
"name": "sourceId",
|
|
1025
|
+
"type": "bytes32"
|
|
1026
|
+
},
|
|
1027
|
+
{
|
|
1028
|
+
"internalType": "uint64",
|
|
1029
|
+
"name": "votingRound",
|
|
1030
|
+
"type": "uint64"
|
|
1031
|
+
},
|
|
1032
|
+
{
|
|
1033
|
+
"internalType": "uint64",
|
|
1034
|
+
"name": "lowestUsedTimestamp",
|
|
1035
|
+
"type": "uint64"
|
|
1036
|
+
},
|
|
1037
|
+
{
|
|
1038
|
+
"components": [
|
|
1039
|
+
{
|
|
1040
|
+
"internalType": "uint64",
|
|
1041
|
+
"name": "minimalBlockNumber",
|
|
1042
|
+
"type": "uint64"
|
|
1043
|
+
},
|
|
1044
|
+
{
|
|
1045
|
+
"internalType": "uint64",
|
|
1046
|
+
"name": "deadlineBlockNumber",
|
|
1047
|
+
"type": "uint64"
|
|
1048
|
+
},
|
|
1049
|
+
{
|
|
1050
|
+
"internalType": "uint64",
|
|
1051
|
+
"name": "deadlineTimestamp",
|
|
1052
|
+
"type": "uint64"
|
|
1053
|
+
},
|
|
1054
|
+
{
|
|
1055
|
+
"internalType": "bytes32",
|
|
1056
|
+
"name": "destinationAddressHash",
|
|
1057
|
+
"type": "bytes32"
|
|
1058
|
+
},
|
|
1059
|
+
{
|
|
1060
|
+
"internalType": "uint256",
|
|
1061
|
+
"name": "amount",
|
|
1062
|
+
"type": "uint256"
|
|
1063
|
+
},
|
|
1064
|
+
{
|
|
1065
|
+
"internalType": "bool",
|
|
1066
|
+
"name": "checkFirstMemoData",
|
|
1067
|
+
"type": "bool"
|
|
1068
|
+
},
|
|
1069
|
+
{
|
|
1070
|
+
"internalType": "bytes32",
|
|
1071
|
+
"name": "firstMemoDataHash",
|
|
1072
|
+
"type": "bytes32"
|
|
1073
|
+
},
|
|
1074
|
+
{
|
|
1075
|
+
"internalType": "bool",
|
|
1076
|
+
"name": "checkDestinationTag",
|
|
1077
|
+
"type": "bool"
|
|
1078
|
+
},
|
|
1079
|
+
{
|
|
1080
|
+
"internalType": "uint256",
|
|
1081
|
+
"name": "destinationTag",
|
|
1082
|
+
"type": "uint256"
|
|
1083
|
+
},
|
|
1084
|
+
{
|
|
1085
|
+
"internalType": "address",
|
|
1086
|
+
"name": "proofOwner",
|
|
1087
|
+
"type": "address"
|
|
1088
|
+
}
|
|
1089
|
+
],
|
|
1090
|
+
"internalType": "struct IXRPPaymentNonexistence.RequestBody",
|
|
1091
|
+
"name": "requestBody",
|
|
1092
|
+
"type": "tuple"
|
|
1093
|
+
},
|
|
1094
|
+
{
|
|
1095
|
+
"components": [
|
|
1096
|
+
{
|
|
1097
|
+
"internalType": "uint64",
|
|
1098
|
+
"name": "minimalBlockTimestamp",
|
|
1099
|
+
"type": "uint64"
|
|
1100
|
+
},
|
|
1101
|
+
{
|
|
1102
|
+
"internalType": "uint64",
|
|
1103
|
+
"name": "firstOverflowBlockNumber",
|
|
1104
|
+
"type": "uint64"
|
|
1105
|
+
},
|
|
1106
|
+
{
|
|
1107
|
+
"internalType": "uint64",
|
|
1108
|
+
"name": "firstOverflowBlockTimestamp",
|
|
1109
|
+
"type": "uint64"
|
|
1110
|
+
}
|
|
1111
|
+
],
|
|
1112
|
+
"internalType": "struct IXRPPaymentNonexistence.ResponseBody",
|
|
1113
|
+
"name": "responseBody",
|
|
1114
|
+
"type": "tuple"
|
|
1115
|
+
}
|
|
1116
|
+
],
|
|
1117
|
+
"internalType": "struct IXRPPaymentNonexistence.Response",
|
|
1118
|
+
"name": "data",
|
|
1119
|
+
"type": "tuple"
|
|
1120
|
+
}
|
|
1121
|
+
],
|
|
1122
|
+
"internalType": "struct IXRPPaymentNonexistence.Proof",
|
|
1123
|
+
"name": "_proof",
|
|
1124
|
+
"type": "tuple"
|
|
1125
|
+
}
|
|
1126
|
+
],
|
|
1127
|
+
"name": "verifyXRPPaymentNonexistence",
|
|
1128
|
+
"outputs": [
|
|
1129
|
+
{
|
|
1130
|
+
"internalType": "bool",
|
|
1131
|
+
"name": "_proved",
|
|
1132
|
+
"type": "bool"
|
|
1133
|
+
}
|
|
1134
|
+
],
|
|
1135
|
+
"stateMutability": "view",
|
|
1136
|
+
"type": "function"
|
|
853
1137
|
}
|
|
854
1138
|
]
|
|
@@ -9,6 +9,11 @@
|
|
|
9
9
|
"name": "InvalidAmount",
|
|
10
10
|
"type": "error"
|
|
11
11
|
},
|
|
12
|
+
{
|
|
13
|
+
"inputs": [],
|
|
14
|
+
"name": "InvalidCustomInstructionHash",
|
|
15
|
+
"type": "error"
|
|
16
|
+
},
|
|
12
17
|
{
|
|
13
18
|
"inputs": [
|
|
14
19
|
{
|
|
@@ -218,6 +223,48 @@
|
|
|
218
223
|
"name": "CollateralReserved",
|
|
219
224
|
"type": "event"
|
|
220
225
|
},
|
|
226
|
+
{
|
|
227
|
+
"anonymous": false,
|
|
228
|
+
"inputs": [
|
|
229
|
+
{
|
|
230
|
+
"indexed": true,
|
|
231
|
+
"internalType": "address",
|
|
232
|
+
"name": "personalAccount",
|
|
233
|
+
"type": "address"
|
|
234
|
+
},
|
|
235
|
+
{
|
|
236
|
+
"indexed": true,
|
|
237
|
+
"internalType": "bytes32",
|
|
238
|
+
"name": "callHash",
|
|
239
|
+
"type": "bytes32"
|
|
240
|
+
},
|
|
241
|
+
{
|
|
242
|
+
"components": [
|
|
243
|
+
{
|
|
244
|
+
"internalType": "address",
|
|
245
|
+
"name": "targetContract",
|
|
246
|
+
"type": "address"
|
|
247
|
+
},
|
|
248
|
+
{
|
|
249
|
+
"internalType": "uint256",
|
|
250
|
+
"name": "value",
|
|
251
|
+
"type": "uint256"
|
|
252
|
+
},
|
|
253
|
+
{
|
|
254
|
+
"internalType": "bytes",
|
|
255
|
+
"name": "data",
|
|
256
|
+
"type": "bytes"
|
|
257
|
+
}
|
|
258
|
+
],
|
|
259
|
+
"indexed": false,
|
|
260
|
+
"internalType": "struct ICustomInstructionsFacet.CustomCall[]",
|
|
261
|
+
"name": "customInstruction",
|
|
262
|
+
"type": "tuple[]"
|
|
263
|
+
}
|
|
264
|
+
],
|
|
265
|
+
"name": "CustomInstructionExecuted",
|
|
266
|
+
"type": "event"
|
|
267
|
+
},
|
|
221
268
|
{
|
|
222
269
|
"anonymous": false,
|
|
223
270
|
"inputs": [
|
package/coston2/artifacts/contracts/IMasterAccountController.sol/IMasterAccountController.json
CHANGED
|
@@ -64,6 +64,11 @@
|
|
|
64
64
|
"name": "AgentsVaultsLengthsMismatch",
|
|
65
65
|
"type": "error"
|
|
66
66
|
},
|
|
67
|
+
{
|
|
68
|
+
"inputs": [],
|
|
69
|
+
"name": "EmptyCustomInstruction",
|
|
70
|
+
"type": "error"
|
|
71
|
+
},
|
|
67
72
|
{
|
|
68
73
|
"inputs": [
|
|
69
74
|
{
|
|
@@ -96,6 +101,11 @@
|
|
|
96
101
|
"name": "InvalidAmount",
|
|
97
102
|
"type": "error"
|
|
98
103
|
},
|
|
104
|
+
{
|
|
105
|
+
"inputs": [],
|
|
106
|
+
"name": "InvalidCustomInstructionHash",
|
|
107
|
+
"type": "error"
|
|
108
|
+
},
|
|
99
109
|
{
|
|
100
110
|
"inputs": [],
|
|
101
111
|
"name": "InvalidExecutor",
|
|
@@ -279,6 +289,22 @@
|
|
|
279
289
|
"name": "PersonalAccountNotSuccessfullyDeployed",
|
|
280
290
|
"type": "error"
|
|
281
291
|
},
|
|
292
|
+
{
|
|
293
|
+
"inputs": [],
|
|
294
|
+
"name": "TargetAddressZero",
|
|
295
|
+
"type": "error"
|
|
296
|
+
},
|
|
297
|
+
{
|
|
298
|
+
"inputs": [
|
|
299
|
+
{
|
|
300
|
+
"internalType": "address",
|
|
301
|
+
"name": "target",
|
|
302
|
+
"type": "address"
|
|
303
|
+
}
|
|
304
|
+
],
|
|
305
|
+
"name": "TargetNotAContract",
|
|
306
|
+
"type": "error"
|
|
307
|
+
},
|
|
282
308
|
{
|
|
283
309
|
"inputs": [],
|
|
284
310
|
"name": "TimelockDurationTooLong",
|
|
@@ -573,6 +599,74 @@
|
|
|
573
599
|
"name": "CollateralReserved",
|
|
574
600
|
"type": "event"
|
|
575
601
|
},
|
|
602
|
+
{
|
|
603
|
+
"anonymous": false,
|
|
604
|
+
"inputs": [
|
|
605
|
+
{
|
|
606
|
+
"indexed": true,
|
|
607
|
+
"internalType": "bytes32",
|
|
608
|
+
"name": "customInstructionHash",
|
|
609
|
+
"type": "bytes32"
|
|
610
|
+
}
|
|
611
|
+
],
|
|
612
|
+
"name": "CustomInstructionAlreadyRegistered",
|
|
613
|
+
"type": "event"
|
|
614
|
+
},
|
|
615
|
+
{
|
|
616
|
+
"anonymous": false,
|
|
617
|
+
"inputs": [
|
|
618
|
+
{
|
|
619
|
+
"indexed": true,
|
|
620
|
+
"internalType": "address",
|
|
621
|
+
"name": "personalAccount",
|
|
622
|
+
"type": "address"
|
|
623
|
+
},
|
|
624
|
+
{
|
|
625
|
+
"indexed": true,
|
|
626
|
+
"internalType": "bytes32",
|
|
627
|
+
"name": "callHash",
|
|
628
|
+
"type": "bytes32"
|
|
629
|
+
},
|
|
630
|
+
{
|
|
631
|
+
"components": [
|
|
632
|
+
{
|
|
633
|
+
"internalType": "address",
|
|
634
|
+
"name": "targetContract",
|
|
635
|
+
"type": "address"
|
|
636
|
+
},
|
|
637
|
+
{
|
|
638
|
+
"internalType": "uint256",
|
|
639
|
+
"name": "value",
|
|
640
|
+
"type": "uint256"
|
|
641
|
+
},
|
|
642
|
+
{
|
|
643
|
+
"internalType": "bytes",
|
|
644
|
+
"name": "data",
|
|
645
|
+
"type": "bytes"
|
|
646
|
+
}
|
|
647
|
+
],
|
|
648
|
+
"indexed": false,
|
|
649
|
+
"internalType": "struct ICustomInstructionsFacet.CustomCall[]",
|
|
650
|
+
"name": "customInstruction",
|
|
651
|
+
"type": "tuple[]"
|
|
652
|
+
}
|
|
653
|
+
],
|
|
654
|
+
"name": "CustomInstructionExecuted",
|
|
655
|
+
"type": "event"
|
|
656
|
+
},
|
|
657
|
+
{
|
|
658
|
+
"anonymous": false,
|
|
659
|
+
"inputs": [
|
|
660
|
+
{
|
|
661
|
+
"indexed": true,
|
|
662
|
+
"internalType": "bytes32",
|
|
663
|
+
"name": "customInstructionHash",
|
|
664
|
+
"type": "bytes32"
|
|
665
|
+
}
|
|
666
|
+
],
|
|
667
|
+
"name": "CustomInstructionRegistered",
|
|
668
|
+
"type": "event"
|
|
669
|
+
},
|
|
576
670
|
{
|
|
577
671
|
"anonymous": false,
|
|
578
672
|
"inputs": [
|
|
@@ -1116,6 +1210,31 @@
|
|
|
1116
1210
|
"name": "VaultAdded",
|
|
1117
1211
|
"type": "event"
|
|
1118
1212
|
},
|
|
1213
|
+
{
|
|
1214
|
+
"anonymous": false,
|
|
1215
|
+
"inputs": [
|
|
1216
|
+
{
|
|
1217
|
+
"indexed": true,
|
|
1218
|
+
"internalType": "uint256",
|
|
1219
|
+
"name": "vaultId",
|
|
1220
|
+
"type": "uint256"
|
|
1221
|
+
},
|
|
1222
|
+
{
|
|
1223
|
+
"indexed": true,
|
|
1224
|
+
"internalType": "address",
|
|
1225
|
+
"name": "vaultAddress",
|
|
1226
|
+
"type": "address"
|
|
1227
|
+
},
|
|
1228
|
+
{
|
|
1229
|
+
"indexed": true,
|
|
1230
|
+
"internalType": "uint8",
|
|
1231
|
+
"name": "vaultType",
|
|
1232
|
+
"type": "uint8"
|
|
1233
|
+
}
|
|
1234
|
+
],
|
|
1235
|
+
"name": "VaultRemoved",
|
|
1236
|
+
"type": "event"
|
|
1237
|
+
},
|
|
1119
1238
|
{
|
|
1120
1239
|
"anonymous": false,
|
|
1121
1240
|
"inputs": [
|
|
@@ -1213,6 +1332,42 @@
|
|
|
1213
1332
|
"stateMutability": "nonpayable",
|
|
1214
1333
|
"type": "function"
|
|
1215
1334
|
},
|
|
1335
|
+
{
|
|
1336
|
+
"inputs": [
|
|
1337
|
+
{
|
|
1338
|
+
"components": [
|
|
1339
|
+
{
|
|
1340
|
+
"internalType": "address",
|
|
1341
|
+
"name": "targetContract",
|
|
1342
|
+
"type": "address"
|
|
1343
|
+
},
|
|
1344
|
+
{
|
|
1345
|
+
"internalType": "uint256",
|
|
1346
|
+
"name": "value",
|
|
1347
|
+
"type": "uint256"
|
|
1348
|
+
},
|
|
1349
|
+
{
|
|
1350
|
+
"internalType": "bytes",
|
|
1351
|
+
"name": "data",
|
|
1352
|
+
"type": "bytes"
|
|
1353
|
+
}
|
|
1354
|
+
],
|
|
1355
|
+
"internalType": "struct ICustomInstructionsFacet.CustomCall[]",
|
|
1356
|
+
"name": "_customInstruction",
|
|
1357
|
+
"type": "tuple[]"
|
|
1358
|
+
}
|
|
1359
|
+
],
|
|
1360
|
+
"name": "encodeCustomInstruction",
|
|
1361
|
+
"outputs": [
|
|
1362
|
+
{
|
|
1363
|
+
"internalType": "bytes32",
|
|
1364
|
+
"name": "_customInstructionHash",
|
|
1365
|
+
"type": "bytes32"
|
|
1366
|
+
}
|
|
1367
|
+
],
|
|
1368
|
+
"stateMutability": "pure",
|
|
1369
|
+
"type": "function"
|
|
1370
|
+
},
|
|
1216
1371
|
{
|
|
1217
1372
|
"inputs": [
|
|
1218
1373
|
{
|
|
@@ -1617,6 +1772,71 @@
|
|
|
1617
1772
|
"stateMutability": "view",
|
|
1618
1773
|
"type": "function"
|
|
1619
1774
|
},
|
|
1775
|
+
{
|
|
1776
|
+
"inputs": [
|
|
1777
|
+
{
|
|
1778
|
+
"internalType": "bytes32",
|
|
1779
|
+
"name": "_customInstructionHash",
|
|
1780
|
+
"type": "bytes32"
|
|
1781
|
+
}
|
|
1782
|
+
],
|
|
1783
|
+
"name": "getCustomInstruction",
|
|
1784
|
+
"outputs": [
|
|
1785
|
+
{
|
|
1786
|
+
"components": [
|
|
1787
|
+
{
|
|
1788
|
+
"internalType": "address",
|
|
1789
|
+
"name": "targetContract",
|
|
1790
|
+
"type": "address"
|
|
1791
|
+
},
|
|
1792
|
+
{
|
|
1793
|
+
"internalType": "uint256",
|
|
1794
|
+
"name": "value",
|
|
1795
|
+
"type": "uint256"
|
|
1796
|
+
},
|
|
1797
|
+
{
|
|
1798
|
+
"internalType": "bytes",
|
|
1799
|
+
"name": "data",
|
|
1800
|
+
"type": "bytes"
|
|
1801
|
+
}
|
|
1802
|
+
],
|
|
1803
|
+
"internalType": "struct ICustomInstructionsFacet.CustomCall[]",
|
|
1804
|
+
"name": "_customInstruction",
|
|
1805
|
+
"type": "tuple[]"
|
|
1806
|
+
}
|
|
1807
|
+
],
|
|
1808
|
+
"stateMutability": "view",
|
|
1809
|
+
"type": "function"
|
|
1810
|
+
},
|
|
1811
|
+
{
|
|
1812
|
+
"inputs": [
|
|
1813
|
+
{
|
|
1814
|
+
"internalType": "uint256",
|
|
1815
|
+
"name": "_start",
|
|
1816
|
+
"type": "uint256"
|
|
1817
|
+
},
|
|
1818
|
+
{
|
|
1819
|
+
"internalType": "uint256",
|
|
1820
|
+
"name": "_end",
|
|
1821
|
+
"type": "uint256"
|
|
1822
|
+
}
|
|
1823
|
+
],
|
|
1824
|
+
"name": "getCustomInstructionHashes",
|
|
1825
|
+
"outputs": [
|
|
1826
|
+
{
|
|
1827
|
+
"internalType": "bytes32[]",
|
|
1828
|
+
"name": "_customInstructionHashes",
|
|
1829
|
+
"type": "bytes32[]"
|
|
1830
|
+
},
|
|
1831
|
+
{
|
|
1832
|
+
"internalType": "uint256",
|
|
1833
|
+
"name": "_totalLength",
|
|
1834
|
+
"type": "uint256"
|
|
1835
|
+
}
|
|
1836
|
+
],
|
|
1837
|
+
"stateMutability": "view",
|
|
1838
|
+
"type": "function"
|
|
1839
|
+
},
|
|
1620
1840
|
{
|
|
1621
1841
|
"inputs": [],
|
|
1622
1842
|
"name": "getDefaultInstructionFee",
|
|
@@ -1887,6 +2107,42 @@
|
|
|
1887
2107
|
"stateMutability": "view",
|
|
1888
2108
|
"type": "function"
|
|
1889
2109
|
},
|
|
2110
|
+
{
|
|
2111
|
+
"inputs": [
|
|
2112
|
+
{
|
|
2113
|
+
"components": [
|
|
2114
|
+
{
|
|
2115
|
+
"internalType": "address",
|
|
2116
|
+
"name": "targetContract",
|
|
2117
|
+
"type": "address"
|
|
2118
|
+
},
|
|
2119
|
+
{
|
|
2120
|
+
"internalType": "uint256",
|
|
2121
|
+
"name": "value",
|
|
2122
|
+
"type": "uint256"
|
|
2123
|
+
},
|
|
2124
|
+
{
|
|
2125
|
+
"internalType": "bytes",
|
|
2126
|
+
"name": "data",
|
|
2127
|
+
"type": "bytes"
|
|
2128
|
+
}
|
|
2129
|
+
],
|
|
2130
|
+
"internalType": "struct ICustomInstructionsFacet.CustomCall[]",
|
|
2131
|
+
"name": "_customInstruction",
|
|
2132
|
+
"type": "tuple[]"
|
|
2133
|
+
}
|
|
2134
|
+
],
|
|
2135
|
+
"name": "registerCustomInstruction",
|
|
2136
|
+
"outputs": [
|
|
2137
|
+
{
|
|
2138
|
+
"internalType": "bytes32",
|
|
2139
|
+
"name": "_customInstructionHash",
|
|
2140
|
+
"type": "bytes32"
|
|
2141
|
+
}
|
|
2142
|
+
],
|
|
2143
|
+
"stateMutability": "nonpayable",
|
|
2144
|
+
"type": "function"
|
|
2145
|
+
},
|
|
1890
2146
|
{
|
|
1891
2147
|
"inputs": [
|
|
1892
2148
|
{
|