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