@flaunch/sdk 0.8.2 → 0.8.3-beta.0
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 +106 -102
- 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 +268 -242
- package/dist/abi/TreasuryManagerFactory.d.ts.map +1 -1
- package/dist/abi/index.cjs +476 -322
- package/dist/abi/index.cjs.map +1 -1
- package/dist/abi/index.js +476 -322
- 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 +8 -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 +34 -7
- 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 +935 -381
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +933 -383
- 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,336 @@ 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",
|
|
7683
|
-
type: "function",
|
|
7684
7699
|
},
|
|
7685
7700
|
{
|
|
7686
|
-
|
|
7701
|
+
type: "function",
|
|
7687
7702
|
name: "flETH",
|
|
7688
|
-
|
|
7703
|
+
inputs: [],
|
|
7704
|
+
outputs: [{ name: "", type: "address", internalType: "contract IFLETH" }],
|
|
7689
7705
|
stateMutability: "view",
|
|
7690
|
-
type: "function",
|
|
7691
7706
|
},
|
|
7692
7707
|
{
|
|
7708
|
+
type: "function",
|
|
7709
|
+
name: "flaunch",
|
|
7693
7710
|
inputs: [
|
|
7694
7711
|
{
|
|
7712
|
+
name: "_flaunchParams",
|
|
7713
|
+
type: "tuple",
|
|
7714
|
+
internalType: "struct PositionManager.FlaunchParams",
|
|
7695
7715
|
components: [
|
|
7696
|
-
{
|
|
7697
|
-
{
|
|
7698
|
-
{
|
|
7716
|
+
{ name: "name", type: "string", internalType: "string" },
|
|
7717
|
+
{ name: "symbol", type: "string", internalType: "string" },
|
|
7718
|
+
{ name: "tokenUri", type: "string", internalType: "string" },
|
|
7699
7719
|
{
|
|
7700
|
-
internalType: "uint256",
|
|
7701
7720
|
name: "initialTokenFairLaunch",
|
|
7702
7721
|
type: "uint256",
|
|
7722
|
+
internalType: "uint256",
|
|
7703
7723
|
},
|
|
7704
7724
|
{
|
|
7705
|
-
internalType: "uint256",
|
|
7706
7725
|
name: "fairLaunchDuration",
|
|
7707
7726
|
type: "uint256",
|
|
7727
|
+
internalType: "uint256",
|
|
7708
7728
|
},
|
|
7709
|
-
{ internalType: "uint256", name: "premineAmount", type: "uint256" },
|
|
7710
|
-
{ internalType: "address", name: "creator", type: "address" },
|
|
7711
7729
|
{
|
|
7712
|
-
|
|
7730
|
+
name: "premineAmount",
|
|
7731
|
+
type: "uint256",
|
|
7732
|
+
internalType: "uint256",
|
|
7733
|
+
},
|
|
7734
|
+
{ name: "creator", type: "address", internalType: "address" },
|
|
7735
|
+
{
|
|
7713
7736
|
name: "creatorFeeAllocation",
|
|
7714
7737
|
type: "uint24",
|
|
7738
|
+
internalType: "uint24",
|
|
7739
|
+
},
|
|
7740
|
+
{
|
|
7741
|
+
name: "flaunchAt",
|
|
7742
|
+
type: "uint256",
|
|
7743
|
+
internalType: "uint256",
|
|
7744
|
+
},
|
|
7745
|
+
{
|
|
7746
|
+
name: "initialPriceParams",
|
|
7747
|
+
type: "bytes",
|
|
7748
|
+
internalType: "bytes",
|
|
7749
|
+
},
|
|
7750
|
+
{
|
|
7751
|
+
name: "feeCalculatorParams",
|
|
7752
|
+
type: "bytes",
|
|
7753
|
+
internalType: "bytes",
|
|
7715
7754
|
},
|
|
7716
|
-
{ internalType: "uint256", name: "flaunchAt", type: "uint256" },
|
|
7717
|
-
{ internalType: "bytes", name: "initialPriceParams", type: "bytes" },
|
|
7718
|
-
{ internalType: "bytes", name: "feeCalculatorParams", type: "bytes" },
|
|
7719
7755
|
],
|
|
7720
|
-
internalType: "struct PositionManager.FlaunchParams",
|
|
7721
|
-
name: "_flaunchParams",
|
|
7722
|
-
type: "tuple",
|
|
7723
7756
|
},
|
|
7724
7757
|
],
|
|
7725
|
-
name: "flaunch",
|
|
7726
7758
|
outputs: [
|
|
7727
|
-
{
|
|
7728
|
-
{
|
|
7729
|
-
{
|
|
7759
|
+
{ name: "memecoin_", type: "address", internalType: "address" },
|
|
7760
|
+
{ name: "ethSpent_", type: "uint256", internalType: "uint256" },
|
|
7761
|
+
{ name: "", type: "address", internalType: "address" },
|
|
7730
7762
|
],
|
|
7731
7763
|
stateMutability: "payable",
|
|
7732
|
-
type: "function",
|
|
7733
7764
|
},
|
|
7734
7765
|
{
|
|
7766
|
+
type: "function",
|
|
7767
|
+
name: "flaunch",
|
|
7735
7768
|
inputs: [
|
|
7736
7769
|
{
|
|
7770
|
+
name: "_flaunchParams",
|
|
7771
|
+
type: "tuple",
|
|
7772
|
+
internalType: "struct PositionManager.FlaunchParams",
|
|
7737
7773
|
components: [
|
|
7738
|
-
{
|
|
7739
|
-
{
|
|
7740
|
-
{
|
|
7774
|
+
{ name: "name", type: "string", internalType: "string" },
|
|
7775
|
+
{ name: "symbol", type: "string", internalType: "string" },
|
|
7776
|
+
{ name: "tokenUri", type: "string", internalType: "string" },
|
|
7741
7777
|
{
|
|
7742
|
-
internalType: "uint256",
|
|
7743
7778
|
name: "initialTokenFairLaunch",
|
|
7744
7779
|
type: "uint256",
|
|
7780
|
+
internalType: "uint256",
|
|
7745
7781
|
},
|
|
7746
7782
|
{
|
|
7747
|
-
internalType: "uint256",
|
|
7748
7783
|
name: "fairLaunchDuration",
|
|
7749
7784
|
type: "uint256",
|
|
7785
|
+
internalType: "uint256",
|
|
7786
|
+
},
|
|
7787
|
+
{
|
|
7788
|
+
name: "premineAmount",
|
|
7789
|
+
type: "uint256",
|
|
7790
|
+
internalType: "uint256",
|
|
7750
7791
|
},
|
|
7751
|
-
{
|
|
7752
|
-
{ internalType: "address", name: "creator", type: "address" },
|
|
7792
|
+
{ name: "creator", type: "address", internalType: "address" },
|
|
7753
7793
|
{
|
|
7754
|
-
internalType: "uint24",
|
|
7755
7794
|
name: "creatorFeeAllocation",
|
|
7756
7795
|
type: "uint24",
|
|
7796
|
+
internalType: "uint24",
|
|
7797
|
+
},
|
|
7798
|
+
{
|
|
7799
|
+
name: "flaunchAt",
|
|
7800
|
+
type: "uint256",
|
|
7801
|
+
internalType: "uint256",
|
|
7802
|
+
},
|
|
7803
|
+
{
|
|
7804
|
+
name: "initialPriceParams",
|
|
7805
|
+
type: "bytes",
|
|
7806
|
+
internalType: "bytes",
|
|
7807
|
+
},
|
|
7808
|
+
{
|
|
7809
|
+
name: "feeCalculatorParams",
|
|
7810
|
+
type: "bytes",
|
|
7811
|
+
internalType: "bytes",
|
|
7757
7812
|
},
|
|
7758
|
-
{ internalType: "uint256", name: "flaunchAt", type: "uint256" },
|
|
7759
|
-
{ internalType: "bytes", name: "initialPriceParams", type: "bytes" },
|
|
7760
|
-
{ internalType: "bytes", name: "feeCalculatorParams", type: "bytes" },
|
|
7761
7813
|
],
|
|
7762
|
-
internalType: "struct PositionManager.FlaunchParams",
|
|
7763
|
-
name: "_flaunchParams",
|
|
7764
|
-
type: "tuple",
|
|
7765
7814
|
},
|
|
7766
7815
|
{
|
|
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
7816
|
name: "_whitelistParams",
|
|
7774
7817
|
type: "tuple",
|
|
7775
|
-
|
|
7776
|
-
{
|
|
7818
|
+
internalType: "struct FlaunchZap.WhitelistParams",
|
|
7777
7819
|
components: [
|
|
7778
|
-
{
|
|
7779
|
-
|
|
7780
|
-
|
|
7781
|
-
|
|
7782
|
-
|
|
7820
|
+
{
|
|
7821
|
+
name: "merkleRoot",
|
|
7822
|
+
type: "bytes32",
|
|
7823
|
+
internalType: "bytes32",
|
|
7824
|
+
},
|
|
7825
|
+
{
|
|
7826
|
+
name: "merkleIPFSHash",
|
|
7827
|
+
type: "string",
|
|
7828
|
+
internalType: "string",
|
|
7829
|
+
},
|
|
7830
|
+
{
|
|
7831
|
+
name: "maxTokens",
|
|
7832
|
+
type: "uint256",
|
|
7833
|
+
internalType: "uint256",
|
|
7834
|
+
},
|
|
7783
7835
|
],
|
|
7784
|
-
internalType: "struct FlaunchZap.AirdropParams",
|
|
7785
|
-
name: "_airdropParams",
|
|
7786
|
-
type: "tuple",
|
|
7787
7836
|
},
|
|
7788
7837
|
{
|
|
7838
|
+
name: "_airdropParams",
|
|
7839
|
+
type: "tuple",
|
|
7840
|
+
internalType: "struct FlaunchZap.AirdropParams",
|
|
7789
7841
|
components: [
|
|
7790
|
-
{
|
|
7791
|
-
|
|
7792
|
-
|
|
7842
|
+
{
|
|
7843
|
+
name: "airdropIndex",
|
|
7844
|
+
type: "uint256",
|
|
7845
|
+
internalType: "uint256",
|
|
7846
|
+
},
|
|
7847
|
+
{
|
|
7848
|
+
name: "airdropAmount",
|
|
7849
|
+
type: "uint256",
|
|
7850
|
+
internalType: "uint256",
|
|
7851
|
+
},
|
|
7852
|
+
{
|
|
7853
|
+
name: "airdropEndTime",
|
|
7854
|
+
type: "uint256",
|
|
7855
|
+
internalType: "uint256",
|
|
7856
|
+
},
|
|
7857
|
+
{
|
|
7858
|
+
name: "merkleRoot",
|
|
7859
|
+
type: "bytes32",
|
|
7860
|
+
internalType: "bytes32",
|
|
7861
|
+
},
|
|
7862
|
+
{
|
|
7863
|
+
name: "merkleIPFSHash",
|
|
7864
|
+
type: "string",
|
|
7865
|
+
internalType: "string",
|
|
7866
|
+
},
|
|
7793
7867
|
],
|
|
7794
|
-
|
|
7868
|
+
},
|
|
7869
|
+
{
|
|
7795
7870
|
name: "_treasuryManagerParams",
|
|
7796
7871
|
type: "tuple",
|
|
7872
|
+
internalType: "struct FlaunchZap.TreasuryManagerParams",
|
|
7873
|
+
components: [
|
|
7874
|
+
{ name: "manager", type: "address", internalType: "address" },
|
|
7875
|
+
{
|
|
7876
|
+
name: "permissions",
|
|
7877
|
+
type: "address",
|
|
7878
|
+
internalType: "address",
|
|
7879
|
+
},
|
|
7880
|
+
{
|
|
7881
|
+
name: "initializeData",
|
|
7882
|
+
type: "bytes",
|
|
7883
|
+
internalType: "bytes",
|
|
7884
|
+
},
|
|
7885
|
+
{ name: "depositData", type: "bytes", internalType: "bytes" },
|
|
7886
|
+
],
|
|
7797
7887
|
},
|
|
7798
7888
|
],
|
|
7799
|
-
name: "flaunch",
|
|
7800
7889
|
outputs: [
|
|
7801
|
-
{
|
|
7802
|
-
{
|
|
7803
|
-
{
|
|
7890
|
+
{ name: "memecoin_", type: "address", internalType: "address" },
|
|
7891
|
+
{ name: "ethSpent_", type: "uint256", internalType: "uint256" },
|
|
7892
|
+
{
|
|
7893
|
+
name: "deployedManager_",
|
|
7894
|
+
type: "address",
|
|
7895
|
+
internalType: "address",
|
|
7896
|
+
},
|
|
7804
7897
|
],
|
|
7805
7898
|
stateMutability: "payable",
|
|
7806
|
-
type: "function",
|
|
7807
7899
|
},
|
|
7808
7900
|
{
|
|
7809
|
-
|
|
7901
|
+
type: "function",
|
|
7810
7902
|
name: "flaunchContract",
|
|
7811
|
-
|
|
7903
|
+
inputs: [],
|
|
7904
|
+
outputs: [{ name: "", type: "address", internalType: "contract Flaunch" }],
|
|
7812
7905
|
stateMutability: "view",
|
|
7813
|
-
type: "function",
|
|
7814
7906
|
},
|
|
7815
7907
|
{
|
|
7816
|
-
|
|
7908
|
+
type: "function",
|
|
7817
7909
|
name: "merkleAirdrop",
|
|
7910
|
+
inputs: [],
|
|
7818
7911
|
outputs: [
|
|
7819
|
-
{
|
|
7912
|
+
{
|
|
7913
|
+
name: "",
|
|
7914
|
+
type: "address",
|
|
7915
|
+
internalType: "contract IMerkleAirdrop",
|
|
7916
|
+
},
|
|
7820
7917
|
],
|
|
7821
7918
|
stateMutability: "view",
|
|
7822
|
-
type: "function",
|
|
7823
7919
|
},
|
|
7824
7920
|
{
|
|
7825
|
-
|
|
7921
|
+
type: "function",
|
|
7826
7922
|
name: "poolSwap",
|
|
7827
|
-
|
|
7923
|
+
inputs: [],
|
|
7924
|
+
outputs: [{ name: "", type: "address", internalType: "contract PoolSwap" }],
|
|
7828
7925
|
stateMutability: "view",
|
|
7829
|
-
type: "function",
|
|
7830
7926
|
},
|
|
7831
7927
|
{
|
|
7832
|
-
|
|
7928
|
+
type: "function",
|
|
7833
7929
|
name: "positionManager",
|
|
7930
|
+
inputs: [],
|
|
7834
7931
|
outputs: [
|
|
7835
|
-
{
|
|
7932
|
+
{
|
|
7933
|
+
name: "",
|
|
7934
|
+
type: "address",
|
|
7935
|
+
internalType: "contract PositionManager",
|
|
7936
|
+
},
|
|
7836
7937
|
],
|
|
7837
7938
|
stateMutability: "view",
|
|
7838
|
-
type: "function",
|
|
7839
7939
|
},
|
|
7840
7940
|
{
|
|
7841
|
-
|
|
7941
|
+
type: "function",
|
|
7842
7942
|
name: "treasuryManagerFactory",
|
|
7943
|
+
inputs: [],
|
|
7843
7944
|
outputs: [
|
|
7844
7945
|
{
|
|
7845
|
-
internalType: "contract ITreasuryManagerFactory",
|
|
7846
7946
|
name: "",
|
|
7847
7947
|
type: "address",
|
|
7948
|
+
internalType: "contract ITreasuryManagerFactory",
|
|
7848
7949
|
},
|
|
7849
7950
|
],
|
|
7850
7951
|
stateMutability: "view",
|
|
7851
|
-
type: "function",
|
|
7852
7952
|
},
|
|
7853
7953
|
{
|
|
7854
|
-
|
|
7954
|
+
type: "function",
|
|
7855
7955
|
name: "whitelistFairLaunch",
|
|
7956
|
+
inputs: [],
|
|
7856
7957
|
outputs: [
|
|
7857
7958
|
{
|
|
7858
|
-
internalType: "contract WhitelistFairLaunch",
|
|
7859
7959
|
name: "",
|
|
7860
7960
|
type: "address",
|
|
7961
|
+
internalType: "contract WhitelistFairLaunch",
|
|
7861
7962
|
},
|
|
7862
7963
|
],
|
|
7863
7964
|
stateMutability: "view",
|
|
7864
|
-
type: "function",
|
|
7865
7965
|
},
|
|
7866
|
-
{
|
|
7966
|
+
{ type: "error", name: "CreatorCannotBeZero", inputs: [] },
|
|
7967
|
+
{ type: "error", name: "InsufficientMemecoinsForAirdrop", inputs: [] },
|
|
7867
7968
|
];
|
|
7868
7969
|
|
|
7869
7970
|
const InitialPriceAbi = [
|
|
@@ -11684,384 +11785,437 @@ const StateViewAbi = [
|
|
|
11684
11785
|
|
|
11685
11786
|
const TreasuryManagerFactoryAbi = [
|
|
11686
11787
|
{
|
|
11788
|
+
type: "constructor",
|
|
11687
11789
|
inputs: [
|
|
11688
|
-
{
|
|
11689
|
-
|
|
11790
|
+
{
|
|
11791
|
+
name: "_protocolOwner",
|
|
11792
|
+
type: "address",
|
|
11793
|
+
internalType: "address",
|
|
11794
|
+
},
|
|
11795
|
+
{ name: "_feeEscrow", type: "address", internalType: "address" },
|
|
11690
11796
|
],
|
|
11691
11797
|
stateMutability: "nonpayable",
|
|
11692
|
-
type: "constructor",
|
|
11693
11798
|
},
|
|
11694
|
-
{ inputs: [], name: "AccessControlBadConfirmation", type: "error" },
|
|
11695
11799
|
{
|
|
11696
|
-
|
|
11697
|
-
|
|
11698
|
-
|
|
11699
|
-
],
|
|
11700
|
-
|
|
11701
|
-
type: "error",
|
|
11800
|
+
type: "function",
|
|
11801
|
+
name: "DEFAULT_ADMIN_ROLE",
|
|
11802
|
+
inputs: [],
|
|
11803
|
+
outputs: [{ name: "", type: "bytes32", internalType: "bytes32" }],
|
|
11804
|
+
stateMutability: "view",
|
|
11702
11805
|
},
|
|
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
11806
|
{
|
|
11709
|
-
|
|
11807
|
+
type: "function",
|
|
11808
|
+
name: "approveManager",
|
|
11710
11809
|
inputs: [
|
|
11711
11810
|
{
|
|
11712
|
-
indexed: true,
|
|
11713
|
-
internalType: "address",
|
|
11714
|
-
name: "_manager",
|
|
11715
|
-
type: "address",
|
|
11716
|
-
},
|
|
11717
|
-
{
|
|
11718
|
-
indexed: true,
|
|
11719
|
-
internalType: "address",
|
|
11720
11811
|
name: "_managerImplementation",
|
|
11721
11812
|
type: "address",
|
|
11813
|
+
internalType: "address",
|
|
11722
11814
|
},
|
|
11723
11815
|
],
|
|
11724
|
-
|
|
11725
|
-
|
|
11816
|
+
outputs: [],
|
|
11817
|
+
stateMutability: "nonpayable",
|
|
11726
11818
|
},
|
|
11727
11819
|
{
|
|
11728
|
-
|
|
11820
|
+
type: "function",
|
|
11821
|
+
name: "approvedManagerImplementation",
|
|
11729
11822
|
inputs: [
|
|
11730
11823
|
{
|
|
11731
|
-
indexed: true,
|
|
11732
|
-
internalType: "address",
|
|
11733
11824
|
name: "_managerImplementation",
|
|
11734
11825
|
type: "address",
|
|
11735
|
-
},
|
|
11736
|
-
],
|
|
11737
|
-
name: "ManagerImplementationApproved",
|
|
11738
|
-
type: "event",
|
|
11739
|
-
},
|
|
11740
|
-
{
|
|
11741
|
-
anonymous: false,
|
|
11742
|
-
inputs: [
|
|
11743
|
-
{
|
|
11744
|
-
indexed: true,
|
|
11745
11826
|
internalType: "address",
|
|
11746
|
-
name: "_managerImplementation",
|
|
11747
|
-
type: "address",
|
|
11748
11827
|
},
|
|
11749
11828
|
],
|
|
11750
|
-
name: "
|
|
11751
|
-
|
|
11829
|
+
outputs: [{ name: "_approved", type: "bool", internalType: "bool" }],
|
|
11830
|
+
stateMutability: "view",
|
|
11752
11831
|
},
|
|
11753
11832
|
{
|
|
11754
|
-
|
|
11755
|
-
|
|
11756
|
-
|
|
11757
|
-
|
|
11758
|
-
|
|
11759
|
-
name: "pendingOwner",
|
|
11760
|
-
type: "address",
|
|
11761
|
-
},
|
|
11762
|
-
],
|
|
11763
|
-
name: "OwnershipHandoverCanceled",
|
|
11764
|
-
type: "event",
|
|
11833
|
+
type: "function",
|
|
11834
|
+
name: "cancelOwnershipHandover",
|
|
11835
|
+
inputs: [],
|
|
11836
|
+
outputs: [],
|
|
11837
|
+
stateMutability: "payable",
|
|
11765
11838
|
},
|
|
11766
11839
|
{
|
|
11767
|
-
|
|
11840
|
+
type: "function",
|
|
11841
|
+
name: "completeOwnershipHandover",
|
|
11768
11842
|
inputs: [
|
|
11769
|
-
{
|
|
11770
|
-
indexed: true,
|
|
11771
|
-
internalType: "address",
|
|
11772
|
-
name: "pendingOwner",
|
|
11773
|
-
type: "address",
|
|
11774
|
-
},
|
|
11843
|
+
{ name: "pendingOwner", type: "address", internalType: "address" },
|
|
11775
11844
|
],
|
|
11776
|
-
|
|
11777
|
-
|
|
11845
|
+
outputs: [],
|
|
11846
|
+
stateMutability: "payable",
|
|
11778
11847
|
},
|
|
11779
11848
|
{
|
|
11780
|
-
|
|
11849
|
+
type: "function",
|
|
11850
|
+
name: "deployAndInitializeManager",
|
|
11781
11851
|
inputs: [
|
|
11782
11852
|
{
|
|
11783
|
-
|
|
11784
|
-
internalType: "address",
|
|
11785
|
-
name: "oldOwner",
|
|
11853
|
+
name: "_managerImplementation",
|
|
11786
11854
|
type: "address",
|
|
11787
|
-
},
|
|
11788
|
-
{
|
|
11789
|
-
indexed: true,
|
|
11790
11855
|
internalType: "address",
|
|
11791
|
-
name: "newOwner",
|
|
11792
|
-
type: "address",
|
|
11793
11856
|
},
|
|
11857
|
+
{ name: "_owner", type: "address", internalType: "address" },
|
|
11858
|
+
{ name: "_data", type: "bytes", internalType: "bytes" },
|
|
11794
11859
|
],
|
|
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
|
-
},
|
|
11860
|
+
outputs: [
|
|
11808
11861
|
{
|
|
11809
|
-
|
|
11810
|
-
|
|
11811
|
-
|
|
11812
|
-
type: "bytes32",
|
|
11862
|
+
name: "manager_",
|
|
11863
|
+
type: "address",
|
|
11864
|
+
internalType: "address payable",
|
|
11813
11865
|
},
|
|
11814
11866
|
],
|
|
11815
|
-
|
|
11816
|
-
type: "event",
|
|
11867
|
+
stateMutability: "nonpayable",
|
|
11817
11868
|
},
|
|
11818
11869
|
{
|
|
11819
|
-
|
|
11870
|
+
type: "function",
|
|
11871
|
+
name: "deployAndInitializeManager",
|
|
11820
11872
|
inputs: [
|
|
11821
|
-
{ indexed: true, internalType: "bytes32", name: "role", type: "bytes32" },
|
|
11822
11873
|
{
|
|
11823
|
-
|
|
11824
|
-
internalType: "address",
|
|
11825
|
-
name: "account",
|
|
11874
|
+
name: "_managerImplementation",
|
|
11826
11875
|
type: "address",
|
|
11876
|
+
internalType: "address",
|
|
11827
11877
|
},
|
|
11878
|
+
{ name: "_owner", type: "address", internalType: "address" },
|
|
11879
|
+
{ name: "_data", type: "bytes", internalType: "bytes" },
|
|
11880
|
+
{ name: "_permissions", type: "address", internalType: "address" },
|
|
11881
|
+
],
|
|
11882
|
+
outputs: [
|
|
11828
11883
|
{
|
|
11829
|
-
|
|
11830
|
-
internalType: "address",
|
|
11831
|
-
name: "sender",
|
|
11884
|
+
name: "manager_",
|
|
11832
11885
|
type: "address",
|
|
11886
|
+
internalType: "address payable",
|
|
11833
11887
|
},
|
|
11834
11888
|
],
|
|
11835
|
-
|
|
11836
|
-
type: "event",
|
|
11889
|
+
stateMutability: "nonpayable",
|
|
11837
11890
|
},
|
|
11838
11891
|
{
|
|
11839
|
-
|
|
11892
|
+
type: "function",
|
|
11893
|
+
name: "deployManager",
|
|
11840
11894
|
inputs: [
|
|
11841
|
-
{ indexed: true, internalType: "bytes32", name: "role", type: "bytes32" },
|
|
11842
11895
|
{
|
|
11843
|
-
|
|
11844
|
-
internalType: "address",
|
|
11845
|
-
name: "account",
|
|
11896
|
+
name: "_managerImplementation",
|
|
11846
11897
|
type: "address",
|
|
11898
|
+
internalType: "address",
|
|
11847
11899
|
},
|
|
11900
|
+
],
|
|
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 = [
|