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