-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathabi.json
1 lines (1 loc) · 12.2 KB
/
abi.json
1
[{"type":"error","name":"AddressAlreadyInUse","inputs":[{"type":"address","name":"t1Address","internalType":"address"}]},{"type":"error","name":"AddressMismatch","inputs":[{"type":"address","name":"t1Address","internalType":"address"},{"type":"bytes","name":"t1PublicKey","internalType":"bytes"}]},{"type":"error","name":"AmountCannotBeZero","inputs":[]},{"type":"error","name":"CannotChangeT2PublicKey","inputs":[{"type":"bytes32","name":"existingT2PublicKey","internalType":"bytes32"}]},{"type":"error","name":"CannotReceiveEWTUnlessLifting","inputs":[]},{"type":"error","name":"CollatorAlreadyRegistered","inputs":[]},{"type":"error","name":"CollatorFunctionsAreDisabled","inputs":[]},{"type":"error","name":"CollatorNotRegistered","inputs":[]},{"type":"error","name":"InvalidConfirmations","inputs":[]},{"type":"error","name":"InvalidLowerData","inputs":[]},{"type":"error","name":"InvalidQuorum","inputs":[]},{"type":"error","name":"InvalidT1PublicKey","inputs":[]},{"type":"error","name":"InvalidT2PublicKey","inputs":[]},{"type":"error","name":"LiftLimitExceeded","inputs":[]},{"type":"error","name":"LiftingIsDisabled","inputs":[]},{"type":"error","name":"LowerAlreadyUsed","inputs":[]},{"type":"error","name":"LoweringIsDisabled","inputs":[]},{"type":"error","name":"MissingCollatorKeys","inputs":[]},{"type":"error","name":"NotALowerTransaction","inputs":[]},{"type":"error","name":"OwnerOnly","inputs":[]},{"type":"error","name":"PaymentFailed","inputs":[]},{"type":"error","name":"RootHashAlreadyPublished","inputs":[]},{"type":"error","name":"T2PublicKeyAlreadyInUse","inputs":[{"type":"bytes32","name":"t2PublicKey","internalType":"bytes32"}]},{"type":"error","name":"TransactionIdAlreadyUsed","inputs":[]},{"type":"error","name":"UnsignedTransaction","inputs":[]},{"type":"event","name":"AdminChanged","inputs":[{"type":"address","name":"previousAdmin","internalType":"address","indexed":false},{"type":"address","name":"newAdmin","internalType":"address","indexed":false}],"anonymous":false},{"type":"event","name":"BeaconUpgraded","inputs":[{"type":"address","name":"beacon","internalType":"address","indexed":true}],"anonymous":false},{"type":"event","name":"Initialized","inputs":[{"type":"uint8","name":"version","internalType":"uint8","indexed":false}],"anonymous":false},{"type":"event","name":"LogCollatorDeregistered","inputs":[{"type":"bytes32","name":"t1PublicKeyLHS","internalType":"bytes32","indexed":true},{"type":"bytes32","name":"t1PublicKeyRHS","internalType":"bytes32","indexed":false},{"type":"bytes32","name":"t2PublicKey","internalType":"bytes32","indexed":true},{"type":"uint256","name":"t2TransactionId","internalType":"uint256","indexed":true}],"anonymous":false},{"type":"event","name":"LogCollatorFunctionsAreEnabled","inputs":[{"type":"bool","name":"state","internalType":"bool","indexed":false}],"anonymous":false},{"type":"event","name":"LogCollatorRegistered","inputs":[{"type":"bytes32","name":"t1PublicKeyLHS","internalType":"bytes32","indexed":true},{"type":"bytes32","name":"t1PublicKeyRHS","internalType":"bytes32","indexed":false},{"type":"bytes32","name":"t2PublicKey","internalType":"bytes32","indexed":true},{"type":"uint256","name":"t2TransactionId","internalType":"uint256","indexed":true}],"anonymous":false},{"type":"event","name":"LogLifted","inputs":[{"type":"address","name":"token","internalType":"address","indexed":true},{"type":"address","name":"t1Address","internalType":"address","indexed":true},{"type":"bytes32","name":"t2PublicKey","internalType":"bytes32","indexed":true},{"type":"uint256","name":"amount","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"event","name":"LogLiftingIsEnabled","inputs":[{"type":"bool","name":"state","internalType":"bool","indexed":false}],"anonymous":false},{"type":"event","name":"LogLowerCallUpdated","inputs":[{"type":"bytes2","name":"callId","internalType":"bytes2","indexed":false},{"type":"uint256","name":"numBytes","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"event","name":"LogLowered","inputs":[{"type":"address","name":"token","internalType":"address","indexed":true},{"type":"address","name":"t1Address","internalType":"address","indexed":true},{"type":"bytes32","name":"t2PublicKey","internalType":"bytes32","indexed":true},{"type":"uint256","name":"amount","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"event","name":"LogLoweringIsEnabled","inputs":[{"type":"bool","name":"state","internalType":"bool","indexed":false}],"anonymous":false},{"type":"event","name":"LogQuorumUpdated","inputs":[{"type":"uint256[2]","name":"quorum","internalType":"uint256[2]","indexed":false}],"anonymous":false},{"type":"event","name":"LogRootPublished","inputs":[{"type":"bytes32","name":"rootHash","internalType":"bytes32","indexed":true},{"type":"uint256","name":"t2TransactionId","internalType":"uint256","indexed":true}],"anonymous":false},{"type":"event","name":"OwnershipTransferred","inputs":[{"type":"address","name":"previousOwner","internalType":"address","indexed":true},{"type":"address","name":"newOwner","internalType":"address","indexed":true}],"anonymous":false},{"type":"event","name":"Upgraded","inputs":[{"type":"address","name":"implementation","internalType":"address","indexed":true}],"anonymous":false},{"type":"function","stateMutability":"view","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"collatorFunctionsAreEnabled","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"confirmTransaction","inputs":[{"type":"bytes32","name":"leafHash","internalType":"bytes32"},{"type":"bytes32[]","name":"merklePath","internalType":"bytes32[]"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"deregisterCollator","inputs":[{"type":"bytes","name":"t1PublicKey","internalType":"bytes"},{"type":"bytes32","name":"t2PublicKey","internalType":"bytes32"},{"type":"uint256","name":"t2TransactionId","internalType":"uint256"},{"type":"bytes","name":"confirmations","internalType":"bytes"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"hasLowered","inputs":[{"type":"bytes32","name":"","internalType":"bytes32"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"idToT1Address","inputs":[{"type":"uint256","name":"","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"bytes32","name":"","internalType":"bytes32"}],"name":"idToT2PublicKey","inputs":[{"type":"uint256","name":"","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"initialize","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"isActiveCollator","inputs":[{"type":"uint256","name":"","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"isPublishedRootHash","inputs":[{"type":"bytes32","name":"","internalType":"bytes32"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"isRegisteredCollator","inputs":[{"type":"uint256","name":"","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"isUsedT2TransactionId","inputs":[{"type":"uint256","name":"","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"lift","inputs":[{"type":"address","name":"erc20Address","internalType":"address"},{"type":"bytes","name":"t2PublicKey","internalType":"bytes"},{"type":"uint256","name":"amount","internalType":"uint256"}]},{"type":"function","stateMutability":"payable","outputs":[],"name":"liftEWT","inputs":[{"type":"bytes","name":"t2PublicKey","internalType":"bytes"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"liftingIsEnabled","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"loadCollators","inputs":[{"type":"address[]","name":"t1Address","internalType":"address[]"},{"type":"bytes32[]","name":"t1PublicKeyLHS","internalType":"bytes32[]"},{"type":"bytes32[]","name":"t1PublicKeyRHS","internalType":"bytes32[]"},{"type":"bytes32[]","name":"t2PublicKey","internalType":"bytes32[]"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"lower","inputs":[{"type":"bytes","name":"leaf","internalType":"bytes"},{"type":"bytes32[]","name":"merklePath","internalType":"bytes32[]"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"loweringIsEnabled","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"nextCollatorId","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"numActiveCollators","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"numBytesToLowerData","inputs":[{"type":"bytes2","name":"","internalType":"bytes2"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"owner","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"bytes32","name":"","internalType":"bytes32"}],"name":"proxiableUUID","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"publishRoot","inputs":[{"type":"bytes32","name":"rootHash","internalType":"bytes32"},{"type":"uint256","name":"t2TransactionId","internalType":"uint256"},{"type":"bytes","name":"confirmations","internalType":"bytes"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"quorum","inputs":[{"type":"uint256","name":"","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"registerCollator","inputs":[{"type":"bytes","name":"t1PublicKey","internalType":"bytes"},{"type":"bytes32","name":"t2PublicKey","internalType":"bytes32"},{"type":"uint256","name":"t2TransactionId","internalType":"uint256"},{"type":"bytes","name":"confirmations","internalType":"bytes"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"renounceOwnership","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setQuorum","inputs":[{"type":"uint256[2]","name":"_quorum","internalType":"uint256[2]"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"t1AddressToId","inputs":[{"type":"address","name":"","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"t2PublicKeyToId","inputs":[{"type":"bytes32","name":"","internalType":"bytes32"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"toggleCollatorFunctions","inputs":[{"type":"bool","name":"state","internalType":"bool"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"toggleLifting","inputs":[{"type":"bool","name":"state","internalType":"bool"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"toggleLowering","inputs":[{"type":"bool","name":"state","internalType":"bool"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"transferOwnership","inputs":[{"type":"address","name":"newOwner","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"updateLowerCall","inputs":[{"type":"bytes2","name":"callId","internalType":"bytes2"},{"type":"uint256","name":"numBytes","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"upgradeTo","inputs":[{"type":"address","name":"newImplementation","internalType":"address"}]},{"type":"function","stateMutability":"payable","outputs":[],"name":"upgradeToAndCall","inputs":[{"type":"address","name":"newImplementation","internalType":"address"},{"type":"bytes","name":"data","internalType":"bytes"}]},{"type":"receive","stateMutability":"payable"}]