@paraswap/dex-lib 4.7.13-from-amount-pos.0 → 4.7.13-unified-pair-restriction.1
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/build/abi/{apex-defi/ApexDefiRouter.abi.json → BProtocol.json} +573 -538
- package/build/abi/Jarvis.json +1172 -0
- package/build/abi/{apex-defi/ApexDefiFactory.abi.json → MStableAsset.json} +781 -985
- package/build/abi/{apex-defi/ApexDefiWrapperFactory.abi.json → OneInchLp.json} +766 -569
- package/build/abi/Onebit.json +736 -0
- package/build/abi/Shell.json +1294 -0
- package/build/abi/TraderJoeV2Router.json +50 -0
- package/build/abi/wUSDM.json +757 -0
- package/build/abi/zrx.v2.json +1967 -0
- package/build/abi/zrx.v3.json +3454 -0
- package/build/abi/zrx.v4.json +2193 -0
- package/build/dex/OneInchLp.d.ts +24 -0
- package/build/dex/OneInchLp.js +43 -0
- package/build/dex/OneInchLp.js.map +1 -0
- package/build/dex/bProtocol/bProtocol.d.ts +15 -0
- package/build/dex/bProtocol/bProtocol.js +56 -0
- package/build/dex/bProtocol/bProtocol.js.map +1 -0
- package/build/dex/bProtocol/types.d.ts +11 -0
- package/build/dex/bProtocol/types.js +8 -0
- package/build/dex/bProtocol/types.js.map +1 -0
- package/build/dex/cables/cables.d.ts +1 -1
- package/build/dex/cables/cables.js +1 -1
- package/build/dex/cables/cables.js.map +1 -1
- package/build/dex/dexalot/dexalot.d.ts +0 -3
- package/build/dex/dexalot/dexalot.js +9 -17
- package/build/dex/dexalot/dexalot.js.map +1 -1
- package/build/dex/generic-rfq/generic-rfq.d.ts +1 -1
- package/build/dex/generic-rfq/generic-rfq.js +54 -44
- package/build/dex/generic-rfq/generic-rfq.js.map +1 -1
- package/build/dex/generic-rfq/types.d.ts +3 -0
- package/build/dex/generic-rfq/types.js +6 -0
- package/build/dex/generic-rfq/types.js.map +1 -1
- package/build/dex/hashflow/hashflow.js +2 -1
- package/build/dex/hashflow/hashflow.js.map +1 -1
- package/build/dex/idex.d.ts +6 -0
- package/build/dex/jarvis.d.ts +56 -0
- package/build/dex/jarvis.js +163 -0
- package/build/dex/jarvis.js.map +1 -0
- package/build/dex/limit-order-exchange.js +1 -0
- package/build/dex/limit-order-exchange.js.map +1 -1
- package/build/dex/mStable.d.ts +44 -0
- package/build/dex/mStable.js +75 -0
- package/build/dex/mStable.js.map +1 -0
- package/build/dex/onebit/onebit.d.ts +16 -0
- package/build/dex/onebit/onebit.js +61 -0
- package/build/dex/onebit/onebit.js.map +1 -0
- package/build/dex/onebit/types.d.ts +14 -0
- package/build/dex/onebit/types.js +8 -0
- package/build/dex/onebit/types.js.map +1 -0
- package/build/dex/{yo → se-vlr}/config.d.ts +1 -1
- package/build/dex/se-vlr/config.js +24 -0
- package/build/dex/se-vlr/config.js.map +1 -0
- package/build/dex/{stabull/stabull-pool.d.ts → se-vlr/se-vlr-pool.d.ts} +6 -13
- package/build/dex/se-vlr/se-vlr-pool.js +70 -0
- package/build/dex/se-vlr/se-vlr-pool.js.map +1 -0
- package/build/dex/se-vlr/se-vlr.d.ts +35 -0
- package/build/dex/se-vlr/se-vlr.js +131 -0
- package/build/dex/se-vlr/se-vlr.js.map +1 -0
- package/build/dex/se-vlr/types.d.ts +6 -0
- package/build/dex/{yo → se-vlr}/types.js.map +1 -1
- package/build/dex/shell.d.ts +25 -0
- package/build/dex/shell.js +41 -0
- package/build/dex/shell.js.map +1 -0
- package/build/dex/simple-exchange-with-restrictions.d.ts +10 -2
- package/build/dex/simple-exchange-with-restrictions.js +30 -1
- package/build/dex/simple-exchange-with-restrictions.js.map +1 -1
- package/build/dex/swaap-v2/swaap-v2.d.ts +1 -3
- package/build/dex/swaap-v2/swaap-v2.js +11 -24
- package/build/dex/swaap-v2/swaap-v2.js.map +1 -1
- package/build/dex/swaap-v2/utils.d.ts +1 -0
- package/build/dex/swaap-v2/utils.js +7 -1
- package/build/dex/swaap-v2/utils.js.map +1 -1
- package/build/dex/trader-joe-v2.d.ts +40 -0
- package/build/dex/trader-joe-v2.js +74 -0
- package/build/dex/trader-joe-v2.js.map +1 -0
- package/build/dex/uniswap-v3/uniswap-v3-new.d.ts +94 -0
- package/build/dex/uniswap-v3/uniswap-v3-new.js +923 -0
- package/build/dex/uniswap-v3/uniswap-v3-new.js.map +1 -0
- package/build/dex/uniswap-v4/contract-math/Position.d.ts +0 -6
- package/build/dex/uniswap-v4/contract-math/Position.js +0 -29
- package/build/dex/uniswap-v4/contract-math/Position.js.map +1 -1
- package/build/dex/{stabull → usual-bond}/config.d.ts +1 -1
- package/build/dex/usual-bond/config.js +13 -0
- package/build/dex/usual-bond/config.js.map +1 -0
- package/build/dex/usual-bond/types.d.ts +7 -0
- package/build/dex/{apex-defi → usual-bond}/types.js.map +1 -1
- package/build/dex/{aave-pt-to-underlying/aave-pt-to-underlying.d.ts → usual-bond/usual-bond.d.ts} +18 -23
- package/build/dex/usual-bond/usual-bond.js +176 -0
- package/build/dex/usual-bond/usual-bond.js.map +1 -0
- package/build/dex/wusdm/config.d.ts +3 -0
- package/build/dex/wusdm/config.js +43 -0
- package/build/dex/wusdm/config.js.map +1 -0
- package/build/dex/wusdm/constants.d.ts +2 -0
- package/build/dex/wusdm/constants.js +6 -0
- package/build/dex/wusdm/constants.js.map +1 -0
- package/build/dex/wusdm/types.d.ts +18 -0
- package/build/dex/wusdm/types.js +11 -0
- package/build/dex/wusdm/types.js.map +1 -0
- package/build/dex/wusdm/wusdm-pool.d.ts +21 -0
- package/build/dex/wusdm/wusdm-pool.js +74 -0
- package/build/dex/wusdm/wusdm-pool.js.map +1 -0
- package/build/dex/wusdm/wusdm.d.ts +46 -0
- package/build/dex/wusdm/wusdm.js +243 -0
- package/build/dex/wusdm/wusdm.js.map +1 -0
- package/build/dex/zerox/config.d.ts +2 -0
- package/build/dex/zerox/config.js +33 -0
- package/build/dex/zerox/config.js.map +1 -0
- package/build/dex/zerox/index.d.ts +22 -0
- package/build/dex/zerox/index.js +225 -0
- package/build/dex/zerox/index.js.map +1 -0
- package/build/dex/zerox/order.d.ts +88 -0
- package/build/dex/zerox/order.js +53 -0
- package/build/dex/zerox/order.js.map +1 -0
- package/build/dex/zerox/types.d.ts +73 -0
- package/build/dex/zerox/types.js +21 -0
- package/build/dex/zerox/types.js.map +1 -0
- package/build/executor/Executor01BytecodeBuilder.js +4 -10
- package/build/executor/Executor01BytecodeBuilder.js.map +1 -1
- package/build/pricing-helper.d.ts +2 -1
- package/build/pricing-helper.js +22 -3
- package/build/pricing-helper.js.map +1 -1
- package/package.json +1 -1
- package/build/abi/PendleRouterStatic.json +0 -19
- package/build/abi/apex-defi/ApexDefiToken.abi.json +0 -229
- package/build/abi/apex-defi/ApexDefiWrapper.abi.json +0 -92
- package/build/abi/pangolin-v3/PangolinV3StateMulticall.abi.json +0 -796
- package/build/abi/pendle/pendle-deployer.abi.json +0 -520
- package/build/abi/pendle/pendle-oracle.abi.json +0 -413
- package/build/abi/ring-v2/few-wrapped-token.json +0 -587
- package/build/abi/ring-v2/ring-v2-factory.json +0 -125
- package/build/abi/ring-v2/ring-v2-pool.json +0 -461
- package/build/abi/ring-v2/ring-v2-router.json +0 -332
- package/build/abi/stabull/stabull-curve.json +0 -738
- package/build/abi/stabull/stabull-router.json +0 -76
- package/build/abi/uniswap-v4/hooks/SpotDynamicFeeManager.json +0 -26
- package/build/abi/uniswap-v4/hooks/SpotHook.json +0 -54
- package/build/abi/uniswap-v4/hooks/SpotPolicyManager.json +0 -45
- package/build/abi/uniswap-v4/hooks/cabalcoin-hook.abi.json +0 -682
- package/build/abi/uniswap-v4/hooks/fee-hook.abi.json +0 -1335
- package/build/dex/aave-pt-to-underlying/aave-pt-to-underlying-factory.d.ts +0 -29
- package/build/dex/aave-pt-to-underlying/aave-pt-to-underlying-factory.js +0 -153
- package/build/dex/aave-pt-to-underlying/aave-pt-to-underlying-factory.js.map +0 -1
- package/build/dex/aave-pt-to-underlying/aave-pt-to-underlying.js +0 -323
- package/build/dex/aave-pt-to-underlying/aave-pt-to-underlying.js.map +0 -1
- package/build/dex/aave-pt-to-underlying/config.d.ts +0 -3
- package/build/dex/aave-pt-to-underlying/config.js +0 -24
- package/build/dex/aave-pt-to-underlying/config.js.map +0 -1
- package/build/dex/aave-pt-to-underlying/constants.d.ts +0 -2
- package/build/dex/aave-pt-to-underlying/constants.js +0 -6
- package/build/dex/aave-pt-to-underlying/constants.js.map +0 -1
- package/build/dex/aave-pt-to-underlying/types.d.ts +0 -24
- package/build/dex/aave-pt-to-underlying/types.js.map +0 -1
- package/build/dex/aave-pt-to-usdc/aave-pt-to-usdc.d.ts +0 -39
- package/build/dex/aave-pt-to-usdc/aave-pt-to-usdc.js +0 -244
- package/build/dex/aave-pt-to-usdc/aave-pt-to-usdc.js.map +0 -1
- package/build/dex/aave-pt-to-usdc/config.d.ts +0 -3
- package/build/dex/aave-pt-to-usdc/config.js +0 -47
- package/build/dex/aave-pt-to-usdc/config.js.map +0 -1
- package/build/dex/aave-pt-to-usdc/constants.d.ts +0 -2
- package/build/dex/aave-pt-to-usdc/constants.js +0 -6
- package/build/dex/aave-pt-to-usdc/constants.js.map +0 -1
- package/build/dex/aave-pt-to-usdc/types.d.ts +0 -22
- package/build/dex/aave-pt-to-usdc/types.js.map +0 -1
- package/build/dex/apex-defi/apex-defi-factory.d.ts +0 -26
- package/build/dex/apex-defi/apex-defi-factory.js +0 -53
- package/build/dex/apex-defi/apex-defi-factory.js.map +0 -1
- package/build/dex/apex-defi/apex-defi-pool.d.ts +0 -55
- package/build/dex/apex-defi/apex-defi-pool.js +0 -247
- package/build/dex/apex-defi/apex-defi-pool.js.map +0 -1
- package/build/dex/apex-defi/apex-defi-wrapper-factory.d.ts +0 -57
- package/build/dex/apex-defi/apex-defi-wrapper-factory.js +0 -250
- package/build/dex/apex-defi/apex-defi-wrapper-factory.js.map +0 -1
- package/build/dex/apex-defi/apex-defi.d.ts +0 -97
- package/build/dex/apex-defi/apex-defi.js +0 -1021
- package/build/dex/apex-defi/apex-defi.js.map +0 -1
- package/build/dex/apex-defi/config.d.ts +0 -4
- package/build/dex/apex-defi/config.js +0 -138
- package/build/dex/apex-defi/config.js.map +0 -1
- package/build/dex/apex-defi/types.d.ts +0 -32
- package/build/dex/apex-defi/types.js +0 -3
- package/build/dex/apex-defi/utils.d.ts +0 -46
- package/build/dex/apex-defi/utils.js +0 -133
- package/build/dex/apex-defi/utils.js.map +0 -1
- package/build/dex/maker-psm/maker-psm-event-pool.d.ts +0 -43
- package/build/dex/maker-psm/maker-psm-event-pool.js +0 -132
- package/build/dex/maker-psm/maker-psm-event-pool.js.map +0 -1
- package/build/dex/miro-migrator/miro-migrator-state.d.ts +0 -27
- package/build/dex/miro-migrator/miro-migrator-state.js +0 -89
- package/build/dex/miro-migrator/miro-migrator-state.js.map +0 -1
- package/build/dex/stabull/config.js +0 -177
- package/build/dex/stabull/config.js.map +0 -1
- package/build/dex/stabull/stabull-pool.js +0 -113
- package/build/dex/stabull/stabull-pool.js.map +0 -1
- package/build/dex/stabull/stabull.d.ts +0 -55
- package/build/dex/stabull/stabull.js +0 -286
- package/build/dex/stabull/stabull.js.map +0 -1
- package/build/dex/stabull/types.d.ts +0 -21
- package/build/dex/stabull/types.js +0 -3
- package/build/dex/stabull/types.js.map +0 -1
- package/build/dex/uniswap-v3/forks/pangolin-v3/utils.d.ts +0 -4
- package/build/dex/uniswap-v3/forks/pangolin-v3/utils.js +0 -56
- package/build/dex/uniswap-v3/forks/pangolin-v3/utils.js.map +0 -1
- package/build/dex/uniswap-v4/hooks/cabalcoin-hook/cabalcoin-hook-pool.d.ts +0 -7
- package/build/dex/uniswap-v4/hooks/cabalcoin-hook/cabalcoin-hook-pool.js +0 -28
- package/build/dex/uniswap-v4/hooks/cabalcoin-hook/cabalcoin-hook-pool.js.map +0 -1
- package/build/dex/uniswap-v4/hooks/cabalcoin-hook/types.d.ts +0 -0
- package/build/dex/uniswap-v4/hooks/cabalcoin-hook/types.js +0 -2
- package/build/dex/uniswap-v4/hooks/cabalcoin-hook/types.js.map +0 -1
- package/build/dex/uniswap-v4/hooks/fee-hook/fee-hook-pool.d.ts +0 -7
- package/build/dex/uniswap-v4/hooks/fee-hook/fee-hook-pool.js +0 -28
- package/build/dex/uniswap-v4/hooks/fee-hook/fee-hook-pool.js.map +0 -1
- package/build/dex/uniswap-v4/hooks/fee-hook/types.d.ts +0 -0
- package/build/dex/uniswap-v4/hooks/fee-hook/types.js +0 -2
- package/build/dex/uniswap-v4/hooks/fee-hook/types.js.map +0 -1
- package/build/dex/uniswap-v4/hooks/index.d.ts +0 -1
- package/build/dex/uniswap-v4/hooks/index.js +0 -9
- package/build/dex/uniswap-v4/hooks/index.js.map +0 -1
- package/build/dex/uniswap-v4/hooks/spot.d.ts +0 -15
- package/build/dex/uniswap-v4/hooks/spot.js +0 -109
- package/build/dex/uniswap-v4/hooks/spot.js.map +0 -1
- package/build/dex/uniswap-v4/hooks/template.d.ts +0 -150
- package/build/dex/uniswap-v4/hooks/template.js +0 -104
- package/build/dex/uniswap-v4/hooks/template.js.map +0 -1
- package/build/dex/usdc-transmuter/usdc-transmuter-pool.d.ts +0 -26
- package/build/dex/usdc-transmuter/usdc-transmuter-pool.js +0 -75
- package/build/dex/usdc-transmuter/usdc-transmuter-pool.js.map +0 -1
- package/build/dex/usual/usual-usdc-usdc.d.ts +0 -17
- package/build/dex/usual/usual-usdc-usdc.js +0 -59
- package/build/dex/usual/usual-usdc-usdc.js.map +0 -1
- package/build/dex/yo/config.js +0 -21
- package/build/dex/yo/config.js.map +0 -1
- package/build/dex/yo/types.d.ts +0 -13
- package/build/dex/yo/types.js +0 -3
- package/build/dex/yo/yo-pool.d.ts +0 -13
- package/build/dex/yo/yo-pool.js +0 -26
- package/build/dex/yo/yo-pool.js.map +0 -1
- package/build/dex/yo/yo.d.ts +0 -39
- package/build/dex/yo/yo.js +0 -248
- package/build/dex/yo/yo.js.map +0 -1
- package/build/implementations/api-paraswap-sdk.d.ts +0 -25
- package/build/implementations/api-paraswap-sdk.js +0 -102
- package/build/implementations/api-paraswap-sdk.js.map +0 -1
- /package/build/dex/{aave-pt-to-underlying → se-vlr}/types.js +0 -0
- /package/build/dex/{aave-pt-to-usdc → usual-bond}/types.js +0 -0
|
@@ -1,239 +1,51 @@
|
|
|
1
1
|
[
|
|
2
|
-
{
|
|
3
|
-
"inputs": [],
|
|
4
|
-
"name": "AccessControlBadConfirmation",
|
|
5
|
-
"type": "error"
|
|
6
|
-
},
|
|
7
|
-
{
|
|
8
|
-
"inputs": [
|
|
9
|
-
{
|
|
10
|
-
"internalType": "address",
|
|
11
|
-
"name": "account",
|
|
12
|
-
"type": "address"
|
|
13
|
-
},
|
|
14
|
-
{
|
|
15
|
-
"internalType": "bytes32",
|
|
16
|
-
"name": "neededRole",
|
|
17
|
-
"type": "bytes32"
|
|
18
|
-
}
|
|
19
|
-
],
|
|
20
|
-
"name": "AccessControlUnauthorizedAccount",
|
|
21
|
-
"type": "error"
|
|
22
|
-
},
|
|
23
2
|
{
|
|
24
3
|
"inputs": [
|
|
25
4
|
{
|
|
26
5
|
"internalType": "address",
|
|
27
|
-
"name": "
|
|
6
|
+
"name": "_nexus",
|
|
28
7
|
"type": "address"
|
|
29
8
|
}
|
|
30
9
|
],
|
|
31
|
-
"
|
|
32
|
-
"type": "
|
|
33
|
-
},
|
|
34
|
-
{
|
|
35
|
-
"inputs": [],
|
|
36
|
-
"name": "DistributionFailed",
|
|
37
|
-
"type": "error"
|
|
38
|
-
},
|
|
39
|
-
{
|
|
40
|
-
"inputs": [],
|
|
41
|
-
"name": "ERC1167FailedCreateClone",
|
|
42
|
-
"type": "error"
|
|
10
|
+
"stateMutability": "nonpayable",
|
|
11
|
+
"type": "constructor"
|
|
43
12
|
},
|
|
44
13
|
{
|
|
14
|
+
"anonymous": false,
|
|
45
15
|
"inputs": [
|
|
46
16
|
{
|
|
17
|
+
"indexed": true,
|
|
47
18
|
"internalType": "address",
|
|
48
|
-
"name": "
|
|
19
|
+
"name": "owner",
|
|
49
20
|
"type": "address"
|
|
50
|
-
}
|
|
51
|
-
],
|
|
52
|
-
"name": "ERC1967InvalidImplementation",
|
|
53
|
-
"type": "error"
|
|
54
|
-
},
|
|
55
|
-
{
|
|
56
|
-
"inputs": [],
|
|
57
|
-
"name": "ERC1967NonPayable",
|
|
58
|
-
"type": "error"
|
|
59
|
-
},
|
|
60
|
-
{
|
|
61
|
-
"inputs": [],
|
|
62
|
-
"name": "EnforcedPause",
|
|
63
|
-
"type": "error"
|
|
64
|
-
},
|
|
65
|
-
{
|
|
66
|
-
"inputs": [],
|
|
67
|
-
"name": "ExpectedPause",
|
|
68
|
-
"type": "error"
|
|
69
|
-
},
|
|
70
|
-
{
|
|
71
|
-
"inputs": [],
|
|
72
|
-
"name": "FailedInnerCall",
|
|
73
|
-
"type": "error"
|
|
74
|
-
},
|
|
75
|
-
{
|
|
76
|
-
"inputs": [],
|
|
77
|
-
"name": "FeeHookAlreadyExists",
|
|
78
|
-
"type": "error"
|
|
79
|
-
},
|
|
80
|
-
{
|
|
81
|
-
"inputs": [],
|
|
82
|
-
"name": "FeeHookImplementationNotFound",
|
|
83
|
-
"type": "error"
|
|
84
|
-
},
|
|
85
|
-
{
|
|
86
|
-
"inputs": [],
|
|
87
|
-
"name": "FeeHookNotFound",
|
|
88
|
-
"type": "error"
|
|
89
|
-
},
|
|
90
|
-
{
|
|
91
|
-
"inputs": [],
|
|
92
|
-
"name": "ImplementationAlreadyDeployed",
|
|
93
|
-
"type": "error"
|
|
94
|
-
},
|
|
95
|
-
{
|
|
96
|
-
"inputs": [],
|
|
97
|
-
"name": "InsufficientDeploymentFee",
|
|
98
|
-
"type": "error"
|
|
99
|
-
},
|
|
100
|
-
{
|
|
101
|
-
"inputs": [],
|
|
102
|
-
"name": "InvalidAddress",
|
|
103
|
-
"type": "error"
|
|
104
|
-
},
|
|
105
|
-
{
|
|
106
|
-
"inputs": [],
|
|
107
|
-
"name": "InvalidFeePortions",
|
|
108
|
-
"type": "error"
|
|
109
|
-
},
|
|
110
|
-
{
|
|
111
|
-
"inputs": [],
|
|
112
|
-
"name": "InvalidFeeRate",
|
|
113
|
-
"type": "error"
|
|
114
|
-
},
|
|
115
|
-
{
|
|
116
|
-
"inputs": [],
|
|
117
|
-
"name": "InvalidInitialization",
|
|
118
|
-
"type": "error"
|
|
119
|
-
},
|
|
120
|
-
{
|
|
121
|
-
"inputs": [],
|
|
122
|
-
"name": "InvalidMaxWalletPercent",
|
|
123
|
-
"type": "error"
|
|
124
|
-
},
|
|
125
|
-
{
|
|
126
|
-
"inputs": [],
|
|
127
|
-
"name": "InvalidRange",
|
|
128
|
-
"type": "error"
|
|
129
|
-
},
|
|
130
|
-
{
|
|
131
|
-
"inputs": [],
|
|
132
|
-
"name": "InvalidTradingFee",
|
|
133
|
-
"type": "error"
|
|
134
|
-
},
|
|
135
|
-
{
|
|
136
|
-
"inputs": [],
|
|
137
|
-
"name": "NameMustNotBeEmpty",
|
|
138
|
-
"type": "error"
|
|
139
|
-
},
|
|
140
|
-
{
|
|
141
|
-
"inputs": [],
|
|
142
|
-
"name": "NameTooLong",
|
|
143
|
-
"type": "error"
|
|
144
|
-
},
|
|
145
|
-
{
|
|
146
|
-
"inputs": [],
|
|
147
|
-
"name": "NotInitializing",
|
|
148
|
-
"type": "error"
|
|
149
|
-
},
|
|
150
|
-
{
|
|
151
|
-
"inputs": [
|
|
21
|
+
},
|
|
152
22
|
{
|
|
23
|
+
"indexed": true,
|
|
153
24
|
"internalType": "address",
|
|
154
|
-
"name": "
|
|
25
|
+
"name": "spender",
|
|
155
26
|
"type": "address"
|
|
156
|
-
}
|
|
157
|
-
],
|
|
158
|
-
"name": "OnlyFeeToSetter",
|
|
159
|
-
"type": "error"
|
|
160
|
-
},
|
|
161
|
-
{
|
|
162
|
-
"inputs": [],
|
|
163
|
-
"name": "OutOfBounds",
|
|
164
|
-
"type": "error"
|
|
165
|
-
},
|
|
166
|
-
{
|
|
167
|
-
"inputs": [],
|
|
168
|
-
"name": "PreviousFactoryNotSet",
|
|
169
|
-
"type": "error"
|
|
170
|
-
},
|
|
171
|
-
{
|
|
172
|
-
"inputs": [],
|
|
173
|
-
"name": "ReentrancyGuardReentrantCall",
|
|
174
|
-
"type": "error"
|
|
175
|
-
},
|
|
176
|
-
{
|
|
177
|
-
"inputs": [],
|
|
178
|
-
"name": "SupplyMustBeGreaterThanZero",
|
|
179
|
-
"type": "error"
|
|
180
|
-
},
|
|
181
|
-
{
|
|
182
|
-
"inputs": [],
|
|
183
|
-
"name": "SymbolMustNotBeEmpty",
|
|
184
|
-
"type": "error"
|
|
185
|
-
},
|
|
186
|
-
{
|
|
187
|
-
"inputs": [],
|
|
188
|
-
"name": "SymbolTooLong",
|
|
189
|
-
"type": "error"
|
|
190
|
-
},
|
|
191
|
-
{
|
|
192
|
-
"inputs": [],
|
|
193
|
-
"name": "UUPSUnauthorizedCallContext",
|
|
194
|
-
"type": "error"
|
|
195
|
-
},
|
|
196
|
-
{
|
|
197
|
-
"inputs": [
|
|
198
|
-
{
|
|
199
|
-
"internalType": "bytes32",
|
|
200
|
-
"name": "slot",
|
|
201
|
-
"type": "bytes32"
|
|
202
|
-
}
|
|
203
|
-
],
|
|
204
|
-
"name": "UUPSUnsupportedProxiableUUID",
|
|
205
|
-
"type": "error"
|
|
206
|
-
},
|
|
207
|
-
{
|
|
208
|
-
"anonymous": false,
|
|
209
|
-
"inputs": [
|
|
27
|
+
},
|
|
210
28
|
{
|
|
211
29
|
"indexed": false,
|
|
212
|
-
"internalType": "
|
|
213
|
-
"name": "
|
|
214
|
-
"type": "
|
|
30
|
+
"internalType": "uint256",
|
|
31
|
+
"name": "value",
|
|
32
|
+
"type": "uint256"
|
|
215
33
|
}
|
|
216
34
|
],
|
|
217
|
-
"name": "
|
|
35
|
+
"name": "Approval",
|
|
218
36
|
"type": "event"
|
|
219
37
|
},
|
|
220
38
|
{
|
|
221
39
|
"anonymous": false,
|
|
222
40
|
"inputs": [
|
|
223
|
-
{
|
|
224
|
-
"indexed": true,
|
|
225
|
-
"internalType": "address",
|
|
226
|
-
"name": "feeTo",
|
|
227
|
-
"type": "address"
|
|
228
|
-
},
|
|
229
41
|
{
|
|
230
42
|
"indexed": false,
|
|
231
43
|
"internalType": "uint256",
|
|
232
|
-
"name": "
|
|
44
|
+
"name": "cacheSize",
|
|
233
45
|
"type": "uint256"
|
|
234
46
|
}
|
|
235
47
|
],
|
|
236
|
-
"name": "
|
|
48
|
+
"name": "CacheSizeChanged",
|
|
237
49
|
"type": "event"
|
|
238
50
|
},
|
|
239
51
|
{
|
|
@@ -241,194 +53,148 @@
|
|
|
241
53
|
"inputs": [
|
|
242
54
|
{
|
|
243
55
|
"indexed": false,
|
|
244
|
-
"internalType": "
|
|
245
|
-
"name": "
|
|
246
|
-
"type": "
|
|
247
|
-
},
|
|
248
|
-
{
|
|
249
|
-
"indexed": false,
|
|
250
|
-
"internalType": "uint8",
|
|
251
|
-
"name": "hookType",
|
|
252
|
-
"type": "uint8"
|
|
56
|
+
"internalType": "uint256",
|
|
57
|
+
"name": "swapFee",
|
|
58
|
+
"type": "uint256"
|
|
253
59
|
},
|
|
254
60
|
{
|
|
255
61
|
"indexed": false,
|
|
256
|
-
"internalType": "
|
|
257
|
-
"name": "
|
|
258
|
-
"type": "
|
|
62
|
+
"internalType": "uint256",
|
|
63
|
+
"name": "redemptionFee",
|
|
64
|
+
"type": "uint256"
|
|
259
65
|
}
|
|
260
66
|
],
|
|
261
|
-
"name": "
|
|
67
|
+
"name": "FeesChanged",
|
|
262
68
|
"type": "event"
|
|
263
69
|
},
|
|
264
70
|
{
|
|
265
71
|
"anonymous": false,
|
|
266
72
|
"inputs": [
|
|
267
|
-
{
|
|
268
|
-
"indexed": false,
|
|
269
|
-
"internalType": "uint8",
|
|
270
|
-
"name": "hookType",
|
|
271
|
-
"type": "uint8"
|
|
272
|
-
},
|
|
273
73
|
{
|
|
274
74
|
"indexed": false,
|
|
275
75
|
"internalType": "address",
|
|
276
|
-
"name": "
|
|
76
|
+
"name": "forgeValidator",
|
|
277
77
|
"type": "address"
|
|
278
78
|
}
|
|
279
79
|
],
|
|
280
|
-
"name": "
|
|
80
|
+
"name": "ForgeValidatorChanged",
|
|
281
81
|
"type": "event"
|
|
282
82
|
},
|
|
283
83
|
{
|
|
284
84
|
"anonymous": false,
|
|
285
85
|
"inputs": [
|
|
286
86
|
{
|
|
287
|
-
"indexed":
|
|
87
|
+
"indexed": true,
|
|
288
88
|
"internalType": "address",
|
|
289
|
-
"name": "
|
|
89
|
+
"name": "minter",
|
|
290
90
|
"type": "address"
|
|
291
91
|
},
|
|
292
92
|
{
|
|
293
93
|
"indexed": false,
|
|
294
94
|
"internalType": "address",
|
|
295
|
-
"name": "
|
|
296
|
-
"type": "address"
|
|
297
|
-
}
|
|
298
|
-
],
|
|
299
|
-
"name": "FeeHookRemoved",
|
|
300
|
-
"type": "event"
|
|
301
|
-
},
|
|
302
|
-
{
|
|
303
|
-
"anonymous": false,
|
|
304
|
-
"inputs": [
|
|
305
|
-
{
|
|
306
|
-
"indexed": false,
|
|
307
|
-
"internalType": "address",
|
|
308
|
-
"name": "token",
|
|
95
|
+
"name": "recipient",
|
|
309
96
|
"type": "address"
|
|
310
97
|
},
|
|
311
98
|
{
|
|
312
99
|
"indexed": false,
|
|
313
100
|
"internalType": "uint256",
|
|
314
|
-
"name": "
|
|
101
|
+
"name": "mAssetQuantity",
|
|
315
102
|
"type": "uint256"
|
|
316
103
|
},
|
|
317
104
|
{
|
|
318
105
|
"indexed": false,
|
|
319
|
-
"internalType": "
|
|
320
|
-
"name": "
|
|
321
|
-
"type": "
|
|
106
|
+
"internalType": "address",
|
|
107
|
+
"name": "input",
|
|
108
|
+
"type": "address"
|
|
322
109
|
},
|
|
323
110
|
{
|
|
324
111
|
"indexed": false,
|
|
325
112
|
"internalType": "uint256",
|
|
326
|
-
"name": "
|
|
113
|
+
"name": "inputQuantity",
|
|
327
114
|
"type": "uint256"
|
|
328
115
|
}
|
|
329
116
|
],
|
|
330
|
-
"name": "
|
|
117
|
+
"name": "Minted",
|
|
331
118
|
"type": "event"
|
|
332
119
|
},
|
|
333
120
|
{
|
|
334
121
|
"anonymous": false,
|
|
335
122
|
"inputs": [
|
|
336
123
|
{
|
|
337
|
-
"indexed":
|
|
338
|
-
"internalType": "
|
|
339
|
-
"name": "
|
|
340
|
-
"type": "
|
|
341
|
-
}
|
|
342
|
-
],
|
|
343
|
-
"name": "Initialized",
|
|
344
|
-
"type": "event"
|
|
345
|
-
},
|
|
346
|
-
{
|
|
347
|
-
"anonymous": false,
|
|
348
|
-
"inputs": [
|
|
124
|
+
"indexed": true,
|
|
125
|
+
"internalType": "address",
|
|
126
|
+
"name": "minter",
|
|
127
|
+
"type": "address"
|
|
128
|
+
},
|
|
349
129
|
{
|
|
350
130
|
"indexed": false,
|
|
351
131
|
"internalType": "address",
|
|
352
|
-
"name": "
|
|
132
|
+
"name": "recipient",
|
|
353
133
|
"type": "address"
|
|
354
|
-
}
|
|
355
|
-
],
|
|
356
|
-
"name": "Paused",
|
|
357
|
-
"type": "event"
|
|
358
|
-
},
|
|
359
|
-
{
|
|
360
|
-
"anonymous": false,
|
|
361
|
-
"inputs": [
|
|
134
|
+
},
|
|
362
135
|
{
|
|
363
|
-
"indexed":
|
|
364
|
-
"internalType": "
|
|
365
|
-
"name": "
|
|
366
|
-
"type": "
|
|
136
|
+
"indexed": false,
|
|
137
|
+
"internalType": "uint256",
|
|
138
|
+
"name": "mAssetQuantity",
|
|
139
|
+
"type": "uint256"
|
|
367
140
|
},
|
|
368
141
|
{
|
|
369
|
-
"indexed":
|
|
370
|
-
"internalType": "
|
|
371
|
-
"name": "
|
|
372
|
-
"type": "
|
|
142
|
+
"indexed": false,
|
|
143
|
+
"internalType": "address[]",
|
|
144
|
+
"name": "inputs",
|
|
145
|
+
"type": "address[]"
|
|
373
146
|
},
|
|
374
147
|
{
|
|
375
|
-
"indexed":
|
|
376
|
-
"internalType": "
|
|
377
|
-
"name": "
|
|
378
|
-
"type": "
|
|
148
|
+
"indexed": false,
|
|
149
|
+
"internalType": "uint256[]",
|
|
150
|
+
"name": "inputQuantities",
|
|
151
|
+
"type": "uint256[]"
|
|
379
152
|
}
|
|
380
153
|
],
|
|
381
|
-
"name": "
|
|
154
|
+
"name": "MintedMulti",
|
|
382
155
|
"type": "event"
|
|
383
156
|
},
|
|
384
157
|
{
|
|
385
158
|
"anonymous": false,
|
|
386
159
|
"inputs": [
|
|
387
|
-
{
|
|
388
|
-
"indexed": true,
|
|
389
|
-
"internalType": "bytes32",
|
|
390
|
-
"name": "role",
|
|
391
|
-
"type": "bytes32"
|
|
392
|
-
},
|
|
393
160
|
{
|
|
394
161
|
"indexed": true,
|
|
395
162
|
"internalType": "address",
|
|
396
|
-
"name": "
|
|
163
|
+
"name": "redeemer",
|
|
397
164
|
"type": "address"
|
|
398
165
|
},
|
|
399
166
|
{
|
|
400
|
-
"indexed":
|
|
167
|
+
"indexed": false,
|
|
401
168
|
"internalType": "address",
|
|
402
|
-
"name": "
|
|
169
|
+
"name": "recipient",
|
|
403
170
|
"type": "address"
|
|
404
|
-
}
|
|
405
|
-
],
|
|
406
|
-
"name": "RoleGranted",
|
|
407
|
-
"type": "event"
|
|
408
|
-
},
|
|
409
|
-
{
|
|
410
|
-
"anonymous": false,
|
|
411
|
-
"inputs": [
|
|
171
|
+
},
|
|
412
172
|
{
|
|
413
|
-
"indexed":
|
|
414
|
-
"internalType": "
|
|
415
|
-
"name": "
|
|
416
|
-
"type": "
|
|
173
|
+
"indexed": false,
|
|
174
|
+
"internalType": "uint256",
|
|
175
|
+
"name": "mAssetQuantity",
|
|
176
|
+
"type": "uint256"
|
|
417
177
|
},
|
|
418
178
|
{
|
|
419
|
-
"indexed":
|
|
179
|
+
"indexed": false,
|
|
420
180
|
"internalType": "address",
|
|
421
|
-
"name": "
|
|
181
|
+
"name": "output",
|
|
422
182
|
"type": "address"
|
|
423
183
|
},
|
|
424
184
|
{
|
|
425
|
-
"indexed":
|
|
426
|
-
"internalType": "
|
|
427
|
-
"name": "
|
|
428
|
-
"type": "
|
|
185
|
+
"indexed": false,
|
|
186
|
+
"internalType": "uint256",
|
|
187
|
+
"name": "outputQuantity",
|
|
188
|
+
"type": "uint256"
|
|
189
|
+
},
|
|
190
|
+
{
|
|
191
|
+
"indexed": false,
|
|
192
|
+
"internalType": "uint256",
|
|
193
|
+
"name": "scaledFee",
|
|
194
|
+
"type": "uint256"
|
|
429
195
|
}
|
|
430
196
|
],
|
|
431
|
-
"name": "
|
|
197
|
+
"name": "Redeemed",
|
|
432
198
|
"type": "event"
|
|
433
199
|
},
|
|
434
200
|
{
|
|
@@ -437,41 +203,41 @@
|
|
|
437
203
|
{
|
|
438
204
|
"indexed": true,
|
|
439
205
|
"internalType": "address",
|
|
440
|
-
"name": "
|
|
206
|
+
"name": "redeemer",
|
|
441
207
|
"type": "address"
|
|
442
208
|
},
|
|
443
209
|
{
|
|
444
210
|
"indexed": false,
|
|
445
|
-
"internalType": "
|
|
446
|
-
"name": "
|
|
447
|
-
"type": "
|
|
211
|
+
"internalType": "address",
|
|
212
|
+
"name": "recipient",
|
|
213
|
+
"type": "address"
|
|
448
214
|
},
|
|
449
215
|
{
|
|
450
216
|
"indexed": false,
|
|
451
|
-
"internalType": "
|
|
452
|
-
"name": "
|
|
453
|
-
"type": "
|
|
217
|
+
"internalType": "uint256",
|
|
218
|
+
"name": "mAssetQuantity",
|
|
219
|
+
"type": "uint256"
|
|
454
220
|
},
|
|
455
221
|
{
|
|
456
222
|
"indexed": false,
|
|
457
|
-
"internalType": "address",
|
|
458
|
-
"name": "
|
|
459
|
-
"type": "address"
|
|
223
|
+
"internalType": "address[]",
|
|
224
|
+
"name": "outputs",
|
|
225
|
+
"type": "address[]"
|
|
460
226
|
},
|
|
461
227
|
{
|
|
462
228
|
"indexed": false,
|
|
463
|
-
"internalType": "
|
|
464
|
-
"name": "
|
|
465
|
-
"type": "
|
|
229
|
+
"internalType": "uint256[]",
|
|
230
|
+
"name": "outputQuantity",
|
|
231
|
+
"type": "uint256[]"
|
|
466
232
|
},
|
|
467
233
|
{
|
|
468
234
|
"indexed": false,
|
|
469
235
|
"internalType": "uint256",
|
|
470
|
-
"name": "
|
|
236
|
+
"name": "scaledFee",
|
|
471
237
|
"type": "uint256"
|
|
472
238
|
}
|
|
473
239
|
],
|
|
474
|
-
"name": "
|
|
240
|
+
"name": "RedeemedMulti",
|
|
475
241
|
"type": "event"
|
|
476
242
|
},
|
|
477
243
|
{
|
|
@@ -480,54 +246,41 @@
|
|
|
480
246
|
{
|
|
481
247
|
"indexed": true,
|
|
482
248
|
"internalType": "address",
|
|
483
|
-
"name": "
|
|
249
|
+
"name": "swapper",
|
|
484
250
|
"type": "address"
|
|
485
251
|
},
|
|
486
252
|
{
|
|
487
253
|
"indexed": false,
|
|
488
|
-
"internalType": "
|
|
489
|
-
"name": "
|
|
490
|
-
"type": "
|
|
491
|
-
},
|
|
492
|
-
{
|
|
493
|
-
"indexed": false,
|
|
494
|
-
"internalType": "string",
|
|
495
|
-
"name": "symbol",
|
|
496
|
-
"type": "string"
|
|
254
|
+
"internalType": "address",
|
|
255
|
+
"name": "input",
|
|
256
|
+
"type": "address"
|
|
497
257
|
},
|
|
498
258
|
{
|
|
499
259
|
"indexed": false,
|
|
500
260
|
"internalType": "address",
|
|
501
|
-
"name": "
|
|
261
|
+
"name": "output",
|
|
502
262
|
"type": "address"
|
|
503
263
|
},
|
|
504
264
|
{
|
|
505
265
|
"indexed": false,
|
|
506
|
-
"internalType": "
|
|
507
|
-
"name": "
|
|
508
|
-
"type": "
|
|
266
|
+
"internalType": "uint256",
|
|
267
|
+
"name": "outputAmount",
|
|
268
|
+
"type": "uint256"
|
|
509
269
|
},
|
|
510
270
|
{
|
|
511
271
|
"indexed": false,
|
|
512
272
|
"internalType": "uint256",
|
|
513
|
-
"name": "
|
|
273
|
+
"name": "scaledFee",
|
|
514
274
|
"type": "uint256"
|
|
515
|
-
}
|
|
516
|
-
],
|
|
517
|
-
"name": "TokenRemoved",
|
|
518
|
-
"type": "event"
|
|
519
|
-
},
|
|
520
|
-
{
|
|
521
|
-
"anonymous": false,
|
|
522
|
-
"inputs": [
|
|
275
|
+
},
|
|
523
276
|
{
|
|
524
277
|
"indexed": false,
|
|
525
278
|
"internalType": "address",
|
|
526
|
-
"name": "
|
|
279
|
+
"name": "recipient",
|
|
527
280
|
"type": "address"
|
|
528
281
|
}
|
|
529
282
|
],
|
|
530
|
-
"name": "
|
|
283
|
+
"name": "Swapped",
|
|
531
284
|
"type": "event"
|
|
532
285
|
},
|
|
533
286
|
{
|
|
@@ -536,152 +289,58 @@
|
|
|
536
289
|
{
|
|
537
290
|
"indexed": true,
|
|
538
291
|
"internalType": "address",
|
|
539
|
-
"name": "
|
|
292
|
+
"name": "from",
|
|
540
293
|
"type": "address"
|
|
541
|
-
}
|
|
542
|
-
],
|
|
543
|
-
"name": "Upgraded",
|
|
544
|
-
"type": "event"
|
|
545
|
-
},
|
|
546
|
-
{
|
|
547
|
-
"inputs": [],
|
|
548
|
-
"name": "BURST_DEPLOYER_ROLE",
|
|
549
|
-
"outputs": [
|
|
550
|
-
{
|
|
551
|
-
"internalType": "bytes32",
|
|
552
|
-
"name": "",
|
|
553
|
-
"type": "bytes32"
|
|
554
|
-
}
|
|
555
|
-
],
|
|
556
|
-
"stateMutability": "view",
|
|
557
|
-
"type": "function"
|
|
558
|
-
},
|
|
559
|
-
{
|
|
560
|
-
"inputs": [],
|
|
561
|
-
"name": "DEFAULT_ADMIN_ROLE",
|
|
562
|
-
"outputs": [
|
|
563
|
-
{
|
|
564
|
-
"internalType": "bytes32",
|
|
565
|
-
"name": "",
|
|
566
|
-
"type": "bytes32"
|
|
567
|
-
}
|
|
568
|
-
],
|
|
569
|
-
"stateMutability": "view",
|
|
570
|
-
"type": "function"
|
|
571
|
-
},
|
|
572
|
-
{
|
|
573
|
-
"inputs": [],
|
|
574
|
-
"name": "FEE_TO_SETTER_ROLE",
|
|
575
|
-
"outputs": [
|
|
576
|
-
{
|
|
577
|
-
"internalType": "bytes32",
|
|
578
|
-
"name": "",
|
|
579
|
-
"type": "bytes32"
|
|
580
|
-
}
|
|
581
|
-
],
|
|
582
|
-
"stateMutability": "view",
|
|
583
|
-
"type": "function"
|
|
584
|
-
},
|
|
585
|
-
{
|
|
586
|
-
"inputs": [],
|
|
587
|
-
"name": "MANAGER_ROLE",
|
|
588
|
-
"outputs": [
|
|
589
|
-
{
|
|
590
|
-
"internalType": "bytes32",
|
|
591
|
-
"name": "",
|
|
592
|
-
"type": "bytes32"
|
|
593
|
-
}
|
|
594
|
-
],
|
|
595
|
-
"stateMutability": "view",
|
|
596
|
-
"type": "function"
|
|
597
|
-
},
|
|
598
|
-
{
|
|
599
|
-
"inputs": [],
|
|
600
|
-
"name": "MAX_BASE_SWAP_RATE",
|
|
601
|
-
"outputs": [
|
|
294
|
+
},
|
|
602
295
|
{
|
|
603
|
-
"
|
|
604
|
-
"
|
|
605
|
-
"
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
"stateMutability": "view",
|
|
609
|
-
"type": "function"
|
|
610
|
-
},
|
|
611
|
-
{
|
|
612
|
-
"inputs": [],
|
|
613
|
-
"name": "SCALE_FACTOR",
|
|
614
|
-
"outputs": [
|
|
296
|
+
"indexed": true,
|
|
297
|
+
"internalType": "address",
|
|
298
|
+
"name": "to",
|
|
299
|
+
"type": "address"
|
|
300
|
+
},
|
|
615
301
|
{
|
|
302
|
+
"indexed": false,
|
|
616
303
|
"internalType": "uint256",
|
|
617
|
-
"name": "",
|
|
304
|
+
"name": "value",
|
|
618
305
|
"type": "uint256"
|
|
619
306
|
}
|
|
620
307
|
],
|
|
621
|
-
"
|
|
622
|
-
"type": "
|
|
308
|
+
"name": "Transfer",
|
|
309
|
+
"type": "event"
|
|
623
310
|
},
|
|
624
311
|
{
|
|
625
|
-
"
|
|
626
|
-
"
|
|
627
|
-
"outputs": [
|
|
312
|
+
"anonymous": false,
|
|
313
|
+
"inputs": [
|
|
628
314
|
{
|
|
629
|
-
"
|
|
630
|
-
"
|
|
631
|
-
"
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
"stateMutability": "view",
|
|
635
|
-
"type": "function"
|
|
636
|
-
},
|
|
637
|
-
{
|
|
638
|
-
"inputs": [],
|
|
639
|
-
"name": "UPGRADE_INTERFACE_VERSION",
|
|
640
|
-
"outputs": [
|
|
315
|
+
"indexed": false,
|
|
316
|
+
"internalType": "uint128",
|
|
317
|
+
"name": "min",
|
|
318
|
+
"type": "uint128"
|
|
319
|
+
},
|
|
641
320
|
{
|
|
642
|
-
"
|
|
643
|
-
"
|
|
644
|
-
"
|
|
321
|
+
"indexed": false,
|
|
322
|
+
"internalType": "uint128",
|
|
323
|
+
"name": "max",
|
|
324
|
+
"type": "uint128"
|
|
645
325
|
}
|
|
646
326
|
],
|
|
647
|
-
"
|
|
648
|
-
"type": "
|
|
327
|
+
"name": "WeightLimitsChanged",
|
|
328
|
+
"type": "event"
|
|
649
329
|
},
|
|
650
330
|
{
|
|
651
331
|
"inputs": [
|
|
652
332
|
{
|
|
653
|
-
"internalType": "
|
|
654
|
-
"name": "
|
|
333
|
+
"internalType": "address",
|
|
334
|
+
"name": "owner",
|
|
655
335
|
"type": "address"
|
|
656
|
-
}
|
|
657
|
-
],
|
|
658
|
-
"name": "addBIFKN314",
|
|
659
|
-
"outputs": [],
|
|
660
|
-
"stateMutability": "nonpayable",
|
|
661
|
-
"type": "function"
|
|
662
|
-
},
|
|
663
|
-
{
|
|
664
|
-
"inputs": [
|
|
665
|
-
{
|
|
666
|
-
"internalType": "uint256",
|
|
667
|
-
"name": "",
|
|
668
|
-
"type": "uint256"
|
|
669
|
-
}
|
|
670
|
-
],
|
|
671
|
-
"name": "allTokens",
|
|
672
|
-
"outputs": [
|
|
336
|
+
},
|
|
673
337
|
{
|
|
674
338
|
"internalType": "address",
|
|
675
|
-
"name": "",
|
|
339
|
+
"name": "spender",
|
|
676
340
|
"type": "address"
|
|
677
341
|
}
|
|
678
342
|
],
|
|
679
|
-
"
|
|
680
|
-
"type": "function"
|
|
681
|
-
},
|
|
682
|
-
{
|
|
683
|
-
"inputs": [],
|
|
684
|
-
"name": "allTokensLength",
|
|
343
|
+
"name": "allowance",
|
|
685
344
|
"outputs": [
|
|
686
345
|
{
|
|
687
346
|
"internalType": "uint256",
|
|
@@ -694,64 +353,27 @@
|
|
|
694
353
|
},
|
|
695
354
|
{
|
|
696
355
|
"inputs": [],
|
|
697
|
-
"name": "
|
|
698
|
-
"outputs": [
|
|
699
|
-
{
|
|
700
|
-
"internalType": "contract BIFKN314",
|
|
701
|
-
"name": "",
|
|
702
|
-
"type": "address"
|
|
703
|
-
}
|
|
704
|
-
],
|
|
705
|
-
"stateMutability": "view",
|
|
706
|
-
"type": "function"
|
|
707
|
-
},
|
|
708
|
-
{
|
|
709
|
-
"inputs": [],
|
|
710
|
-
"name": "burstTokenImplementation",
|
|
356
|
+
"name": "ampData",
|
|
711
357
|
"outputs": [
|
|
712
358
|
{
|
|
713
|
-
"internalType": "
|
|
714
|
-
"name": "",
|
|
715
|
-
"type": "
|
|
716
|
-
}
|
|
717
|
-
],
|
|
718
|
-
"stateMutability": "view",
|
|
719
|
-
"type": "function"
|
|
720
|
-
},
|
|
721
|
-
{
|
|
722
|
-
"inputs": [
|
|
723
|
-
{
|
|
724
|
-
"internalType": "uint256",
|
|
725
|
-
"name": "occur",
|
|
726
|
-
"type": "uint256"
|
|
727
|
-
},
|
|
728
|
-
{
|
|
729
|
-
"internalType": "address",
|
|
730
|
-
"name": "desiredPrefix",
|
|
731
|
-
"type": "address"
|
|
359
|
+
"internalType": "uint64",
|
|
360
|
+
"name": "initialA",
|
|
361
|
+
"type": "uint64"
|
|
732
362
|
},
|
|
733
363
|
{
|
|
734
|
-
"internalType": "
|
|
735
|
-
"name": "
|
|
736
|
-
"type": "
|
|
364
|
+
"internalType": "uint64",
|
|
365
|
+
"name": "targetA",
|
|
366
|
+
"type": "uint64"
|
|
737
367
|
},
|
|
738
368
|
{
|
|
739
|
-
"internalType": "
|
|
740
|
-
"name": "
|
|
741
|
-
"type": "
|
|
369
|
+
"internalType": "uint64",
|
|
370
|
+
"name": "rampStartTime",
|
|
371
|
+
"type": "uint64"
|
|
742
372
|
},
|
|
743
373
|
{
|
|
744
|
-
"internalType": "
|
|
745
|
-
"name": "
|
|
746
|
-
"type": "
|
|
747
|
-
}
|
|
748
|
-
],
|
|
749
|
-
"name": "calculateDeterministicAddress",
|
|
750
|
-
"outputs": [
|
|
751
|
-
{
|
|
752
|
-
"internalType": "bytes32",
|
|
753
|
-
"name": "",
|
|
754
|
-
"type": "bytes32"
|
|
374
|
+
"internalType": "uint64",
|
|
375
|
+
"name": "rampEndTime",
|
|
376
|
+
"type": "uint64"
|
|
755
377
|
}
|
|
756
378
|
],
|
|
757
379
|
"stateMutability": "view",
|
|
@@ -761,69 +383,45 @@
|
|
|
761
383
|
"inputs": [
|
|
762
384
|
{
|
|
763
385
|
"internalType": "address",
|
|
764
|
-
"name": "
|
|
386
|
+
"name": "spender",
|
|
765
387
|
"type": "address"
|
|
766
388
|
},
|
|
767
|
-
{
|
|
768
|
-
"internalType": "uint8",
|
|
769
|
-
"name": "hookType",
|
|
770
|
-
"type": "uint8"
|
|
771
|
-
},
|
|
772
|
-
{
|
|
773
|
-
"internalType": "uint256",
|
|
774
|
-
"name": "baseSwapRate_",
|
|
775
|
-
"type": "uint256"
|
|
776
|
-
},
|
|
777
|
-
{
|
|
778
|
-
"internalType": "uint256",
|
|
779
|
-
"name": "lpFeePortion_",
|
|
780
|
-
"type": "uint256"
|
|
781
|
-
},
|
|
782
389
|
{
|
|
783
390
|
"internalType": "uint256",
|
|
784
|
-
"name": "
|
|
391
|
+
"name": "amount",
|
|
785
392
|
"type": "uint256"
|
|
786
393
|
}
|
|
787
394
|
],
|
|
788
|
-
"name": "
|
|
789
|
-
"outputs": [],
|
|
790
|
-
"stateMutability": "nonpayable",
|
|
791
|
-
"type": "function"
|
|
792
|
-
},
|
|
793
|
-
{
|
|
794
|
-
"inputs": [],
|
|
795
|
-
"name": "defaultBaseSwapRate",
|
|
395
|
+
"name": "approve",
|
|
796
396
|
"outputs": [
|
|
797
397
|
{
|
|
798
|
-
"internalType": "
|
|
398
|
+
"internalType": "bool",
|
|
799
399
|
"name": "",
|
|
800
|
-
"type": "
|
|
400
|
+
"type": "bool"
|
|
801
401
|
}
|
|
802
402
|
],
|
|
803
|
-
"stateMutability": "
|
|
403
|
+
"stateMutability": "nonpayable",
|
|
804
404
|
"type": "function"
|
|
805
405
|
},
|
|
806
406
|
{
|
|
807
|
-
"inputs": [
|
|
808
|
-
"name": "defaultLpFeePortion",
|
|
809
|
-
"outputs": [
|
|
407
|
+
"inputs": [
|
|
810
408
|
{
|
|
811
409
|
"internalType": "uint256",
|
|
812
410
|
"name": "",
|
|
813
411
|
"type": "uint256"
|
|
814
412
|
}
|
|
815
413
|
],
|
|
816
|
-
"
|
|
817
|
-
"type": "function"
|
|
818
|
-
},
|
|
819
|
-
{
|
|
820
|
-
"inputs": [],
|
|
821
|
-
"name": "defaultProtocolFeePortion",
|
|
414
|
+
"name": "bAssetData",
|
|
822
415
|
"outputs": [
|
|
823
416
|
{
|
|
824
|
-
"internalType": "
|
|
825
|
-
"name": "",
|
|
826
|
-
"type": "
|
|
417
|
+
"internalType": "uint128",
|
|
418
|
+
"name": "ratio",
|
|
419
|
+
"type": "uint128"
|
|
420
|
+
},
|
|
421
|
+
{
|
|
422
|
+
"internalType": "uint128",
|
|
423
|
+
"name": "vaultBalance",
|
|
424
|
+
"type": "uint128"
|
|
827
425
|
}
|
|
828
426
|
],
|
|
829
427
|
"stateMutability": "view",
|
|
@@ -831,171 +429,138 @@
|
|
|
831
429
|
},
|
|
832
430
|
{
|
|
833
431
|
"inputs": [
|
|
834
|
-
{
|
|
835
|
-
"internalType": "string",
|
|
836
|
-
"name": "tokenName",
|
|
837
|
-
"type": "string"
|
|
838
|
-
},
|
|
839
|
-
{
|
|
840
|
-
"internalType": "string",
|
|
841
|
-
"name": "tokenSymbol",
|
|
842
|
-
"type": "string"
|
|
843
|
-
},
|
|
844
|
-
{
|
|
845
|
-
"internalType": "uint256",
|
|
846
|
-
"name": "totalSupply",
|
|
847
|
-
"type": "uint256"
|
|
848
|
-
},
|
|
849
432
|
{
|
|
850
433
|
"internalType": "address",
|
|
851
|
-
"name": "
|
|
434
|
+
"name": "",
|
|
852
435
|
"type": "address"
|
|
853
|
-
},
|
|
854
|
-
{
|
|
855
|
-
"internalType": "uint256",
|
|
856
|
-
"name": "tradingFee",
|
|
857
|
-
"type": "uint256"
|
|
858
|
-
},
|
|
859
|
-
{
|
|
860
|
-
"internalType": "uint256",
|
|
861
|
-
"name": "maxWalletPercent",
|
|
862
|
-
"type": "uint256"
|
|
863
|
-
},
|
|
864
|
-
{
|
|
865
|
-
"internalType": "string",
|
|
866
|
-
"name": "metadataURI",
|
|
867
|
-
"type": "string"
|
|
868
436
|
}
|
|
869
437
|
],
|
|
870
|
-
"name": "
|
|
438
|
+
"name": "bAssetIndexes",
|
|
871
439
|
"outputs": [
|
|
872
440
|
{
|
|
873
|
-
"internalType": "
|
|
874
|
-
"name": "
|
|
875
|
-
"type": "
|
|
876
|
-
},
|
|
877
|
-
{
|
|
878
|
-
"internalType": "address",
|
|
879
|
-
"name": "liquidityTokenAddress",
|
|
880
|
-
"type": "address"
|
|
441
|
+
"internalType": "uint8",
|
|
442
|
+
"name": "",
|
|
443
|
+
"type": "uint8"
|
|
881
444
|
}
|
|
882
445
|
],
|
|
883
|
-
"stateMutability": "
|
|
446
|
+
"stateMutability": "view",
|
|
884
447
|
"type": "function"
|
|
885
448
|
},
|
|
886
|
-
{
|
|
887
|
-
"inputs": [
|
|
888
|
-
{
|
|
889
|
-
"internalType": "string",
|
|
890
|
-
"name": "tokenName",
|
|
891
|
-
"type": "string"
|
|
892
|
-
},
|
|
893
|
-
{
|
|
894
|
-
"internalType": "string",
|
|
895
|
-
"name": "tokenSymbol",
|
|
896
|
-
"type": "string"
|
|
897
|
-
},
|
|
449
|
+
{
|
|
450
|
+
"inputs": [
|
|
898
451
|
{
|
|
899
452
|
"internalType": "uint256",
|
|
900
|
-
"name": "
|
|
453
|
+
"name": "",
|
|
901
454
|
"type": "uint256"
|
|
902
|
-
}
|
|
455
|
+
}
|
|
456
|
+
],
|
|
457
|
+
"name": "bAssetPersonal",
|
|
458
|
+
"outputs": [
|
|
903
459
|
{
|
|
904
460
|
"internalType": "address",
|
|
905
|
-
"name": "
|
|
461
|
+
"name": "addr",
|
|
906
462
|
"type": "address"
|
|
907
463
|
},
|
|
908
464
|
{
|
|
909
|
-
"internalType": "
|
|
910
|
-
"name": "
|
|
911
|
-
"type": "
|
|
912
|
-
},
|
|
913
|
-
{
|
|
914
|
-
"internalType": "uint256",
|
|
915
|
-
"name": "maxWalletPercent",
|
|
916
|
-
"type": "uint256"
|
|
465
|
+
"internalType": "address",
|
|
466
|
+
"name": "integrator",
|
|
467
|
+
"type": "address"
|
|
917
468
|
},
|
|
918
469
|
{
|
|
919
|
-
"internalType": "
|
|
920
|
-
"name": "
|
|
921
|
-
"type": "
|
|
470
|
+
"internalType": "bool",
|
|
471
|
+
"name": "hasTxFee",
|
|
472
|
+
"type": "bool"
|
|
922
473
|
},
|
|
923
474
|
{
|
|
924
|
-
"internalType": "
|
|
925
|
-
"name": "
|
|
926
|
-
"type": "
|
|
475
|
+
"internalType": "enum BassetStatus",
|
|
476
|
+
"name": "status",
|
|
477
|
+
"type": "uint8"
|
|
927
478
|
}
|
|
928
479
|
],
|
|
929
|
-
"
|
|
930
|
-
"
|
|
480
|
+
"stateMutability": "view",
|
|
481
|
+
"type": "function"
|
|
482
|
+
},
|
|
483
|
+
{
|
|
484
|
+
"inputs": [
|
|
931
485
|
{
|
|
932
486
|
"internalType": "address",
|
|
933
|
-
"name": "
|
|
487
|
+
"name": "account",
|
|
934
488
|
"type": "address"
|
|
935
|
-
}
|
|
489
|
+
}
|
|
490
|
+
],
|
|
491
|
+
"name": "balanceOf",
|
|
492
|
+
"outputs": [
|
|
936
493
|
{
|
|
937
|
-
"internalType": "
|
|
938
|
-
"name": "
|
|
939
|
-
"type": "
|
|
494
|
+
"internalType": "uint256",
|
|
495
|
+
"name": "",
|
|
496
|
+
"type": "uint256"
|
|
940
497
|
}
|
|
941
498
|
],
|
|
942
|
-
"stateMutability": "
|
|
499
|
+
"stateMutability": "view",
|
|
943
500
|
"type": "function"
|
|
944
501
|
},
|
|
945
502
|
{
|
|
946
|
-
"inputs": [
|
|
503
|
+
"inputs": [],
|
|
504
|
+
"name": "basket",
|
|
505
|
+
"outputs": [
|
|
947
506
|
{
|
|
948
|
-
"internalType": "
|
|
949
|
-
"name": "
|
|
950
|
-
"type": "
|
|
507
|
+
"internalType": "bool",
|
|
508
|
+
"name": "undergoingRecol",
|
|
509
|
+
"type": "bool"
|
|
951
510
|
},
|
|
952
511
|
{
|
|
953
|
-
"internalType": "
|
|
954
|
-
"name": "
|
|
955
|
-
"type": "
|
|
956
|
-
}
|
|
512
|
+
"internalType": "bool",
|
|
513
|
+
"name": "failed",
|
|
514
|
+
"type": "bool"
|
|
515
|
+
}
|
|
516
|
+
],
|
|
517
|
+
"stateMutability": "view",
|
|
518
|
+
"type": "function"
|
|
519
|
+
},
|
|
520
|
+
{
|
|
521
|
+
"inputs": [],
|
|
522
|
+
"name": "cacheSize",
|
|
523
|
+
"outputs": [
|
|
957
524
|
{
|
|
958
525
|
"internalType": "uint256",
|
|
959
|
-
"name": "
|
|
526
|
+
"name": "",
|
|
960
527
|
"type": "uint256"
|
|
961
|
-
}
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
|
|
528
|
+
}
|
|
529
|
+
],
|
|
530
|
+
"stateMutability": "view",
|
|
531
|
+
"type": "function"
|
|
532
|
+
},
|
|
533
|
+
{
|
|
534
|
+
"inputs": [],
|
|
535
|
+
"name": "collectInterest",
|
|
536
|
+
"outputs": [
|
|
967
537
|
{
|
|
968
538
|
"internalType": "uint256",
|
|
969
|
-
"name": "
|
|
539
|
+
"name": "mintAmount",
|
|
970
540
|
"type": "uint256"
|
|
971
541
|
},
|
|
972
542
|
{
|
|
973
543
|
"internalType": "uint256",
|
|
974
|
-
"name": "
|
|
544
|
+
"name": "newSupply",
|
|
975
545
|
"type": "uint256"
|
|
976
|
-
},
|
|
977
|
-
{
|
|
978
|
-
"internalType": "string",
|
|
979
|
-
"name": "metadataURI",
|
|
980
|
-
"type": "string"
|
|
981
|
-
},
|
|
982
|
-
{
|
|
983
|
-
"internalType": "bytes32",
|
|
984
|
-
"name": "salt",
|
|
985
|
-
"type": "bytes32"
|
|
986
546
|
}
|
|
987
547
|
],
|
|
988
|
-
"
|
|
548
|
+
"stateMutability": "nonpayable",
|
|
549
|
+
"type": "function"
|
|
550
|
+
},
|
|
551
|
+
{
|
|
552
|
+
"inputs": [],
|
|
553
|
+
"name": "collectPlatformInterest",
|
|
989
554
|
"outputs": [
|
|
990
555
|
{
|
|
991
|
-
"internalType": "
|
|
992
|
-
"name": "
|
|
993
|
-
"type": "
|
|
556
|
+
"internalType": "uint256",
|
|
557
|
+
"name": "mintAmount",
|
|
558
|
+
"type": "uint256"
|
|
994
559
|
},
|
|
995
560
|
{
|
|
996
|
-
"internalType": "
|
|
997
|
-
"name": "
|
|
998
|
-
"type": "
|
|
561
|
+
"internalType": "uint256",
|
|
562
|
+
"name": "newSupply",
|
|
563
|
+
"type": "uint256"
|
|
999
564
|
}
|
|
1000
565
|
],
|
|
1001
566
|
"stateMutability": "nonpayable",
|
|
@@ -1003,12 +568,12 @@
|
|
|
1003
568
|
},
|
|
1004
569
|
{
|
|
1005
570
|
"inputs": [],
|
|
1006
|
-
"name": "
|
|
571
|
+
"name": "decimals",
|
|
1007
572
|
"outputs": [
|
|
1008
573
|
{
|
|
1009
|
-
"internalType": "
|
|
574
|
+
"internalType": "uint8",
|
|
1010
575
|
"name": "",
|
|
1011
|
-
"type": "
|
|
576
|
+
"type": "uint8"
|
|
1012
577
|
}
|
|
1013
578
|
],
|
|
1014
579
|
"stateMutability": "view",
|
|
@@ -1018,55 +583,162 @@
|
|
|
1018
583
|
"inputs": [
|
|
1019
584
|
{
|
|
1020
585
|
"internalType": "address",
|
|
1021
|
-
"name": "
|
|
586
|
+
"name": "spender",
|
|
1022
587
|
"type": "address"
|
|
588
|
+
},
|
|
589
|
+
{
|
|
590
|
+
"internalType": "uint256",
|
|
591
|
+
"name": "subtractedValue",
|
|
592
|
+
"type": "uint256"
|
|
593
|
+
}
|
|
594
|
+
],
|
|
595
|
+
"name": "decreaseAllowance",
|
|
596
|
+
"outputs": [
|
|
597
|
+
{
|
|
598
|
+
"internalType": "bool",
|
|
599
|
+
"name": "",
|
|
600
|
+
"type": "bool"
|
|
1023
601
|
}
|
|
1024
602
|
],
|
|
1025
|
-
"name": "emergencyResetFeeHook",
|
|
1026
|
-
"outputs": [],
|
|
1027
603
|
"stateMutability": "nonpayable",
|
|
1028
604
|
"type": "function"
|
|
1029
605
|
},
|
|
1030
606
|
{
|
|
1031
607
|
"inputs": [],
|
|
1032
|
-
"name": "
|
|
608
|
+
"name": "forgeValidator",
|
|
1033
609
|
"outputs": [
|
|
1034
610
|
{
|
|
1035
|
-
"internalType": "
|
|
611
|
+
"internalType": "contract IInvariantValidator",
|
|
1036
612
|
"name": "",
|
|
1037
|
-
"type": "
|
|
613
|
+
"type": "address"
|
|
1038
614
|
}
|
|
1039
615
|
],
|
|
1040
616
|
"stateMutability": "view",
|
|
1041
617
|
"type": "function"
|
|
1042
618
|
},
|
|
1043
619
|
{
|
|
1044
|
-
"inputs": [
|
|
620
|
+
"inputs": [],
|
|
621
|
+
"name": "getBasket",
|
|
622
|
+
"outputs": [
|
|
1045
623
|
{
|
|
1046
|
-
"internalType": "
|
|
624
|
+
"internalType": "bool",
|
|
1047
625
|
"name": "",
|
|
1048
|
-
"type": "
|
|
626
|
+
"type": "bool"
|
|
627
|
+
},
|
|
628
|
+
{
|
|
629
|
+
"internalType": "bool",
|
|
630
|
+
"name": "",
|
|
631
|
+
"type": "bool"
|
|
1049
632
|
}
|
|
1050
633
|
],
|
|
1051
|
-
"
|
|
1052
|
-
"
|
|
634
|
+
"stateMutability": "view",
|
|
635
|
+
"type": "function"
|
|
636
|
+
},
|
|
637
|
+
{
|
|
638
|
+
"inputs": [
|
|
1053
639
|
{
|
|
1054
640
|
"internalType": "address",
|
|
1055
|
-
"name": "",
|
|
641
|
+
"name": "_bAsset",
|
|
1056
642
|
"type": "address"
|
|
1057
643
|
}
|
|
1058
644
|
],
|
|
645
|
+
"name": "getBasset",
|
|
646
|
+
"outputs": [
|
|
647
|
+
{
|
|
648
|
+
"components": [
|
|
649
|
+
{
|
|
650
|
+
"internalType": "address",
|
|
651
|
+
"name": "addr",
|
|
652
|
+
"type": "address"
|
|
653
|
+
},
|
|
654
|
+
{
|
|
655
|
+
"internalType": "address",
|
|
656
|
+
"name": "integrator",
|
|
657
|
+
"type": "address"
|
|
658
|
+
},
|
|
659
|
+
{
|
|
660
|
+
"internalType": "bool",
|
|
661
|
+
"name": "hasTxFee",
|
|
662
|
+
"type": "bool"
|
|
663
|
+
},
|
|
664
|
+
{
|
|
665
|
+
"internalType": "enum BassetStatus",
|
|
666
|
+
"name": "status",
|
|
667
|
+
"type": "uint8"
|
|
668
|
+
}
|
|
669
|
+
],
|
|
670
|
+
"internalType": "struct BassetPersonal",
|
|
671
|
+
"name": "personal",
|
|
672
|
+
"type": "tuple"
|
|
673
|
+
},
|
|
674
|
+
{
|
|
675
|
+
"components": [
|
|
676
|
+
{
|
|
677
|
+
"internalType": "uint128",
|
|
678
|
+
"name": "ratio",
|
|
679
|
+
"type": "uint128"
|
|
680
|
+
},
|
|
681
|
+
{
|
|
682
|
+
"internalType": "uint128",
|
|
683
|
+
"name": "vaultBalance",
|
|
684
|
+
"type": "uint128"
|
|
685
|
+
}
|
|
686
|
+
],
|
|
687
|
+
"internalType": "struct BassetData",
|
|
688
|
+
"name": "data",
|
|
689
|
+
"type": "tuple"
|
|
690
|
+
}
|
|
691
|
+
],
|
|
1059
692
|
"stateMutability": "view",
|
|
1060
693
|
"type": "function"
|
|
1061
694
|
},
|
|
1062
695
|
{
|
|
1063
696
|
"inputs": [],
|
|
1064
|
-
"name": "
|
|
697
|
+
"name": "getBassets",
|
|
1065
698
|
"outputs": [
|
|
1066
699
|
{
|
|
1067
|
-
"
|
|
1068
|
-
|
|
1069
|
-
|
|
700
|
+
"components": [
|
|
701
|
+
{
|
|
702
|
+
"internalType": "address",
|
|
703
|
+
"name": "addr",
|
|
704
|
+
"type": "address"
|
|
705
|
+
},
|
|
706
|
+
{
|
|
707
|
+
"internalType": "address",
|
|
708
|
+
"name": "integrator",
|
|
709
|
+
"type": "address"
|
|
710
|
+
},
|
|
711
|
+
{
|
|
712
|
+
"internalType": "bool",
|
|
713
|
+
"name": "hasTxFee",
|
|
714
|
+
"type": "bool"
|
|
715
|
+
},
|
|
716
|
+
{
|
|
717
|
+
"internalType": "enum BassetStatus",
|
|
718
|
+
"name": "status",
|
|
719
|
+
"type": "uint8"
|
|
720
|
+
}
|
|
721
|
+
],
|
|
722
|
+
"internalType": "struct BassetPersonal[]",
|
|
723
|
+
"name": "personal",
|
|
724
|
+
"type": "tuple[]"
|
|
725
|
+
},
|
|
726
|
+
{
|
|
727
|
+
"components": [
|
|
728
|
+
{
|
|
729
|
+
"internalType": "uint128",
|
|
730
|
+
"name": "ratio",
|
|
731
|
+
"type": "uint128"
|
|
732
|
+
},
|
|
733
|
+
{
|
|
734
|
+
"internalType": "uint128",
|
|
735
|
+
"name": "vaultBalance",
|
|
736
|
+
"type": "uint128"
|
|
737
|
+
}
|
|
738
|
+
],
|
|
739
|
+
"internalType": "struct BassetData[]",
|
|
740
|
+
"name": "data",
|
|
741
|
+
"type": "tuple[]"
|
|
1070
742
|
}
|
|
1071
743
|
],
|
|
1072
744
|
"stateMutability": "view",
|
|
@@ -1074,25 +746,60 @@
|
|
|
1074
746
|
},
|
|
1075
747
|
{
|
|
1076
748
|
"inputs": [],
|
|
1077
|
-
"name": "
|
|
749
|
+
"name": "getConfig",
|
|
1078
750
|
"outputs": [
|
|
1079
751
|
{
|
|
1080
|
-
"
|
|
1081
|
-
|
|
1082
|
-
|
|
752
|
+
"components": [
|
|
753
|
+
{
|
|
754
|
+
"internalType": "uint256",
|
|
755
|
+
"name": "a",
|
|
756
|
+
"type": "uint256"
|
|
757
|
+
},
|
|
758
|
+
{
|
|
759
|
+
"components": [
|
|
760
|
+
{
|
|
761
|
+
"internalType": "uint128",
|
|
762
|
+
"name": "min",
|
|
763
|
+
"type": "uint128"
|
|
764
|
+
},
|
|
765
|
+
{
|
|
766
|
+
"internalType": "uint128",
|
|
767
|
+
"name": "max",
|
|
768
|
+
"type": "uint128"
|
|
769
|
+
}
|
|
770
|
+
],
|
|
771
|
+
"internalType": "struct WeightLimits",
|
|
772
|
+
"name": "limits",
|
|
773
|
+
"type": "tuple"
|
|
774
|
+
}
|
|
775
|
+
],
|
|
776
|
+
"internalType": "struct InvariantConfig",
|
|
777
|
+
"name": "config",
|
|
778
|
+
"type": "tuple"
|
|
1083
779
|
}
|
|
1084
780
|
],
|
|
1085
781
|
"stateMutability": "view",
|
|
1086
782
|
"type": "function"
|
|
1087
783
|
},
|
|
1088
784
|
{
|
|
1089
|
-
"inputs": [
|
|
1090
|
-
"name": "getAllTokens",
|
|
1091
|
-
"outputs": [
|
|
785
|
+
"inputs": [
|
|
1092
786
|
{
|
|
1093
787
|
"internalType": "address[]",
|
|
1094
|
-
"name": "",
|
|
788
|
+
"name": "_inputs",
|
|
1095
789
|
"type": "address[]"
|
|
790
|
+
},
|
|
791
|
+
{
|
|
792
|
+
"internalType": "uint256[]",
|
|
793
|
+
"name": "_inputQuantities",
|
|
794
|
+
"type": "uint256[]"
|
|
795
|
+
}
|
|
796
|
+
],
|
|
797
|
+
"name": "getMintMultiOutput",
|
|
798
|
+
"outputs": [
|
|
799
|
+
{
|
|
800
|
+
"internalType": "uint256",
|
|
801
|
+
"name": "mintOutput",
|
|
802
|
+
"type": "uint256"
|
|
1096
803
|
}
|
|
1097
804
|
],
|
|
1098
805
|
"stateMutability": "view",
|
|
@@ -1102,15 +809,20 @@
|
|
|
1102
809
|
"inputs": [
|
|
1103
810
|
{
|
|
1104
811
|
"internalType": "address",
|
|
1105
|
-
"name": "
|
|
812
|
+
"name": "_input",
|
|
1106
813
|
"type": "address"
|
|
814
|
+
},
|
|
815
|
+
{
|
|
816
|
+
"internalType": "uint256",
|
|
817
|
+
"name": "_inputQuantity",
|
|
818
|
+
"type": "uint256"
|
|
1107
819
|
}
|
|
1108
820
|
],
|
|
1109
|
-
"name": "
|
|
821
|
+
"name": "getMintOutput",
|
|
1110
822
|
"outputs": [
|
|
1111
823
|
{
|
|
1112
824
|
"internalType": "uint256",
|
|
1113
|
-
"name": "
|
|
825
|
+
"name": "mintOutput",
|
|
1114
826
|
"type": "uint256"
|
|
1115
827
|
}
|
|
1116
828
|
],
|
|
@@ -1120,22 +832,22 @@
|
|
|
1120
832
|
{
|
|
1121
833
|
"inputs": [
|
|
1122
834
|
{
|
|
1123
|
-
"internalType": "
|
|
1124
|
-
"name": "
|
|
1125
|
-
"type": "
|
|
835
|
+
"internalType": "address[]",
|
|
836
|
+
"name": "_outputs",
|
|
837
|
+
"type": "address[]"
|
|
1126
838
|
},
|
|
1127
839
|
{
|
|
1128
|
-
"internalType": "
|
|
1129
|
-
"name": "
|
|
1130
|
-
"type": "
|
|
840
|
+
"internalType": "uint256[]",
|
|
841
|
+
"name": "_outputQuantities",
|
|
842
|
+
"type": "uint256[]"
|
|
1131
843
|
}
|
|
1132
844
|
],
|
|
1133
|
-
"name": "
|
|
845
|
+
"name": "getRedeemExactBassetsOutput",
|
|
1134
846
|
"outputs": [
|
|
1135
847
|
{
|
|
1136
|
-
"internalType": "
|
|
1137
|
-
"name": "
|
|
1138
|
-
"type": "
|
|
848
|
+
"internalType": "uint256",
|
|
849
|
+
"name": "mAssetQuantity",
|
|
850
|
+
"type": "uint256"
|
|
1139
851
|
}
|
|
1140
852
|
],
|
|
1141
853
|
"stateMutability": "view",
|
|
@@ -1145,30 +857,20 @@
|
|
|
1145
857
|
"inputs": [
|
|
1146
858
|
{
|
|
1147
859
|
"internalType": "address",
|
|
1148
|
-
"name": "
|
|
1149
|
-
"type": "address"
|
|
1150
|
-
}
|
|
1151
|
-
],
|
|
1152
|
-
"name": "getFeeHookDetails",
|
|
1153
|
-
"outputs": [
|
|
1154
|
-
{
|
|
1155
|
-
"internalType": "address",
|
|
1156
|
-
"name": "hookAddress",
|
|
860
|
+
"name": "_output",
|
|
1157
861
|
"type": "address"
|
|
1158
862
|
},
|
|
1159
863
|
{
|
|
1160
864
|
"internalType": "uint256",
|
|
1161
|
-
"name": "
|
|
1162
|
-
"type": "uint256"
|
|
1163
|
-
},
|
|
1164
|
-
{
|
|
1165
|
-
"internalType": "uint256",
|
|
1166
|
-
"name": "lpFeePortion",
|
|
865
|
+
"name": "_mAssetQuantity",
|
|
1167
866
|
"type": "uint256"
|
|
1168
|
-
}
|
|
867
|
+
}
|
|
868
|
+
],
|
|
869
|
+
"name": "getRedeemOutput",
|
|
870
|
+
"outputs": [
|
|
1169
871
|
{
|
|
1170
872
|
"internalType": "uint256",
|
|
1171
|
-
"name": "
|
|
873
|
+
"name": "bAssetOutput",
|
|
1172
874
|
"type": "uint256"
|
|
1173
875
|
}
|
|
1174
876
|
],
|
|
@@ -1179,30 +881,25 @@
|
|
|
1179
881
|
"inputs": [
|
|
1180
882
|
{
|
|
1181
883
|
"internalType": "address",
|
|
1182
|
-
"name": "
|
|
884
|
+
"name": "_input",
|
|
885
|
+
"type": "address"
|
|
886
|
+
},
|
|
887
|
+
{
|
|
888
|
+
"internalType": "address",
|
|
889
|
+
"name": "_output",
|
|
1183
890
|
"type": "address"
|
|
1184
891
|
},
|
|
1185
892
|
{
|
|
1186
893
|
"internalType": "uint256",
|
|
1187
|
-
"name": "
|
|
894
|
+
"name": "_inputQuantity",
|
|
1188
895
|
"type": "uint256"
|
|
1189
896
|
}
|
|
1190
897
|
],
|
|
1191
|
-
"name": "
|
|
898
|
+
"name": "getSwapOutput",
|
|
1192
899
|
"outputs": [
|
|
1193
900
|
{
|
|
1194
901
|
"internalType": "uint256",
|
|
1195
|
-
"name": "
|
|
1196
|
-
"type": "uint256"
|
|
1197
|
-
},
|
|
1198
|
-
{
|
|
1199
|
-
"internalType": "uint256",
|
|
1200
|
-
"name": "lpFee",
|
|
1201
|
-
"type": "uint256"
|
|
1202
|
-
},
|
|
1203
|
-
{
|
|
1204
|
-
"internalType": "uint256",
|
|
1205
|
-
"name": "protocolFee",
|
|
902
|
+
"name": "swapOutput",
|
|
1206
903
|
"type": "uint256"
|
|
1207
904
|
}
|
|
1208
905
|
],
|
|
@@ -1212,159 +909,257 @@
|
|
|
1212
909
|
{
|
|
1213
910
|
"inputs": [
|
|
1214
911
|
{
|
|
1215
|
-
"internalType": "
|
|
1216
|
-
"name": "
|
|
1217
|
-
"type": "
|
|
1218
|
-
}
|
|
1219
|
-
],
|
|
1220
|
-
"name": "getRoleAdmin",
|
|
1221
|
-
"outputs": [
|
|
912
|
+
"internalType": "address",
|
|
913
|
+
"name": "_bAsset",
|
|
914
|
+
"type": "address"
|
|
915
|
+
},
|
|
1222
916
|
{
|
|
1223
|
-
"internalType": "
|
|
1224
|
-
"name": "",
|
|
1225
|
-
"type": "
|
|
917
|
+
"internalType": "bool",
|
|
918
|
+
"name": "_belowPeg",
|
|
919
|
+
"type": "bool"
|
|
1226
920
|
}
|
|
1227
921
|
],
|
|
1228
|
-
"
|
|
922
|
+
"name": "handlePegLoss",
|
|
923
|
+
"outputs": [],
|
|
924
|
+
"stateMutability": "nonpayable",
|
|
1229
925
|
"type": "function"
|
|
1230
926
|
},
|
|
1231
927
|
{
|
|
1232
928
|
"inputs": [
|
|
1233
929
|
{
|
|
1234
930
|
"internalType": "address",
|
|
1235
|
-
"name": "
|
|
931
|
+
"name": "spender",
|
|
1236
932
|
"type": "address"
|
|
933
|
+
},
|
|
934
|
+
{
|
|
935
|
+
"internalType": "uint256",
|
|
936
|
+
"name": "addedValue",
|
|
937
|
+
"type": "uint256"
|
|
1237
938
|
}
|
|
1238
939
|
],
|
|
1239
|
-
"name": "
|
|
940
|
+
"name": "increaseAllowance",
|
|
1240
941
|
"outputs": [
|
|
1241
942
|
{
|
|
1242
|
-
"internalType": "
|
|
943
|
+
"internalType": "bool",
|
|
1243
944
|
"name": "",
|
|
1244
|
-
"type": "
|
|
945
|
+
"type": "bool"
|
|
1245
946
|
}
|
|
1246
947
|
],
|
|
1247
|
-
"stateMutability": "
|
|
948
|
+
"stateMutability": "nonpayable",
|
|
1248
949
|
"type": "function"
|
|
1249
950
|
},
|
|
1250
951
|
{
|
|
1251
952
|
"inputs": [
|
|
1252
953
|
{
|
|
1253
|
-
"internalType": "
|
|
1254
|
-
"name": "
|
|
1255
|
-
"type": "
|
|
954
|
+
"internalType": "string",
|
|
955
|
+
"name": "_nameArg",
|
|
956
|
+
"type": "string"
|
|
957
|
+
},
|
|
958
|
+
{
|
|
959
|
+
"internalType": "string",
|
|
960
|
+
"name": "_symbolArg",
|
|
961
|
+
"type": "string"
|
|
1256
962
|
},
|
|
1257
963
|
{
|
|
1258
964
|
"internalType": "address",
|
|
1259
|
-
"name": "
|
|
1260
|
-
"type": "address"
|
|
965
|
+
"name": "_forgeValidator",
|
|
966
|
+
"type": "address"
|
|
967
|
+
},
|
|
968
|
+
{
|
|
969
|
+
"components": [
|
|
970
|
+
{
|
|
971
|
+
"internalType": "address",
|
|
972
|
+
"name": "addr",
|
|
973
|
+
"type": "address"
|
|
974
|
+
},
|
|
975
|
+
{
|
|
976
|
+
"internalType": "address",
|
|
977
|
+
"name": "integrator",
|
|
978
|
+
"type": "address"
|
|
979
|
+
},
|
|
980
|
+
{
|
|
981
|
+
"internalType": "bool",
|
|
982
|
+
"name": "hasTxFee",
|
|
983
|
+
"type": "bool"
|
|
984
|
+
},
|
|
985
|
+
{
|
|
986
|
+
"internalType": "enum BassetStatus",
|
|
987
|
+
"name": "status",
|
|
988
|
+
"type": "uint8"
|
|
989
|
+
}
|
|
990
|
+
],
|
|
991
|
+
"internalType": "struct BassetPersonal[]",
|
|
992
|
+
"name": "_bAssets",
|
|
993
|
+
"type": "tuple[]"
|
|
994
|
+
},
|
|
995
|
+
{
|
|
996
|
+
"components": [
|
|
997
|
+
{
|
|
998
|
+
"internalType": "uint256",
|
|
999
|
+
"name": "a",
|
|
1000
|
+
"type": "uint256"
|
|
1001
|
+
},
|
|
1002
|
+
{
|
|
1003
|
+
"components": [
|
|
1004
|
+
{
|
|
1005
|
+
"internalType": "uint128",
|
|
1006
|
+
"name": "min",
|
|
1007
|
+
"type": "uint128"
|
|
1008
|
+
},
|
|
1009
|
+
{
|
|
1010
|
+
"internalType": "uint128",
|
|
1011
|
+
"name": "max",
|
|
1012
|
+
"type": "uint128"
|
|
1013
|
+
}
|
|
1014
|
+
],
|
|
1015
|
+
"internalType": "struct WeightLimits",
|
|
1016
|
+
"name": "limits",
|
|
1017
|
+
"type": "tuple"
|
|
1018
|
+
}
|
|
1019
|
+
],
|
|
1020
|
+
"internalType": "struct InvariantConfig",
|
|
1021
|
+
"name": "_config",
|
|
1022
|
+
"type": "tuple"
|
|
1261
1023
|
}
|
|
1262
1024
|
],
|
|
1263
|
-
"name": "
|
|
1025
|
+
"name": "initialize",
|
|
1264
1026
|
"outputs": [],
|
|
1265
1027
|
"stateMutability": "nonpayable",
|
|
1266
1028
|
"type": "function"
|
|
1267
1029
|
},
|
|
1030
|
+
{
|
|
1031
|
+
"inputs": [],
|
|
1032
|
+
"name": "maxBassets",
|
|
1033
|
+
"outputs": [
|
|
1034
|
+
{
|
|
1035
|
+
"internalType": "uint8",
|
|
1036
|
+
"name": "",
|
|
1037
|
+
"type": "uint8"
|
|
1038
|
+
}
|
|
1039
|
+
],
|
|
1040
|
+
"stateMutability": "view",
|
|
1041
|
+
"type": "function"
|
|
1042
|
+
},
|
|
1268
1043
|
{
|
|
1269
1044
|
"inputs": [
|
|
1270
1045
|
{
|
|
1271
|
-
"internalType": "
|
|
1272
|
-
"name": "
|
|
1273
|
-
"type": "
|
|
1046
|
+
"internalType": "address[]",
|
|
1047
|
+
"name": "_bAssets",
|
|
1048
|
+
"type": "address[]"
|
|
1274
1049
|
},
|
|
1275
1050
|
{
|
|
1276
1051
|
"internalType": "address",
|
|
1277
|
-
"name": "
|
|
1052
|
+
"name": "_newIntegration",
|
|
1278
1053
|
"type": "address"
|
|
1279
1054
|
}
|
|
1280
1055
|
],
|
|
1281
|
-
"name": "
|
|
1282
|
-
"outputs": [
|
|
1283
|
-
|
|
1284
|
-
"internalType": "bool",
|
|
1285
|
-
"name": "",
|
|
1286
|
-
"type": "bool"
|
|
1287
|
-
}
|
|
1288
|
-
],
|
|
1289
|
-
"stateMutability": "view",
|
|
1056
|
+
"name": "migrateBassets",
|
|
1057
|
+
"outputs": [],
|
|
1058
|
+
"stateMutability": "nonpayable",
|
|
1290
1059
|
"type": "function"
|
|
1291
1060
|
},
|
|
1292
1061
|
{
|
|
1293
1062
|
"inputs": [
|
|
1294
1063
|
{
|
|
1295
|
-
"internalType": "
|
|
1296
|
-
"name": "
|
|
1064
|
+
"internalType": "address",
|
|
1065
|
+
"name": "_input",
|
|
1297
1066
|
"type": "address"
|
|
1298
1067
|
},
|
|
1299
1068
|
{
|
|
1300
|
-
"internalType": "
|
|
1301
|
-
"name": "
|
|
1069
|
+
"internalType": "uint256",
|
|
1070
|
+
"name": "_inputQuantity",
|
|
1071
|
+
"type": "uint256"
|
|
1072
|
+
},
|
|
1073
|
+
{
|
|
1074
|
+
"internalType": "uint256",
|
|
1075
|
+
"name": "_minOutputQuantity",
|
|
1076
|
+
"type": "uint256"
|
|
1077
|
+
},
|
|
1078
|
+
{
|
|
1079
|
+
"internalType": "address",
|
|
1080
|
+
"name": "_recipient",
|
|
1302
1081
|
"type": "address"
|
|
1303
1082
|
}
|
|
1304
1083
|
],
|
|
1305
|
-
"name": "
|
|
1306
|
-
"outputs": [
|
|
1307
|
-
|
|
1308
|
-
|
|
1309
|
-
|
|
1310
|
-
|
|
1311
|
-
|
|
1312
|
-
|
|
1313
|
-
"outputs": [],
|
|
1084
|
+
"name": "mint",
|
|
1085
|
+
"outputs": [
|
|
1086
|
+
{
|
|
1087
|
+
"internalType": "uint256",
|
|
1088
|
+
"name": "mintOutput",
|
|
1089
|
+
"type": "uint256"
|
|
1090
|
+
}
|
|
1091
|
+
],
|
|
1314
1092
|
"stateMutability": "nonpayable",
|
|
1315
1093
|
"type": "function"
|
|
1316
1094
|
},
|
|
1317
1095
|
{
|
|
1318
1096
|
"inputs": [
|
|
1319
1097
|
{
|
|
1320
|
-
"internalType": "
|
|
1321
|
-
"name": "
|
|
1322
|
-
"type": "address"
|
|
1098
|
+
"internalType": "address[]",
|
|
1099
|
+
"name": "_inputs",
|
|
1100
|
+
"type": "address[]"
|
|
1101
|
+
},
|
|
1102
|
+
{
|
|
1103
|
+
"internalType": "uint256[]",
|
|
1104
|
+
"name": "_inputQuantities",
|
|
1105
|
+
"type": "uint256[]"
|
|
1323
1106
|
},
|
|
1324
1107
|
{
|
|
1325
1108
|
"internalType": "uint256",
|
|
1326
|
-
"name": "
|
|
1109
|
+
"name": "_minOutputQuantity",
|
|
1327
1110
|
"type": "uint256"
|
|
1328
1111
|
},
|
|
1112
|
+
{
|
|
1113
|
+
"internalType": "address",
|
|
1114
|
+
"name": "_recipient",
|
|
1115
|
+
"type": "address"
|
|
1116
|
+
}
|
|
1117
|
+
],
|
|
1118
|
+
"name": "mintMulti",
|
|
1119
|
+
"outputs": [
|
|
1329
1120
|
{
|
|
1330
1121
|
"internalType": "uint256",
|
|
1331
|
-
"name": "
|
|
1122
|
+
"name": "mintOutput",
|
|
1332
1123
|
"type": "uint256"
|
|
1333
1124
|
}
|
|
1334
1125
|
],
|
|
1335
|
-
"name": "initializeFromPreviousFactory",
|
|
1336
|
-
"outputs": [],
|
|
1337
|
-
"stateMutability": "nonpayable",
|
|
1338
|
-
"type": "function"
|
|
1339
|
-
},
|
|
1340
|
-
{
|
|
1341
|
-
"inputs": [],
|
|
1342
|
-
"name": "pause",
|
|
1343
|
-
"outputs": [],
|
|
1344
1126
|
"stateMutability": "nonpayable",
|
|
1345
1127
|
"type": "function"
|
|
1346
1128
|
},
|
|
1347
1129
|
{
|
|
1348
1130
|
"inputs": [],
|
|
1349
|
-
"name": "
|
|
1131
|
+
"name": "name",
|
|
1350
1132
|
"outputs": [
|
|
1351
1133
|
{
|
|
1352
|
-
"internalType": "
|
|
1134
|
+
"internalType": "string",
|
|
1353
1135
|
"name": "",
|
|
1354
|
-
"type": "
|
|
1136
|
+
"type": "string"
|
|
1355
1137
|
}
|
|
1356
1138
|
],
|
|
1357
1139
|
"stateMutability": "view",
|
|
1358
1140
|
"type": "function"
|
|
1359
1141
|
},
|
|
1142
|
+
{
|
|
1143
|
+
"inputs": [
|
|
1144
|
+
{
|
|
1145
|
+
"internalType": "address",
|
|
1146
|
+
"name": "_bAsset",
|
|
1147
|
+
"type": "address"
|
|
1148
|
+
}
|
|
1149
|
+
],
|
|
1150
|
+
"name": "negateIsolation",
|
|
1151
|
+
"outputs": [],
|
|
1152
|
+
"stateMutability": "nonpayable",
|
|
1153
|
+
"type": "function"
|
|
1154
|
+
},
|
|
1360
1155
|
{
|
|
1361
1156
|
"inputs": [],
|
|
1362
|
-
"name": "
|
|
1157
|
+
"name": "nexus",
|
|
1363
1158
|
"outputs": [
|
|
1364
1159
|
{
|
|
1365
|
-
"internalType": "
|
|
1160
|
+
"internalType": "contract INexus",
|
|
1366
1161
|
"name": "",
|
|
1367
|
-
"type": "
|
|
1162
|
+
"type": "address"
|
|
1368
1163
|
}
|
|
1369
1164
|
],
|
|
1370
1165
|
"stateMutability": "view",
|
|
@@ -1373,79 +1168,122 @@
|
|
|
1373
1168
|
{
|
|
1374
1169
|
"inputs": [
|
|
1375
1170
|
{
|
|
1376
|
-
"internalType": "
|
|
1377
|
-
"name": "
|
|
1378
|
-
"type": "
|
|
1171
|
+
"internalType": "address",
|
|
1172
|
+
"name": "_output",
|
|
1173
|
+
"type": "address"
|
|
1174
|
+
},
|
|
1175
|
+
{
|
|
1176
|
+
"internalType": "uint256",
|
|
1177
|
+
"name": "_mAssetQuantity",
|
|
1178
|
+
"type": "uint256"
|
|
1179
|
+
},
|
|
1180
|
+
{
|
|
1181
|
+
"internalType": "uint256",
|
|
1182
|
+
"name": "_minOutputQuantity",
|
|
1183
|
+
"type": "uint256"
|
|
1379
1184
|
},
|
|
1380
1185
|
{
|
|
1381
1186
|
"internalType": "address",
|
|
1382
|
-
"name": "
|
|
1187
|
+
"name": "_recipient",
|
|
1383
1188
|
"type": "address"
|
|
1384
1189
|
}
|
|
1385
1190
|
],
|
|
1386
|
-
"name": "
|
|
1387
|
-
"outputs": [
|
|
1191
|
+
"name": "redeem",
|
|
1192
|
+
"outputs": [
|
|
1193
|
+
{
|
|
1194
|
+
"internalType": "uint256",
|
|
1195
|
+
"name": "outputQuantity",
|
|
1196
|
+
"type": "uint256"
|
|
1197
|
+
}
|
|
1198
|
+
],
|
|
1388
1199
|
"stateMutability": "nonpayable",
|
|
1389
1200
|
"type": "function"
|
|
1390
1201
|
},
|
|
1391
1202
|
{
|
|
1392
1203
|
"inputs": [
|
|
1204
|
+
{
|
|
1205
|
+
"internalType": "address[]",
|
|
1206
|
+
"name": "_outputs",
|
|
1207
|
+
"type": "address[]"
|
|
1208
|
+
},
|
|
1209
|
+
{
|
|
1210
|
+
"internalType": "uint256[]",
|
|
1211
|
+
"name": "_outputQuantities",
|
|
1212
|
+
"type": "uint256[]"
|
|
1213
|
+
},
|
|
1214
|
+
{
|
|
1215
|
+
"internalType": "uint256",
|
|
1216
|
+
"name": "_maxMassetQuantity",
|
|
1217
|
+
"type": "uint256"
|
|
1218
|
+
},
|
|
1393
1219
|
{
|
|
1394
1220
|
"internalType": "address",
|
|
1395
|
-
"name": "
|
|
1221
|
+
"name": "_recipient",
|
|
1396
1222
|
"type": "address"
|
|
1397
1223
|
}
|
|
1398
1224
|
],
|
|
1399
|
-
"name": "
|
|
1400
|
-
"outputs": [
|
|
1225
|
+
"name": "redeemExactBassets",
|
|
1226
|
+
"outputs": [
|
|
1227
|
+
{
|
|
1228
|
+
"internalType": "uint256",
|
|
1229
|
+
"name": "mAssetQuantity",
|
|
1230
|
+
"type": "uint256"
|
|
1231
|
+
}
|
|
1232
|
+
],
|
|
1401
1233
|
"stateMutability": "nonpayable",
|
|
1402
1234
|
"type": "function"
|
|
1403
1235
|
},
|
|
1404
1236
|
{
|
|
1405
1237
|
"inputs": [
|
|
1406
1238
|
{
|
|
1407
|
-
"internalType": "
|
|
1408
|
-
"name": "
|
|
1409
|
-
"type": "
|
|
1239
|
+
"internalType": "uint256",
|
|
1240
|
+
"name": "_mAssetQuantity",
|
|
1241
|
+
"type": "uint256"
|
|
1242
|
+
},
|
|
1243
|
+
{
|
|
1244
|
+
"internalType": "uint256[]",
|
|
1245
|
+
"name": "_minOutputQuantities",
|
|
1246
|
+
"type": "uint256[]"
|
|
1410
1247
|
},
|
|
1411
1248
|
{
|
|
1412
1249
|
"internalType": "address",
|
|
1413
|
-
"name": "
|
|
1250
|
+
"name": "_recipient",
|
|
1414
1251
|
"type": "address"
|
|
1415
1252
|
}
|
|
1416
1253
|
],
|
|
1417
|
-
"name": "
|
|
1418
|
-
"outputs": [
|
|
1254
|
+
"name": "redeemMasset",
|
|
1255
|
+
"outputs": [
|
|
1256
|
+
{
|
|
1257
|
+
"internalType": "uint256[]",
|
|
1258
|
+
"name": "outputQuantities",
|
|
1259
|
+
"type": "uint256[]"
|
|
1260
|
+
}
|
|
1261
|
+
],
|
|
1419
1262
|
"stateMutability": "nonpayable",
|
|
1420
1263
|
"type": "function"
|
|
1421
1264
|
},
|
|
1422
1265
|
{
|
|
1423
|
-
"inputs": [
|
|
1424
|
-
|
|
1425
|
-
|
|
1426
|
-
"name": "role",
|
|
1427
|
-
"type": "bytes32"
|
|
1428
|
-
},
|
|
1266
|
+
"inputs": [],
|
|
1267
|
+
"name": "redemptionFee",
|
|
1268
|
+
"outputs": [
|
|
1429
1269
|
{
|
|
1430
|
-
"internalType": "
|
|
1431
|
-
"name": "
|
|
1432
|
-
"type": "
|
|
1270
|
+
"internalType": "uint256",
|
|
1271
|
+
"name": "",
|
|
1272
|
+
"type": "uint256"
|
|
1433
1273
|
}
|
|
1434
1274
|
],
|
|
1435
|
-
"
|
|
1436
|
-
"outputs": [],
|
|
1437
|
-
"stateMutability": "nonpayable",
|
|
1275
|
+
"stateMutability": "view",
|
|
1438
1276
|
"type": "function"
|
|
1439
1277
|
},
|
|
1440
1278
|
{
|
|
1441
1279
|
"inputs": [
|
|
1442
1280
|
{
|
|
1443
1281
|
"internalType": "uint256",
|
|
1444
|
-
"name": "
|
|
1282
|
+
"name": "_cacheSize",
|
|
1445
1283
|
"type": "uint256"
|
|
1446
1284
|
}
|
|
1447
1285
|
],
|
|
1448
|
-
"name": "
|
|
1286
|
+
"name": "setCacheSize",
|
|
1449
1287
|
"outputs": [],
|
|
1450
1288
|
"stateMutability": "nonpayable",
|
|
1451
1289
|
"type": "function"
|
|
@@ -1454,16 +1292,16 @@
|
|
|
1454
1292
|
"inputs": [
|
|
1455
1293
|
{
|
|
1456
1294
|
"internalType": "uint256",
|
|
1457
|
-
"name": "
|
|
1295
|
+
"name": "_swapFee",
|
|
1458
1296
|
"type": "uint256"
|
|
1459
1297
|
},
|
|
1460
1298
|
{
|
|
1461
1299
|
"internalType": "uint256",
|
|
1462
|
-
"name": "
|
|
1300
|
+
"name": "_redemptionFee",
|
|
1463
1301
|
"type": "uint256"
|
|
1464
1302
|
}
|
|
1465
1303
|
],
|
|
1466
|
-
"name": "
|
|
1304
|
+
"name": "setFees",
|
|
1467
1305
|
"outputs": [],
|
|
1468
1306
|
"stateMutability": "nonpayable",
|
|
1469
1307
|
"type": "function"
|
|
@@ -1471,12 +1309,17 @@
|
|
|
1471
1309
|
{
|
|
1472
1310
|
"inputs": [
|
|
1473
1311
|
{
|
|
1474
|
-
"internalType": "
|
|
1475
|
-
"name": "
|
|
1476
|
-
"type": "
|
|
1312
|
+
"internalType": "address",
|
|
1313
|
+
"name": "_bAsset",
|
|
1314
|
+
"type": "address"
|
|
1315
|
+
},
|
|
1316
|
+
{
|
|
1317
|
+
"internalType": "bool",
|
|
1318
|
+
"name": "_flag",
|
|
1319
|
+
"type": "bool"
|
|
1477
1320
|
}
|
|
1478
1321
|
],
|
|
1479
|
-
"name": "
|
|
1322
|
+
"name": "setTransferFeesFlag",
|
|
1480
1323
|
"outputs": [],
|
|
1481
1324
|
"stateMutability": "nonpayable",
|
|
1482
1325
|
"type": "function"
|
|
@@ -1484,12 +1327,17 @@
|
|
|
1484
1327
|
{
|
|
1485
1328
|
"inputs": [
|
|
1486
1329
|
{
|
|
1487
|
-
"internalType": "
|
|
1488
|
-
"name": "
|
|
1489
|
-
"type": "
|
|
1330
|
+
"internalType": "uint128",
|
|
1331
|
+
"name": "_min",
|
|
1332
|
+
"type": "uint128"
|
|
1333
|
+
},
|
|
1334
|
+
{
|
|
1335
|
+
"internalType": "uint128",
|
|
1336
|
+
"name": "_max",
|
|
1337
|
+
"type": "uint128"
|
|
1490
1338
|
}
|
|
1491
1339
|
],
|
|
1492
|
-
"name": "
|
|
1340
|
+
"name": "setWeightLimits",
|
|
1493
1341
|
"outputs": [],
|
|
1494
1342
|
"stateMutability": "nonpayable",
|
|
1495
1343
|
"type": "function"
|
|
@@ -1498,42 +1346,35 @@
|
|
|
1498
1346
|
"inputs": [
|
|
1499
1347
|
{
|
|
1500
1348
|
"internalType": "uint256",
|
|
1501
|
-
"name": "
|
|
1349
|
+
"name": "_targetA",
|
|
1350
|
+
"type": "uint256"
|
|
1351
|
+
},
|
|
1352
|
+
{
|
|
1353
|
+
"internalType": "uint256",
|
|
1354
|
+
"name": "_rampEndTime",
|
|
1502
1355
|
"type": "uint256"
|
|
1503
1356
|
}
|
|
1504
1357
|
],
|
|
1505
|
-
"name": "
|
|
1358
|
+
"name": "startRampA",
|
|
1506
1359
|
"outputs": [],
|
|
1507
1360
|
"stateMutability": "nonpayable",
|
|
1508
1361
|
"type": "function"
|
|
1509
1362
|
},
|
|
1510
1363
|
{
|
|
1511
|
-
"inputs": [
|
|
1512
|
-
|
|
1513
|
-
"internalType": "address",
|
|
1514
|
-
"name": "feeTo_",
|
|
1515
|
-
"type": "address"
|
|
1516
|
-
}
|
|
1517
|
-
],
|
|
1518
|
-
"name": "setFeeTo",
|
|
1364
|
+
"inputs": [],
|
|
1365
|
+
"name": "stopRampA",
|
|
1519
1366
|
"outputs": [],
|
|
1520
1367
|
"stateMutability": "nonpayable",
|
|
1521
1368
|
"type": "function"
|
|
1522
1369
|
},
|
|
1523
1370
|
{
|
|
1524
|
-
"inputs": [
|
|
1525
|
-
|
|
1526
|
-
"internalType": "bytes4",
|
|
1527
|
-
"name": "interfaceId",
|
|
1528
|
-
"type": "bytes4"
|
|
1529
|
-
}
|
|
1530
|
-
],
|
|
1531
|
-
"name": "supportsInterface",
|
|
1371
|
+
"inputs": [],
|
|
1372
|
+
"name": "surplus",
|
|
1532
1373
|
"outputs": [
|
|
1533
1374
|
{
|
|
1534
|
-
"internalType": "
|
|
1375
|
+
"internalType": "uint256",
|
|
1535
1376
|
"name": "",
|
|
1536
|
-
"type": "
|
|
1377
|
+
"type": "uint256"
|
|
1537
1378
|
}
|
|
1538
1379
|
],
|
|
1539
1380
|
"stateMutability": "view",
|
|
@@ -1543,84 +1384,62 @@
|
|
|
1543
1384
|
"inputs": [
|
|
1544
1385
|
{
|
|
1545
1386
|
"internalType": "address",
|
|
1546
|
-
"name": "
|
|
1387
|
+
"name": "_input",
|
|
1388
|
+
"type": "address"
|
|
1389
|
+
},
|
|
1390
|
+
{
|
|
1391
|
+
"internalType": "address",
|
|
1392
|
+
"name": "_output",
|
|
1547
1393
|
"type": "address"
|
|
1548
1394
|
},
|
|
1549
1395
|
{
|
|
1550
1396
|
"internalType": "uint256",
|
|
1551
|
-
"name": "",
|
|
1397
|
+
"name": "_inputQuantity",
|
|
1552
1398
|
"type": "uint256"
|
|
1399
|
+
},
|
|
1400
|
+
{
|
|
1401
|
+
"internalType": "uint256",
|
|
1402
|
+
"name": "_minOutputQuantity",
|
|
1403
|
+
"type": "uint256"
|
|
1404
|
+
},
|
|
1405
|
+
{
|
|
1406
|
+
"internalType": "address",
|
|
1407
|
+
"name": "_recipient",
|
|
1408
|
+
"type": "address"
|
|
1553
1409
|
}
|
|
1554
1410
|
],
|
|
1555
|
-
"name": "
|
|
1411
|
+
"name": "swap",
|
|
1556
1412
|
"outputs": [
|
|
1557
1413
|
{
|
|
1558
|
-
"internalType": "
|
|
1559
|
-
"name": "
|
|
1560
|
-
"type": "
|
|
1414
|
+
"internalType": "uint256",
|
|
1415
|
+
"name": "swapOutput",
|
|
1416
|
+
"type": "uint256"
|
|
1561
1417
|
}
|
|
1562
1418
|
],
|
|
1563
|
-
"stateMutability": "
|
|
1419
|
+
"stateMutability": "nonpayable",
|
|
1564
1420
|
"type": "function"
|
|
1565
1421
|
},
|
|
1566
1422
|
{
|
|
1567
|
-
"inputs": [
|
|
1568
|
-
|
|
1569
|
-
"internalType": "address",
|
|
1570
|
-
"name": "",
|
|
1571
|
-
"type": "address"
|
|
1572
|
-
}
|
|
1573
|
-
],
|
|
1574
|
-
"name": "tokenFeeHooks",
|
|
1423
|
+
"inputs": [],
|
|
1424
|
+
"name": "swapFee",
|
|
1575
1425
|
"outputs": [
|
|
1576
1426
|
{
|
|
1577
|
-
"internalType": "
|
|
1427
|
+
"internalType": "uint256",
|
|
1578
1428
|
"name": "",
|
|
1579
|
-
"type": "
|
|
1429
|
+
"type": "uint256"
|
|
1580
1430
|
}
|
|
1581
1431
|
],
|
|
1582
1432
|
"stateMutability": "view",
|
|
1583
1433
|
"type": "function"
|
|
1584
1434
|
},
|
|
1585
1435
|
{
|
|
1586
|
-
"inputs": [
|
|
1587
|
-
|
|
1588
|
-
"internalType": "address",
|
|
1589
|
-
"name": "tokenAddress",
|
|
1590
|
-
"type": "address"
|
|
1591
|
-
}
|
|
1592
|
-
],
|
|
1593
|
-
"name": "tokenInfoByTokenAddress",
|
|
1436
|
+
"inputs": [],
|
|
1437
|
+
"name": "symbol",
|
|
1594
1438
|
"outputs": [
|
|
1595
1439
|
{
|
|
1596
1440
|
"internalType": "string",
|
|
1597
|
-
"name": "
|
|
1598
|
-
"type": "string"
|
|
1599
|
-
},
|
|
1600
|
-
{
|
|
1601
|
-
"internalType": "string",
|
|
1602
|
-
"name": "symbol",
|
|
1441
|
+
"name": "",
|
|
1603
1442
|
"type": "string"
|
|
1604
|
-
},
|
|
1605
|
-
{
|
|
1606
|
-
"internalType": "uint256",
|
|
1607
|
-
"name": "totalSupply",
|
|
1608
|
-
"type": "uint256"
|
|
1609
|
-
},
|
|
1610
|
-
{
|
|
1611
|
-
"internalType": "address",
|
|
1612
|
-
"name": "tokenAddress",
|
|
1613
|
-
"type": "address"
|
|
1614
|
-
},
|
|
1615
|
-
{
|
|
1616
|
-
"internalType": "address",
|
|
1617
|
-
"name": "lpAddress",
|
|
1618
|
-
"type": "address"
|
|
1619
|
-
},
|
|
1620
|
-
{
|
|
1621
|
-
"internalType": "address",
|
|
1622
|
-
"name": "deployer",
|
|
1623
|
-
"type": "address"
|
|
1624
1443
|
}
|
|
1625
1444
|
],
|
|
1626
1445
|
"stateMutability": "view",
|
|
@@ -1628,39 +1447,38 @@
|
|
|
1628
1447
|
},
|
|
1629
1448
|
{
|
|
1630
1449
|
"inputs": [],
|
|
1631
|
-
"name": "
|
|
1632
|
-
"outputs": [
|
|
1633
|
-
|
|
1450
|
+
"name": "totalSupply",
|
|
1451
|
+
"outputs": [
|
|
1452
|
+
{
|
|
1453
|
+
"internalType": "uint256",
|
|
1454
|
+
"name": "",
|
|
1455
|
+
"type": "uint256"
|
|
1456
|
+
}
|
|
1457
|
+
],
|
|
1458
|
+
"stateMutability": "view",
|
|
1634
1459
|
"type": "function"
|
|
1635
1460
|
},
|
|
1636
1461
|
{
|
|
1637
1462
|
"inputs": [
|
|
1638
1463
|
{
|
|
1639
1464
|
"internalType": "address",
|
|
1640
|
-
"name": "
|
|
1465
|
+
"name": "recipient",
|
|
1641
1466
|
"type": "address"
|
|
1642
1467
|
},
|
|
1643
1468
|
{
|
|
1644
1469
|
"internalType": "uint256",
|
|
1645
|
-
"name": "
|
|
1470
|
+
"name": "amount",
|
|
1646
1471
|
"type": "uint256"
|
|
1647
1472
|
}
|
|
1648
1473
|
],
|
|
1649
|
-
"name": "
|
|
1650
|
-
"outputs": [
|
|
1651
|
-
"stateMutability": "nonpayable",
|
|
1652
|
-
"type": "function"
|
|
1653
|
-
},
|
|
1654
|
-
{
|
|
1655
|
-
"inputs": [
|
|
1474
|
+
"name": "transfer",
|
|
1475
|
+
"outputs": [
|
|
1656
1476
|
{
|
|
1657
|
-
"internalType": "
|
|
1658
|
-
"name": "
|
|
1659
|
-
"type": "
|
|
1477
|
+
"internalType": "bool",
|
|
1478
|
+
"name": "",
|
|
1479
|
+
"type": "bool"
|
|
1660
1480
|
}
|
|
1661
1481
|
],
|
|
1662
|
-
"name": "updateBurstTokenImplementation",
|
|
1663
|
-
"outputs": [],
|
|
1664
1482
|
"stateMutability": "nonpayable",
|
|
1665
1483
|
"type": "function"
|
|
1666
1484
|
},
|
|
@@ -1668,35 +1486,28 @@
|
|
|
1668
1486
|
"inputs": [
|
|
1669
1487
|
{
|
|
1670
1488
|
"internalType": "address",
|
|
1671
|
-
"name": "
|
|
1489
|
+
"name": "sender",
|
|
1672
1490
|
"type": "address"
|
|
1673
1491
|
},
|
|
1674
1492
|
{
|
|
1675
|
-
"internalType": "
|
|
1676
|
-
"name": "
|
|
1677
|
-
"type": "
|
|
1493
|
+
"internalType": "address",
|
|
1494
|
+
"name": "recipient",
|
|
1495
|
+
"type": "address"
|
|
1678
1496
|
},
|
|
1679
1497
|
{
|
|
1680
1498
|
"internalType": "uint256",
|
|
1681
|
-
"name": "
|
|
1499
|
+
"name": "amount",
|
|
1682
1500
|
"type": "uint256"
|
|
1683
1501
|
}
|
|
1684
1502
|
],
|
|
1685
|
-
"name": "
|
|
1686
|
-
"outputs": [
|
|
1687
|
-
"stateMutability": "nonpayable",
|
|
1688
|
-
"type": "function"
|
|
1689
|
-
},
|
|
1690
|
-
{
|
|
1691
|
-
"inputs": [
|
|
1503
|
+
"name": "transferFrom",
|
|
1504
|
+
"outputs": [
|
|
1692
1505
|
{
|
|
1693
|
-
"internalType": "
|
|
1694
|
-
"name": "
|
|
1695
|
-
"type": "
|
|
1506
|
+
"internalType": "bool",
|
|
1507
|
+
"name": "",
|
|
1508
|
+
"type": "bool"
|
|
1696
1509
|
}
|
|
1697
1510
|
],
|
|
1698
|
-
"name": "updateImplementation",
|
|
1699
|
-
"outputs": [],
|
|
1700
1511
|
"stateMutability": "nonpayable",
|
|
1701
1512
|
"type": "function"
|
|
1702
1513
|
},
|
|
@@ -1704,46 +1515,31 @@
|
|
|
1704
1515
|
"inputs": [
|
|
1705
1516
|
{
|
|
1706
1517
|
"internalType": "address",
|
|
1707
|
-
"name": "
|
|
1518
|
+
"name": "_newForgeValidator",
|
|
1708
1519
|
"type": "address"
|
|
1709
|
-
},
|
|
1710
|
-
{
|
|
1711
|
-
"internalType": "uint256",
|
|
1712
|
-
"name": "baseSwapRate_",
|
|
1713
|
-
"type": "uint256"
|
|
1714
|
-
},
|
|
1715
|
-
{
|
|
1716
|
-
"internalType": "uint256",
|
|
1717
|
-
"name": "lpFeePortion_",
|
|
1718
|
-
"type": "uint256"
|
|
1719
|
-
},
|
|
1720
|
-
{
|
|
1721
|
-
"internalType": "uint256",
|
|
1722
|
-
"name": "protocolFeePortion_",
|
|
1723
|
-
"type": "uint256"
|
|
1724
1520
|
}
|
|
1725
1521
|
],
|
|
1726
|
-
"name": "
|
|
1522
|
+
"name": "upgradeForgeValidator",
|
|
1727
1523
|
"outputs": [],
|
|
1728
1524
|
"stateMutability": "nonpayable",
|
|
1729
1525
|
"type": "function"
|
|
1730
1526
|
},
|
|
1731
1527
|
{
|
|
1732
|
-
"inputs": [
|
|
1528
|
+
"inputs": [],
|
|
1529
|
+
"name": "weightLimits",
|
|
1530
|
+
"outputs": [
|
|
1733
1531
|
{
|
|
1734
|
-
"internalType": "
|
|
1735
|
-
"name": "
|
|
1736
|
-
"type": "
|
|
1532
|
+
"internalType": "uint128",
|
|
1533
|
+
"name": "min",
|
|
1534
|
+
"type": "uint128"
|
|
1737
1535
|
},
|
|
1738
1536
|
{
|
|
1739
|
-
"internalType": "
|
|
1740
|
-
"name": "
|
|
1741
|
-
"type": "
|
|
1537
|
+
"internalType": "uint128",
|
|
1538
|
+
"name": "max",
|
|
1539
|
+
"type": "uint128"
|
|
1742
1540
|
}
|
|
1743
1541
|
],
|
|
1744
|
-
"
|
|
1745
|
-
"outputs": [],
|
|
1746
|
-
"stateMutability": "payable",
|
|
1542
|
+
"stateMutability": "view",
|
|
1747
1543
|
"type": "function"
|
|
1748
1544
|
}
|
|
1749
1545
|
]
|