@celo/abis
Advanced tools
Comparing version 12.0.0-canary.42 to 12.0.0-canary.43
@@ -14,2 +14,32 @@ "use strict"; | ||
anonymous: false, | ||
inputs: [{ name: 'beneficiary', internalType: 'address', type: 'address', indexed: false }], | ||
name: 'BeneficiaryAdded', | ||
}, | ||
{ | ||
type: 'event', | ||
anonymous: false, | ||
inputs: [ | ||
{ name: 'beneficiary', internalType: 'address', type: 'address', indexed: false }, | ||
{ name: 'fraction', internalType: 'uint256', type: 'uint256', indexed: false }, | ||
], | ||
name: 'BeneficiaryFractionSet', | ||
}, | ||
{ | ||
type: 'event', | ||
anonymous: false, | ||
inputs: [ | ||
{ name: 'beneficiary', internalType: 'address', type: 'address', indexed: false }, | ||
{ name: 'name', internalType: 'string', type: 'string', indexed: false }, | ||
], | ||
name: 'BeneficiaryNameSet', | ||
}, | ||
{ | ||
type: 'event', | ||
anonymous: false, | ||
inputs: [{ name: 'beneficiary', internalType: 'address', type: 'address', indexed: false }], | ||
name: 'BeneficiaryRemoved', | ||
}, | ||
{ | ||
type: 'event', | ||
anonymous: false, | ||
inputs: [{ name: 'fraction', internalType: 'uint256', type: 'uint256', indexed: false }], | ||
@@ -21,2 +51,8 @@ name: 'BurnFractionSet', | ||
anonymous: false, | ||
inputs: [{ name: 'fraction', internalType: 'uint256', type: 'uint256', indexed: false }], | ||
name: 'CarbonFractionSet', | ||
}, | ||
{ | ||
type: 'event', | ||
anonymous: false, | ||
inputs: [ | ||
@@ -46,2 +82,11 @@ { name: 'token', internalType: 'address', type: 'address', indexed: false }, | ||
anonymous: false, | ||
inputs: [ | ||
{ name: 'tokenAddress', internalType: 'address', type: 'address', indexed: false }, | ||
{ name: 'amount', internalType: 'uint256', type: 'uint256', indexed: false }, | ||
], | ||
name: 'DistributionAmountSet', | ||
}, | ||
{ | ||
type: 'event', | ||
anonymous: false, | ||
inputs: [{ name: 'newBeneficiary', internalType: 'address', type: 'address', indexed: false }], | ||
@@ -123,11 +168,2 @@ name: 'FeeBeneficiarySet', | ||
inputs: [], | ||
name: 'burnFraction', | ||
outputs: [{ name: 'value', internalType: 'uint256', type: 'uint256' }], | ||
}, | ||
{ | ||
constant: true, | ||
payable: false, | ||
stateMutability: 'view', | ||
type: 'function', | ||
inputs: [], | ||
name: 'celoToBeBurned', | ||
@@ -142,3 +178,3 @@ outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], | ||
inputs: [], | ||
name: 'feeBeneficiary', | ||
name: 'ignoreRenaming_carbonFeeBeneficiary', | ||
outputs: [{ name: '', internalType: 'address', type: 'address' }], | ||
@@ -170,11 +206,2 @@ }, | ||
inputs: [], | ||
name: 'lastLimitDay', | ||
outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], | ||
}, | ||
{ | ||
constant: true, | ||
payable: false, | ||
stateMutability: 'view', | ||
type: 'function', | ||
inputs: [], | ||
name: 'owner', | ||
@@ -227,3 +254,3 @@ outputs: [{ name: '', internalType: 'address', type: 'address' }], | ||
{ name: 'newFeeBeneficiary', internalType: 'address', type: 'address' }, | ||
{ name: 'newBurnFraction', internalType: 'uint256', type: 'uint256' }, | ||
{ name: 'newCarbonFraction', internalType: 'uint256', type: 'uint256' }, | ||
{ name: 'tokens', internalType: 'address[]', type: 'address[]' }, | ||
@@ -242,4 +269,38 @@ { name: 'handlers', internalType: 'address[]', type: 'address[]' }, | ||
type: 'function', | ||
inputs: [{ name: 'newFraction', internalType: 'uint256', type: 'uint256' }], | ||
name: 'setCarbonFraction', | ||
outputs: [], | ||
}, | ||
{ | ||
constant: false, | ||
payable: false, | ||
stateMutability: 'nonpayable', | ||
type: 'function', | ||
inputs: [ | ||
{ name: 'beneficiary', internalType: 'address', type: 'address' }, | ||
{ name: '_newFraction', internalType: 'uint256', type: 'uint256' }, | ||
], | ||
name: 'changeOtherBeneficiaryAllocation', | ||
outputs: [], | ||
}, | ||
{ | ||
constant: false, | ||
payable: false, | ||
stateMutability: 'nonpayable', | ||
type: 'function', | ||
inputs: [ | ||
{ name: 'beneficiary', internalType: 'address', type: 'address' }, | ||
{ name: '_newFraction', internalType: 'uint256', type: 'uint256' }, | ||
{ name: 'name', internalType: 'string', type: 'string' }, | ||
], | ||
name: 'addOtherBeneficiary', | ||
outputs: [], | ||
}, | ||
{ | ||
constant: false, | ||
payable: false, | ||
stateMutability: 'nonpayable', | ||
type: 'function', | ||
inputs: [{ name: 'beneficiary', internalType: 'address', type: 'address' }], | ||
name: 'setFeeBeneficiary', | ||
name: 'removeOtherBeneficiary', | ||
outputs: [], | ||
@@ -252,4 +313,7 @@ }, | ||
type: 'function', | ||
inputs: [{ name: 'fraction', internalType: 'uint256', type: 'uint256' }], | ||
name: 'setBurnFraction', | ||
inputs: [ | ||
{ name: 'beneficiaryAddress', internalType: 'address', type: 'address' }, | ||
{ name: '_newFraction', internalType: 'uint256', type: 'uint256' }, | ||
], | ||
name: 'setBeneficiaryFraction', | ||
outputs: [], | ||
@@ -262,2 +326,23 @@ }, | ||
type: 'function', | ||
inputs: [ | ||
{ name: 'beneficiary', internalType: 'address', type: 'address' }, | ||
{ name: 'name', internalType: 'string', type: 'string' }, | ||
], | ||
name: 'setBeneficiaryName', | ||
outputs: [], | ||
}, | ||
{ | ||
constant: false, | ||
payable: false, | ||
stateMutability: 'nonpayable', | ||
type: 'function', | ||
inputs: [{ name: 'beneficiary', internalType: 'address', type: 'address' }], | ||
name: 'setCarbonFeeBeneficiary', | ||
outputs: [], | ||
}, | ||
{ | ||
constant: false, | ||
payable: false, | ||
stateMutability: 'nonpayable', | ||
type: 'function', | ||
inputs: [{ name: 'tokenAddress', internalType: 'address', type: 'address' }], | ||
@@ -414,2 +499,11 @@ name: 'sell', | ||
type: 'function', | ||
inputs: [], | ||
name: 'carbonFeeBeneficiary', | ||
outputs: [{ name: '', internalType: 'address', type: 'address' }], | ||
}, | ||
{ | ||
constant: true, | ||
payable: false, | ||
stateMutability: 'view', | ||
type: 'function', | ||
inputs: [{ name: 'tokenAddress', internalType: 'address', type: 'address' }], | ||
@@ -467,2 +561,51 @@ name: 'getTokenHandler', | ||
payable: false, | ||
stateMutability: 'view', | ||
type: 'function', | ||
inputs: [], | ||
name: 'getCarbonFraction', | ||
outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], | ||
}, | ||
{ | ||
constant: true, | ||
payable: false, | ||
stateMutability: 'view', | ||
type: 'function', | ||
inputs: [], | ||
name: 'getBurnFraction', | ||
outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], | ||
}, | ||
{ | ||
constant: true, | ||
payable: false, | ||
stateMutability: 'view', | ||
type: 'function', | ||
inputs: [{ name: 'beneficiary', internalType: 'address', type: 'address' }], | ||
name: 'getOtherBeneficiariesInfo', | ||
outputs: [ | ||
{ name: '', internalType: 'uint256', type: 'uint256' }, | ||
{ name: '', internalType: 'string', type: 'string' }, | ||
{ name: '', internalType: 'bool', type: 'bool' }, | ||
], | ||
}, | ||
{ | ||
constant: true, | ||
payable: false, | ||
stateMutability: 'view', | ||
type: 'function', | ||
inputs: [], | ||
name: 'getTotalFractionOfOtherBeneficiariesAndCarbon', | ||
outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], | ||
}, | ||
{ | ||
constant: true, | ||
payable: false, | ||
stateMutability: 'view', | ||
type: 'function', | ||
inputs: [], | ||
name: 'getOtherBeneficiariesAddresses', | ||
outputs: [{ name: '', internalType: 'address[]', type: 'address[]' }], | ||
}, | ||
{ | ||
constant: true, | ||
payable: false, | ||
stateMutability: 'pure', | ||
@@ -469,0 +612,0 @@ type: 'function', |
@@ -16,2 +16,21 @@ "use strict"; | ||
indexed: false, | ||
internalType: 'address', | ||
name: 'beneficiary', | ||
type: 'address', | ||
}, | ||
], | ||
name: 'BeneficiaryAdded', | ||
type: 'event', | ||
}, | ||
{ | ||
anonymous: false, | ||
inputs: [ | ||
{ | ||
indexed: false, | ||
internalType: 'address', | ||
name: 'beneficiary', | ||
type: 'address', | ||
}, | ||
{ | ||
indexed: false, | ||
internalType: 'uint256', | ||
@@ -22,2 +41,42 @@ name: 'fraction', | ||
], | ||
name: 'BeneficiaryFractionSet', | ||
type: 'event', | ||
}, | ||
{ | ||
anonymous: false, | ||
inputs: [ | ||
{ | ||
indexed: false, | ||
internalType: 'address', | ||
name: 'beneficiary', | ||
type: 'address', | ||
}, | ||
{ indexed: false, internalType: 'string', name: 'name', type: 'string' }, | ||
], | ||
name: 'BeneficiaryNameSet', | ||
type: 'event', | ||
}, | ||
{ | ||
anonymous: false, | ||
inputs: [ | ||
{ | ||
indexed: false, | ||
internalType: 'address', | ||
name: 'beneficiary', | ||
type: 'address', | ||
}, | ||
], | ||
name: 'BeneficiaryRemoved', | ||
type: 'event', | ||
}, | ||
{ | ||
anonymous: false, | ||
inputs: [ | ||
{ | ||
indexed: false, | ||
internalType: 'uint256', | ||
name: 'fraction', | ||
type: 'uint256', | ||
}, | ||
], | ||
name: 'BurnFractionSet', | ||
@@ -31,2 +90,15 @@ type: 'event', | ||
indexed: false, | ||
internalType: 'uint256', | ||
name: 'fraction', | ||
type: 'uint256', | ||
}, | ||
], | ||
name: 'CarbonFractionSet', | ||
type: 'event', | ||
}, | ||
{ | ||
anonymous: false, | ||
inputs: [ | ||
{ | ||
indexed: false, | ||
internalType: 'address', | ||
@@ -84,2 +156,21 @@ name: 'token', | ||
internalType: 'address', | ||
name: 'tokenAddress', | ||
type: 'address', | ||
}, | ||
{ | ||
indexed: false, | ||
internalType: 'uint256', | ||
name: 'amount', | ||
type: 'uint256', | ||
}, | ||
], | ||
name: 'DistributionAmountSet', | ||
type: 'event', | ||
}, | ||
{ | ||
anonymous: false, | ||
inputs: [ | ||
{ | ||
indexed: false, | ||
internalType: 'address', | ||
name: 'newBeneficiary', | ||
@@ -216,11 +307,2 @@ type: 'address', | ||
inputs: [], | ||
name: 'burnFraction', | ||
outputs: [{ internalType: 'uint256', name: 'value', type: 'uint256' }], | ||
payable: false, | ||
stateMutability: 'view', | ||
type: 'function', | ||
}, | ||
{ | ||
constant: true, | ||
inputs: [], | ||
name: 'celoToBeBurned', | ||
@@ -235,3 +317,3 @@ outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }], | ||
inputs: [], | ||
name: 'feeBeneficiary', | ||
name: 'ignoreRenaming_carbonFeeBeneficiary', | ||
outputs: [{ internalType: 'address', name: '', type: 'address' }], | ||
@@ -263,11 +345,2 @@ payable: false, | ||
inputs: [], | ||
name: 'lastLimitDay', | ||
outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }], | ||
payable: false, | ||
stateMutability: 'view', | ||
type: 'function', | ||
}, | ||
{ | ||
constant: true, | ||
inputs: [], | ||
name: 'owner', | ||
@@ -320,3 +393,3 @@ outputs: [{ internalType: 'address', name: '', type: 'address' }], | ||
{ internalType: 'address', name: 'newFeeBeneficiary', type: 'address' }, | ||
{ internalType: 'uint256', name: 'newBurnFraction', type: 'uint256' }, | ||
{ internalType: 'uint256', name: 'newCarbonFraction', type: 'uint256' }, | ||
{ internalType: 'address[]', name: 'tokens', type: 'address[]' }, | ||
@@ -335,4 +408,38 @@ { internalType: 'address[]', name: 'handlers', type: 'address[]' }, | ||
constant: false, | ||
inputs: [{ internalType: 'uint256', name: 'newFraction', type: 'uint256' }], | ||
name: 'setCarbonFraction', | ||
outputs: [], | ||
payable: false, | ||
stateMutability: 'nonpayable', | ||
type: 'function', | ||
}, | ||
{ | ||
constant: false, | ||
inputs: [ | ||
{ internalType: 'address', name: 'beneficiary', type: 'address' }, | ||
{ internalType: 'uint256', name: '_newFraction', type: 'uint256' }, | ||
], | ||
name: 'changeOtherBeneficiaryAllocation', | ||
outputs: [], | ||
payable: false, | ||
stateMutability: 'nonpayable', | ||
type: 'function', | ||
}, | ||
{ | ||
constant: false, | ||
inputs: [ | ||
{ internalType: 'address', name: 'beneficiary', type: 'address' }, | ||
{ internalType: 'uint256', name: '_newFraction', type: 'uint256' }, | ||
{ internalType: 'string', name: 'name', type: 'string' }, | ||
], | ||
name: 'addOtherBeneficiary', | ||
outputs: [], | ||
payable: false, | ||
stateMutability: 'nonpayable', | ||
type: 'function', | ||
}, | ||
{ | ||
constant: false, | ||
inputs: [{ internalType: 'address', name: 'beneficiary', type: 'address' }], | ||
name: 'setFeeBeneficiary', | ||
name: 'removeOtherBeneficiary', | ||
outputs: [], | ||
@@ -345,4 +452,7 @@ payable: false, | ||
constant: false, | ||
inputs: [{ internalType: 'uint256', name: 'fraction', type: 'uint256' }], | ||
name: 'setBurnFraction', | ||
inputs: [ | ||
{ internalType: 'address', name: 'beneficiaryAddress', type: 'address' }, | ||
{ internalType: 'uint256', name: '_newFraction', type: 'uint256' }, | ||
], | ||
name: 'setBeneficiaryFraction', | ||
outputs: [], | ||
@@ -355,2 +465,23 @@ payable: false, | ||
constant: false, | ||
inputs: [ | ||
{ internalType: 'address', name: 'beneficiary', type: 'address' }, | ||
{ internalType: 'string', name: 'name', type: 'string' }, | ||
], | ||
name: 'setBeneficiaryName', | ||
outputs: [], | ||
payable: false, | ||
stateMutability: 'nonpayable', | ||
type: 'function', | ||
}, | ||
{ | ||
constant: false, | ||
inputs: [{ internalType: 'address', name: 'beneficiary', type: 'address' }], | ||
name: 'setCarbonFeeBeneficiary', | ||
outputs: [], | ||
payable: false, | ||
stateMutability: 'nonpayable', | ||
type: 'function', | ||
}, | ||
{ | ||
constant: false, | ||
inputs: [{ internalType: 'address', name: 'tokenAddress', type: 'address' }], | ||
@@ -507,2 +638,11 @@ name: 'sell', | ||
constant: true, | ||
inputs: [], | ||
name: 'carbonFeeBeneficiary', | ||
outputs: [{ internalType: 'address', name: '', type: 'address' }], | ||
payable: false, | ||
stateMutability: 'view', | ||
type: 'function', | ||
}, | ||
{ | ||
constant: true, | ||
inputs: [{ internalType: 'address', name: 'tokenAddress', type: 'address' }], | ||
@@ -563,2 +703,51 @@ name: 'getTokenHandler', | ||
inputs: [], | ||
name: 'getCarbonFraction', | ||
outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }], | ||
payable: false, | ||
stateMutability: 'view', | ||
type: 'function', | ||
}, | ||
{ | ||
constant: true, | ||
inputs: [], | ||
name: 'getBurnFraction', | ||
outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }], | ||
payable: false, | ||
stateMutability: 'view', | ||
type: 'function', | ||
}, | ||
{ | ||
constant: true, | ||
inputs: [{ internalType: 'address', name: 'beneficiary', type: 'address' }], | ||
name: 'getOtherBeneficiariesInfo', | ||
outputs: [ | ||
{ internalType: 'uint256', name: '', type: 'uint256' }, | ||
{ internalType: 'string', name: '', type: 'string' }, | ||
{ internalType: 'bool', name: '', type: 'bool' }, | ||
], | ||
payable: false, | ||
stateMutability: 'view', | ||
type: 'function', | ||
}, | ||
{ | ||
constant: true, | ||
inputs: [], | ||
name: 'getTotalFractionOfOtherBeneficiariesAndCarbon', | ||
outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }], | ||
payable: false, | ||
stateMutability: 'view', | ||
type: 'function', | ||
}, | ||
{ | ||
constant: true, | ||
inputs: [], | ||
name: 'getOtherBeneficiariesAddresses', | ||
outputs: [{ internalType: 'address[]', name: '', type: 'address[]' }], | ||
payable: false, | ||
stateMutability: 'view', | ||
type: 'function', | ||
}, | ||
{ | ||
constant: true, | ||
inputs: [], | ||
name: 'getVersionNumber', | ||
@@ -565,0 +754,0 @@ outputs: [ |
@@ -11,2 +11,32 @@ export const feeHandlerABI = [ | ||
anonymous: false, | ||
inputs: [{ name: 'beneficiary', internalType: 'address', type: 'address', indexed: false }], | ||
name: 'BeneficiaryAdded', | ||
}, | ||
{ | ||
type: 'event', | ||
anonymous: false, | ||
inputs: [ | ||
{ name: 'beneficiary', internalType: 'address', type: 'address', indexed: false }, | ||
{ name: 'fraction', internalType: 'uint256', type: 'uint256', indexed: false }, | ||
], | ||
name: 'BeneficiaryFractionSet', | ||
}, | ||
{ | ||
type: 'event', | ||
anonymous: false, | ||
inputs: [ | ||
{ name: 'beneficiary', internalType: 'address', type: 'address', indexed: false }, | ||
{ name: 'name', internalType: 'string', type: 'string', indexed: false }, | ||
], | ||
name: 'BeneficiaryNameSet', | ||
}, | ||
{ | ||
type: 'event', | ||
anonymous: false, | ||
inputs: [{ name: 'beneficiary', internalType: 'address', type: 'address', indexed: false }], | ||
name: 'BeneficiaryRemoved', | ||
}, | ||
{ | ||
type: 'event', | ||
anonymous: false, | ||
inputs: [{ name: 'fraction', internalType: 'uint256', type: 'uint256', indexed: false }], | ||
@@ -18,2 +48,8 @@ name: 'BurnFractionSet', | ||
anonymous: false, | ||
inputs: [{ name: 'fraction', internalType: 'uint256', type: 'uint256', indexed: false }], | ||
name: 'CarbonFractionSet', | ||
}, | ||
{ | ||
type: 'event', | ||
anonymous: false, | ||
inputs: [ | ||
@@ -43,2 +79,11 @@ { name: 'token', internalType: 'address', type: 'address', indexed: false }, | ||
anonymous: false, | ||
inputs: [ | ||
{ name: 'tokenAddress', internalType: 'address', type: 'address', indexed: false }, | ||
{ name: 'amount', internalType: 'uint256', type: 'uint256', indexed: false }, | ||
], | ||
name: 'DistributionAmountSet', | ||
}, | ||
{ | ||
type: 'event', | ||
anonymous: false, | ||
inputs: [{ name: 'newBeneficiary', internalType: 'address', type: 'address', indexed: false }], | ||
@@ -120,11 +165,2 @@ name: 'FeeBeneficiarySet', | ||
inputs: [], | ||
name: 'burnFraction', | ||
outputs: [{ name: 'value', internalType: 'uint256', type: 'uint256' }], | ||
}, | ||
{ | ||
constant: true, | ||
payable: false, | ||
stateMutability: 'view', | ||
type: 'function', | ||
inputs: [], | ||
name: 'celoToBeBurned', | ||
@@ -139,3 +175,3 @@ outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], | ||
inputs: [], | ||
name: 'feeBeneficiary', | ||
name: 'ignoreRenaming_carbonFeeBeneficiary', | ||
outputs: [{ name: '', internalType: 'address', type: 'address' }], | ||
@@ -167,11 +203,2 @@ }, | ||
inputs: [], | ||
name: 'lastLimitDay', | ||
outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], | ||
}, | ||
{ | ||
constant: true, | ||
payable: false, | ||
stateMutability: 'view', | ||
type: 'function', | ||
inputs: [], | ||
name: 'owner', | ||
@@ -224,3 +251,3 @@ outputs: [{ name: '', internalType: 'address', type: 'address' }], | ||
{ name: 'newFeeBeneficiary', internalType: 'address', type: 'address' }, | ||
{ name: 'newBurnFraction', internalType: 'uint256', type: 'uint256' }, | ||
{ name: 'newCarbonFraction', internalType: 'uint256', type: 'uint256' }, | ||
{ name: 'tokens', internalType: 'address[]', type: 'address[]' }, | ||
@@ -239,4 +266,38 @@ { name: 'handlers', internalType: 'address[]', type: 'address[]' }, | ||
type: 'function', | ||
inputs: [{ name: 'newFraction', internalType: 'uint256', type: 'uint256' }], | ||
name: 'setCarbonFraction', | ||
outputs: [], | ||
}, | ||
{ | ||
constant: false, | ||
payable: false, | ||
stateMutability: 'nonpayable', | ||
type: 'function', | ||
inputs: [ | ||
{ name: 'beneficiary', internalType: 'address', type: 'address' }, | ||
{ name: '_newFraction', internalType: 'uint256', type: 'uint256' }, | ||
], | ||
name: 'changeOtherBeneficiaryAllocation', | ||
outputs: [], | ||
}, | ||
{ | ||
constant: false, | ||
payable: false, | ||
stateMutability: 'nonpayable', | ||
type: 'function', | ||
inputs: [ | ||
{ name: 'beneficiary', internalType: 'address', type: 'address' }, | ||
{ name: '_newFraction', internalType: 'uint256', type: 'uint256' }, | ||
{ name: 'name', internalType: 'string', type: 'string' }, | ||
], | ||
name: 'addOtherBeneficiary', | ||
outputs: [], | ||
}, | ||
{ | ||
constant: false, | ||
payable: false, | ||
stateMutability: 'nonpayable', | ||
type: 'function', | ||
inputs: [{ name: 'beneficiary', internalType: 'address', type: 'address' }], | ||
name: 'setFeeBeneficiary', | ||
name: 'removeOtherBeneficiary', | ||
outputs: [], | ||
@@ -249,4 +310,7 @@ }, | ||
type: 'function', | ||
inputs: [{ name: 'fraction', internalType: 'uint256', type: 'uint256' }], | ||
name: 'setBurnFraction', | ||
inputs: [ | ||
{ name: 'beneficiaryAddress', internalType: 'address', type: 'address' }, | ||
{ name: '_newFraction', internalType: 'uint256', type: 'uint256' }, | ||
], | ||
name: 'setBeneficiaryFraction', | ||
outputs: [], | ||
@@ -259,2 +323,23 @@ }, | ||
type: 'function', | ||
inputs: [ | ||
{ name: 'beneficiary', internalType: 'address', type: 'address' }, | ||
{ name: 'name', internalType: 'string', type: 'string' }, | ||
], | ||
name: 'setBeneficiaryName', | ||
outputs: [], | ||
}, | ||
{ | ||
constant: false, | ||
payable: false, | ||
stateMutability: 'nonpayable', | ||
type: 'function', | ||
inputs: [{ name: 'beneficiary', internalType: 'address', type: 'address' }], | ||
name: 'setCarbonFeeBeneficiary', | ||
outputs: [], | ||
}, | ||
{ | ||
constant: false, | ||
payable: false, | ||
stateMutability: 'nonpayable', | ||
type: 'function', | ||
inputs: [{ name: 'tokenAddress', internalType: 'address', type: 'address' }], | ||
@@ -411,2 +496,11 @@ name: 'sell', | ||
type: 'function', | ||
inputs: [], | ||
name: 'carbonFeeBeneficiary', | ||
outputs: [{ name: '', internalType: 'address', type: 'address' }], | ||
}, | ||
{ | ||
constant: true, | ||
payable: false, | ||
stateMutability: 'view', | ||
type: 'function', | ||
inputs: [{ name: 'tokenAddress', internalType: 'address', type: 'address' }], | ||
@@ -464,2 +558,51 @@ name: 'getTokenHandler', | ||
payable: false, | ||
stateMutability: 'view', | ||
type: 'function', | ||
inputs: [], | ||
name: 'getCarbonFraction', | ||
outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], | ||
}, | ||
{ | ||
constant: true, | ||
payable: false, | ||
stateMutability: 'view', | ||
type: 'function', | ||
inputs: [], | ||
name: 'getBurnFraction', | ||
outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], | ||
}, | ||
{ | ||
constant: true, | ||
payable: false, | ||
stateMutability: 'view', | ||
type: 'function', | ||
inputs: [{ name: 'beneficiary', internalType: 'address', type: 'address' }], | ||
name: 'getOtherBeneficiariesInfo', | ||
outputs: [ | ||
{ name: '', internalType: 'uint256', type: 'uint256' }, | ||
{ name: '', internalType: 'string', type: 'string' }, | ||
{ name: '', internalType: 'bool', type: 'bool' }, | ||
], | ||
}, | ||
{ | ||
constant: true, | ||
payable: false, | ||
stateMutability: 'view', | ||
type: 'function', | ||
inputs: [], | ||
name: 'getTotalFractionOfOtherBeneficiariesAndCarbon', | ||
outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], | ||
}, | ||
{ | ||
constant: true, | ||
payable: false, | ||
stateMutability: 'view', | ||
type: 'function', | ||
inputs: [], | ||
name: 'getOtherBeneficiariesAddresses', | ||
outputs: [{ name: '', internalType: 'address[]', type: 'address[]' }], | ||
}, | ||
{ | ||
constant: true, | ||
payable: false, | ||
stateMutability: 'pure', | ||
@@ -466,0 +609,0 @@ type: 'function', |
@@ -13,2 +13,21 @@ export const ABI = [ | ||
indexed: false, | ||
internalType: 'address', | ||
name: 'beneficiary', | ||
type: 'address', | ||
}, | ||
], | ||
name: 'BeneficiaryAdded', | ||
type: 'event', | ||
}, | ||
{ | ||
anonymous: false, | ||
inputs: [ | ||
{ | ||
indexed: false, | ||
internalType: 'address', | ||
name: 'beneficiary', | ||
type: 'address', | ||
}, | ||
{ | ||
indexed: false, | ||
internalType: 'uint256', | ||
@@ -19,2 +38,42 @@ name: 'fraction', | ||
], | ||
name: 'BeneficiaryFractionSet', | ||
type: 'event', | ||
}, | ||
{ | ||
anonymous: false, | ||
inputs: [ | ||
{ | ||
indexed: false, | ||
internalType: 'address', | ||
name: 'beneficiary', | ||
type: 'address', | ||
}, | ||
{ indexed: false, internalType: 'string', name: 'name', type: 'string' }, | ||
], | ||
name: 'BeneficiaryNameSet', | ||
type: 'event', | ||
}, | ||
{ | ||
anonymous: false, | ||
inputs: [ | ||
{ | ||
indexed: false, | ||
internalType: 'address', | ||
name: 'beneficiary', | ||
type: 'address', | ||
}, | ||
], | ||
name: 'BeneficiaryRemoved', | ||
type: 'event', | ||
}, | ||
{ | ||
anonymous: false, | ||
inputs: [ | ||
{ | ||
indexed: false, | ||
internalType: 'uint256', | ||
name: 'fraction', | ||
type: 'uint256', | ||
}, | ||
], | ||
name: 'BurnFractionSet', | ||
@@ -28,2 +87,15 @@ type: 'event', | ||
indexed: false, | ||
internalType: 'uint256', | ||
name: 'fraction', | ||
type: 'uint256', | ||
}, | ||
], | ||
name: 'CarbonFractionSet', | ||
type: 'event', | ||
}, | ||
{ | ||
anonymous: false, | ||
inputs: [ | ||
{ | ||
indexed: false, | ||
internalType: 'address', | ||
@@ -81,2 +153,21 @@ name: 'token', | ||
internalType: 'address', | ||
name: 'tokenAddress', | ||
type: 'address', | ||
}, | ||
{ | ||
indexed: false, | ||
internalType: 'uint256', | ||
name: 'amount', | ||
type: 'uint256', | ||
}, | ||
], | ||
name: 'DistributionAmountSet', | ||
type: 'event', | ||
}, | ||
{ | ||
anonymous: false, | ||
inputs: [ | ||
{ | ||
indexed: false, | ||
internalType: 'address', | ||
name: 'newBeneficiary', | ||
@@ -213,11 +304,2 @@ type: 'address', | ||
inputs: [], | ||
name: 'burnFraction', | ||
outputs: [{ internalType: 'uint256', name: 'value', type: 'uint256' }], | ||
payable: false, | ||
stateMutability: 'view', | ||
type: 'function', | ||
}, | ||
{ | ||
constant: true, | ||
inputs: [], | ||
name: 'celoToBeBurned', | ||
@@ -232,3 +314,3 @@ outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }], | ||
inputs: [], | ||
name: 'feeBeneficiary', | ||
name: 'ignoreRenaming_carbonFeeBeneficiary', | ||
outputs: [{ internalType: 'address', name: '', type: 'address' }], | ||
@@ -260,11 +342,2 @@ payable: false, | ||
inputs: [], | ||
name: 'lastLimitDay', | ||
outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }], | ||
payable: false, | ||
stateMutability: 'view', | ||
type: 'function', | ||
}, | ||
{ | ||
constant: true, | ||
inputs: [], | ||
name: 'owner', | ||
@@ -317,3 +390,3 @@ outputs: [{ internalType: 'address', name: '', type: 'address' }], | ||
{ internalType: 'address', name: 'newFeeBeneficiary', type: 'address' }, | ||
{ internalType: 'uint256', name: 'newBurnFraction', type: 'uint256' }, | ||
{ internalType: 'uint256', name: 'newCarbonFraction', type: 'uint256' }, | ||
{ internalType: 'address[]', name: 'tokens', type: 'address[]' }, | ||
@@ -332,4 +405,38 @@ { internalType: 'address[]', name: 'handlers', type: 'address[]' }, | ||
constant: false, | ||
inputs: [{ internalType: 'uint256', name: 'newFraction', type: 'uint256' }], | ||
name: 'setCarbonFraction', | ||
outputs: [], | ||
payable: false, | ||
stateMutability: 'nonpayable', | ||
type: 'function', | ||
}, | ||
{ | ||
constant: false, | ||
inputs: [ | ||
{ internalType: 'address', name: 'beneficiary', type: 'address' }, | ||
{ internalType: 'uint256', name: '_newFraction', type: 'uint256' }, | ||
], | ||
name: 'changeOtherBeneficiaryAllocation', | ||
outputs: [], | ||
payable: false, | ||
stateMutability: 'nonpayable', | ||
type: 'function', | ||
}, | ||
{ | ||
constant: false, | ||
inputs: [ | ||
{ internalType: 'address', name: 'beneficiary', type: 'address' }, | ||
{ internalType: 'uint256', name: '_newFraction', type: 'uint256' }, | ||
{ internalType: 'string', name: 'name', type: 'string' }, | ||
], | ||
name: 'addOtherBeneficiary', | ||
outputs: [], | ||
payable: false, | ||
stateMutability: 'nonpayable', | ||
type: 'function', | ||
}, | ||
{ | ||
constant: false, | ||
inputs: [{ internalType: 'address', name: 'beneficiary', type: 'address' }], | ||
name: 'setFeeBeneficiary', | ||
name: 'removeOtherBeneficiary', | ||
outputs: [], | ||
@@ -342,4 +449,7 @@ payable: false, | ||
constant: false, | ||
inputs: [{ internalType: 'uint256', name: 'fraction', type: 'uint256' }], | ||
name: 'setBurnFraction', | ||
inputs: [ | ||
{ internalType: 'address', name: 'beneficiaryAddress', type: 'address' }, | ||
{ internalType: 'uint256', name: '_newFraction', type: 'uint256' }, | ||
], | ||
name: 'setBeneficiaryFraction', | ||
outputs: [], | ||
@@ -352,2 +462,23 @@ payable: false, | ||
constant: false, | ||
inputs: [ | ||
{ internalType: 'address', name: 'beneficiary', type: 'address' }, | ||
{ internalType: 'string', name: 'name', type: 'string' }, | ||
], | ||
name: 'setBeneficiaryName', | ||
outputs: [], | ||
payable: false, | ||
stateMutability: 'nonpayable', | ||
type: 'function', | ||
}, | ||
{ | ||
constant: false, | ||
inputs: [{ internalType: 'address', name: 'beneficiary', type: 'address' }], | ||
name: 'setCarbonFeeBeneficiary', | ||
outputs: [], | ||
payable: false, | ||
stateMutability: 'nonpayable', | ||
type: 'function', | ||
}, | ||
{ | ||
constant: false, | ||
inputs: [{ internalType: 'address', name: 'tokenAddress', type: 'address' }], | ||
@@ -504,2 +635,11 @@ name: 'sell', | ||
constant: true, | ||
inputs: [], | ||
name: 'carbonFeeBeneficiary', | ||
outputs: [{ internalType: 'address', name: '', type: 'address' }], | ||
payable: false, | ||
stateMutability: 'view', | ||
type: 'function', | ||
}, | ||
{ | ||
constant: true, | ||
inputs: [{ internalType: 'address', name: 'tokenAddress', type: 'address' }], | ||
@@ -560,2 +700,51 @@ name: 'getTokenHandler', | ||
inputs: [], | ||
name: 'getCarbonFraction', | ||
outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }], | ||
payable: false, | ||
stateMutability: 'view', | ||
type: 'function', | ||
}, | ||
{ | ||
constant: true, | ||
inputs: [], | ||
name: 'getBurnFraction', | ||
outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }], | ||
payable: false, | ||
stateMutability: 'view', | ||
type: 'function', | ||
}, | ||
{ | ||
constant: true, | ||
inputs: [{ internalType: 'address', name: 'beneficiary', type: 'address' }], | ||
name: 'getOtherBeneficiariesInfo', | ||
outputs: [ | ||
{ internalType: 'uint256', name: '', type: 'uint256' }, | ||
{ internalType: 'string', name: '', type: 'string' }, | ||
{ internalType: 'bool', name: '', type: 'bool' }, | ||
], | ||
payable: false, | ||
stateMutability: 'view', | ||
type: 'function', | ||
}, | ||
{ | ||
constant: true, | ||
inputs: [], | ||
name: 'getTotalFractionOfOtherBeneficiariesAndCarbon', | ||
outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }], | ||
payable: false, | ||
stateMutability: 'view', | ||
type: 'function', | ||
}, | ||
{ | ||
constant: true, | ||
inputs: [], | ||
name: 'getOtherBeneficiariesAddresses', | ||
outputs: [{ internalType: 'address[]', name: '', type: 'address[]' }], | ||
payable: false, | ||
stateMutability: 'view', | ||
type: 'function', | ||
}, | ||
{ | ||
constant: true, | ||
inputs: [], | ||
name: 'getVersionNumber', | ||
@@ -562,0 +751,0 @@ outputs: [ |
@@ -21,2 +21,21 @@ { | ||
"indexed": false, | ||
"internalType": "address", | ||
"name": "beneficiary", | ||
"type": "address" | ||
} | ||
], | ||
"name": "BeneficiaryAdded", | ||
"type": "event" | ||
}, | ||
{ | ||
"anonymous": false, | ||
"inputs": [ | ||
{ | ||
"indexed": false, | ||
"internalType": "address", | ||
"name": "beneficiary", | ||
"type": "address" | ||
}, | ||
{ | ||
"indexed": false, | ||
"internalType": "uint256", | ||
@@ -27,2 +46,47 @@ "name": "fraction", | ||
], | ||
"name": "BeneficiaryFractionSet", | ||
"type": "event" | ||
}, | ||
{ | ||
"anonymous": false, | ||
"inputs": [ | ||
{ | ||
"indexed": false, | ||
"internalType": "address", | ||
"name": "beneficiary", | ||
"type": "address" | ||
}, | ||
{ | ||
"indexed": false, | ||
"internalType": "string", | ||
"name": "name", | ||
"type": "string" | ||
} | ||
], | ||
"name": "BeneficiaryNameSet", | ||
"type": "event" | ||
}, | ||
{ | ||
"anonymous": false, | ||
"inputs": [ | ||
{ | ||
"indexed": false, | ||
"internalType": "address", | ||
"name": "beneficiary", | ||
"type": "address" | ||
} | ||
], | ||
"name": "BeneficiaryRemoved", | ||
"type": "event" | ||
}, | ||
{ | ||
"anonymous": false, | ||
"inputs": [ | ||
{ | ||
"indexed": false, | ||
"internalType": "uint256", | ||
"name": "fraction", | ||
"type": "uint256" | ||
} | ||
], | ||
"name": "BurnFractionSet", | ||
@@ -36,2 +100,15 @@ "type": "event" | ||
"indexed": false, | ||
"internalType": "uint256", | ||
"name": "fraction", | ||
"type": "uint256" | ||
} | ||
], | ||
"name": "CarbonFractionSet", | ||
"type": "event" | ||
}, | ||
{ | ||
"anonymous": false, | ||
"inputs": [ | ||
{ | ||
"indexed": false, | ||
"internalType": "address", | ||
@@ -89,2 +166,21 @@ "name": "token", | ||
"internalType": "address", | ||
"name": "tokenAddress", | ||
"type": "address" | ||
}, | ||
{ | ||
"indexed": false, | ||
"internalType": "uint256", | ||
"name": "amount", | ||
"type": "uint256" | ||
} | ||
], | ||
"name": "DistributionAmountSet", | ||
"type": "event" | ||
}, | ||
{ | ||
"anonymous": false, | ||
"inputs": [ | ||
{ | ||
"indexed": false, | ||
"internalType": "address", | ||
"name": "newBeneficiary", | ||
@@ -237,17 +333,2 @@ "type": "address" | ||
"inputs": [], | ||
"name": "burnFraction", | ||
"outputs": [ | ||
{ | ||
"internalType": "uint256", | ||
"name": "value", | ||
"type": "uint256" | ||
} | ||
], | ||
"payable": false, | ||
"stateMutability": "view", | ||
"type": "function" | ||
}, | ||
{ | ||
"constant": true, | ||
"inputs": [], | ||
"name": "celoToBeBurned", | ||
@@ -268,3 +349,3 @@ "outputs": [ | ||
"inputs": [], | ||
"name": "feeBeneficiary", | ||
"name": "ignoreRenaming_carbonFeeBeneficiary", | ||
"outputs": [ | ||
@@ -314,17 +395,2 @@ { | ||
"inputs": [], | ||
"name": "lastLimitDay", | ||
"outputs": [ | ||
{ | ||
"internalType": "uint256", | ||
"name": "", | ||
"type": "uint256" | ||
} | ||
], | ||
"payable": false, | ||
"stateMutability": "view", | ||
"type": "function" | ||
}, | ||
{ | ||
"constant": true, | ||
"inputs": [], | ||
"name": "owner", | ||
@@ -411,3 +477,3 @@ "outputs": [ | ||
"internalType": "uint256", | ||
"name": "newBurnFraction", | ||
"name": "newCarbonFraction", | ||
"type": "uint256" | ||
@@ -446,8 +512,28 @@ }, | ||
{ | ||
"internalType": "uint256", | ||
"name": "newFraction", | ||
"type": "uint256" | ||
} | ||
], | ||
"name": "setCarbonFraction", | ||
"outputs": [], | ||
"payable": false, | ||
"stateMutability": "nonpayable", | ||
"type": "function" | ||
}, | ||
{ | ||
"constant": false, | ||
"inputs": [ | ||
{ | ||
"internalType": "address", | ||
"name": "beneficiary", | ||
"type": "address" | ||
}, | ||
{ | ||
"internalType": "uint256", | ||
"name": "_newFraction", | ||
"type": "uint256" | ||
} | ||
], | ||
"name": "setFeeBeneficiary", | ||
"name": "changeOtherBeneficiaryAllocation", | ||
"outputs": [], | ||
@@ -462,8 +548,18 @@ "payable": false, | ||
{ | ||
"internalType": "address", | ||
"name": "beneficiary", | ||
"type": "address" | ||
}, | ||
{ | ||
"internalType": "uint256", | ||
"name": "fraction", | ||
"name": "_newFraction", | ||
"type": "uint256" | ||
}, | ||
{ | ||
"internalType": "string", | ||
"name": "name", | ||
"type": "string" | ||
} | ||
], | ||
"name": "setBurnFraction", | ||
"name": "addOtherBeneficiary", | ||
"outputs": [], | ||
@@ -479,2 +575,72 @@ "payable": false, | ||
"internalType": "address", | ||
"name": "beneficiary", | ||
"type": "address" | ||
} | ||
], | ||
"name": "removeOtherBeneficiary", | ||
"outputs": [], | ||
"payable": false, | ||
"stateMutability": "nonpayable", | ||
"type": "function" | ||
}, | ||
{ | ||
"constant": false, | ||
"inputs": [ | ||
{ | ||
"internalType": "address", | ||
"name": "beneficiaryAddress", | ||
"type": "address" | ||
}, | ||
{ | ||
"internalType": "uint256", | ||
"name": "_newFraction", | ||
"type": "uint256" | ||
} | ||
], | ||
"name": "setBeneficiaryFraction", | ||
"outputs": [], | ||
"payable": false, | ||
"stateMutability": "nonpayable", | ||
"type": "function" | ||
}, | ||
{ | ||
"constant": false, | ||
"inputs": [ | ||
{ | ||
"internalType": "address", | ||
"name": "beneficiary", | ||
"type": "address" | ||
}, | ||
{ | ||
"internalType": "string", | ||
"name": "name", | ||
"type": "string" | ||
} | ||
], | ||
"name": "setBeneficiaryName", | ||
"outputs": [], | ||
"payable": false, | ||
"stateMutability": "nonpayable", | ||
"type": "function" | ||
}, | ||
{ | ||
"constant": false, | ||
"inputs": [ | ||
{ | ||
"internalType": "address", | ||
"name": "beneficiary", | ||
"type": "address" | ||
} | ||
], | ||
"name": "setCarbonFeeBeneficiary", | ||
"outputs": [], | ||
"payable": false, | ||
"stateMutability": "nonpayable", | ||
"type": "function" | ||
}, | ||
{ | ||
"constant": false, | ||
"inputs": [ | ||
{ | ||
"internalType": "address", | ||
"name": "tokenAddress", | ||
@@ -726,2 +892,17 @@ "type": "address" | ||
"constant": true, | ||
"inputs": [], | ||
"name": "carbonFeeBeneficiary", | ||
"outputs": [ | ||
{ | ||
"internalType": "address", | ||
"name": "", | ||
"type": "address" | ||
} | ||
], | ||
"payable": false, | ||
"stateMutability": "view", | ||
"type": "function" | ||
}, | ||
{ | ||
"constant": true, | ||
"inputs": [ | ||
@@ -854,2 +1035,93 @@ { | ||
"inputs": [], | ||
"name": "getCarbonFraction", | ||
"outputs": [ | ||
{ | ||
"internalType": "uint256", | ||
"name": "", | ||
"type": "uint256" | ||
} | ||
], | ||
"payable": false, | ||
"stateMutability": "view", | ||
"type": "function" | ||
}, | ||
{ | ||
"constant": true, | ||
"inputs": [], | ||
"name": "getBurnFraction", | ||
"outputs": [ | ||
{ | ||
"internalType": "uint256", | ||
"name": "", | ||
"type": "uint256" | ||
} | ||
], | ||
"payable": false, | ||
"stateMutability": "view", | ||
"type": "function" | ||
}, | ||
{ | ||
"constant": true, | ||
"inputs": [ | ||
{ | ||
"internalType": "address", | ||
"name": "beneficiary", | ||
"type": "address" | ||
} | ||
], | ||
"name": "getOtherBeneficiariesInfo", | ||
"outputs": [ | ||
{ | ||
"internalType": "uint256", | ||
"name": "", | ||
"type": "uint256" | ||
}, | ||
{ | ||
"internalType": "string", | ||
"name": "", | ||
"type": "string" | ||
}, | ||
{ | ||
"internalType": "bool", | ||
"name": "", | ||
"type": "bool" | ||
} | ||
], | ||
"payable": false, | ||
"stateMutability": "view", | ||
"type": "function" | ||
}, | ||
{ | ||
"constant": true, | ||
"inputs": [], | ||
"name": "getTotalFractionOfOtherBeneficiariesAndCarbon", | ||
"outputs": [ | ||
{ | ||
"internalType": "uint256", | ||
"name": "", | ||
"type": "uint256" | ||
} | ||
], | ||
"payable": false, | ||
"stateMutability": "view", | ||
"type": "function" | ||
}, | ||
{ | ||
"constant": true, | ||
"inputs": [], | ||
"name": "getOtherBeneficiariesAddresses", | ||
"outputs": [ | ||
{ | ||
"internalType": "address[]", | ||
"name": "", | ||
"type": "address[]" | ||
} | ||
], | ||
"payable": false, | ||
"stateMutability": "view", | ||
"type": "function" | ||
}, | ||
{ | ||
"constant": true, | ||
"inputs": [], | ||
"name": "getVersionNumber", | ||
@@ -856,0 +1128,0 @@ "outputs": [ |
@@ -14,2 +14,17 @@ export declare const feeHandlerABI: readonly [{ | ||
readonly inputs: readonly [{ | ||
readonly name: "beneficiary"; | ||
readonly internalType: "address"; | ||
readonly type: "address"; | ||
readonly indexed: false; | ||
}]; | ||
readonly name: "BeneficiaryAdded"; | ||
}, { | ||
readonly type: "event"; | ||
readonly anonymous: false; | ||
readonly inputs: readonly [{ | ||
readonly name: "beneficiary"; | ||
readonly internalType: "address"; | ||
readonly type: "address"; | ||
readonly indexed: false; | ||
}, { | ||
readonly name: "fraction"; | ||
@@ -20,2 +35,37 @@ readonly internalType: "uint256"; | ||
}]; | ||
readonly name: "BeneficiaryFractionSet"; | ||
}, { | ||
readonly type: "event"; | ||
readonly anonymous: false; | ||
readonly inputs: readonly [{ | ||
readonly name: "beneficiary"; | ||
readonly internalType: "address"; | ||
readonly type: "address"; | ||
readonly indexed: false; | ||
}, { | ||
readonly name: "name"; | ||
readonly internalType: "string"; | ||
readonly type: "string"; | ||
readonly indexed: false; | ||
}]; | ||
readonly name: "BeneficiaryNameSet"; | ||
}, { | ||
readonly type: "event"; | ||
readonly anonymous: false; | ||
readonly inputs: readonly [{ | ||
readonly name: "beneficiary"; | ||
readonly internalType: "address"; | ||
readonly type: "address"; | ||
readonly indexed: false; | ||
}]; | ||
readonly name: "BeneficiaryRemoved"; | ||
}, { | ||
readonly type: "event"; | ||
readonly anonymous: false; | ||
readonly inputs: readonly [{ | ||
readonly name: "fraction"; | ||
readonly internalType: "uint256"; | ||
readonly type: "uint256"; | ||
readonly indexed: false; | ||
}]; | ||
readonly name: "BurnFractionSet"; | ||
@@ -26,2 +76,12 @@ }, { | ||
readonly inputs: readonly [{ | ||
readonly name: "fraction"; | ||
readonly internalType: "uint256"; | ||
readonly type: "uint256"; | ||
readonly indexed: false; | ||
}]; | ||
readonly name: "CarbonFractionSet"; | ||
}, { | ||
readonly type: "event"; | ||
readonly anonymous: false; | ||
readonly inputs: readonly [{ | ||
readonly name: "token"; | ||
@@ -67,2 +127,17 @@ readonly internalType: "address"; | ||
readonly inputs: readonly [{ | ||
readonly name: "tokenAddress"; | ||
readonly internalType: "address"; | ||
readonly type: "address"; | ||
readonly indexed: false; | ||
}, { | ||
readonly name: "amount"; | ||
readonly internalType: "uint256"; | ||
readonly type: "uint256"; | ||
readonly indexed: false; | ||
}]; | ||
readonly name: "DistributionAmountSet"; | ||
}, { | ||
readonly type: "event"; | ||
readonly anonymous: false; | ||
readonly inputs: readonly [{ | ||
readonly name: "newBeneficiary"; | ||
@@ -188,14 +263,2 @@ readonly internalType: "address"; | ||
readonly inputs: readonly []; | ||
readonly name: "burnFraction"; | ||
readonly outputs: readonly [{ | ||
readonly name: "value"; | ||
readonly internalType: "uint256"; | ||
readonly type: "uint256"; | ||
}]; | ||
}, { | ||
readonly constant: true; | ||
readonly payable: false; | ||
readonly stateMutability: "view"; | ||
readonly type: "function"; | ||
readonly inputs: readonly []; | ||
readonly name: "celoToBeBurned"; | ||
@@ -213,3 +276,3 @@ readonly outputs: readonly [{ | ||
readonly inputs: readonly []; | ||
readonly name: "feeBeneficiary"; | ||
readonly name: "ignoreRenaming_carbonFeeBeneficiary"; | ||
readonly outputs: readonly [{ | ||
@@ -250,14 +313,2 @@ readonly name: ""; | ||
readonly inputs: readonly []; | ||
readonly name: "lastLimitDay"; | ||
readonly outputs: readonly [{ | ||
readonly name: ""; | ||
readonly internalType: "uint256"; | ||
readonly type: "uint256"; | ||
}]; | ||
}, { | ||
readonly constant: true; | ||
readonly payable: false; | ||
readonly stateMutability: "view"; | ||
readonly type: "function"; | ||
readonly inputs: readonly []; | ||
readonly name: "owner"; | ||
@@ -327,3 +378,3 @@ readonly outputs: readonly [{ | ||
}, { | ||
readonly name: "newBurnFraction"; | ||
readonly name: "newCarbonFraction"; | ||
readonly internalType: "uint256"; | ||
@@ -356,7 +407,23 @@ readonly type: "uint256"; | ||
readonly inputs: readonly [{ | ||
readonly name: "newFraction"; | ||
readonly internalType: "uint256"; | ||
readonly type: "uint256"; | ||
}]; | ||
readonly name: "setCarbonFraction"; | ||
readonly outputs: readonly []; | ||
}, { | ||
readonly constant: false; | ||
readonly payable: false; | ||
readonly stateMutability: "nonpayable"; | ||
readonly type: "function"; | ||
readonly inputs: readonly [{ | ||
readonly name: "beneficiary"; | ||
readonly internalType: "address"; | ||
readonly type: "address"; | ||
}, { | ||
readonly name: "_newFraction"; | ||
readonly internalType: "uint256"; | ||
readonly type: "uint256"; | ||
}]; | ||
readonly name: "setFeeBeneficiary"; | ||
readonly name: "changeOtherBeneficiaryAllocation"; | ||
readonly outputs: readonly []; | ||
@@ -369,7 +436,15 @@ }, { | ||
readonly inputs: readonly [{ | ||
readonly name: "fraction"; | ||
readonly name: "beneficiary"; | ||
readonly internalType: "address"; | ||
readonly type: "address"; | ||
}, { | ||
readonly name: "_newFraction"; | ||
readonly internalType: "uint256"; | ||
readonly type: "uint256"; | ||
}, { | ||
readonly name: "name"; | ||
readonly internalType: "string"; | ||
readonly type: "string"; | ||
}]; | ||
readonly name: "setBurnFraction"; | ||
readonly name: "addOtherBeneficiary"; | ||
readonly outputs: readonly []; | ||
@@ -382,2 +457,58 @@ }, { | ||
readonly inputs: readonly [{ | ||
readonly name: "beneficiary"; | ||
readonly internalType: "address"; | ||
readonly type: "address"; | ||
}]; | ||
readonly name: "removeOtherBeneficiary"; | ||
readonly outputs: readonly []; | ||
}, { | ||
readonly constant: false; | ||
readonly payable: false; | ||
readonly stateMutability: "nonpayable"; | ||
readonly type: "function"; | ||
readonly inputs: readonly [{ | ||
readonly name: "beneficiaryAddress"; | ||
readonly internalType: "address"; | ||
readonly type: "address"; | ||
}, { | ||
readonly name: "_newFraction"; | ||
readonly internalType: "uint256"; | ||
readonly type: "uint256"; | ||
}]; | ||
readonly name: "setBeneficiaryFraction"; | ||
readonly outputs: readonly []; | ||
}, { | ||
readonly constant: false; | ||
readonly payable: false; | ||
readonly stateMutability: "nonpayable"; | ||
readonly type: "function"; | ||
readonly inputs: readonly [{ | ||
readonly name: "beneficiary"; | ||
readonly internalType: "address"; | ||
readonly type: "address"; | ||
}, { | ||
readonly name: "name"; | ||
readonly internalType: "string"; | ||
readonly type: "string"; | ||
}]; | ||
readonly name: "setBeneficiaryName"; | ||
readonly outputs: readonly []; | ||
}, { | ||
readonly constant: false; | ||
readonly payable: false; | ||
readonly stateMutability: "nonpayable"; | ||
readonly type: "function"; | ||
readonly inputs: readonly [{ | ||
readonly name: "beneficiary"; | ||
readonly internalType: "address"; | ||
readonly type: "address"; | ||
}]; | ||
readonly name: "setCarbonFeeBeneficiary"; | ||
readonly outputs: readonly []; | ||
}, { | ||
readonly constant: false; | ||
readonly payable: false; | ||
readonly stateMutability: "nonpayable"; | ||
readonly type: "function"; | ||
readonly inputs: readonly [{ | ||
readonly name: "tokenAddress"; | ||
@@ -582,2 +713,14 @@ readonly internalType: "address"; | ||
readonly type: "function"; | ||
readonly inputs: readonly []; | ||
readonly name: "carbonFeeBeneficiary"; | ||
readonly outputs: readonly [{ | ||
readonly name: ""; | ||
readonly internalType: "address"; | ||
readonly type: "address"; | ||
}]; | ||
}, { | ||
readonly constant: true; | ||
readonly payable: false; | ||
readonly stateMutability: "view"; | ||
readonly type: "function"; | ||
readonly inputs: readonly [{ | ||
@@ -677,2 +820,74 @@ readonly name: "tokenAddress"; | ||
readonly payable: false; | ||
readonly stateMutability: "view"; | ||
readonly type: "function"; | ||
readonly inputs: readonly []; | ||
readonly name: "getCarbonFraction"; | ||
readonly outputs: readonly [{ | ||
readonly name: ""; | ||
readonly internalType: "uint256"; | ||
readonly type: "uint256"; | ||
}]; | ||
}, { | ||
readonly constant: true; | ||
readonly payable: false; | ||
readonly stateMutability: "view"; | ||
readonly type: "function"; | ||
readonly inputs: readonly []; | ||
readonly name: "getBurnFraction"; | ||
readonly outputs: readonly [{ | ||
readonly name: ""; | ||
readonly internalType: "uint256"; | ||
readonly type: "uint256"; | ||
}]; | ||
}, { | ||
readonly constant: true; | ||
readonly payable: false; | ||
readonly stateMutability: "view"; | ||
readonly type: "function"; | ||
readonly inputs: readonly [{ | ||
readonly name: "beneficiary"; | ||
readonly internalType: "address"; | ||
readonly type: "address"; | ||
}]; | ||
readonly name: "getOtherBeneficiariesInfo"; | ||
readonly outputs: readonly [{ | ||
readonly name: ""; | ||
readonly internalType: "uint256"; | ||
readonly type: "uint256"; | ||
}, { | ||
readonly name: ""; | ||
readonly internalType: "string"; | ||
readonly type: "string"; | ||
}, { | ||
readonly name: ""; | ||
readonly internalType: "bool"; | ||
readonly type: "bool"; | ||
}]; | ||
}, { | ||
readonly constant: true; | ||
readonly payable: false; | ||
readonly stateMutability: "view"; | ||
readonly type: "function"; | ||
readonly inputs: readonly []; | ||
readonly name: "getTotalFractionOfOtherBeneficiariesAndCarbon"; | ||
readonly outputs: readonly [{ | ||
readonly name: ""; | ||
readonly internalType: "uint256"; | ||
readonly type: "uint256"; | ||
}]; | ||
}, { | ||
readonly constant: true; | ||
readonly payable: false; | ||
readonly stateMutability: "view"; | ||
readonly type: "function"; | ||
readonly inputs: readonly []; | ||
readonly name: "getOtherBeneficiariesAddresses"; | ||
readonly outputs: readonly [{ | ||
readonly name: ""; | ||
readonly internalType: "address[]"; | ||
readonly type: "address[]"; | ||
}]; | ||
}, { | ||
readonly constant: true; | ||
readonly payable: false; | ||
readonly stateMutability: "pure"; | ||
@@ -679,0 +894,0 @@ readonly type: "function"; |
@@ -11,8 +11,6 @@ /// <reference types="node" /> | ||
MIN_BURN(): CeloTxObject<string>; | ||
burnFraction(): CeloTxObject<string>; | ||
celoToBeBurned(): CeloTxObject<string>; | ||
feeBeneficiary(): CeloTxObject<string>; | ||
ignoreRenaming_carbonFeeBeneficiary(): CeloTxObject<string>; | ||
initialized(): CeloTxObject<boolean>; | ||
isOwner(): CeloTxObject<boolean>; | ||
lastLimitDay(): CeloTxObject<string>; | ||
owner(): CeloTxObject<string>; | ||
@@ -23,5 +21,10 @@ registry(): CeloTxObject<string>; | ||
transferOwnership(newOwner: string): CeloTxObject<void>; | ||
initialize(_registryAddress: string, newFeeBeneficiary: string, newBurnFraction: number | string, tokens: string[], handlers: string[], newLimits: (number | string)[], newMaxSlippages: (number | string)[]): CeloTxObject<void>; | ||
setFeeBeneficiary(beneficiary: string): CeloTxObject<void>; | ||
setBurnFraction(fraction: number | string): CeloTxObject<void>; | ||
initialize(_registryAddress: string, newFeeBeneficiary: string, newCarbonFraction: number | string, tokens: string[], handlers: string[], newLimits: (number | string)[], newMaxSlippages: (number | string)[]): CeloTxObject<void>; | ||
setCarbonFraction(newFraction: number | string): CeloTxObject<void>; | ||
changeOtherBeneficiaryAllocation(beneficiary: string, _newFraction: number | string): CeloTxObject<void>; | ||
addOtherBeneficiary(beneficiary: string, _newFraction: number | string, name: string): CeloTxObject<void>; | ||
removeOtherBeneficiary(beneficiary: string): CeloTxObject<void>; | ||
setBeneficiaryFraction(beneficiaryAddress: string, _newFraction: number | string): CeloTxObject<void>; | ||
setBeneficiaryName(beneficiary: string, name: string): CeloTxObject<void>; | ||
setCarbonFeeBeneficiary(beneficiary: string): CeloTxObject<void>; | ||
sell(tokenAddress: string): CeloTxObject<void>; | ||
@@ -42,2 +45,3 @@ addToken(tokenAddress: string, handlerAddress: string): CeloTxObject<void>; | ||
getPastBurnForToken(token: string): CeloTxObject<string>; | ||
carbonFeeBeneficiary(): CeloTxObject<string>; | ||
getTokenHandler(tokenAddress: string): CeloTxObject<string>; | ||
@@ -49,2 +53,11 @@ getTokenActive(tokenAddress: string): CeloTxObject<boolean>; | ||
getTokenToDistribute(tokenAddress: string): CeloTxObject<string>; | ||
getCarbonFraction(): CeloTxObject<string>; | ||
getBurnFraction(): CeloTxObject<string>; | ||
getOtherBeneficiariesInfo(beneficiary: string): CeloTxObject<{ | ||
0: string; | ||
1: string; | ||
2: boolean; | ||
}>; | ||
getTotalFractionOfOtherBeneficiariesAndCarbon(): CeloTxObject<string>; | ||
getOtherBeneficiariesAddresses(): CeloTxObject<string[]>; | ||
getVersionNumber(): CeloTxObject<{ | ||
@@ -60,3 +73,18 @@ 0: string; | ||
events: { | ||
BeneficiaryAdded: ContractEvent<string>; | ||
BeneficiaryFractionSet: ContractEvent<{ | ||
beneficiary: string; | ||
fraction: string; | ||
0: string; | ||
1: string; | ||
}>; | ||
BeneficiaryNameSet: ContractEvent<{ | ||
beneficiary: string; | ||
name: string; | ||
0: string; | ||
1: string; | ||
}>; | ||
BeneficiaryRemoved: ContractEvent<string>; | ||
BurnFractionSet: ContractEvent<string>; | ||
CarbonFractionSet: ContractEvent<string>; | ||
DailyLimitHit: ContractEvent<{ | ||
@@ -75,2 +103,8 @@ token: string; | ||
DailySellLimitUpdated: ContractEvent<string>; | ||
DistributionAmountSet: ContractEvent<{ | ||
tokenAddress: string; | ||
amount: string; | ||
0: string; | ||
1: string; | ||
}>; | ||
FeeBeneficiarySet: ContractEvent<string>; | ||
@@ -77,0 +111,0 @@ MaxSlippageSet: ContractEvent<{ |
@@ -635,3 +635,3 @@ { | ||
}, | ||
"version": "12.0.0-canary.42" | ||
"version": "12.0.0-canary.43" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
4408187
150627