@flaunch/sdk 0.8.2 → 0.8.3-beta.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/dist/abi/FlaunchZap.d.ts +131 -101
- package/dist/abi/FlaunchZap.d.ts.map +1 -1
- package/dist/abi/TreasuryManager.d.ts +106 -0
- package/dist/abi/TreasuryManager.d.ts.map +1 -0
- package/dist/abi/TreasuryManagerFactory.d.ts +243 -243
- package/dist/abi/TreasuryManagerFactory.d.ts.map +1 -1
- package/dist/abi/index.cjs +483 -329
- package/dist/abi/index.cjs.map +1 -1
- package/dist/abi/index.js +483 -329
- package/dist/abi/index.js.map +1 -1
- package/dist/addresses/index.cjs +23 -6
- package/dist/addresses/index.cjs.map +1 -1
- package/dist/addresses/index.js +21 -7
- package/dist/addresses/index.js.map +1 -1
- package/dist/addresses.d.ts +6 -1
- package/dist/addresses.d.ts.map +1 -1
- package/dist/clients/FlaunchZapClient.d.ts +44 -1
- package/dist/clients/FlaunchZapClient.d.ts.map +1 -1
- package/dist/clients/TreasuryManagerClient.d.ts +60 -0
- package/dist/clients/TreasuryManagerClient.d.ts.map +1 -0
- package/dist/clients/TreasuryManagerFactoryClient.d.ts +4 -14
- package/dist/clients/TreasuryManagerFactoryClient.d.ts.map +1 -1
- package/dist/helpers/index.cjs +61 -0
- package/dist/helpers/index.cjs.map +1 -1
- package/dist/helpers/index.d.ts +1 -0
- package/dist/helpers/index.d.ts.map +1 -1
- package/dist/helpers/index.js +62 -2
- package/dist/helpers/index.js.map +1 -1
- package/dist/helpers/permissions.d.ts +10 -0
- package/dist/helpers/permissions.d.ts.map +1 -0
- package/dist/index.cjs.js +985 -431
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +983 -433
- package/dist/index.esm.js.map +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/index.umd.js.map +1 -1
- package/dist/sdk/FlaunchSDK.d.ts +71 -6
- package/dist/sdk/FlaunchSDK.d.ts.map +1 -1
- package/dist/types.d.ts +8 -0
- package/dist/types.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/abi/index.cjs
CHANGED
|
@@ -7635,235 +7635,358 @@ const FlaunchV1_1Abi = [
|
|
|
7635
7635
|
|
|
7636
7636
|
const FlaunchZapAbi = [
|
|
7637
7637
|
{
|
|
7638
|
+
type: "constructor",
|
|
7638
7639
|
inputs: [
|
|
7639
7640
|
{
|
|
7640
|
-
internalType: "contract PositionManager",
|
|
7641
7641
|
name: "_positionManager",
|
|
7642
7642
|
type: "address",
|
|
7643
|
+
internalType: "contract PositionManager",
|
|
7643
7644
|
},
|
|
7644
7645
|
{
|
|
7645
|
-
internalType: "contract Flaunch",
|
|
7646
7646
|
name: "_flaunchContract",
|
|
7647
7647
|
type: "address",
|
|
7648
|
+
internalType: "contract Flaunch",
|
|
7649
|
+
},
|
|
7650
|
+
{
|
|
7651
|
+
name: "_flETH",
|
|
7652
|
+
type: "address",
|
|
7653
|
+
internalType: "contract IFLETH",
|
|
7654
|
+
},
|
|
7655
|
+
{
|
|
7656
|
+
name: "_poolSwap",
|
|
7657
|
+
type: "address",
|
|
7658
|
+
internalType: "contract PoolSwap",
|
|
7648
7659
|
},
|
|
7649
|
-
{ internalType: "contract IFLETH", name: "_flETH", type: "address" },
|
|
7650
|
-
{ internalType: "contract PoolSwap", name: "_poolSwap", type: "address" },
|
|
7651
7660
|
{
|
|
7652
|
-
internalType: "contract ITreasuryManagerFactory",
|
|
7653
7661
|
name: "_treasuryManagerFactory",
|
|
7654
7662
|
type: "address",
|
|
7663
|
+
internalType: "contract ITreasuryManagerFactory",
|
|
7655
7664
|
},
|
|
7656
7665
|
{
|
|
7657
|
-
internalType: "contract IMerkleAirdrop",
|
|
7658
7666
|
name: "_merkleAirdrop",
|
|
7659
7667
|
type: "address",
|
|
7668
|
+
internalType: "contract IMerkleAirdrop",
|
|
7660
7669
|
},
|
|
7661
7670
|
{
|
|
7662
|
-
internalType: "contract WhitelistFairLaunch",
|
|
7663
7671
|
name: "_whitelistFairLaunch",
|
|
7664
7672
|
type: "address",
|
|
7673
|
+
internalType: "contract WhitelistFairLaunch",
|
|
7665
7674
|
},
|
|
7666
7675
|
],
|
|
7667
7676
|
stateMutability: "nonpayable",
|
|
7668
|
-
type: "constructor",
|
|
7669
7677
|
},
|
|
7670
|
-
{
|
|
7671
|
-
{ inputs: [], name: "InsufficientMemecoinsForAirdrop", type: "error" },
|
|
7678
|
+
{ type: "receive", stateMutability: "payable" },
|
|
7672
7679
|
{
|
|
7680
|
+
type: "function",
|
|
7681
|
+
name: "calculateFee",
|
|
7673
7682
|
inputs: [
|
|
7674
|
-
{
|
|
7675
|
-
|
|
7676
|
-
|
|
7683
|
+
{
|
|
7684
|
+
name: "_premineAmount",
|
|
7685
|
+
type: "uint256",
|
|
7686
|
+
internalType: "uint256",
|
|
7687
|
+
},
|
|
7688
|
+
{ name: "_slippage", type: "uint256", internalType: "uint256" },
|
|
7689
|
+
{
|
|
7690
|
+
name: "_initialPriceParams",
|
|
7691
|
+
type: "bytes",
|
|
7692
|
+
internalType: "bytes",
|
|
7693
|
+
},
|
|
7677
7694
|
],
|
|
7678
|
-
name: "calculateFee",
|
|
7679
7695
|
outputs: [
|
|
7680
|
-
{
|
|
7696
|
+
{ name: "ethRequired_", type: "uint256", internalType: "uint256" },
|
|
7681
7697
|
],
|
|
7682
7698
|
stateMutability: "view",
|
|
7699
|
+
},
|
|
7700
|
+
{
|
|
7683
7701
|
type: "function",
|
|
7702
|
+
name: "deployAndInitializeManager",
|
|
7703
|
+
inputs: [
|
|
7704
|
+
{
|
|
7705
|
+
name: "_managerImplementation",
|
|
7706
|
+
type: "address",
|
|
7707
|
+
internalType: "address",
|
|
7708
|
+
},
|
|
7709
|
+
{ name: "_owner", type: "address", internalType: "address" },
|
|
7710
|
+
{ name: "_data", type: "bytes", internalType: "bytes" },
|
|
7711
|
+
{ name: "_permissions", type: "address", internalType: "address" },
|
|
7712
|
+
],
|
|
7713
|
+
outputs: [
|
|
7714
|
+
{
|
|
7715
|
+
name: "manager_",
|
|
7716
|
+
type: "address",
|
|
7717
|
+
internalType: "address payable",
|
|
7718
|
+
},
|
|
7719
|
+
],
|
|
7720
|
+
stateMutability: "nonpayable",
|
|
7684
7721
|
},
|
|
7685
7722
|
{
|
|
7686
|
-
|
|
7723
|
+
type: "function",
|
|
7687
7724
|
name: "flETH",
|
|
7688
|
-
|
|
7725
|
+
inputs: [],
|
|
7726
|
+
outputs: [{ name: "", type: "address", internalType: "contract IFLETH" }],
|
|
7689
7727
|
stateMutability: "view",
|
|
7690
|
-
type: "function",
|
|
7691
7728
|
},
|
|
7692
7729
|
{
|
|
7730
|
+
type: "function",
|
|
7731
|
+
name: "flaunch",
|
|
7693
7732
|
inputs: [
|
|
7694
7733
|
{
|
|
7734
|
+
name: "_flaunchParams",
|
|
7735
|
+
type: "tuple",
|
|
7736
|
+
internalType: "struct PositionManager.FlaunchParams",
|
|
7695
7737
|
components: [
|
|
7696
|
-
{
|
|
7697
|
-
{
|
|
7698
|
-
{
|
|
7738
|
+
{ name: "name", type: "string", internalType: "string" },
|
|
7739
|
+
{ name: "symbol", type: "string", internalType: "string" },
|
|
7740
|
+
{ name: "tokenUri", type: "string", internalType: "string" },
|
|
7699
7741
|
{
|
|
7700
|
-
internalType: "uint256",
|
|
7701
7742
|
name: "initialTokenFairLaunch",
|
|
7702
7743
|
type: "uint256",
|
|
7744
|
+
internalType: "uint256",
|
|
7703
7745
|
},
|
|
7704
7746
|
{
|
|
7705
|
-
internalType: "uint256",
|
|
7706
7747
|
name: "fairLaunchDuration",
|
|
7707
7748
|
type: "uint256",
|
|
7749
|
+
internalType: "uint256",
|
|
7708
7750
|
},
|
|
7709
|
-
{ internalType: "uint256", name: "premineAmount", type: "uint256" },
|
|
7710
|
-
{ internalType: "address", name: "creator", type: "address" },
|
|
7711
7751
|
{
|
|
7712
|
-
|
|
7752
|
+
name: "premineAmount",
|
|
7753
|
+
type: "uint256",
|
|
7754
|
+
internalType: "uint256",
|
|
7755
|
+
},
|
|
7756
|
+
{ name: "creator", type: "address", internalType: "address" },
|
|
7757
|
+
{
|
|
7713
7758
|
name: "creatorFeeAllocation",
|
|
7714
7759
|
type: "uint24",
|
|
7760
|
+
internalType: "uint24",
|
|
7761
|
+
},
|
|
7762
|
+
{
|
|
7763
|
+
name: "flaunchAt",
|
|
7764
|
+
type: "uint256",
|
|
7765
|
+
internalType: "uint256",
|
|
7766
|
+
},
|
|
7767
|
+
{
|
|
7768
|
+
name: "initialPriceParams",
|
|
7769
|
+
type: "bytes",
|
|
7770
|
+
internalType: "bytes",
|
|
7771
|
+
},
|
|
7772
|
+
{
|
|
7773
|
+
name: "feeCalculatorParams",
|
|
7774
|
+
type: "bytes",
|
|
7775
|
+
internalType: "bytes",
|
|
7715
7776
|
},
|
|
7716
|
-
{ internalType: "uint256", name: "flaunchAt", type: "uint256" },
|
|
7717
|
-
{ internalType: "bytes", name: "initialPriceParams", type: "bytes" },
|
|
7718
|
-
{ internalType: "bytes", name: "feeCalculatorParams", type: "bytes" },
|
|
7719
7777
|
],
|
|
7720
|
-
internalType: "struct PositionManager.FlaunchParams",
|
|
7721
|
-
name: "_flaunchParams",
|
|
7722
|
-
type: "tuple",
|
|
7723
7778
|
},
|
|
7724
7779
|
],
|
|
7725
|
-
name: "flaunch",
|
|
7726
7780
|
outputs: [
|
|
7727
|
-
{
|
|
7728
|
-
{
|
|
7729
|
-
{
|
|
7781
|
+
{ name: "memecoin_", type: "address", internalType: "address" },
|
|
7782
|
+
{ name: "ethSpent_", type: "uint256", internalType: "uint256" },
|
|
7783
|
+
{ name: "", type: "address", internalType: "address" },
|
|
7730
7784
|
],
|
|
7731
7785
|
stateMutability: "payable",
|
|
7732
|
-
type: "function",
|
|
7733
7786
|
},
|
|
7734
7787
|
{
|
|
7788
|
+
type: "function",
|
|
7789
|
+
name: "flaunch",
|
|
7735
7790
|
inputs: [
|
|
7736
7791
|
{
|
|
7792
|
+
name: "_flaunchParams",
|
|
7793
|
+
type: "tuple",
|
|
7794
|
+
internalType: "struct PositionManager.FlaunchParams",
|
|
7737
7795
|
components: [
|
|
7738
|
-
{
|
|
7739
|
-
{
|
|
7740
|
-
{
|
|
7796
|
+
{ name: "name", type: "string", internalType: "string" },
|
|
7797
|
+
{ name: "symbol", type: "string", internalType: "string" },
|
|
7798
|
+
{ name: "tokenUri", type: "string", internalType: "string" },
|
|
7741
7799
|
{
|
|
7742
|
-
internalType: "uint256",
|
|
7743
7800
|
name: "initialTokenFairLaunch",
|
|
7744
7801
|
type: "uint256",
|
|
7802
|
+
internalType: "uint256",
|
|
7745
7803
|
},
|
|
7746
7804
|
{
|
|
7747
|
-
internalType: "uint256",
|
|
7748
7805
|
name: "fairLaunchDuration",
|
|
7749
7806
|
type: "uint256",
|
|
7807
|
+
internalType: "uint256",
|
|
7808
|
+
},
|
|
7809
|
+
{
|
|
7810
|
+
name: "premineAmount",
|
|
7811
|
+
type: "uint256",
|
|
7812
|
+
internalType: "uint256",
|
|
7750
7813
|
},
|
|
7751
|
-
{
|
|
7752
|
-
{ internalType: "address", name: "creator", type: "address" },
|
|
7814
|
+
{ name: "creator", type: "address", internalType: "address" },
|
|
7753
7815
|
{
|
|
7754
|
-
internalType: "uint24",
|
|
7755
7816
|
name: "creatorFeeAllocation",
|
|
7756
7817
|
type: "uint24",
|
|
7818
|
+
internalType: "uint24",
|
|
7819
|
+
},
|
|
7820
|
+
{
|
|
7821
|
+
name: "flaunchAt",
|
|
7822
|
+
type: "uint256",
|
|
7823
|
+
internalType: "uint256",
|
|
7824
|
+
},
|
|
7825
|
+
{
|
|
7826
|
+
name: "initialPriceParams",
|
|
7827
|
+
type: "bytes",
|
|
7828
|
+
internalType: "bytes",
|
|
7829
|
+
},
|
|
7830
|
+
{
|
|
7831
|
+
name: "feeCalculatorParams",
|
|
7832
|
+
type: "bytes",
|
|
7833
|
+
internalType: "bytes",
|
|
7757
7834
|
},
|
|
7758
|
-
{ internalType: "uint256", name: "flaunchAt", type: "uint256" },
|
|
7759
|
-
{ internalType: "bytes", name: "initialPriceParams", type: "bytes" },
|
|
7760
|
-
{ internalType: "bytes", name: "feeCalculatorParams", type: "bytes" },
|
|
7761
7835
|
],
|
|
7762
|
-
internalType: "struct PositionManager.FlaunchParams",
|
|
7763
|
-
name: "_flaunchParams",
|
|
7764
|
-
type: "tuple",
|
|
7765
7836
|
},
|
|
7766
7837
|
{
|
|
7767
|
-
components: [
|
|
7768
|
-
{ internalType: "bytes32", name: "merkleRoot", type: "bytes32" },
|
|
7769
|
-
{ internalType: "string", name: "merkleIPFSHash", type: "string" },
|
|
7770
|
-
{ internalType: "uint256", name: "maxTokens", type: "uint256" },
|
|
7771
|
-
],
|
|
7772
|
-
internalType: "struct FlaunchZap.WhitelistParams",
|
|
7773
7838
|
name: "_whitelistParams",
|
|
7774
7839
|
type: "tuple",
|
|
7775
|
-
|
|
7776
|
-
{
|
|
7840
|
+
internalType: "struct FlaunchZap.WhitelistParams",
|
|
7777
7841
|
components: [
|
|
7778
|
-
{
|
|
7779
|
-
|
|
7780
|
-
|
|
7781
|
-
|
|
7782
|
-
|
|
7842
|
+
{
|
|
7843
|
+
name: "merkleRoot",
|
|
7844
|
+
type: "bytes32",
|
|
7845
|
+
internalType: "bytes32",
|
|
7846
|
+
},
|
|
7847
|
+
{
|
|
7848
|
+
name: "merkleIPFSHash",
|
|
7849
|
+
type: "string",
|
|
7850
|
+
internalType: "string",
|
|
7851
|
+
},
|
|
7852
|
+
{
|
|
7853
|
+
name: "maxTokens",
|
|
7854
|
+
type: "uint256",
|
|
7855
|
+
internalType: "uint256",
|
|
7856
|
+
},
|
|
7783
7857
|
],
|
|
7784
|
-
internalType: "struct FlaunchZap.AirdropParams",
|
|
7785
|
-
name: "_airdropParams",
|
|
7786
|
-
type: "tuple",
|
|
7787
7858
|
},
|
|
7788
7859
|
{
|
|
7860
|
+
name: "_airdropParams",
|
|
7861
|
+
type: "tuple",
|
|
7862
|
+
internalType: "struct FlaunchZap.AirdropParams",
|
|
7789
7863
|
components: [
|
|
7790
|
-
{
|
|
7791
|
-
|
|
7792
|
-
|
|
7864
|
+
{
|
|
7865
|
+
name: "airdropIndex",
|
|
7866
|
+
type: "uint256",
|
|
7867
|
+
internalType: "uint256",
|
|
7868
|
+
},
|
|
7869
|
+
{
|
|
7870
|
+
name: "airdropAmount",
|
|
7871
|
+
type: "uint256",
|
|
7872
|
+
internalType: "uint256",
|
|
7873
|
+
},
|
|
7874
|
+
{
|
|
7875
|
+
name: "airdropEndTime",
|
|
7876
|
+
type: "uint256",
|
|
7877
|
+
internalType: "uint256",
|
|
7878
|
+
},
|
|
7879
|
+
{
|
|
7880
|
+
name: "merkleRoot",
|
|
7881
|
+
type: "bytes32",
|
|
7882
|
+
internalType: "bytes32",
|
|
7883
|
+
},
|
|
7884
|
+
{
|
|
7885
|
+
name: "merkleIPFSHash",
|
|
7886
|
+
type: "string",
|
|
7887
|
+
internalType: "string",
|
|
7888
|
+
},
|
|
7793
7889
|
],
|
|
7794
|
-
|
|
7890
|
+
},
|
|
7891
|
+
{
|
|
7795
7892
|
name: "_treasuryManagerParams",
|
|
7796
7893
|
type: "tuple",
|
|
7894
|
+
internalType: "struct FlaunchZap.TreasuryManagerParams",
|
|
7895
|
+
components: [
|
|
7896
|
+
{ name: "manager", type: "address", internalType: "address" },
|
|
7897
|
+
{
|
|
7898
|
+
name: "permissions",
|
|
7899
|
+
type: "address",
|
|
7900
|
+
internalType: "address",
|
|
7901
|
+
},
|
|
7902
|
+
{
|
|
7903
|
+
name: "initializeData",
|
|
7904
|
+
type: "bytes",
|
|
7905
|
+
internalType: "bytes",
|
|
7906
|
+
},
|
|
7907
|
+
{ name: "depositData", type: "bytes", internalType: "bytes" },
|
|
7908
|
+
],
|
|
7797
7909
|
},
|
|
7798
7910
|
],
|
|
7799
|
-
name: "flaunch",
|
|
7800
7911
|
outputs: [
|
|
7801
|
-
{
|
|
7802
|
-
{
|
|
7803
|
-
{
|
|
7912
|
+
{ name: "memecoin_", type: "address", internalType: "address" },
|
|
7913
|
+
{ name: "ethSpent_", type: "uint256", internalType: "uint256" },
|
|
7914
|
+
{
|
|
7915
|
+
name: "deployedManager_",
|
|
7916
|
+
type: "address",
|
|
7917
|
+
internalType: "address",
|
|
7918
|
+
},
|
|
7804
7919
|
],
|
|
7805
7920
|
stateMutability: "payable",
|
|
7806
|
-
type: "function",
|
|
7807
7921
|
},
|
|
7808
7922
|
{
|
|
7809
|
-
|
|
7923
|
+
type: "function",
|
|
7810
7924
|
name: "flaunchContract",
|
|
7811
|
-
|
|
7925
|
+
inputs: [],
|
|
7926
|
+
outputs: [{ name: "", type: "address", internalType: "contract Flaunch" }],
|
|
7812
7927
|
stateMutability: "view",
|
|
7813
|
-
type: "function",
|
|
7814
7928
|
},
|
|
7815
7929
|
{
|
|
7816
|
-
|
|
7930
|
+
type: "function",
|
|
7817
7931
|
name: "merkleAirdrop",
|
|
7932
|
+
inputs: [],
|
|
7818
7933
|
outputs: [
|
|
7819
|
-
{
|
|
7934
|
+
{
|
|
7935
|
+
name: "",
|
|
7936
|
+
type: "address",
|
|
7937
|
+
internalType: "contract IMerkleAirdrop",
|
|
7938
|
+
},
|
|
7820
7939
|
],
|
|
7821
7940
|
stateMutability: "view",
|
|
7822
|
-
type: "function",
|
|
7823
7941
|
},
|
|
7824
7942
|
{
|
|
7825
|
-
|
|
7943
|
+
type: "function",
|
|
7826
7944
|
name: "poolSwap",
|
|
7827
|
-
|
|
7945
|
+
inputs: [],
|
|
7946
|
+
outputs: [{ name: "", type: "address", internalType: "contract PoolSwap" }],
|
|
7828
7947
|
stateMutability: "view",
|
|
7829
|
-
type: "function",
|
|
7830
7948
|
},
|
|
7831
7949
|
{
|
|
7832
|
-
|
|
7950
|
+
type: "function",
|
|
7833
7951
|
name: "positionManager",
|
|
7952
|
+
inputs: [],
|
|
7834
7953
|
outputs: [
|
|
7835
|
-
{
|
|
7954
|
+
{
|
|
7955
|
+
name: "",
|
|
7956
|
+
type: "address",
|
|
7957
|
+
internalType: "contract PositionManager",
|
|
7958
|
+
},
|
|
7836
7959
|
],
|
|
7837
7960
|
stateMutability: "view",
|
|
7838
|
-
type: "function",
|
|
7839
7961
|
},
|
|
7840
7962
|
{
|
|
7841
|
-
|
|
7963
|
+
type: "function",
|
|
7842
7964
|
name: "treasuryManagerFactory",
|
|
7965
|
+
inputs: [],
|
|
7843
7966
|
outputs: [
|
|
7844
7967
|
{
|
|
7845
|
-
internalType: "contract ITreasuryManagerFactory",
|
|
7846
7968
|
name: "",
|
|
7847
7969
|
type: "address",
|
|
7970
|
+
internalType: "contract ITreasuryManagerFactory",
|
|
7848
7971
|
},
|
|
7849
7972
|
],
|
|
7850
7973
|
stateMutability: "view",
|
|
7851
|
-
type: "function",
|
|
7852
7974
|
},
|
|
7853
7975
|
{
|
|
7854
|
-
|
|
7976
|
+
type: "function",
|
|
7855
7977
|
name: "whitelistFairLaunch",
|
|
7978
|
+
inputs: [],
|
|
7856
7979
|
outputs: [
|
|
7857
7980
|
{
|
|
7858
|
-
internalType: "contract WhitelistFairLaunch",
|
|
7859
7981
|
name: "",
|
|
7860
7982
|
type: "address",
|
|
7983
|
+
internalType: "contract WhitelistFairLaunch",
|
|
7861
7984
|
},
|
|
7862
7985
|
],
|
|
7863
7986
|
stateMutability: "view",
|
|
7864
|
-
type: "function",
|
|
7865
7987
|
},
|
|
7866
|
-
{
|
|
7988
|
+
{ type: "error", name: "CreatorCannotBeZero", inputs: [] },
|
|
7989
|
+
{ type: "error", name: "InsufficientMemecoinsForAirdrop", inputs: [] },
|
|
7867
7990
|
];
|
|
7868
7991
|
|
|
7869
7992
|
const InitialPriceAbi = [
|
|
@@ -11684,384 +11807,415 @@ const StateViewAbi = [
|
|
|
11684
11807
|
|
|
11685
11808
|
const TreasuryManagerFactoryAbi = [
|
|
11686
11809
|
{
|
|
11810
|
+
type: "constructor",
|
|
11687
11811
|
inputs: [
|
|
11688
|
-
{
|
|
11689
|
-
|
|
11812
|
+
{
|
|
11813
|
+
name: "_protocolOwner",
|
|
11814
|
+
type: "address",
|
|
11815
|
+
internalType: "address",
|
|
11816
|
+
},
|
|
11817
|
+
{ name: "_feeEscrow", type: "address", internalType: "address" },
|
|
11690
11818
|
],
|
|
11691
11819
|
stateMutability: "nonpayable",
|
|
11692
|
-
type: "constructor",
|
|
11693
11820
|
},
|
|
11694
|
-
{ inputs: [], name: "AccessControlBadConfirmation", type: "error" },
|
|
11695
11821
|
{
|
|
11696
|
-
|
|
11697
|
-
|
|
11698
|
-
|
|
11699
|
-
],
|
|
11700
|
-
|
|
11701
|
-
type: "error",
|
|
11822
|
+
type: "function",
|
|
11823
|
+
name: "DEFAULT_ADMIN_ROLE",
|
|
11824
|
+
inputs: [],
|
|
11825
|
+
outputs: [{ name: "", type: "bytes32", internalType: "bytes32" }],
|
|
11826
|
+
stateMutability: "view",
|
|
11702
11827
|
},
|
|
11703
|
-
{ inputs: [], name: "AlreadyInitialized", type: "error" },
|
|
11704
|
-
{ inputs: [], name: "NewOwnerIsZeroAddress", type: "error" },
|
|
11705
|
-
{ inputs: [], name: "NoHandoverRequest", type: "error" },
|
|
11706
|
-
{ inputs: [], name: "Unauthorized", type: "error" },
|
|
11707
|
-
{ inputs: [], name: "UnknownManagerImplemention", type: "error" },
|
|
11708
11828
|
{
|
|
11709
|
-
|
|
11829
|
+
type: "function",
|
|
11830
|
+
name: "approveManager",
|
|
11710
11831
|
inputs: [
|
|
11711
11832
|
{
|
|
11712
|
-
indexed: true,
|
|
11713
|
-
internalType: "address",
|
|
11714
|
-
name: "_manager",
|
|
11715
|
-
type: "address",
|
|
11716
|
-
},
|
|
11717
|
-
{
|
|
11718
|
-
indexed: true,
|
|
11719
|
-
internalType: "address",
|
|
11720
11833
|
name: "_managerImplementation",
|
|
11721
11834
|
type: "address",
|
|
11722
|
-
},
|
|
11723
|
-
],
|
|
11724
|
-
name: "ManagerDeployed",
|
|
11725
|
-
type: "event",
|
|
11726
|
-
},
|
|
11727
|
-
{
|
|
11728
|
-
anonymous: false,
|
|
11729
|
-
inputs: [
|
|
11730
|
-
{
|
|
11731
|
-
indexed: true,
|
|
11732
11835
|
internalType: "address",
|
|
11733
|
-
name: "_managerImplementation",
|
|
11734
|
-
type: "address",
|
|
11735
11836
|
},
|
|
11736
11837
|
],
|
|
11737
|
-
|
|
11738
|
-
|
|
11838
|
+
outputs: [],
|
|
11839
|
+
stateMutability: "nonpayable",
|
|
11739
11840
|
},
|
|
11740
11841
|
{
|
|
11741
|
-
|
|
11842
|
+
type: "function",
|
|
11843
|
+
name: "approvedManagerImplementation",
|
|
11742
11844
|
inputs: [
|
|
11743
11845
|
{
|
|
11744
|
-
indexed: true,
|
|
11745
|
-
internalType: "address",
|
|
11746
11846
|
name: "_managerImplementation",
|
|
11747
11847
|
type: "address",
|
|
11848
|
+
internalType: "address",
|
|
11748
11849
|
},
|
|
11749
11850
|
],
|
|
11750
|
-
name: "
|
|
11751
|
-
|
|
11851
|
+
outputs: [{ name: "_approved", type: "bool", internalType: "bool" }],
|
|
11852
|
+
stateMutability: "view",
|
|
11752
11853
|
},
|
|
11753
11854
|
{
|
|
11754
|
-
|
|
11755
|
-
|
|
11756
|
-
|
|
11757
|
-
|
|
11758
|
-
|
|
11759
|
-
name: "pendingOwner",
|
|
11760
|
-
type: "address",
|
|
11761
|
-
},
|
|
11762
|
-
],
|
|
11763
|
-
name: "OwnershipHandoverCanceled",
|
|
11764
|
-
type: "event",
|
|
11855
|
+
type: "function",
|
|
11856
|
+
name: "cancelOwnershipHandover",
|
|
11857
|
+
inputs: [],
|
|
11858
|
+
outputs: [],
|
|
11859
|
+
stateMutability: "payable",
|
|
11765
11860
|
},
|
|
11766
11861
|
{
|
|
11767
|
-
|
|
11862
|
+
type: "function",
|
|
11863
|
+
name: "completeOwnershipHandover",
|
|
11768
11864
|
inputs: [
|
|
11769
|
-
{
|
|
11770
|
-
indexed: true,
|
|
11771
|
-
internalType: "address",
|
|
11772
|
-
name: "pendingOwner",
|
|
11773
|
-
type: "address",
|
|
11774
|
-
},
|
|
11865
|
+
{ name: "pendingOwner", type: "address", internalType: "address" },
|
|
11775
11866
|
],
|
|
11776
|
-
|
|
11777
|
-
|
|
11867
|
+
outputs: [],
|
|
11868
|
+
stateMutability: "payable",
|
|
11778
11869
|
},
|
|
11779
11870
|
{
|
|
11780
|
-
|
|
11871
|
+
type: "function",
|
|
11872
|
+
name: "deployAndInitializeManager",
|
|
11781
11873
|
inputs: [
|
|
11782
11874
|
{
|
|
11783
|
-
|
|
11784
|
-
internalType: "address",
|
|
11785
|
-
name: "oldOwner",
|
|
11875
|
+
name: "_managerImplementation",
|
|
11786
11876
|
type: "address",
|
|
11787
|
-
},
|
|
11788
|
-
{
|
|
11789
|
-
indexed: true,
|
|
11790
11877
|
internalType: "address",
|
|
11791
|
-
name: "newOwner",
|
|
11792
|
-
type: "address",
|
|
11793
11878
|
},
|
|
11879
|
+
{ name: "_owner", type: "address", internalType: "address" },
|
|
11880
|
+
{ name: "_data", type: "bytes", internalType: "bytes" },
|
|
11794
11881
|
],
|
|
11795
|
-
|
|
11796
|
-
type: "event",
|
|
11797
|
-
},
|
|
11798
|
-
{
|
|
11799
|
-
anonymous: false,
|
|
11800
|
-
inputs: [
|
|
11801
|
-
{ indexed: true, internalType: "bytes32", name: "role", type: "bytes32" },
|
|
11802
|
-
{
|
|
11803
|
-
indexed: true,
|
|
11804
|
-
internalType: "bytes32",
|
|
11805
|
-
name: "previousAdminRole",
|
|
11806
|
-
type: "bytes32",
|
|
11807
|
-
},
|
|
11882
|
+
outputs: [
|
|
11808
11883
|
{
|
|
11809
|
-
|
|
11810
|
-
|
|
11811
|
-
|
|
11812
|
-
type: "bytes32",
|
|
11884
|
+
name: "manager_",
|
|
11885
|
+
type: "address",
|
|
11886
|
+
internalType: "address payable",
|
|
11813
11887
|
},
|
|
11814
11888
|
],
|
|
11815
|
-
|
|
11816
|
-
type: "event",
|
|
11889
|
+
stateMutability: "nonpayable",
|
|
11817
11890
|
},
|
|
11818
11891
|
{
|
|
11819
|
-
|
|
11892
|
+
type: "function",
|
|
11893
|
+
name: "deployManager",
|
|
11820
11894
|
inputs: [
|
|
11821
|
-
{ indexed: true, internalType: "bytes32", name: "role", type: "bytes32" },
|
|
11822
11895
|
{
|
|
11823
|
-
|
|
11824
|
-
internalType: "address",
|
|
11825
|
-
name: "account",
|
|
11896
|
+
name: "_managerImplementation",
|
|
11826
11897
|
type: "address",
|
|
11827
|
-
},
|
|
11828
|
-
{
|
|
11829
|
-
indexed: true,
|
|
11830
11898
|
internalType: "address",
|
|
11831
|
-
name: "sender",
|
|
11832
|
-
type: "address",
|
|
11833
11899
|
},
|
|
11834
11900
|
],
|
|
11835
|
-
|
|
11836
|
-
type: "event",
|
|
11837
|
-
},
|
|
11838
|
-
{
|
|
11839
|
-
anonymous: false,
|
|
11840
|
-
inputs: [
|
|
11841
|
-
{ indexed: true, internalType: "bytes32", name: "role", type: "bytes32" },
|
|
11842
|
-
{
|
|
11843
|
-
indexed: true,
|
|
11844
|
-
internalType: "address",
|
|
11845
|
-
name: "account",
|
|
11846
|
-
type: "address",
|
|
11847
|
-
},
|
|
11901
|
+
outputs: [
|
|
11848
11902
|
{
|
|
11849
|
-
|
|
11850
|
-
internalType: "address",
|
|
11851
|
-
name: "sender",
|
|
11903
|
+
name: "manager_",
|
|
11852
11904
|
type: "address",
|
|
11905
|
+
internalType: "address payable",
|
|
11853
11906
|
},
|
|
11854
11907
|
],
|
|
11855
|
-
|
|
11856
|
-
type: "event",
|
|
11908
|
+
stateMutability: "nonpayable",
|
|
11857
11909
|
},
|
|
11858
11910
|
{
|
|
11911
|
+
type: "function",
|
|
11912
|
+
name: "feeEscrow",
|
|
11859
11913
|
inputs: [],
|
|
11860
|
-
|
|
11861
|
-
|
|
11914
|
+
outputs: [
|
|
11915
|
+
{ name: "", type: "address", internalType: "contract IFeeEscrow" },
|
|
11916
|
+
],
|
|
11862
11917
|
stateMutability: "view",
|
|
11918
|
+
},
|
|
11919
|
+
{
|
|
11863
11920
|
type: "function",
|
|
11921
|
+
name: "getRoleAdmin",
|
|
11922
|
+
inputs: [{ name: "role", type: "bytes32", internalType: "bytes32" }],
|
|
11923
|
+
outputs: [{ name: "", type: "bytes32", internalType: "bytes32" }],
|
|
11924
|
+
stateMutability: "view",
|
|
11864
11925
|
},
|
|
11865
11926
|
{
|
|
11927
|
+
type: "function",
|
|
11928
|
+
name: "grantRole",
|
|
11866
11929
|
inputs: [
|
|
11867
|
-
{
|
|
11868
|
-
|
|
11869
|
-
name: "_managerImplementation",
|
|
11870
|
-
type: "address",
|
|
11871
|
-
},
|
|
11930
|
+
{ name: "role", type: "bytes32", internalType: "bytes32" },
|
|
11931
|
+
{ name: "account", type: "address", internalType: "address" },
|
|
11872
11932
|
],
|
|
11873
|
-
name: "approveManager",
|
|
11874
11933
|
outputs: [],
|
|
11875
11934
|
stateMutability: "nonpayable",
|
|
11876
|
-
type: "function",
|
|
11877
11935
|
},
|
|
11878
11936
|
{
|
|
11937
|
+
type: "function",
|
|
11938
|
+
name: "hasRole",
|
|
11879
11939
|
inputs: [
|
|
11940
|
+
{ name: "role", type: "bytes32", internalType: "bytes32" },
|
|
11941
|
+
{ name: "account", type: "address", internalType: "address" },
|
|
11942
|
+
],
|
|
11943
|
+
outputs: [{ name: "", type: "bool", internalType: "bool" }],
|
|
11944
|
+
stateMutability: "view",
|
|
11945
|
+
},
|
|
11946
|
+
{
|
|
11947
|
+
type: "function",
|
|
11948
|
+
name: "managerImplementation",
|
|
11949
|
+
inputs: [{ name: "_manager", type: "address", internalType: "address" }],
|
|
11950
|
+
outputs: [
|
|
11880
11951
|
{
|
|
11881
|
-
internalType: "address",
|
|
11882
11952
|
name: "_managerImplementation",
|
|
11883
11953
|
type: "address",
|
|
11954
|
+
internalType: "address",
|
|
11884
11955
|
},
|
|
11885
11956
|
],
|
|
11886
|
-
name: "approvedManagerImplementation",
|
|
11887
|
-
outputs: [{ internalType: "bool", name: "_approved", type: "bool" }],
|
|
11888
11957
|
stateMutability: "view",
|
|
11889
|
-
type: "function",
|
|
11890
11958
|
},
|
|
11891
11959
|
{
|
|
11892
|
-
inputs: [],
|
|
11893
|
-
name: "cancelOwnershipHandover",
|
|
11894
|
-
outputs: [],
|
|
11895
|
-
stateMutability: "payable",
|
|
11896
11960
|
type: "function",
|
|
11961
|
+
name: "owner",
|
|
11962
|
+
inputs: [],
|
|
11963
|
+
outputs: [{ name: "result", type: "address", internalType: "address" }],
|
|
11964
|
+
stateMutability: "view",
|
|
11897
11965
|
},
|
|
11898
11966
|
{
|
|
11967
|
+
type: "function",
|
|
11968
|
+
name: "ownershipHandoverExpiresAt",
|
|
11899
11969
|
inputs: [
|
|
11900
|
-
{
|
|
11970
|
+
{ name: "pendingOwner", type: "address", internalType: "address" },
|
|
11901
11971
|
],
|
|
11902
|
-
name: "
|
|
11972
|
+
outputs: [{ name: "result", type: "uint256", internalType: "uint256" }],
|
|
11973
|
+
stateMutability: "view",
|
|
11974
|
+
},
|
|
11975
|
+
{
|
|
11976
|
+
type: "function",
|
|
11977
|
+
name: "renounceOwnership",
|
|
11978
|
+
inputs: [],
|
|
11903
11979
|
outputs: [],
|
|
11904
11980
|
stateMutability: "payable",
|
|
11905
|
-
type: "function",
|
|
11906
11981
|
},
|
|
11907
11982
|
{
|
|
11983
|
+
type: "function",
|
|
11984
|
+
name: "renounceRole",
|
|
11908
11985
|
inputs: [
|
|
11986
|
+
{ name: "role", type: "bytes32", internalType: "bytes32" },
|
|
11909
11987
|
{
|
|
11910
|
-
|
|
11911
|
-
name: "_managerImplementation",
|
|
11988
|
+
name: "callerConfirmation",
|
|
11912
11989
|
type: "address",
|
|
11990
|
+
internalType: "address",
|
|
11913
11991
|
},
|
|
11914
|
-
{ internalType: "address", name: "_owner", type: "address" },
|
|
11915
|
-
{ internalType: "bytes", name: "_data", type: "bytes" },
|
|
11916
|
-
],
|
|
11917
|
-
name: "deployAndInitializeManager",
|
|
11918
|
-
outputs: [
|
|
11919
|
-
{ internalType: "address payable", name: "manager_", type: "address" },
|
|
11920
11992
|
],
|
|
11993
|
+
outputs: [],
|
|
11921
11994
|
stateMutability: "nonpayable",
|
|
11995
|
+
},
|
|
11996
|
+
{
|
|
11922
11997
|
type: "function",
|
|
11998
|
+
name: "requestOwnershipHandover",
|
|
11999
|
+
inputs: [],
|
|
12000
|
+
outputs: [],
|
|
12001
|
+
stateMutability: "payable",
|
|
11923
12002
|
},
|
|
11924
12003
|
{
|
|
12004
|
+
type: "function",
|
|
12005
|
+
name: "revokeRole",
|
|
11925
12006
|
inputs: [
|
|
11926
|
-
{
|
|
11927
|
-
|
|
11928
|
-
name: "_managerImplementation",
|
|
11929
|
-
type: "address",
|
|
11930
|
-
},
|
|
11931
|
-
],
|
|
11932
|
-
name: "deployManager",
|
|
11933
|
-
outputs: [
|
|
11934
|
-
{ internalType: "address payable", name: "manager_", type: "address" },
|
|
12007
|
+
{ name: "role", type: "bytes32", internalType: "bytes32" },
|
|
12008
|
+
{ name: "account", type: "address", internalType: "address" },
|
|
11935
12009
|
],
|
|
12010
|
+
outputs: [],
|
|
11936
12011
|
stateMutability: "nonpayable",
|
|
11937
|
-
type: "function",
|
|
11938
12012
|
},
|
|
11939
12013
|
{
|
|
11940
|
-
inputs: [],
|
|
11941
|
-
name: "feeEscrow",
|
|
11942
|
-
outputs: [
|
|
11943
|
-
{ internalType: "contract IFeeEscrow", name: "", type: "address" },
|
|
11944
|
-
],
|
|
11945
|
-
stateMutability: "view",
|
|
11946
12014
|
type: "function",
|
|
12015
|
+
name: "supportsInterface",
|
|
12016
|
+
inputs: [{ name: "interfaceId", type: "bytes4", internalType: "bytes4" }],
|
|
12017
|
+
outputs: [{ name: "", type: "bool", internalType: "bool" }],
|
|
12018
|
+
stateMutability: "view",
|
|
11947
12019
|
},
|
|
11948
12020
|
{
|
|
11949
|
-
inputs: [{ internalType: "bytes32", name: "role", type: "bytes32" }],
|
|
11950
|
-
name: "getRoleAdmin",
|
|
11951
|
-
outputs: [{ internalType: "bytes32", name: "", type: "bytes32" }],
|
|
11952
|
-
stateMutability: "view",
|
|
11953
12021
|
type: "function",
|
|
12022
|
+
name: "transferOwnership",
|
|
12023
|
+
inputs: [{ name: "newOwner", type: "address", internalType: "address" }],
|
|
12024
|
+
outputs: [],
|
|
12025
|
+
stateMutability: "payable",
|
|
11954
12026
|
},
|
|
11955
12027
|
{
|
|
12028
|
+
type: "function",
|
|
12029
|
+
name: "unapproveManager",
|
|
11956
12030
|
inputs: [
|
|
11957
|
-
{
|
|
11958
|
-
|
|
12031
|
+
{
|
|
12032
|
+
name: "_managerImplementation",
|
|
12033
|
+
type: "address",
|
|
12034
|
+
internalType: "address",
|
|
12035
|
+
},
|
|
11959
12036
|
],
|
|
11960
|
-
name: "grantRole",
|
|
11961
12037
|
outputs: [],
|
|
11962
12038
|
stateMutability: "nonpayable",
|
|
11963
|
-
type: "function",
|
|
11964
12039
|
},
|
|
11965
12040
|
{
|
|
12041
|
+
type: "event",
|
|
12042
|
+
name: "ManagerDeployed",
|
|
11966
12043
|
inputs: [
|
|
11967
|
-
{ internalType: "bytes32", name: "role", type: "bytes32" },
|
|
11968
|
-
{ internalType: "address", name: "account", type: "address" },
|
|
11969
|
-
],
|
|
11970
|
-
name: "hasRole",
|
|
11971
|
-
outputs: [{ internalType: "bool", name: "", type: "bool" }],
|
|
11972
|
-
stateMutability: "view",
|
|
11973
|
-
type: "function",
|
|
11974
|
-
},
|
|
11975
|
-
{
|
|
11976
|
-
inputs: [{ internalType: "address", name: "_manager", type: "address" }],
|
|
11977
|
-
name: "managerImplementation",
|
|
11978
|
-
outputs: [
|
|
11979
12044
|
{
|
|
12045
|
+
name: "_manager",
|
|
12046
|
+
type: "address",
|
|
12047
|
+
indexed: true,
|
|
11980
12048
|
internalType: "address",
|
|
12049
|
+
},
|
|
12050
|
+
{
|
|
11981
12051
|
name: "_managerImplementation",
|
|
11982
12052
|
type: "address",
|
|
12053
|
+
indexed: true,
|
|
12054
|
+
internalType: "address",
|
|
11983
12055
|
},
|
|
11984
12056
|
],
|
|
11985
|
-
|
|
11986
|
-
type: "function",
|
|
11987
|
-
},
|
|
11988
|
-
{
|
|
11989
|
-
inputs: [],
|
|
11990
|
-
name: "owner",
|
|
11991
|
-
outputs: [{ internalType: "address", name: "result", type: "address" }],
|
|
11992
|
-
stateMutability: "view",
|
|
11993
|
-
type: "function",
|
|
12057
|
+
anonymous: false,
|
|
11994
12058
|
},
|
|
11995
12059
|
{
|
|
12060
|
+
type: "event",
|
|
12061
|
+
name: "ManagerImplementationApproved",
|
|
11996
12062
|
inputs: [
|
|
11997
|
-
{
|
|
12063
|
+
{
|
|
12064
|
+
name: "_managerImplementation",
|
|
12065
|
+
type: "address",
|
|
12066
|
+
indexed: true,
|
|
12067
|
+
internalType: "address",
|
|
12068
|
+
},
|
|
11998
12069
|
],
|
|
11999
|
-
|
|
12000
|
-
outputs: [{ internalType: "uint256", name: "result", type: "uint256" }],
|
|
12001
|
-
stateMutability: "view",
|
|
12002
|
-
type: "function",
|
|
12070
|
+
anonymous: false,
|
|
12003
12071
|
},
|
|
12004
12072
|
{
|
|
12005
|
-
|
|
12006
|
-
name: "
|
|
12007
|
-
|
|
12008
|
-
|
|
12009
|
-
|
|
12073
|
+
type: "event",
|
|
12074
|
+
name: "ManagerImplementationUnapproved",
|
|
12075
|
+
inputs: [
|
|
12076
|
+
{
|
|
12077
|
+
name: "_managerImplementation",
|
|
12078
|
+
type: "address",
|
|
12079
|
+
indexed: true,
|
|
12080
|
+
internalType: "address",
|
|
12081
|
+
},
|
|
12082
|
+
],
|
|
12083
|
+
anonymous: false,
|
|
12010
12084
|
},
|
|
12011
12085
|
{
|
|
12086
|
+
type: "event",
|
|
12087
|
+
name: "OwnershipHandoverCanceled",
|
|
12012
12088
|
inputs: [
|
|
12013
|
-
{
|
|
12014
|
-
|
|
12089
|
+
{
|
|
12090
|
+
name: "pendingOwner",
|
|
12091
|
+
type: "address",
|
|
12092
|
+
indexed: true,
|
|
12093
|
+
internalType: "address",
|
|
12094
|
+
},
|
|
12015
12095
|
],
|
|
12016
|
-
|
|
12017
|
-
outputs: [],
|
|
12018
|
-
stateMutability: "nonpayable",
|
|
12019
|
-
type: "function",
|
|
12096
|
+
anonymous: false,
|
|
12020
12097
|
},
|
|
12021
12098
|
{
|
|
12022
|
-
|
|
12023
|
-
name: "
|
|
12024
|
-
|
|
12025
|
-
|
|
12026
|
-
|
|
12099
|
+
type: "event",
|
|
12100
|
+
name: "OwnershipHandoverRequested",
|
|
12101
|
+
inputs: [
|
|
12102
|
+
{
|
|
12103
|
+
name: "pendingOwner",
|
|
12104
|
+
type: "address",
|
|
12105
|
+
indexed: true,
|
|
12106
|
+
internalType: "address",
|
|
12107
|
+
},
|
|
12108
|
+
],
|
|
12109
|
+
anonymous: false,
|
|
12027
12110
|
},
|
|
12028
12111
|
{
|
|
12112
|
+
type: "event",
|
|
12113
|
+
name: "OwnershipTransferred",
|
|
12029
12114
|
inputs: [
|
|
12030
|
-
{
|
|
12031
|
-
|
|
12115
|
+
{
|
|
12116
|
+
name: "oldOwner",
|
|
12117
|
+
type: "address",
|
|
12118
|
+
indexed: true,
|
|
12119
|
+
internalType: "address",
|
|
12120
|
+
},
|
|
12121
|
+
{
|
|
12122
|
+
name: "newOwner",
|
|
12123
|
+
type: "address",
|
|
12124
|
+
indexed: true,
|
|
12125
|
+
internalType: "address",
|
|
12126
|
+
},
|
|
12032
12127
|
],
|
|
12033
|
-
|
|
12034
|
-
outputs: [],
|
|
12035
|
-
stateMutability: "nonpayable",
|
|
12036
|
-
type: "function",
|
|
12128
|
+
anonymous: false,
|
|
12037
12129
|
},
|
|
12038
12130
|
{
|
|
12039
|
-
|
|
12040
|
-
name: "
|
|
12041
|
-
|
|
12042
|
-
|
|
12043
|
-
|
|
12131
|
+
type: "event",
|
|
12132
|
+
name: "RoleAdminChanged",
|
|
12133
|
+
inputs: [
|
|
12134
|
+
{
|
|
12135
|
+
name: "role",
|
|
12136
|
+
type: "bytes32",
|
|
12137
|
+
indexed: true,
|
|
12138
|
+
internalType: "bytes32",
|
|
12139
|
+
},
|
|
12140
|
+
{
|
|
12141
|
+
name: "previousAdminRole",
|
|
12142
|
+
type: "bytes32",
|
|
12143
|
+
indexed: true,
|
|
12144
|
+
internalType: "bytes32",
|
|
12145
|
+
},
|
|
12146
|
+
{
|
|
12147
|
+
name: "newAdminRole",
|
|
12148
|
+
type: "bytes32",
|
|
12149
|
+
indexed: true,
|
|
12150
|
+
internalType: "bytes32",
|
|
12151
|
+
},
|
|
12152
|
+
],
|
|
12153
|
+
anonymous: false,
|
|
12044
12154
|
},
|
|
12045
12155
|
{
|
|
12046
|
-
|
|
12047
|
-
name: "
|
|
12048
|
-
|
|
12049
|
-
|
|
12050
|
-
|
|
12156
|
+
type: "event",
|
|
12157
|
+
name: "RoleGranted",
|
|
12158
|
+
inputs: [
|
|
12159
|
+
{
|
|
12160
|
+
name: "role",
|
|
12161
|
+
type: "bytes32",
|
|
12162
|
+
indexed: true,
|
|
12163
|
+
internalType: "bytes32",
|
|
12164
|
+
},
|
|
12165
|
+
{
|
|
12166
|
+
name: "account",
|
|
12167
|
+
type: "address",
|
|
12168
|
+
indexed: true,
|
|
12169
|
+
internalType: "address",
|
|
12170
|
+
},
|
|
12171
|
+
{
|
|
12172
|
+
name: "sender",
|
|
12173
|
+
type: "address",
|
|
12174
|
+
indexed: true,
|
|
12175
|
+
internalType: "address",
|
|
12176
|
+
},
|
|
12177
|
+
],
|
|
12178
|
+
anonymous: false,
|
|
12051
12179
|
},
|
|
12052
12180
|
{
|
|
12181
|
+
type: "event",
|
|
12182
|
+
name: "RoleRevoked",
|
|
12053
12183
|
inputs: [
|
|
12054
12184
|
{
|
|
12185
|
+
name: "role",
|
|
12186
|
+
type: "bytes32",
|
|
12187
|
+
indexed: true,
|
|
12188
|
+
internalType: "bytes32",
|
|
12189
|
+
},
|
|
12190
|
+
{
|
|
12191
|
+
name: "account",
|
|
12192
|
+
type: "address",
|
|
12193
|
+
indexed: true,
|
|
12055
12194
|
internalType: "address",
|
|
12056
|
-
|
|
12195
|
+
},
|
|
12196
|
+
{
|
|
12197
|
+
name: "sender",
|
|
12057
12198
|
type: "address",
|
|
12199
|
+
indexed: true,
|
|
12200
|
+
internalType: "address",
|
|
12058
12201
|
},
|
|
12059
12202
|
],
|
|
12060
|
-
|
|
12061
|
-
|
|
12062
|
-
|
|
12063
|
-
|
|
12203
|
+
anonymous: false,
|
|
12204
|
+
},
|
|
12205
|
+
{ type: "error", name: "AccessControlBadConfirmation", inputs: [] },
|
|
12206
|
+
{
|
|
12207
|
+
type: "error",
|
|
12208
|
+
name: "AccessControlUnauthorizedAccount",
|
|
12209
|
+
inputs: [
|
|
12210
|
+
{ name: "account", type: "address", internalType: "address" },
|
|
12211
|
+
{ name: "neededRole", type: "bytes32", internalType: "bytes32" },
|
|
12212
|
+
],
|
|
12064
12213
|
},
|
|
12214
|
+
{ type: "error", name: "AlreadyInitialized", inputs: [] },
|
|
12215
|
+
{ type: "error", name: "NewOwnerIsZeroAddress", inputs: [] },
|
|
12216
|
+
{ type: "error", name: "NoHandoverRequest", inputs: [] },
|
|
12217
|
+
{ type: "error", name: "Unauthorized", inputs: [] },
|
|
12218
|
+
{ type: "error", name: "UnknownManagerImplemention", inputs: [] },
|
|
12065
12219
|
];
|
|
12066
12220
|
|
|
12067
12221
|
const UniversalRouterAbi = [
|