@flarenetwork/flare-periphery-contract-artifacts 0.1.36 → 0.1.37
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/IGovernor.sol/IGovernor.json +7 -47
- package/coston/artifacts/contracts/IPollingFtso.sol/IPollingFtso.json +630 -0
- package/coston/artifacts/contracts/IWNat.sol/IWNat.json +4 -703
- package/coston/artifacts/contracts/assetRegistry/interfaces/IIERC20WithMetadata.sol/IIERC20WithMetadata.json +224 -0
- package/coston/artifacts/contracts/assetRegistry/interfaces/IIFlareAssetRegistry.sol/IIFlareAssetRegistry.json +307 -0
- package/coston/artifacts/contracts/assetRegistry/interfaces/IIFlareAssetRegistryProvider.sol/IIFlareAssetRegistryProvider.json +57 -0
- package/coston/artifacts/contracts/ftso/interfaces/IIFtsoManager.sol/IIFtsoManager.json +869 -0
- package/coston/artifacts/contracts/ftso/interfaces/IIFtsoManagerV1.sol/IIFtsoManagerV1.json +93 -0
- package/coston/artifacts/contracts/genesis/interfaces/IIPriceSubmitter.sol/IIPriceSubmitter.json +276 -0
- package/coston/artifacts/contracts/genesis/interfaces/IInflationGenesis.sol/IInflationGenesis.json +9 -0
- package/coston/artifacts/contracts/governance/interfaces/IIPollingFoundation.sol/IIPollingFoundation.json +9 -49
- package/coston/artifacts/contracts/inflation/interfaces/IIInflationAllocation.sol/IIInflationAllocation.json +40 -0
- package/coston/artifacts/contracts/inflation/interfaces/IIInflationReceiver.sol/IIInflationReceiver.json +61 -0
- package/coston/artifacts/contracts/inflation/interfaces/IIInflationReceiverV1.sol/IIInflationReceiverV1.json +48 -0
- package/coston/artifacts/contracts/inflation/interfaces/IIInflationV1.sol/IIInflationV1.json +133 -0
- package/coston/artifacts/contracts/inflation/interfaces/IIPreInflationCalculation.sol/IIPreInflationCalculation.json +9 -0
- package/coston/artifacts/contracts/inflation/interfaces/IISupply.sol/IISupply.json +73 -0
- package/coston/artifacts/contracts/mockXAsset/interfaces/ICollateralizable.sol/ICollateralizable.json +225 -0
- package/coston/artifacts/contracts/tokenPools/interfaces/IIFtsoRewardManager.sol/IIFtsoRewardManager.json +953 -0
- package/coston/artifacts/contracts/tokenPools/interfaces/IITokenPool.sol/IITokenPool.json +25 -0
- package/coston/artifacts/contracts/utils/interfaces/IIFtsoRegistry.sol/IIFtsoRegistry.json +468 -0
- package/coston/artifacts/contracts/utils/interfaces/IIFtsoRegistryV1.sol/IIFtsoRegistryV1.json +111 -0
- package/coston/artifacts/contracts/utils/interfaces/IIRandomProvider.sol/IIRandomProvider.json +51 -0
- package/coston/artifacts/contracts/utils/interfaces/IIVoterWhitelister.sol/IIVoterWhitelister.json +299 -0
- package/coston/artifacts/contracts/utils/interfaces/IUpdateValidators.sol/IUpdateValidators.json +9 -0
- package/coston2/artifacts/contracts/assetRegistry/interfaces/IIERC20WithMetadata.sol/IIERC20WithMetadata.json +224 -0
- package/coston2/artifacts/contracts/assetRegistry/interfaces/IIFlareAssetRegistry.sol/IIFlareAssetRegistry.json +307 -0
- package/coston2/artifacts/contracts/assetRegistry/interfaces/IIFlareAssetRegistryProvider.sol/IIFlareAssetRegistryProvider.json +57 -0
- package/coston2/artifacts/contracts/ftso/interfaces/IIFtsoManager.sol/IIFtsoManager.json +882 -0
- package/coston2/artifacts/contracts/ftso/interfaces/IIFtsoManagerV1.sol/IIFtsoManagerV1.json +93 -0
- package/coston2/artifacts/contracts/genesis/interfaces/IIPriceSubmitter.sol/IIPriceSubmitter.json +274 -0
- package/coston2/artifacts/contracts/genesis/interfaces/IInflationGenesis.sol/IInflationGenesis.json +9 -0
- package/coston2/artifacts/contracts/governance/interfaces/IIPollingFoundation.sol/IIPollingFoundation.json +1 -1
- package/coston2/artifacts/contracts/inflation/interfaces/IIInflationAllocation.sol/IIInflationAllocation.json +40 -0
- package/coston2/artifacts/contracts/inflation/interfaces/IIInflationReceiver.sol/IIInflationReceiver.json +61 -0
- package/coston2/artifacts/contracts/inflation/interfaces/IIInflationReceiverV1.sol/IIInflationReceiverV1.json +48 -0
- package/coston2/artifacts/contracts/inflation/interfaces/IIInflationV1.sol/IIInflationV1.json +128 -0
- package/coston2/artifacts/contracts/inflation/interfaces/IIPreInflationCalculation.sol/IIPreInflationCalculation.json +9 -0
- package/coston2/artifacts/contracts/inflation/interfaces/IISupply.sol/IISupply.json +73 -0
- package/coston2/artifacts/contracts/mockXAsset/interfaces/ICollateralizable.sol/ICollateralizable.json +225 -0
- package/coston2/artifacts/contracts/staking/interfaces/IIPChainStakeMirrorVerifier.sol/IIPChainStakeMirrorVerifier.json +63 -0
- package/coston2/artifacts/contracts/token/interfaces/IICombinedNatBalance.sol/IICombinedNatBalance.json +77 -0
- package/coston2/artifacts/contracts/tokenPools/interfaces/IIFtsoRewardManager.sol/IIFtsoRewardManager.json +953 -0
- package/coston2/artifacts/contracts/tokenPools/interfaces/IIGenericRewardManager.sol/IIGenericRewardManager.json +404 -0
- package/coston2/artifacts/contracts/tokenPools/interfaces/IIIncentivePoolAllocation.sol/IIIncentivePoolAllocation.json +40 -0
- package/coston2/artifacts/contracts/tokenPools/interfaces/IIIncentivePoolPercentageProvider.sol/IIIncentivePoolPercentageProvider.json +15 -0
- package/coston2/artifacts/contracts/tokenPools/interfaces/IIIncentivePoolReceiver.sol/IIIncentivePoolReceiver.json +48 -0
- package/coston2/artifacts/contracts/tokenPools/interfaces/IIIncentivePoolSharingPercentageProvider.sol/IIIncentivePoolSharingPercentageProvider.json +27 -0
- package/coston2/artifacts/contracts/tokenPools/interfaces/IITokenPool.sol/IITokenPool.json +25 -0
- package/coston2/artifacts/contracts/utils/interfaces/IIFtsoRegistry.sol/IIFtsoRegistry.json +468 -0
- package/coston2/artifacts/contracts/utils/interfaces/IIRandomProvider.sol/IIRandomProvider.json +51 -0
- package/coston2/artifacts/contracts/utils/interfaces/IIVoterWhitelister.sol/IIVoterWhitelister.json +299 -0
- package/coston2/artifacts/contracts/utils/interfaces/IUpdateValidators.sol/IUpdateValidators.json +9 -0
- package/flare/artifacts/contracts/IAgentOwnerRegistry.sol/IAgentOwnerRegistry.json +10 -0
- package/flare/artifacts/contracts/IAssetManager.sol/IAssetManager.json +62 -1023
- package/flare/artifacts/contracts/IAssetManagerEvents.sol/IAssetManagerEvents.json +19 -233
- package/flare/artifacts/contracts/{ICoreVault.sol/ICoreVault.json → ICoreVaultClient.sol/ICoreVaultClient.json} +5 -24
- package/{songbird/artifacts/contracts/ICoreVaultSettings.sol/ICoreVaultSettings.json → flare/artifacts/contracts/ICoreVaultClientSettings.sol/ICoreVaultClientSettings.json} +0 -26
- package/flare/artifacts/contracts/assetRegistry/interfaces/IIERC20WithMetadata.sol/IIERC20WithMetadata.json +224 -0
- package/flare/artifacts/contracts/assetRegistry/interfaces/IIFlareAssetRegistry.sol/IIFlareAssetRegistry.json +307 -0
- package/flare/artifacts/contracts/assetRegistry/interfaces/IIFlareAssetRegistryProvider.sol/IIFlareAssetRegistryProvider.json +57 -0
- package/flare/artifacts/contracts/ftso/interfaces/IIFtsoManager.sol/IIFtsoManager.json +882 -0
- package/flare/artifacts/contracts/ftso/interfaces/IIFtsoManagerV1.sol/IIFtsoManagerV1.json +93 -0
- package/flare/artifacts/contracts/genesis/interfaces/IIPriceSubmitter.sol/IIPriceSubmitter.json +274 -0
- package/flare/artifacts/contracts/genesis/interfaces/IInflationGenesis.sol/IInflationGenesis.json +9 -0
- package/flare/artifacts/contracts/governance/interfaces/IIPollingFoundation.sol/IIPollingFoundation.json +1 -1
- package/flare/artifacts/contracts/inflation/interfaces/IIInflationAllocation.sol/IIInflationAllocation.json +40 -0
- package/flare/artifacts/contracts/inflation/interfaces/IIInflationReceiver.sol/IIInflationReceiver.json +61 -0
- package/flare/artifacts/contracts/inflation/interfaces/IIInflationReceiverV1.sol/IIInflationReceiverV1.json +48 -0
- package/flare/artifacts/contracts/inflation/interfaces/IIInflationV1.sol/IIInflationV1.json +128 -0
- package/flare/artifacts/contracts/inflation/interfaces/IIPreInflationCalculation.sol/IIPreInflationCalculation.json +9 -0
- package/flare/artifacts/contracts/inflation/interfaces/IISupply.sol/IISupply.json +73 -0
- package/flare/artifacts/contracts/mockXAsset/interfaces/ICollateralizable.sol/ICollateralizable.json +225 -0
- package/flare/artifacts/contracts/staking/interfaces/IIPChainStakeMirrorVerifier.sol/IIPChainStakeMirrorVerifier.json +63 -0
- package/flare/artifacts/contracts/token/interfaces/IICombinedNatBalance.sol/IICombinedNatBalance.json +77 -0
- package/flare/artifacts/contracts/tokenPools/interfaces/IIFtsoRewardManager.sol/IIFtsoRewardManager.json +953 -0
- package/flare/artifacts/contracts/tokenPools/interfaces/IIGenericRewardManager.sol/IIGenericRewardManager.json +404 -0
- package/flare/artifacts/contracts/tokenPools/interfaces/IIIncentivePoolAllocation.sol/IIIncentivePoolAllocation.json +40 -0
- package/flare/artifacts/contracts/tokenPools/interfaces/IIIncentivePoolPercentageProvider.sol/IIIncentivePoolPercentageProvider.json +15 -0
- package/flare/artifacts/contracts/tokenPools/interfaces/IIIncentivePoolReceiver.sol/IIIncentivePoolReceiver.json +48 -0
- package/flare/artifacts/contracts/tokenPools/interfaces/IIIncentivePoolSharingPercentageProvider.sol/IIIncentivePoolSharingPercentageProvider.json +27 -0
- package/flare/artifacts/contracts/tokenPools/interfaces/IITokenPool.sol/IITokenPool.json +25 -0
- package/flare/artifacts/contracts/utils/interfaces/IIFtsoRegistry.sol/IIFtsoRegistry.json +468 -0
- package/flare/artifacts/contracts/utils/interfaces/IIRandomProvider.sol/IIRandomProvider.json +51 -0
- package/flare/artifacts/contracts/utils/interfaces/IIVoterWhitelister.sol/IIVoterWhitelister.json +299 -0
- package/flare/artifacts/contracts/utils/interfaces/IUpdateValidators.sol/IUpdateValidators.json +9 -0
- package/package.json +1 -1
- package/songbird/artifacts/contracts/IAgentOwnerRegistry.sol/IAgentOwnerRegistry.json +10 -0
- package/songbird/artifacts/contracts/IAssetManager.sol/IAssetManager.json +62 -1023
- package/songbird/artifacts/contracts/IAssetManagerEvents.sol/IAssetManagerEvents.json +19 -233
- package/songbird/artifacts/contracts/{ICoreVault.sol/ICoreVault.json → ICoreVaultClient.sol/ICoreVaultClient.json} +5 -24
- package/{flare/artifacts/contracts/ICoreVaultSettings.sol/ICoreVaultSettings.json → songbird/artifacts/contracts/ICoreVaultClientSettings.sol/ICoreVaultClientSettings.json} +0 -26
- package/flare/artifacts/contracts/ITransferFees.sol/ITransferFees.json +0 -394
- package/flare/artifacts/contracts/IWhitelist.sol/IWhitelist.json +0 -47
- package/songbird/artifacts/contracts/ITransferFees.sol/ITransferFees.json +0 -394
- package/songbird/artifacts/contracts/IWhitelist.sol/IWhitelist.json +0 -47
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"inputs": [
|
|
4
|
+
{
|
|
5
|
+
"internalType": "uint256",
|
|
6
|
+
"name": "_index",
|
|
7
|
+
"type": "uint256"
|
|
8
|
+
}
|
|
9
|
+
],
|
|
10
|
+
"name": "getAnnum",
|
|
11
|
+
"outputs": [
|
|
12
|
+
{
|
|
13
|
+
"components": [
|
|
14
|
+
{
|
|
15
|
+
"internalType": "uint256",
|
|
16
|
+
"name": "recognizedInflationWei",
|
|
17
|
+
"type": "uint256"
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"internalType": "uint16",
|
|
21
|
+
"name": "daysInAnnum",
|
|
22
|
+
"type": "uint16"
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"internalType": "uint256",
|
|
26
|
+
"name": "startTimeStamp",
|
|
27
|
+
"type": "uint256"
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"internalType": "uint256",
|
|
31
|
+
"name": "endTimeStamp",
|
|
32
|
+
"type": "uint256"
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"components": [
|
|
36
|
+
{
|
|
37
|
+
"components": [
|
|
38
|
+
{
|
|
39
|
+
"internalType": "contract IIInflationReceiver",
|
|
40
|
+
"name": "inflationReceiver",
|
|
41
|
+
"type": "address"
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"internalType": "uint256",
|
|
45
|
+
"name": "authorizedInflationWei",
|
|
46
|
+
"type": "uint256"
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"internalType": "uint256",
|
|
50
|
+
"name": "lastDailyAuthorizedInflationWei",
|
|
51
|
+
"type": "uint256"
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"internalType": "uint256",
|
|
55
|
+
"name": "inflationTopupRequestedWei",
|
|
56
|
+
"type": "uint256"
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"internalType": "uint256",
|
|
60
|
+
"name": "inflationTopupReceivedWei",
|
|
61
|
+
"type": "uint256"
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
"internalType": "uint256",
|
|
65
|
+
"name": "inflationTopupWithdrawnWei",
|
|
66
|
+
"type": "uint256"
|
|
67
|
+
}
|
|
68
|
+
],
|
|
69
|
+
"internalType": "struct IIInflationV1.RewardServiceState[]",
|
|
70
|
+
"name": "rewardServices",
|
|
71
|
+
"type": "tuple[]"
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
"internalType": "uint256",
|
|
75
|
+
"name": "totalAuthorizedInflationWei",
|
|
76
|
+
"type": "uint256"
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
"internalType": "uint256",
|
|
80
|
+
"name": "totalInflationTopupRequestedWei",
|
|
81
|
+
"type": "uint256"
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
"internalType": "uint256",
|
|
85
|
+
"name": "totalInflationTopupReceivedWei",
|
|
86
|
+
"type": "uint256"
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
"internalType": "uint256",
|
|
90
|
+
"name": "totalInflationTopupWithdrawnWei",
|
|
91
|
+
"type": "uint256"
|
|
92
|
+
}
|
|
93
|
+
],
|
|
94
|
+
"internalType": "struct IIInflationV1.RewardServicesState",
|
|
95
|
+
"name": "rewardServices",
|
|
96
|
+
"type": "tuple"
|
|
97
|
+
}
|
|
98
|
+
],
|
|
99
|
+
"internalType": "struct IIInflationV1.InflationAnnumState",
|
|
100
|
+
"name": "",
|
|
101
|
+
"type": "tuple"
|
|
102
|
+
}
|
|
103
|
+
],
|
|
104
|
+
"stateMutability": "view",
|
|
105
|
+
"type": "function"
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
"inputs": [],
|
|
109
|
+
"name": "lastAuthorizationTs",
|
|
110
|
+
"outputs": [
|
|
111
|
+
{
|
|
112
|
+
"internalType": "uint256",
|
|
113
|
+
"name": "",
|
|
114
|
+
"type": "uint256"
|
|
115
|
+
}
|
|
116
|
+
],
|
|
117
|
+
"stateMutability": "nonpayable",
|
|
118
|
+
"type": "function"
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
"inputs": [],
|
|
122
|
+
"name": "rewardEpochStartedTs",
|
|
123
|
+
"outputs": [
|
|
124
|
+
{
|
|
125
|
+
"internalType": "uint256",
|
|
126
|
+
"name": "",
|
|
127
|
+
"type": "uint256"
|
|
128
|
+
}
|
|
129
|
+
],
|
|
130
|
+
"stateMutability": "nonpayable",
|
|
131
|
+
"type": "function"
|
|
132
|
+
}
|
|
133
|
+
]
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"inputs": [
|
|
4
|
+
{
|
|
5
|
+
"internalType": "uint256",
|
|
6
|
+
"name": "_blockNumber",
|
|
7
|
+
"type": "uint256"
|
|
8
|
+
}
|
|
9
|
+
],
|
|
10
|
+
"name": "getCirculatingSupplyAt",
|
|
11
|
+
"outputs": [
|
|
12
|
+
{
|
|
13
|
+
"internalType": "uint256",
|
|
14
|
+
"name": "_circulatingSupplyWei",
|
|
15
|
+
"type": "uint256"
|
|
16
|
+
}
|
|
17
|
+
],
|
|
18
|
+
"stateMutability": "view",
|
|
19
|
+
"type": "function"
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
"inputs": [
|
|
23
|
+
{
|
|
24
|
+
"internalType": "uint256",
|
|
25
|
+
"name": "_blockNumber",
|
|
26
|
+
"type": "uint256"
|
|
27
|
+
}
|
|
28
|
+
],
|
|
29
|
+
"name": "getCirculatingSupplyAtCached",
|
|
30
|
+
"outputs": [
|
|
31
|
+
{
|
|
32
|
+
"internalType": "uint256",
|
|
33
|
+
"name": "_circulatingSupplyWei",
|
|
34
|
+
"type": "uint256"
|
|
35
|
+
}
|
|
36
|
+
],
|
|
37
|
+
"stateMutability": "nonpayable",
|
|
38
|
+
"type": "function"
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"inputs": [],
|
|
42
|
+
"name": "getInflatableBalance",
|
|
43
|
+
"outputs": [
|
|
44
|
+
{
|
|
45
|
+
"internalType": "uint256",
|
|
46
|
+
"name": "_inflatableBalanceWei",
|
|
47
|
+
"type": "uint256"
|
|
48
|
+
}
|
|
49
|
+
],
|
|
50
|
+
"stateMutability": "view",
|
|
51
|
+
"type": "function"
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"inputs": [
|
|
55
|
+
{
|
|
56
|
+
"internalType": "uint256",
|
|
57
|
+
"name": "_inflationAuthorizedWei",
|
|
58
|
+
"type": "uint256"
|
|
59
|
+
}
|
|
60
|
+
],
|
|
61
|
+
"name": "updateAuthorizedInflationAndCirculatingSupply",
|
|
62
|
+
"outputs": [],
|
|
63
|
+
"stateMutability": "nonpayable",
|
|
64
|
+
"type": "function"
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
"inputs": [],
|
|
68
|
+
"name": "updateCirculatingSupply",
|
|
69
|
+
"outputs": [],
|
|
70
|
+
"stateMutability": "nonpayable",
|
|
71
|
+
"type": "function"
|
|
72
|
+
}
|
|
73
|
+
]
|
|
@@ -0,0 +1,225 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"inputs": [
|
|
4
|
+
{
|
|
5
|
+
"internalType": "uint256",
|
|
6
|
+
"name": "epochID",
|
|
7
|
+
"type": "uint256"
|
|
8
|
+
}
|
|
9
|
+
],
|
|
10
|
+
"name": "addRewardToAgentPosition",
|
|
11
|
+
"outputs": [
|
|
12
|
+
{
|
|
13
|
+
"internalType": "bool",
|
|
14
|
+
"name": "succeess",
|
|
15
|
+
"type": "bool"
|
|
16
|
+
}
|
|
17
|
+
],
|
|
18
|
+
"stateMutability": "nonpayable",
|
|
19
|
+
"type": "function"
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
"inputs": [
|
|
23
|
+
{
|
|
24
|
+
"internalType": "uint256",
|
|
25
|
+
"name": "amount",
|
|
26
|
+
"type": "uint256"
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"internalType": "bytes32",
|
|
30
|
+
"name": "assetAddress",
|
|
31
|
+
"type": "bytes32"
|
|
32
|
+
}
|
|
33
|
+
],
|
|
34
|
+
"name": "assetRedemptionRequest",
|
|
35
|
+
"outputs": [
|
|
36
|
+
{
|
|
37
|
+
"internalType": "uint256",
|
|
38
|
+
"name": "redemptionId",
|
|
39
|
+
"type": "uint256"
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"internalType": "address[]",
|
|
43
|
+
"name": "agents",
|
|
44
|
+
"type": "address[]"
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
"internalType": "uint256[]",
|
|
48
|
+
"name": "assetAmounts",
|
|
49
|
+
"type": "uint256[]"
|
|
50
|
+
}
|
|
51
|
+
],
|
|
52
|
+
"stateMutability": "nonpayable",
|
|
53
|
+
"type": "function"
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
"inputs": [
|
|
57
|
+
{
|
|
58
|
+
"internalType": "uint256",
|
|
59
|
+
"name": "amount",
|
|
60
|
+
"type": "uint256"
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
"internalType": "uint256",
|
|
64
|
+
"name": "freshMint",
|
|
65
|
+
"type": "uint256"
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
"internalType": "uint256",
|
|
69
|
+
"name": "agentPosition",
|
|
70
|
+
"type": "uint256"
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
"internalType": "uint256",
|
|
74
|
+
"name": "freshMintMinRatio",
|
|
75
|
+
"type": "uint256"
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
"internalType": "address",
|
|
79
|
+
"name": "natAddress",
|
|
80
|
+
"type": "address"
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
"internalType": "enum ICollateralizable.FeeHandling",
|
|
84
|
+
"name": "handling",
|
|
85
|
+
"type": "uint8"
|
|
86
|
+
}
|
|
87
|
+
],
|
|
88
|
+
"name": "deposit",
|
|
89
|
+
"outputs": [],
|
|
90
|
+
"stateMutability": "nonpayable",
|
|
91
|
+
"type": "function"
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
"inputs": [
|
|
95
|
+
{
|
|
96
|
+
"internalType": "uint256",
|
|
97
|
+
"name": "mintAmountTwei",
|
|
98
|
+
"type": "uint256"
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
"internalType": "address",
|
|
102
|
+
"name": "mintDestination",
|
|
103
|
+
"type": "address"
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
"internalType": "bytes32",
|
|
107
|
+
"name": "underlyingAddress",
|
|
108
|
+
"type": "bytes32"
|
|
109
|
+
}
|
|
110
|
+
],
|
|
111
|
+
"name": "mintRequest",
|
|
112
|
+
"outputs": [
|
|
113
|
+
{
|
|
114
|
+
"internalType": "uint256",
|
|
115
|
+
"name": "mintRequestId",
|
|
116
|
+
"type": "uint256"
|
|
117
|
+
},
|
|
118
|
+
{
|
|
119
|
+
"internalType": "address[]",
|
|
120
|
+
"name": "agents",
|
|
121
|
+
"type": "address[]"
|
|
122
|
+
},
|
|
123
|
+
{
|
|
124
|
+
"internalType": "uint256[]",
|
|
125
|
+
"name": "assetAmounts",
|
|
126
|
+
"type": "uint256[]"
|
|
127
|
+
},
|
|
128
|
+
{
|
|
129
|
+
"internalType": "bytes32[]",
|
|
130
|
+
"name": "assetAddress",
|
|
131
|
+
"type": "bytes32[]"
|
|
132
|
+
}
|
|
133
|
+
],
|
|
134
|
+
"stateMutability": "nonpayable",
|
|
135
|
+
"type": "function"
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
"inputs": [
|
|
139
|
+
{
|
|
140
|
+
"internalType": "uint256",
|
|
141
|
+
"name": "mintRequestId",
|
|
142
|
+
"type": "uint256"
|
|
143
|
+
},
|
|
144
|
+
{
|
|
145
|
+
"internalType": "bytes32",
|
|
146
|
+
"name": "minterSourceAddress",
|
|
147
|
+
"type": "bytes32"
|
|
148
|
+
},
|
|
149
|
+
{
|
|
150
|
+
"internalType": "bytes32",
|
|
151
|
+
"name": "agentAssetAddress",
|
|
152
|
+
"type": "bytes32"
|
|
153
|
+
},
|
|
154
|
+
{
|
|
155
|
+
"internalType": "bytes32",
|
|
156
|
+
"name": "destinationTag",
|
|
157
|
+
"type": "bytes32"
|
|
158
|
+
},
|
|
159
|
+
{
|
|
160
|
+
"internalType": "uint256",
|
|
161
|
+
"name": "assetAmount",
|
|
162
|
+
"type": "uint256"
|
|
163
|
+
},
|
|
164
|
+
{
|
|
165
|
+
"internalType": "bytes32[]",
|
|
166
|
+
"name": "merkleProof",
|
|
167
|
+
"type": "bytes32[]"
|
|
168
|
+
}
|
|
169
|
+
],
|
|
170
|
+
"name": "proveMintPayment",
|
|
171
|
+
"outputs": [
|
|
172
|
+
{
|
|
173
|
+
"internalType": "uint256",
|
|
174
|
+
"name": "mintedAmount",
|
|
175
|
+
"type": "uint256"
|
|
176
|
+
}
|
|
177
|
+
],
|
|
178
|
+
"stateMutability": "nonpayable",
|
|
179
|
+
"type": "function"
|
|
180
|
+
},
|
|
181
|
+
{
|
|
182
|
+
"inputs": [
|
|
183
|
+
{
|
|
184
|
+
"internalType": "uint256",
|
|
185
|
+
"name": "redemptionRequestId",
|
|
186
|
+
"type": "uint256"
|
|
187
|
+
},
|
|
188
|
+
{
|
|
189
|
+
"internalType": "bytes32",
|
|
190
|
+
"name": "agentSourceAssetAddress",
|
|
191
|
+
"type": "bytes32"
|
|
192
|
+
},
|
|
193
|
+
{
|
|
194
|
+
"internalType": "bytes32",
|
|
195
|
+
"name": "redeemerAssetAddress",
|
|
196
|
+
"type": "bytes32"
|
|
197
|
+
},
|
|
198
|
+
{
|
|
199
|
+
"internalType": "bytes32",
|
|
200
|
+
"name": "destinationTag",
|
|
201
|
+
"type": "bytes32"
|
|
202
|
+
},
|
|
203
|
+
{
|
|
204
|
+
"internalType": "uint256",
|
|
205
|
+
"name": "assetAmount",
|
|
206
|
+
"type": "uint256"
|
|
207
|
+
},
|
|
208
|
+
{
|
|
209
|
+
"internalType": "bytes32[]",
|
|
210
|
+
"name": "merkleProof",
|
|
211
|
+
"type": "bytes32[]"
|
|
212
|
+
}
|
|
213
|
+
],
|
|
214
|
+
"name": "proveRedemptionPayment",
|
|
215
|
+
"outputs": [
|
|
216
|
+
{
|
|
217
|
+
"internalType": "uint256",
|
|
218
|
+
"name": "redeemedAmount",
|
|
219
|
+
"type": "uint256"
|
|
220
|
+
}
|
|
221
|
+
],
|
|
222
|
+
"stateMutability": "nonpayable",
|
|
223
|
+
"type": "function"
|
|
224
|
+
}
|
|
225
|
+
]
|