@abacus-network/app
Advanced tools
Comparing version 0.0.3 to 0.0.4-sdkdev
@@ -47,2 +47,33 @@ "use strict"; | ||
inputs: [], | ||
name: "fail", | ||
outputs: [], | ||
stateMutability: "nonpayable", | ||
type: "function", | ||
}, | ||
{ | ||
inputs: [ | ||
{ | ||
internalType: "bytes32", | ||
name: "_root", | ||
type: "bytes32", | ||
}, | ||
{ | ||
internalType: "uint256", | ||
name: "_index", | ||
type: "uint256", | ||
}, | ||
], | ||
name: "isCheckpoint", | ||
outputs: [ | ||
{ | ||
internalType: "bool", | ||
name: "", | ||
type: "bool", | ||
}, | ||
], | ||
stateMutability: "nonpayable", | ||
type: "function", | ||
}, | ||
{ | ||
inputs: [], | ||
name: "latestCheckpoint", | ||
@@ -49,0 +80,0 @@ outputs: [ |
@@ -53,10 +53,23 @@ "use strict"; | ||
internalType: "address", | ||
name: "xAppConnectionManager", | ||
name: "abacusConnectionManager", | ||
type: "address", | ||
}, | ||
], | ||
name: "SetXAppConnectionManager", | ||
name: "SetAbacusConnectionManager", | ||
type: "event", | ||
}, | ||
{ | ||
inputs: [], | ||
name: "abacusConnectionManager", | ||
outputs: [ | ||
{ | ||
internalType: "contract IAbacusConnectionManager", | ||
name: "", | ||
type: "address", | ||
}, | ||
], | ||
stateMutability: "view", | ||
type: "function", | ||
}, | ||
{ | ||
inputs: [ | ||
@@ -145,7 +158,7 @@ { | ||
internalType: "address", | ||
name: "_xAppConnectionManager", | ||
name: "_abacusConnectionManager", | ||
type: "address", | ||
}, | ||
], | ||
name: "setXAppConnectionManager", | ||
name: "setAbacusConnectionManager", | ||
outputs: [], | ||
@@ -168,15 +181,2 @@ stateMutability: "nonpayable", | ||
}, | ||
{ | ||
inputs: [], | ||
name: "xAppConnectionManager", | ||
outputs: [ | ||
{ | ||
internalType: "contract IXAppConnectionManager", | ||
name: "", | ||
type: "address", | ||
}, | ||
], | ||
stateMutability: "view", | ||
type: "function", | ||
}, | ||
]; | ||
@@ -183,0 +183,0 @@ class Router__factory { |
@@ -14,3 +14,3 @@ import { Signer, ContractFactory, Overrides } from "ethers"; | ||
connect(signer: Signer): TestRouter__factory; | ||
static readonly bytecode = "0x608060405234801561001057600080fd5b5061188c806100206000396000f3fe608060405234801561001057600080fd5b50600436106100cf5760003560e01c806356d5d4751161008c5780638da5cb5b116100665780638da5cb5b14610210578063b49c53a71461022e578063c4d66de81461024a578063f2fde38b14610266576100cf565b806356d5d475146101ce578063715018a6146101ea5780638d8dff24146101f4576100cf565b8063133b79a9146100d457806319d2df84146101045780632e6a9e4b146101345780632ead72f6146101645780633339df961461019457806341bdc8b5146101b2575b600080fd5b6100ee60048036038101906100e99190610e1c565b610282565b6040516100fb9190610e62565b60405180910390f35b61011e60048036038101906101199190610ee2565b610294565b60405161012b9190610f5b565b60405180910390f35b61014e60048036038101906101499190610fa2565b6102ed565b60405161015b9190610ffd565b60405180910390f35b61017e60048036038101906101799190610e1c565b610301565b60405161018b9190610e62565b60405180910390f35b61019c610319565b6040516101a99190611097565b60405180910390f35b6101cc60048036038101906101c791906110f0565b61033f565b005b6101e860048036038101906101e3919061125e565b6103c7565b005b6101f261046c565b005b61020e600480360381019061020991906112f9565b6104f4565b005b610218610549565b604051610225919061137c565b60405180910390f35b61024860048036038101906102439190610fa2565b610573565b005b610264600480360381019061025f91906110f0565b6105fd565b005b610280600480360381019061027b91906110f0565b610609565b005b600061028d82610700565b9050919050565b60006102e48484848080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f8201169050808301925050505050505061076e565b90509392505050565b60006102f9838361080c565b905092915050565b60976020528060005260406000206000915090505481565b606560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b610347610838565b73ffffffffffffffffffffffffffffffffffffffff16610365610549565b73ffffffffffffffffffffffffffffffffffffffff16146103bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016103b2906113f4565b60405180910390fd5b6103c481610840565b50565b6103d0336108c7565b61040f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161040690611460565b60405180910390fd5b828261041b828261080c565b61045a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610451906114cc565b60405180910390fd5b61046585858561096c565b5050505050565b610474610838565b73ffffffffffffffffffffffffffffffffffffffff16610492610549565b73ffffffffffffffffffffffffffffffffffffffff16146104e8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104df906113f4565b60405180910390fd5b6104f26000610971565b565b6105438484848080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f8201169050808301925050505050505083610a37565b50505050565b6000603360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b61057b610838565b73ffffffffffffffffffffffffffffffffffffffff16610599610549565b73ffffffffffffffffffffffffffffffffffffffff16146105ef576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105e6906113f4565b60405180910390fd5b6105f98282610ac8565b5050565b61060681610b24565b50565b610611610838565b73ffffffffffffffffffffffffffffffffffffffff1661062f610549565b73ffffffffffffffffffffffffffffffffffffffff1614610685576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161067c906113f4565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036106f4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106eb9061155e565b60405180910390fd5b6106fd81610971565b50565b6000609760008363ffffffff1663ffffffff1681526020019081526020016000205490506000801b8103610769576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610760906114cc565b60405180910390fd5b919050565b60008061077a84610700565b9050610784610b7f565b73ffffffffffffffffffffffffffffffffffffffff1663fa31de018583866040518463ffffffff1660e01b81526004016107c093929190611615565b6020604051808303816000875af11580156107df573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108039190611668565b91505092915050565b600081609760008563ffffffff1663ffffffff1681526020019081526020016000205414905092915050565b600033905090565b80606560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff167f44f5c9724b3fe6c8848ca05e1bee17ac4971f31be91d1c71b1eefdb3c826677460405160405180910390a250565b6000606560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663282f51eb836040518263ffffffff1660e01b8152600401610924919061137c565b602060405180830381865afa158015610941573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061096591906116c1565b9050919050565b505050565b6000603360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081603360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000610a43848461076e565b90506000821115610ac257610a56610c17565b73ffffffffffffffffffffffffffffffffffffffff166331f1dd3383836040518363ffffffff1660e01b8152600401610a8f9190610f5b565b6000604051808303818588803b158015610aa857600080fd5b505af1158015610abc573d6000803e3d6000fd5b50505050505b50505050565b80609760008463ffffffff1663ffffffff16815260200190815260200160002081905550808263ffffffff167f7a69b3d35edf59b97fd4d38d8ecf2b4ecd0a19d236e421d8c543ea234d66597460405160405180910390a35050565b600060019054906101000a900460ff16610b73576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b6a90611760565b60405180910390fd5b610b7c81610caf565b50565b6000606560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663ce11e6ab6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610bee573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c1291906117be565b905090565b6000606560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166339bb4ad96040518163ffffffff1660e01b8152600401602060405180830381865afa158015610c86573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610caa9190611829565b905090565b600060019054906101000a900460ff16610cfe576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cf590611760565b60405180910390fd5b610d0781610840565b610d0f610d12565b50565b600060019054906101000a900460ff16610d61576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d5890611760565b60405180910390fd5b610d69610d6b565b565b600060019054906101000a900460ff16610dba576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610db190611760565b60405180910390fd5b610dca610dc5610838565b610971565b565b6000604051905090565b600080fd5b600080fd5b600063ffffffff82169050919050565b610df981610de0565b8114610e0457600080fd5b50565b600081359050610e1681610df0565b92915050565b600060208284031215610e3257610e31610dd6565b5b6000610e4084828501610e07565b91505092915050565b6000819050919050565b610e5c81610e49565b82525050565b6000602082019050610e776000830184610e53565b92915050565b600080fd5b600080fd5b600080fd5b60008083601f840112610ea257610ea1610e7d565b5b8235905067ffffffffffffffff811115610ebf57610ebe610e82565b5b602083019150836001820283011115610edb57610eda610e87565b5b9250929050565b600080600060408486031215610efb57610efa610dd6565b5b6000610f0986828701610e07565b935050602084013567ffffffffffffffff811115610f2a57610f29610ddb565b5b610f3686828701610e8c565b92509250509250925092565b6000819050919050565b610f5581610f42565b82525050565b6000602082019050610f706000830184610f4c565b92915050565b610f7f81610e49565b8114610f8a57600080fd5b50565b600081359050610f9c81610f76565b92915050565b60008060408385031215610fb957610fb8610dd6565b5b6000610fc785828601610e07565b9250506020610fd885828601610f8d565b9150509250929050565b60008115159050919050565b610ff781610fe2565b82525050565b60006020820190506110126000830184610fee565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600061105d61105861105384611018565b611038565b611018565b9050919050565b600061106f82611042565b9050919050565b600061108182611064565b9050919050565b61109181611076565b82525050565b60006020820190506110ac6000830184611088565b92915050565b60006110bd82611018565b9050919050565b6110cd816110b2565b81146110d857600080fd5b50565b6000813590506110ea816110c4565b92915050565b60006020828403121561110657611105610dd6565b5b6000611114848285016110db565b91505092915050565b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61116b82611122565b810181811067ffffffffffffffff8211171561118a57611189611133565b5b80604052505050565b600061119d610dcc565b90506111a98282611162565b919050565b600067ffffffffffffffff8211156111c9576111c8611133565b5b6111d282611122565b9050602081019050919050565b82818337600083830152505050565b60006112016111fc846111ae565b611193565b90508281526020810184848401111561121d5761121c61111d565b5b6112288482856111df565b509392505050565b600082601f83011261124557611244610e7d565b5b81356112558482602086016111ee565b91505092915050565b60008060006060848603121561127757611276610dd6565b5b600061128586828701610e07565b935050602061129686828701610f8d565b925050604084013567ffffffffffffffff8111156112b7576112b6610ddb565b5b6112c386828701611230565b9150509250925092565b6112d681610f42565b81146112e157600080fd5b50565b6000813590506112f3816112cd565b92915050565b6000806000806060858703121561131357611312610dd6565b5b600061132187828801610e07565b945050602085013567ffffffffffffffff81111561134257611341610ddb565b5b61134e87828801610e8c565b93509350506040611361878288016112e4565b91505092959194509250565b611376816110b2565b82525050565b6000602082019050611391600083018461136d565b92915050565b600082825260208201905092915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006113de602083611397565b91506113e9826113a8565b602082019050919050565b6000602082019050818103600083015261140d816113d1565b9050919050565b7f21696e626f780000000000000000000000000000000000000000000000000000600082015250565b600061144a600683611397565b915061145582611414565b602082019050919050565b600060208201905081810360008301526114798161143d565b9050919050565b7f21726f7574657200000000000000000000000000000000000000000000000000600082015250565b60006114b6600783611397565b91506114c182611480565b602082019050919050565b600060208201905081810360008301526114e5816114a9565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000611548602683611397565b9150611553826114ec565b604082019050919050565b600060208201905081810360008301526115778161153b565b9050919050565b61158781610de0565b82525050565b600081519050919050565b600082825260208201905092915050565b60005b838110156115c75780820151818401526020810190506115ac565b838111156115d6576000848401525b50505050565b60006115e78261158d565b6115f18185611598565b93506116018185602086016115a9565b61160a81611122565b840191505092915050565b600060608201905061162a600083018661157e565b6116376020830185610e53565b818103604083015261164981846115dc565b9050949350505050565b600081519050611662816112cd565b92915050565b60006020828403121561167e5761167d610dd6565b5b600061168c84828501611653565b91505092915050565b61169e81610fe2565b81146116a957600080fd5b50565b6000815190506116bb81611695565b92915050565b6000602082840312156116d7576116d6610dd6565b5b60006116e5848285016116ac565b91505092915050565b7f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960008201527f6e697469616c697a696e67000000000000000000000000000000000000000000602082015250565b600061174a602b83611397565b9150611755826116ee565b604082019050919050565b600060208201905081810360008301526117798161173d565b9050919050565b600061178b826110b2565b9050919050565b61179b81611780565b81146117a657600080fd5b50565b6000815190506117b881611792565b92915050565b6000602082840312156117d4576117d3610dd6565b5b60006117e2848285016117a9565b91505092915050565b60006117f6826110b2565b9050919050565b611806816117eb565b811461181157600080fd5b50565b600081519050611823816117fd565b92915050565b60006020828403121561183f5761183e610dd6565b5b600061184d84828501611814565b9150509291505056fea26469706673582212208e3ba9912e4378e8ecb95974455c7f7db40998b0e09c8b2f592907443c9ddc7b64736f6c634300080d0033"; | ||
static readonly bytecode = "0x608060405234801561001057600080fd5b50611996806100206000396000f3fe608060405234801561001057600080fd5b50600436106100cf5760003560e01c8063715018a61161008c5780639a35c359116100665780639a35c35914610210578063b49c53a71461022e578063c4d66de81461024a578063f2fde38b14610266576100cf565b8063715018a6146101cc5780638d8dff24146101d65780638da5cb5b146101f2576100cf565b806312b1d780146100d4578063133b79a9146100f057806319d2df84146101205780632e6a9e4b146101505780632ead72f61461018057806356d5d475146101b0575b600080fd5b6100ee60048036038101906100e99190610eb6565b610282565b005b61010a60048036038101906101059190610f1f565b61030a565b6040516101179190610f65565b60405180910390f35b61013a60048036038101906101359190610fe5565b61031c565b604051610147919061105e565b60405180910390f35b61016a600480360381019061016591906110a5565b610375565b6040516101779190611100565b60405180910390f35b61019a60048036038101906101959190610f1f565b610389565b6040516101a79190610f65565b60405180910390f35b6101ca60048036038101906101c5919061125c565b6103a1565b005b6101d4610446565b005b6101f060048036038101906101eb91906112f7565b6104ce565b005b6101fa610523565b604051610207919061137a565b60405180910390f35b61021861054d565b60405161022591906113f4565b60405180910390f35b610248600480360381019061024391906110a5565b610573565b005b610264600480360381019061025f9190610eb6565b6105fd565b005b610280600480360381019061027b9190610eb6565b6106eb565b005b61028a6107e2565b73ffffffffffffffffffffffffffffffffffffffff166102a8610523565b73ffffffffffffffffffffffffffffffffffffffff16146102fe576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016102f59061146c565b60405180910390fd5b610307816107ea565b50565b600061031582610871565b9050919050565b600061036c8484848080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050506108df565b90509392505050565b6000610381838361097d565b905092915050565b60976020528060005260406000206000915090505481565b6103aa336109a9565b6103e9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016103e0906114d8565b60405180910390fd5b82826103f5828261097d565b610434576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161042b90611544565b60405180910390fd5b61043f858585610a4e565b5050505050565b61044e6107e2565b73ffffffffffffffffffffffffffffffffffffffff1661046c610523565b73ffffffffffffffffffffffffffffffffffffffff16146104c2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104b99061146c565b60405180910390fd5b6104cc6000610a53565b565b61051d8484848080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f8201169050808301925050505050505083610b19565b50505050565b6000603360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b61057b6107e2565b73ffffffffffffffffffffffffffffffffffffffff16610599610523565b73ffffffffffffffffffffffffffffffffffffffff16146105ef576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105e69061146c565b60405180910390fd5b6105f98282610baa565b5050565b600060019054906101000a900460ff166106255760008054906101000a900460ff161561062e565b61062d610c06565b5b61066d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610664906115d6565b60405180910390fd5b60008060019054906101000a900460ff1615905080156106bd576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b6106c682610c17565b80156106e75760008060016101000a81548160ff0219169083151502179055505b5050565b6106f36107e2565b73ffffffffffffffffffffffffffffffffffffffff16610711610523565b73ffffffffffffffffffffffffffffffffffffffff1614610767576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161075e9061146c565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036107d6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107cd90611668565b60405180910390fd5b6107df81610a53565b50565b600033905090565b80606560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff167ffd9d51f0a51aa62211445229fd1a1ef01bbe01347290d8e15249b8c33a89eea660405160405180910390a250565b6000609760008363ffffffff1663ffffffff1681526020019081526020016000205490506000801b81036108da576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108d190611544565b60405180910390fd5b919050565b6000806108eb84610871565b90506108f5610c23565b73ffffffffffffffffffffffffffffffffffffffff1663fa31de018583866040518463ffffffff1660e01b81526004016109319392919061171f565b6020604051808303816000875af1158015610950573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109749190611772565b91505092915050565b600081609760008563ffffffff1663ffffffff1681526020019081526020016000205414905092915050565b6000606560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663282f51eb836040518263ffffffff1660e01b8152600401610a06919061137a565b602060405180830381865afa158015610a23573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a4791906117cb565b9050919050565b505050565b6000603360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081603360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000610b2584846108df565b90506000821115610ba457610b38610cbb565b73ffffffffffffffffffffffffffffffffffffffff166331f1dd3383836040518363ffffffff1660e01b8152600401610b71919061105e565b6000604051808303818588803b158015610b8a57600080fd5b505af1158015610b9e573d6000803e3d6000fd5b50505050505b50505050565b80609760008463ffffffff1663ffffffff16815260200190815260200160002081905550808263ffffffff167f7a69b3d35edf59b97fd4d38d8ecf2b4ecd0a19d236e421d8c543ea234d66597460405160405180910390a35050565b6000610c1130610d53565b15905090565b610c2081610d76565b50565b6000606560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663ce11e6ab6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610c92573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cb69190611836565b905090565b6000606560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166339bb4ad96040518163ffffffff1660e01b8152600401602060405180830381865afa158015610d2a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d4e91906118a1565b905090565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b610d7f816107ea565b610d87610d8a565b50565b600060019054906101000a900460ff16610dd9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dd090611940565b60405180910390fd5b610de1610de3565b565b600060019054906101000a900460ff16610e32576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e2990611940565b60405180910390fd5b610e42610e3d6107e2565b610a53565b565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000610e8382610e58565b9050919050565b610e9381610e78565b8114610e9e57600080fd5b50565b600081359050610eb081610e8a565b92915050565b600060208284031215610ecc57610ecb610e4e565b5b6000610eda84828501610ea1565b91505092915050565b600063ffffffff82169050919050565b610efc81610ee3565b8114610f0757600080fd5b50565b600081359050610f1981610ef3565b92915050565b600060208284031215610f3557610f34610e4e565b5b6000610f4384828501610f0a565b91505092915050565b6000819050919050565b610f5f81610f4c565b82525050565b6000602082019050610f7a6000830184610f56565b92915050565b600080fd5b600080fd5b600080fd5b60008083601f840112610fa557610fa4610f80565b5b8235905067ffffffffffffffff811115610fc257610fc1610f85565b5b602083019150836001820283011115610fde57610fdd610f8a565b5b9250929050565b600080600060408486031215610ffe57610ffd610e4e565b5b600061100c86828701610f0a565b935050602084013567ffffffffffffffff81111561102d5761102c610e53565b5b61103986828701610f8f565b92509250509250925092565b6000819050919050565b61105881611045565b82525050565b6000602082019050611073600083018461104f565b92915050565b61108281610f4c565b811461108d57600080fd5b50565b60008135905061109f81611079565b92915050565b600080604083850312156110bc576110bb610e4e565b5b60006110ca85828601610f0a565b92505060206110db85828601611090565b9150509250929050565b60008115159050919050565b6110fa816110e5565b82525050565b600060208201905061111560008301846110f1565b92915050565b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61116982611120565b810181811067ffffffffffffffff8211171561118857611187611131565b5b80604052505050565b600061119b610e44565b90506111a78282611160565b919050565b600067ffffffffffffffff8211156111c7576111c6611131565b5b6111d082611120565b9050602081019050919050565b82818337600083830152505050565b60006111ff6111fa846111ac565b611191565b90508281526020810184848401111561121b5761121a61111b565b5b6112268482856111dd565b509392505050565b600082601f83011261124357611242610f80565b5b81356112538482602086016111ec565b91505092915050565b60008060006060848603121561127557611274610e4e565b5b600061128386828701610f0a565b935050602061129486828701611090565b925050604084013567ffffffffffffffff8111156112b5576112b4610e53565b5b6112c18682870161122e565b9150509250925092565b6112d481611045565b81146112df57600080fd5b50565b6000813590506112f1816112cb565b92915050565b6000806000806060858703121561131157611310610e4e565b5b600061131f87828801610f0a565b945050602085013567ffffffffffffffff8111156113405761133f610e53565b5b61134c87828801610f8f565b9350935050604061135f878288016112e2565b91505092959194509250565b61137481610e78565b82525050565b600060208201905061138f600083018461136b565b92915050565b6000819050919050565b60006113ba6113b56113b084610e58565b611395565b610e58565b9050919050565b60006113cc8261139f565b9050919050565b60006113de826113c1565b9050919050565b6113ee816113d3565b82525050565b600060208201905061140960008301846113e5565b92915050565b600082825260208201905092915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b600061145660208361140f565b915061146182611420565b602082019050919050565b6000602082019050818103600083015261148581611449565b9050919050565b7f21696e626f780000000000000000000000000000000000000000000000000000600082015250565b60006114c260068361140f565b91506114cd8261148c565b602082019050919050565b600060208201905081810360008301526114f1816114b5565b9050919050565b7f21726f7574657200000000000000000000000000000000000000000000000000600082015250565b600061152e60078361140f565b9150611539826114f8565b602082019050919050565b6000602082019050818103600083015261155d81611521565b9050919050565b7f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160008201527f647920696e697469616c697a6564000000000000000000000000000000000000602082015250565b60006115c0602e8361140f565b91506115cb82611564565b604082019050919050565b600060208201905081810360008301526115ef816115b3565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b600061165260268361140f565b915061165d826115f6565b604082019050919050565b6000602082019050818103600083015261168181611645565b9050919050565b61169181610ee3565b82525050565b600081519050919050565b600082825260208201905092915050565b60005b838110156116d15780820151818401526020810190506116b6565b838111156116e0576000848401525b50505050565b60006116f182611697565b6116fb81856116a2565b935061170b8185602086016116b3565b61171481611120565b840191505092915050565b60006060820190506117346000830186611688565b6117416020830185610f56565b818103604083015261175381846116e6565b9050949350505050565b60008151905061176c816112cb565b92915050565b60006020828403121561178857611787610e4e565b5b60006117968482850161175d565b91505092915050565b6117a8816110e5565b81146117b357600080fd5b50565b6000815190506117c58161179f565b92915050565b6000602082840312156117e1576117e0610e4e565b5b60006117ef848285016117b6565b91505092915050565b600061180382610e78565b9050919050565b611813816117f8565b811461181e57600080fd5b50565b6000815190506118308161180a565b92915050565b60006020828403121561184c5761184b610e4e565b5b600061185a84828501611821565b91505092915050565b600061186e82610e78565b9050919050565b61187e81611863565b811461188957600080fd5b50565b60008151905061189b81611875565b92915050565b6000602082840312156118b7576118b6610e4e565b5b60006118c58482850161188c565b91505092915050565b7f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960008201527f6e697469616c697a696e67000000000000000000000000000000000000000000602082015250565b600061192a602b8361140f565b9150611935826118ce565b604082019050919050565b600060208201905081810360008301526119598161191d565b905091905056fea26469706673582212201a594bc05f469ac3093722fa4fb8aa39fab80db3986995155f21837627b7d96364736f6c634300080d0033"; | ||
static readonly abi: ({ | ||
@@ -17,0 +17,0 @@ anonymous: boolean; |
@@ -53,10 +53,23 @@ "use strict"; | ||
internalType: "address", | ||
name: "xAppConnectionManager", | ||
name: "abacusConnectionManager", | ||
type: "address", | ||
}, | ||
], | ||
name: "SetXAppConnectionManager", | ||
name: "SetAbacusConnectionManager", | ||
type: "event", | ||
}, | ||
{ | ||
inputs: [], | ||
name: "abacusConnectionManager", | ||
outputs: [ | ||
{ | ||
internalType: "contract IAbacusConnectionManager", | ||
name: "", | ||
type: "address", | ||
}, | ||
], | ||
stateMutability: "view", | ||
type: "function", | ||
}, | ||
{ | ||
inputs: [ | ||
@@ -153,3 +166,3 @@ { | ||
internalType: "address", | ||
name: "_xAppConnectionManager", | ||
name: "_abacusConnectionManager", | ||
type: "address", | ||
@@ -249,7 +262,7 @@ }, | ||
internalType: "address", | ||
name: "_xAppConnectionManager", | ||
name: "_abacusConnectionManager", | ||
type: "address", | ||
}, | ||
], | ||
name: "setXAppConnectionManager", | ||
name: "setAbacusConnectionManager", | ||
outputs: [], | ||
@@ -272,17 +285,4 @@ stateMutability: "nonpayable", | ||
}, | ||
{ | ||
inputs: [], | ||
name: "xAppConnectionManager", | ||
outputs: [ | ||
{ | ||
internalType: "contract IXAppConnectionManager", | ||
name: "", | ||
type: "address", | ||
}, | ||
], | ||
stateMutability: "view", | ||
type: "function", | ||
}, | ||
]; | ||
const _bytecode = "0x608060405234801561001057600080fd5b5061188c806100206000396000f3fe608060405234801561001057600080fd5b50600436106100cf5760003560e01c806356d5d4751161008c5780638da5cb5b116100665780638da5cb5b14610210578063b49c53a71461022e578063c4d66de81461024a578063f2fde38b14610266576100cf565b806356d5d475146101ce578063715018a6146101ea5780638d8dff24146101f4576100cf565b8063133b79a9146100d457806319d2df84146101045780632e6a9e4b146101345780632ead72f6146101645780633339df961461019457806341bdc8b5146101b2575b600080fd5b6100ee60048036038101906100e99190610e1c565b610282565b6040516100fb9190610e62565b60405180910390f35b61011e60048036038101906101199190610ee2565b610294565b60405161012b9190610f5b565b60405180910390f35b61014e60048036038101906101499190610fa2565b6102ed565b60405161015b9190610ffd565b60405180910390f35b61017e60048036038101906101799190610e1c565b610301565b60405161018b9190610e62565b60405180910390f35b61019c610319565b6040516101a99190611097565b60405180910390f35b6101cc60048036038101906101c791906110f0565b61033f565b005b6101e860048036038101906101e3919061125e565b6103c7565b005b6101f261046c565b005b61020e600480360381019061020991906112f9565b6104f4565b005b610218610549565b604051610225919061137c565b60405180910390f35b61024860048036038101906102439190610fa2565b610573565b005b610264600480360381019061025f91906110f0565b6105fd565b005b610280600480360381019061027b91906110f0565b610609565b005b600061028d82610700565b9050919050565b60006102e48484848080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f8201169050808301925050505050505061076e565b90509392505050565b60006102f9838361080c565b905092915050565b60976020528060005260406000206000915090505481565b606560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b610347610838565b73ffffffffffffffffffffffffffffffffffffffff16610365610549565b73ffffffffffffffffffffffffffffffffffffffff16146103bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016103b2906113f4565b60405180910390fd5b6103c481610840565b50565b6103d0336108c7565b61040f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161040690611460565b60405180910390fd5b828261041b828261080c565b61045a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610451906114cc565b60405180910390fd5b61046585858561096c565b5050505050565b610474610838565b73ffffffffffffffffffffffffffffffffffffffff16610492610549565b73ffffffffffffffffffffffffffffffffffffffff16146104e8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104df906113f4565b60405180910390fd5b6104f26000610971565b565b6105438484848080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f8201169050808301925050505050505083610a37565b50505050565b6000603360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b61057b610838565b73ffffffffffffffffffffffffffffffffffffffff16610599610549565b73ffffffffffffffffffffffffffffffffffffffff16146105ef576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105e6906113f4565b60405180910390fd5b6105f98282610ac8565b5050565b61060681610b24565b50565b610611610838565b73ffffffffffffffffffffffffffffffffffffffff1661062f610549565b73ffffffffffffffffffffffffffffffffffffffff1614610685576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161067c906113f4565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036106f4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106eb9061155e565b60405180910390fd5b6106fd81610971565b50565b6000609760008363ffffffff1663ffffffff1681526020019081526020016000205490506000801b8103610769576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610760906114cc565b60405180910390fd5b919050565b60008061077a84610700565b9050610784610b7f565b73ffffffffffffffffffffffffffffffffffffffff1663fa31de018583866040518463ffffffff1660e01b81526004016107c093929190611615565b6020604051808303816000875af11580156107df573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108039190611668565b91505092915050565b600081609760008563ffffffff1663ffffffff1681526020019081526020016000205414905092915050565b600033905090565b80606560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff167f44f5c9724b3fe6c8848ca05e1bee17ac4971f31be91d1c71b1eefdb3c826677460405160405180910390a250565b6000606560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663282f51eb836040518263ffffffff1660e01b8152600401610924919061137c565b602060405180830381865afa158015610941573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061096591906116c1565b9050919050565b505050565b6000603360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081603360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000610a43848461076e565b90506000821115610ac257610a56610c17565b73ffffffffffffffffffffffffffffffffffffffff166331f1dd3383836040518363ffffffff1660e01b8152600401610a8f9190610f5b565b6000604051808303818588803b158015610aa857600080fd5b505af1158015610abc573d6000803e3d6000fd5b50505050505b50505050565b80609760008463ffffffff1663ffffffff16815260200190815260200160002081905550808263ffffffff167f7a69b3d35edf59b97fd4d38d8ecf2b4ecd0a19d236e421d8c543ea234d66597460405160405180910390a35050565b600060019054906101000a900460ff16610b73576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b6a90611760565b60405180910390fd5b610b7c81610caf565b50565b6000606560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663ce11e6ab6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610bee573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c1291906117be565b905090565b6000606560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166339bb4ad96040518163ffffffff1660e01b8152600401602060405180830381865afa158015610c86573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610caa9190611829565b905090565b600060019054906101000a900460ff16610cfe576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cf590611760565b60405180910390fd5b610d0781610840565b610d0f610d12565b50565b600060019054906101000a900460ff16610d61576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d5890611760565b60405180910390fd5b610d69610d6b565b565b600060019054906101000a900460ff16610dba576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610db190611760565b60405180910390fd5b610dca610dc5610838565b610971565b565b6000604051905090565b600080fd5b600080fd5b600063ffffffff82169050919050565b610df981610de0565b8114610e0457600080fd5b50565b600081359050610e1681610df0565b92915050565b600060208284031215610e3257610e31610dd6565b5b6000610e4084828501610e07565b91505092915050565b6000819050919050565b610e5c81610e49565b82525050565b6000602082019050610e776000830184610e53565b92915050565b600080fd5b600080fd5b600080fd5b60008083601f840112610ea257610ea1610e7d565b5b8235905067ffffffffffffffff811115610ebf57610ebe610e82565b5b602083019150836001820283011115610edb57610eda610e87565b5b9250929050565b600080600060408486031215610efb57610efa610dd6565b5b6000610f0986828701610e07565b935050602084013567ffffffffffffffff811115610f2a57610f29610ddb565b5b610f3686828701610e8c565b92509250509250925092565b6000819050919050565b610f5581610f42565b82525050565b6000602082019050610f706000830184610f4c565b92915050565b610f7f81610e49565b8114610f8a57600080fd5b50565b600081359050610f9c81610f76565b92915050565b60008060408385031215610fb957610fb8610dd6565b5b6000610fc785828601610e07565b9250506020610fd885828601610f8d565b9150509250929050565b60008115159050919050565b610ff781610fe2565b82525050565b60006020820190506110126000830184610fee565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600061105d61105861105384611018565b611038565b611018565b9050919050565b600061106f82611042565b9050919050565b600061108182611064565b9050919050565b61109181611076565b82525050565b60006020820190506110ac6000830184611088565b92915050565b60006110bd82611018565b9050919050565b6110cd816110b2565b81146110d857600080fd5b50565b6000813590506110ea816110c4565b92915050565b60006020828403121561110657611105610dd6565b5b6000611114848285016110db565b91505092915050565b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61116b82611122565b810181811067ffffffffffffffff8211171561118a57611189611133565b5b80604052505050565b600061119d610dcc565b90506111a98282611162565b919050565b600067ffffffffffffffff8211156111c9576111c8611133565b5b6111d282611122565b9050602081019050919050565b82818337600083830152505050565b60006112016111fc846111ae565b611193565b90508281526020810184848401111561121d5761121c61111d565b5b6112288482856111df565b509392505050565b600082601f83011261124557611244610e7d565b5b81356112558482602086016111ee565b91505092915050565b60008060006060848603121561127757611276610dd6565b5b600061128586828701610e07565b935050602061129686828701610f8d565b925050604084013567ffffffffffffffff8111156112b7576112b6610ddb565b5b6112c386828701611230565b9150509250925092565b6112d681610f42565b81146112e157600080fd5b50565b6000813590506112f3816112cd565b92915050565b6000806000806060858703121561131357611312610dd6565b5b600061132187828801610e07565b945050602085013567ffffffffffffffff81111561134257611341610ddb565b5b61134e87828801610e8c565b93509350506040611361878288016112e4565b91505092959194509250565b611376816110b2565b82525050565b6000602082019050611391600083018461136d565b92915050565b600082825260208201905092915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006113de602083611397565b91506113e9826113a8565b602082019050919050565b6000602082019050818103600083015261140d816113d1565b9050919050565b7f21696e626f780000000000000000000000000000000000000000000000000000600082015250565b600061144a600683611397565b915061145582611414565b602082019050919050565b600060208201905081810360008301526114798161143d565b9050919050565b7f21726f7574657200000000000000000000000000000000000000000000000000600082015250565b60006114b6600783611397565b91506114c182611480565b602082019050919050565b600060208201905081810360008301526114e5816114a9565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000611548602683611397565b9150611553826114ec565b604082019050919050565b600060208201905081810360008301526115778161153b565b9050919050565b61158781610de0565b82525050565b600081519050919050565b600082825260208201905092915050565b60005b838110156115c75780820151818401526020810190506115ac565b838111156115d6576000848401525b50505050565b60006115e78261158d565b6115f18185611598565b93506116018185602086016115a9565b61160a81611122565b840191505092915050565b600060608201905061162a600083018661157e565b6116376020830185610e53565b818103604083015261164981846115dc565b9050949350505050565b600081519050611662816112cd565b92915050565b60006020828403121561167e5761167d610dd6565b5b600061168c84828501611653565b91505092915050565b61169e81610fe2565b81146116a957600080fd5b50565b6000815190506116bb81611695565b92915050565b6000602082840312156116d7576116d6610dd6565b5b60006116e5848285016116ac565b91505092915050565b7f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960008201527f6e697469616c697a696e67000000000000000000000000000000000000000000602082015250565b600061174a602b83611397565b9150611755826116ee565b604082019050919050565b600060208201905081810360008301526117798161173d565b9050919050565b600061178b826110b2565b9050919050565b61179b81611780565b81146117a657600080fd5b50565b6000815190506117b881611792565b92915050565b6000602082840312156117d4576117d3610dd6565b5b60006117e2848285016117a9565b91505092915050565b60006117f6826110b2565b9050919050565b611806816117eb565b811461181157600080fd5b50565b600081519050611823816117fd565b92915050565b60006020828403121561183f5761183e610dd6565b5b600061184d84828501611814565b9150509291505056fea26469706673582212208e3ba9912e4378e8ecb95974455c7f7db40998b0e09c8b2f592907443c9ddc7b64736f6c634300080d0033"; | ||
const _bytecode = "0x608060405234801561001057600080fd5b50611996806100206000396000f3fe608060405234801561001057600080fd5b50600436106100cf5760003560e01c8063715018a61161008c5780639a35c359116100665780639a35c35914610210578063b49c53a71461022e578063c4d66de81461024a578063f2fde38b14610266576100cf565b8063715018a6146101cc5780638d8dff24146101d65780638da5cb5b146101f2576100cf565b806312b1d780146100d4578063133b79a9146100f057806319d2df84146101205780632e6a9e4b146101505780632ead72f61461018057806356d5d475146101b0575b600080fd5b6100ee60048036038101906100e99190610eb6565b610282565b005b61010a60048036038101906101059190610f1f565b61030a565b6040516101179190610f65565b60405180910390f35b61013a60048036038101906101359190610fe5565b61031c565b604051610147919061105e565b60405180910390f35b61016a600480360381019061016591906110a5565b610375565b6040516101779190611100565b60405180910390f35b61019a60048036038101906101959190610f1f565b610389565b6040516101a79190610f65565b60405180910390f35b6101ca60048036038101906101c5919061125c565b6103a1565b005b6101d4610446565b005b6101f060048036038101906101eb91906112f7565b6104ce565b005b6101fa610523565b604051610207919061137a565b60405180910390f35b61021861054d565b60405161022591906113f4565b60405180910390f35b610248600480360381019061024391906110a5565b610573565b005b610264600480360381019061025f9190610eb6565b6105fd565b005b610280600480360381019061027b9190610eb6565b6106eb565b005b61028a6107e2565b73ffffffffffffffffffffffffffffffffffffffff166102a8610523565b73ffffffffffffffffffffffffffffffffffffffff16146102fe576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016102f59061146c565b60405180910390fd5b610307816107ea565b50565b600061031582610871565b9050919050565b600061036c8484848080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050506108df565b90509392505050565b6000610381838361097d565b905092915050565b60976020528060005260406000206000915090505481565b6103aa336109a9565b6103e9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016103e0906114d8565b60405180910390fd5b82826103f5828261097d565b610434576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161042b90611544565b60405180910390fd5b61043f858585610a4e565b5050505050565b61044e6107e2565b73ffffffffffffffffffffffffffffffffffffffff1661046c610523565b73ffffffffffffffffffffffffffffffffffffffff16146104c2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104b99061146c565b60405180910390fd5b6104cc6000610a53565b565b61051d8484848080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f8201169050808301925050505050505083610b19565b50505050565b6000603360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b61057b6107e2565b73ffffffffffffffffffffffffffffffffffffffff16610599610523565b73ffffffffffffffffffffffffffffffffffffffff16146105ef576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105e69061146c565b60405180910390fd5b6105f98282610baa565b5050565b600060019054906101000a900460ff166106255760008054906101000a900460ff161561062e565b61062d610c06565b5b61066d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610664906115d6565b60405180910390fd5b60008060019054906101000a900460ff1615905080156106bd576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b6106c682610c17565b80156106e75760008060016101000a81548160ff0219169083151502179055505b5050565b6106f36107e2565b73ffffffffffffffffffffffffffffffffffffffff16610711610523565b73ffffffffffffffffffffffffffffffffffffffff1614610767576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161075e9061146c565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036107d6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107cd90611668565b60405180910390fd5b6107df81610a53565b50565b600033905090565b80606560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff167ffd9d51f0a51aa62211445229fd1a1ef01bbe01347290d8e15249b8c33a89eea660405160405180910390a250565b6000609760008363ffffffff1663ffffffff1681526020019081526020016000205490506000801b81036108da576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108d190611544565b60405180910390fd5b919050565b6000806108eb84610871565b90506108f5610c23565b73ffffffffffffffffffffffffffffffffffffffff1663fa31de018583866040518463ffffffff1660e01b81526004016109319392919061171f565b6020604051808303816000875af1158015610950573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109749190611772565b91505092915050565b600081609760008563ffffffff1663ffffffff1681526020019081526020016000205414905092915050565b6000606560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663282f51eb836040518263ffffffff1660e01b8152600401610a06919061137a565b602060405180830381865afa158015610a23573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a4791906117cb565b9050919050565b505050565b6000603360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081603360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000610b2584846108df565b90506000821115610ba457610b38610cbb565b73ffffffffffffffffffffffffffffffffffffffff166331f1dd3383836040518363ffffffff1660e01b8152600401610b71919061105e565b6000604051808303818588803b158015610b8a57600080fd5b505af1158015610b9e573d6000803e3d6000fd5b50505050505b50505050565b80609760008463ffffffff1663ffffffff16815260200190815260200160002081905550808263ffffffff167f7a69b3d35edf59b97fd4d38d8ecf2b4ecd0a19d236e421d8c543ea234d66597460405160405180910390a35050565b6000610c1130610d53565b15905090565b610c2081610d76565b50565b6000606560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663ce11e6ab6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610c92573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cb69190611836565b905090565b6000606560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166339bb4ad96040518163ffffffff1660e01b8152600401602060405180830381865afa158015610d2a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d4e91906118a1565b905090565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b610d7f816107ea565b610d87610d8a565b50565b600060019054906101000a900460ff16610dd9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dd090611940565b60405180910390fd5b610de1610de3565b565b600060019054906101000a900460ff16610e32576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e2990611940565b60405180910390fd5b610e42610e3d6107e2565b610a53565b565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000610e8382610e58565b9050919050565b610e9381610e78565b8114610e9e57600080fd5b50565b600081359050610eb081610e8a565b92915050565b600060208284031215610ecc57610ecb610e4e565b5b6000610eda84828501610ea1565b91505092915050565b600063ffffffff82169050919050565b610efc81610ee3565b8114610f0757600080fd5b50565b600081359050610f1981610ef3565b92915050565b600060208284031215610f3557610f34610e4e565b5b6000610f4384828501610f0a565b91505092915050565b6000819050919050565b610f5f81610f4c565b82525050565b6000602082019050610f7a6000830184610f56565b92915050565b600080fd5b600080fd5b600080fd5b60008083601f840112610fa557610fa4610f80565b5b8235905067ffffffffffffffff811115610fc257610fc1610f85565b5b602083019150836001820283011115610fde57610fdd610f8a565b5b9250929050565b600080600060408486031215610ffe57610ffd610e4e565b5b600061100c86828701610f0a565b935050602084013567ffffffffffffffff81111561102d5761102c610e53565b5b61103986828701610f8f565b92509250509250925092565b6000819050919050565b61105881611045565b82525050565b6000602082019050611073600083018461104f565b92915050565b61108281610f4c565b811461108d57600080fd5b50565b60008135905061109f81611079565b92915050565b600080604083850312156110bc576110bb610e4e565b5b60006110ca85828601610f0a565b92505060206110db85828601611090565b9150509250929050565b60008115159050919050565b6110fa816110e5565b82525050565b600060208201905061111560008301846110f1565b92915050565b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61116982611120565b810181811067ffffffffffffffff8211171561118857611187611131565b5b80604052505050565b600061119b610e44565b90506111a78282611160565b919050565b600067ffffffffffffffff8211156111c7576111c6611131565b5b6111d082611120565b9050602081019050919050565b82818337600083830152505050565b60006111ff6111fa846111ac565b611191565b90508281526020810184848401111561121b5761121a61111b565b5b6112268482856111dd565b509392505050565b600082601f83011261124357611242610f80565b5b81356112538482602086016111ec565b91505092915050565b60008060006060848603121561127557611274610e4e565b5b600061128386828701610f0a565b935050602061129486828701611090565b925050604084013567ffffffffffffffff8111156112b5576112b4610e53565b5b6112c18682870161122e565b9150509250925092565b6112d481611045565b81146112df57600080fd5b50565b6000813590506112f1816112cb565b92915050565b6000806000806060858703121561131157611310610e4e565b5b600061131f87828801610f0a565b945050602085013567ffffffffffffffff8111156113405761133f610e53565b5b61134c87828801610f8f565b9350935050604061135f878288016112e2565b91505092959194509250565b61137481610e78565b82525050565b600060208201905061138f600083018461136b565b92915050565b6000819050919050565b60006113ba6113b56113b084610e58565b611395565b610e58565b9050919050565b60006113cc8261139f565b9050919050565b60006113de826113c1565b9050919050565b6113ee816113d3565b82525050565b600060208201905061140960008301846113e5565b92915050565b600082825260208201905092915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b600061145660208361140f565b915061146182611420565b602082019050919050565b6000602082019050818103600083015261148581611449565b9050919050565b7f21696e626f780000000000000000000000000000000000000000000000000000600082015250565b60006114c260068361140f565b91506114cd8261148c565b602082019050919050565b600060208201905081810360008301526114f1816114b5565b9050919050565b7f21726f7574657200000000000000000000000000000000000000000000000000600082015250565b600061152e60078361140f565b9150611539826114f8565b602082019050919050565b6000602082019050818103600083015261155d81611521565b9050919050565b7f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160008201527f647920696e697469616c697a6564000000000000000000000000000000000000602082015250565b60006115c0602e8361140f565b91506115cb82611564565b604082019050919050565b600060208201905081810360008301526115ef816115b3565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b600061165260268361140f565b915061165d826115f6565b604082019050919050565b6000602082019050818103600083015261168181611645565b9050919050565b61169181610ee3565b82525050565b600081519050919050565b600082825260208201905092915050565b60005b838110156116d15780820151818401526020810190506116b6565b838111156116e0576000848401525b50505050565b60006116f182611697565b6116fb81856116a2565b935061170b8185602086016116b3565b61171481611120565b840191505092915050565b60006060820190506117346000830186611688565b6117416020830185610f56565b818103604083015261175381846116e6565b9050949350505050565b60008151905061176c816112cb565b92915050565b60006020828403121561178857611787610e4e565b5b60006117968482850161175d565b91505092915050565b6117a8816110e5565b81146117b357600080fd5b50565b6000815190506117c58161179f565b92915050565b6000602082840312156117e1576117e0610e4e565b5b60006117ef848285016117b6565b91505092915050565b600061180382610e78565b9050919050565b611813816117f8565b811461181e57600080fd5b50565b6000815190506118308161180a565b92915050565b60006020828403121561184c5761184b610e4e565b5b600061185a84828501611821565b91505092915050565b600061186e82610e78565b9050919050565b61187e81611863565b811461188957600080fd5b50565b60008151905061189b81611875565b92915050565b6000602082840312156118b7576118b6610e4e565b5b60006118c58482850161188c565b91505092915050565b7f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960008201527f6e697469616c697a696e67000000000000000000000000000000000000000000602082015250565b600061192a602b8361140f565b9150611935826118ce565b604082019050919050565b600060208201905081810360008301526119598161191d565b905091905056fea26469706673582212201a594bc05f469ac3093722fa4fb8aa39fab80db3986995155f21837627b7d96364736f6c634300080d0033"; | ||
class TestRouter__factory extends ethers_1.ContractFactory { | ||
@@ -289,0 +289,0 @@ constructor(signer) { |
@@ -16,2 +16,6 @@ /* Autogenerated file. Do not edit manually. */ | ||
getContractFactory( | ||
name: "IAbacusConnectionManager", | ||
signerOrOptions?: ethers.Signer | FactoryOptions | ||
): Promise<Contracts.IAbacusConnectionManager__factory>; | ||
getContractFactory( | ||
name: "ICommon", | ||
@@ -33,6 +37,2 @@ signerOrOptions?: ethers.Signer | FactoryOptions | ||
getContractFactory( | ||
name: "IXAppConnectionManager", | ||
signerOrOptions?: ethers.Signer | FactoryOptions | ||
): Promise<Contracts.IXAppConnectionManager__factory>; | ||
getContractFactory( | ||
name: "OwnableUpgradeable", | ||
@@ -42,2 +42,6 @@ signerOrOptions?: ethers.Signer | FactoryOptions | ||
getContractFactory( | ||
name: "AbacusConnectionClient", | ||
signerOrOptions?: ethers.Signer | FactoryOptions | ||
): Promise<Contracts.AbacusConnectionClient__factory>; | ||
getContractFactory( | ||
name: "Router", | ||
@@ -51,9 +55,5 @@ signerOrOptions?: ethers.Signer | FactoryOptions | ||
getContractFactory( | ||
name: "TestXAppConnectionClient", | ||
name: "TestAbacusConnectionClient", | ||
signerOrOptions?: ethers.Signer | FactoryOptions | ||
): Promise<Contracts.TestXAppConnectionClient__factory>; | ||
getContractFactory( | ||
name: "XAppConnectionClient", | ||
signerOrOptions?: ethers.Signer | FactoryOptions | ||
): Promise<Contracts.XAppConnectionClient__factory>; | ||
): Promise<Contracts.TestAbacusConnectionClient__factory>; | ||
@@ -60,0 +60,0 @@ // default types |
@@ -0,1 +1,2 @@ | ||
export type { IAbacusConnectionManager } from "./IAbacusConnectionManager"; | ||
export type { ICommon } from "./ICommon"; | ||
@@ -5,8 +6,8 @@ export type { IInterchainGasPaymaster } from "./IInterchainGasPaymaster"; | ||
export type { IOutbox } from "./IOutbox"; | ||
export type { IXAppConnectionManager } from "./IXAppConnectionManager"; | ||
export type { OwnableUpgradeable } from "./OwnableUpgradeable"; | ||
export type { AbacusConnectionClient } from "./AbacusConnectionClient"; | ||
export type { Router } from "./Router"; | ||
export type { TestRouter } from "./TestRouter"; | ||
export type { TestXAppConnectionClient } from "./TestXAppConnectionClient"; | ||
export type { XAppConnectionClient } from "./XAppConnectionClient"; | ||
export type { TestAbacusConnectionClient } from "./TestAbacusConnectionClient"; | ||
export { IAbacusConnectionManager__factory } from "./factories/IAbacusConnectionManager__factory"; | ||
export { ICommon__factory } from "./factories/ICommon__factory"; | ||
@@ -16,8 +17,7 @@ export { IInterchainGasPaymaster__factory } from "./factories/IInterchainGasPaymaster__factory"; | ||
export { IOutbox__factory } from "./factories/IOutbox__factory"; | ||
export { IXAppConnectionManager__factory } from "./factories/IXAppConnectionManager__factory"; | ||
export { OwnableUpgradeable__factory } from "./factories/OwnableUpgradeable__factory"; | ||
export { AbacusConnectionClient__factory } from "./factories/AbacusConnectionClient__factory"; | ||
export { Router__factory } from "./factories/Router__factory"; | ||
export { TestRouter__factory } from "./factories/TestRouter__factory"; | ||
export { TestXAppConnectionClient__factory } from "./factories/TestXAppConnectionClient__factory"; | ||
export { XAppConnectionClient__factory } from "./factories/XAppConnectionClient__factory"; | ||
export { TestAbacusConnectionClient__factory } from "./factories/TestAbacusConnectionClient__factory"; | ||
//# sourceMappingURL=index.d.ts.map |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.XAppConnectionClient__factory = exports.TestXAppConnectionClient__factory = exports.TestRouter__factory = exports.Router__factory = exports.OwnableUpgradeable__factory = exports.IXAppConnectionManager__factory = exports.IOutbox__factory = exports.IMessageRecipient__factory = exports.IInterchainGasPaymaster__factory = exports.ICommon__factory = void 0; | ||
exports.TestAbacusConnectionClient__factory = exports.TestRouter__factory = exports.Router__factory = exports.AbacusConnectionClient__factory = exports.OwnableUpgradeable__factory = exports.IOutbox__factory = exports.IMessageRecipient__factory = exports.IInterchainGasPaymaster__factory = exports.ICommon__factory = exports.IAbacusConnectionManager__factory = void 0; | ||
var IAbacusConnectionManager__factory_1 = require("./factories/IAbacusConnectionManager__factory"); | ||
Object.defineProperty(exports, "IAbacusConnectionManager__factory", { enumerable: true, get: function () { return IAbacusConnectionManager__factory_1.IAbacusConnectionManager__factory; } }); | ||
var ICommon__factory_1 = require("./factories/ICommon__factory"); | ||
@@ -12,6 +14,6 @@ Object.defineProperty(exports, "ICommon__factory", { enumerable: true, get: function () { return ICommon__factory_1.ICommon__factory; } }); | ||
Object.defineProperty(exports, "IOutbox__factory", { enumerable: true, get: function () { return IOutbox__factory_1.IOutbox__factory; } }); | ||
var IXAppConnectionManager__factory_1 = require("./factories/IXAppConnectionManager__factory"); | ||
Object.defineProperty(exports, "IXAppConnectionManager__factory", { enumerable: true, get: function () { return IXAppConnectionManager__factory_1.IXAppConnectionManager__factory; } }); | ||
var OwnableUpgradeable__factory_1 = require("./factories/OwnableUpgradeable__factory"); | ||
Object.defineProperty(exports, "OwnableUpgradeable__factory", { enumerable: true, get: function () { return OwnableUpgradeable__factory_1.OwnableUpgradeable__factory; } }); | ||
var AbacusConnectionClient__factory_1 = require("./factories/AbacusConnectionClient__factory"); | ||
Object.defineProperty(exports, "AbacusConnectionClient__factory", { enumerable: true, get: function () { return AbacusConnectionClient__factory_1.AbacusConnectionClient__factory; } }); | ||
var Router__factory_1 = require("./factories/Router__factory"); | ||
@@ -21,6 +23,4 @@ Object.defineProperty(exports, "Router__factory", { enumerable: true, get: function () { return Router__factory_1.Router__factory; } }); | ||
Object.defineProperty(exports, "TestRouter__factory", { enumerable: true, get: function () { return TestRouter__factory_1.TestRouter__factory; } }); | ||
var TestXAppConnectionClient__factory_1 = require("./factories/TestXAppConnectionClient__factory"); | ||
Object.defineProperty(exports, "TestXAppConnectionClient__factory", { enumerable: true, get: function () { return TestXAppConnectionClient__factory_1.TestXAppConnectionClient__factory; } }); | ||
var XAppConnectionClient__factory_1 = require("./factories/XAppConnectionClient__factory"); | ||
Object.defineProperty(exports, "XAppConnectionClient__factory", { enumerable: true, get: function () { return XAppConnectionClient__factory_1.XAppConnectionClient__factory; } }); | ||
var TestAbacusConnectionClient__factory_1 = require("./factories/TestAbacusConnectionClient__factory"); | ||
Object.defineProperty(exports, "TestAbacusConnectionClient__factory", { enumerable: true, get: function () { return TestAbacusConnectionClient__factory_1.TestAbacusConnectionClient__factory; } }); | ||
//# sourceMappingURL=index.js.map |
@@ -26,2 +26,4 @@ /* Autogenerated file. Do not edit manually. */ | ||
"dispatch(uint32,bytes32,bytes)": FunctionFragment; | ||
"fail()": FunctionFragment; | ||
"isCheckpoint(bytes32,uint256)": FunctionFragment; | ||
"latestCheckpoint()": FunctionFragment; | ||
@@ -39,3 +41,8 @@ "localDomain()": FunctionFragment; | ||
): string; | ||
encodeFunctionData(functionFragment: "fail", values?: undefined): string; | ||
encodeFunctionData( | ||
functionFragment: "isCheckpoint", | ||
values: [BytesLike, BigNumberish] | ||
): string; | ||
encodeFunctionData( | ||
functionFragment: "latestCheckpoint", | ||
@@ -51,3 +58,8 @@ values?: undefined | ||
decodeFunctionResult(functionFragment: "dispatch", data: BytesLike): Result; | ||
decodeFunctionResult(functionFragment: "fail", data: BytesLike): Result; | ||
decodeFunctionResult( | ||
functionFragment: "isCheckpoint", | ||
data: BytesLike | ||
): Result; | ||
decodeFunctionResult( | ||
functionFragment: "latestCheckpoint", | ||
@@ -119,2 +131,12 @@ data: BytesLike | ||
fail( | ||
overrides?: Overrides & { from?: string | Promise<string> } | ||
): Promise<ContractTransaction>; | ||
isCheckpoint( | ||
_root: BytesLike, | ||
_index: BigNumberish, | ||
overrides?: Overrides & { from?: string | Promise<string> } | ||
): Promise<ContractTransaction>; | ||
latestCheckpoint( | ||
@@ -138,2 +160,12 @@ overrides?: CallOverrides | ||
fail( | ||
overrides?: Overrides & { from?: string | Promise<string> } | ||
): Promise<ContractTransaction>; | ||
isCheckpoint( | ||
_root: BytesLike, | ||
_index: BigNumberish, | ||
overrides?: Overrides & { from?: string | Promise<string> } | ||
): Promise<ContractTransaction>; | ||
latestCheckpoint( | ||
@@ -155,2 +187,10 @@ overrides?: CallOverrides | ||
fail(overrides?: CallOverrides): Promise<void>; | ||
isCheckpoint( | ||
_root: BytesLike, | ||
_index: BigNumberish, | ||
overrides?: CallOverrides | ||
): Promise<boolean>; | ||
latestCheckpoint( | ||
@@ -177,2 +217,12 @@ overrides?: CallOverrides | ||
fail( | ||
overrides?: Overrides & { from?: string | Promise<string> } | ||
): Promise<BigNumber>; | ||
isCheckpoint( | ||
_root: BytesLike, | ||
_index: BigNumberish, | ||
overrides?: Overrides & { from?: string | Promise<string> } | ||
): Promise<BigNumber>; | ||
latestCheckpoint(overrides?: CallOverrides): Promise<BigNumber>; | ||
@@ -195,2 +245,12 @@ | ||
fail( | ||
overrides?: Overrides & { from?: string | Promise<string> } | ||
): Promise<PopulatedTransaction>; | ||
isCheckpoint( | ||
_root: BytesLike, | ||
_index: BigNumberish, | ||
overrides?: Overrides & { from?: string | Promise<string> } | ||
): Promise<PopulatedTransaction>; | ||
latestCheckpoint(overrides?: CallOverrides): Promise<PopulatedTransaction>; | ||
@@ -197,0 +257,0 @@ |
@@ -24,2 +24,3 @@ /* Autogenerated file. Do not edit manually. */ | ||
functions: { | ||
"abacusConnectionManager()": FunctionFragment; | ||
"enrollRemoteRouter(uint32,bytes32)": FunctionFragment; | ||
@@ -30,8 +31,11 @@ "handle(uint32,bytes32,bytes)": FunctionFragment; | ||
"routers(uint32)": FunctionFragment; | ||
"setXAppConnectionManager(address)": FunctionFragment; | ||
"setAbacusConnectionManager(address)": FunctionFragment; | ||
"transferOwnership(address)": FunctionFragment; | ||
"xAppConnectionManager()": FunctionFragment; | ||
}; | ||
encodeFunctionData( | ||
functionFragment: "abacusConnectionManager", | ||
values?: undefined | ||
): string; | ||
encodeFunctionData( | ||
functionFragment: "enrollRemoteRouter", | ||
@@ -54,3 +58,3 @@ values: [BigNumberish, BytesLike] | ||
encodeFunctionData( | ||
functionFragment: "setXAppConnectionManager", | ||
functionFragment: "setAbacusConnectionManager", | ||
values: [string] | ||
@@ -62,8 +66,8 @@ ): string; | ||
): string; | ||
encodeFunctionData( | ||
functionFragment: "xAppConnectionManager", | ||
values?: undefined | ||
): string; | ||
decodeFunctionResult( | ||
functionFragment: "abacusConnectionManager", | ||
data: BytesLike | ||
): Result; | ||
decodeFunctionResult( | ||
functionFragment: "enrollRemoteRouter", | ||
@@ -80,3 +84,3 @@ data: BytesLike | ||
decodeFunctionResult( | ||
functionFragment: "setXAppConnectionManager", | ||
functionFragment: "setAbacusConnectionManager", | ||
data: BytesLike | ||
@@ -88,6 +92,2 @@ ): Result; | ||
): Result; | ||
decodeFunctionResult( | ||
functionFragment: "xAppConnectionManager", | ||
data: BytesLike | ||
): Result; | ||
@@ -97,3 +97,3 @@ events: { | ||
"OwnershipTransferred(address,address)": EventFragment; | ||
"SetXAppConnectionManager(address)": EventFragment; | ||
"SetAbacusConnectionManager(address)": EventFragment; | ||
}; | ||
@@ -103,3 +103,3 @@ | ||
getEvent(nameOrSignatureOrTopic: "OwnershipTransferred"): EventFragment; | ||
getEvent(nameOrSignatureOrTopic: "SetXAppConnectionManager"): EventFragment; | ||
getEvent(nameOrSignatureOrTopic: "SetAbacusConnectionManager"): EventFragment; | ||
} | ||
@@ -151,2 +151,4 @@ | ||
functions: { | ||
abacusConnectionManager(overrides?: CallOverrides): Promise<[string]>; | ||
enrollRemoteRouter( | ||
@@ -173,4 +175,4 @@ _domain: BigNumberish, | ||
setXAppConnectionManager( | ||
_xAppConnectionManager: string, | ||
setAbacusConnectionManager( | ||
_abacusConnectionManager: string, | ||
overrides?: Overrides & { from?: string | Promise<string> } | ||
@@ -183,6 +185,6 @@ ): Promise<ContractTransaction>; | ||
): Promise<ContractTransaction>; | ||
xAppConnectionManager(overrides?: CallOverrides): Promise<[string]>; | ||
}; | ||
abacusConnectionManager(overrides?: CallOverrides): Promise<string>; | ||
enrollRemoteRouter( | ||
@@ -209,4 +211,4 @@ _domain: BigNumberish, | ||
setXAppConnectionManager( | ||
_xAppConnectionManager: string, | ||
setAbacusConnectionManager( | ||
_abacusConnectionManager: string, | ||
overrides?: Overrides & { from?: string | Promise<string> } | ||
@@ -220,5 +222,5 @@ ): Promise<ContractTransaction>; | ||
xAppConnectionManager(overrides?: CallOverrides): Promise<string>; | ||
callStatic: { | ||
abacusConnectionManager(overrides?: CallOverrides): Promise<string>; | ||
callStatic: { | ||
enrollRemoteRouter( | ||
@@ -243,4 +245,4 @@ _domain: BigNumberish, | ||
setXAppConnectionManager( | ||
_xAppConnectionManager: string, | ||
setAbacusConnectionManager( | ||
_abacusConnectionManager: string, | ||
overrides?: CallOverrides | ||
@@ -253,4 +255,2 @@ ): Promise<void>; | ||
): Promise<void>; | ||
xAppConnectionManager(overrides?: CallOverrides): Promise<string>; | ||
}; | ||
@@ -272,8 +272,10 @@ | ||
SetXAppConnectionManager( | ||
xAppConnectionManager?: string | null | ||
): TypedEventFilter<[string], { xAppConnectionManager: string }>; | ||
SetAbacusConnectionManager( | ||
abacusConnectionManager?: string | null | ||
): TypedEventFilter<[string], { abacusConnectionManager: string }>; | ||
}; | ||
estimateGas: { | ||
abacusConnectionManager(overrides?: CallOverrides): Promise<BigNumber>; | ||
enrollRemoteRouter( | ||
@@ -300,4 +302,4 @@ _domain: BigNumberish, | ||
setXAppConnectionManager( | ||
_xAppConnectionManager: string, | ||
setAbacusConnectionManager( | ||
_abacusConnectionManager: string, | ||
overrides?: Overrides & { from?: string | Promise<string> } | ||
@@ -310,7 +312,9 @@ ): Promise<BigNumber>; | ||
): Promise<BigNumber>; | ||
xAppConnectionManager(overrides?: CallOverrides): Promise<BigNumber>; | ||
}; | ||
populateTransaction: { | ||
abacusConnectionManager( | ||
overrides?: CallOverrides | ||
): Promise<PopulatedTransaction>; | ||
enrollRemoteRouter( | ||
@@ -340,4 +344,4 @@ _domain: BigNumberish, | ||
setXAppConnectionManager( | ||
_xAppConnectionManager: string, | ||
setAbacusConnectionManager( | ||
_abacusConnectionManager: string, | ||
overrides?: Overrides & { from?: string | Promise<string> } | ||
@@ -350,7 +354,3 @@ ): Promise<PopulatedTransaction>; | ||
): Promise<PopulatedTransaction>; | ||
xAppConnectionManager( | ||
overrides?: CallOverrides | ||
): Promise<PopulatedTransaction>; | ||
}; | ||
} |
@@ -24,2 +24,3 @@ /* Autogenerated file. Do not edit manually. */ | ||
functions: { | ||
"abacusConnectionManager()": FunctionFragment; | ||
"dispatchToRemoteRouter(uint32,bytes)": FunctionFragment; | ||
@@ -35,8 +36,11 @@ "dispatchToRemoteRouterWithGas(uint32,bytes,uint256)": FunctionFragment; | ||
"routers(uint32)": FunctionFragment; | ||
"setXAppConnectionManager(address)": FunctionFragment; | ||
"setAbacusConnectionManager(address)": FunctionFragment; | ||
"transferOwnership(address)": FunctionFragment; | ||
"xAppConnectionManager()": FunctionFragment; | ||
}; | ||
encodeFunctionData( | ||
functionFragment: "abacusConnectionManager", | ||
values?: undefined | ||
): string; | ||
encodeFunctionData( | ||
functionFragment: "dispatchToRemoteRouter", | ||
@@ -76,3 +80,3 @@ values: [BigNumberish, BytesLike] | ||
encodeFunctionData( | ||
functionFragment: "setXAppConnectionManager", | ||
functionFragment: "setAbacusConnectionManager", | ||
values: [string] | ||
@@ -84,8 +88,8 @@ ): string; | ||
): string; | ||
encodeFunctionData( | ||
functionFragment: "xAppConnectionManager", | ||
values?: undefined | ||
): string; | ||
decodeFunctionResult( | ||
functionFragment: "abacusConnectionManager", | ||
data: BytesLike | ||
): Result; | ||
decodeFunctionResult( | ||
functionFragment: "dispatchToRemoteRouter", | ||
@@ -119,3 +123,3 @@ data: BytesLike | ||
decodeFunctionResult( | ||
functionFragment: "setXAppConnectionManager", | ||
functionFragment: "setAbacusConnectionManager", | ||
data: BytesLike | ||
@@ -127,6 +131,2 @@ ): Result; | ||
): Result; | ||
decodeFunctionResult( | ||
functionFragment: "xAppConnectionManager", | ||
data: BytesLike | ||
): Result; | ||
@@ -136,3 +136,3 @@ events: { | ||
"OwnershipTransferred(address,address)": EventFragment; | ||
"SetXAppConnectionManager(address)": EventFragment; | ||
"SetAbacusConnectionManager(address)": EventFragment; | ||
}; | ||
@@ -142,3 +142,3 @@ | ||
getEvent(nameOrSignatureOrTopic: "OwnershipTransferred"): EventFragment; | ||
getEvent(nameOrSignatureOrTopic: "SetXAppConnectionManager"): EventFragment; | ||
getEvent(nameOrSignatureOrTopic: "SetAbacusConnectionManager"): EventFragment; | ||
} | ||
@@ -190,2 +190,4 @@ | ||
functions: { | ||
abacusConnectionManager(overrides?: CallOverrides): Promise<[string]>; | ||
dispatchToRemoteRouter( | ||
@@ -218,3 +220,3 @@ _destination: BigNumberish, | ||
initialize( | ||
_xAppConnectionManager: string, | ||
_abacusConnectionManager: string, | ||
overrides?: Overrides & { from?: string | Promise<string> } | ||
@@ -242,4 +244,4 @@ ): Promise<ContractTransaction>; | ||
setXAppConnectionManager( | ||
_xAppConnectionManager: string, | ||
setAbacusConnectionManager( | ||
_abacusConnectionManager: string, | ||
overrides?: Overrides & { from?: string | Promise<string> } | ||
@@ -252,6 +254,6 @@ ): Promise<ContractTransaction>; | ||
): Promise<ContractTransaction>; | ||
xAppConnectionManager(overrides?: CallOverrides): Promise<[string]>; | ||
}; | ||
abacusConnectionManager(overrides?: CallOverrides): Promise<string>; | ||
dispatchToRemoteRouter( | ||
@@ -284,3 +286,3 @@ _destination: BigNumberish, | ||
initialize( | ||
_xAppConnectionManager: string, | ||
_abacusConnectionManager: string, | ||
overrides?: Overrides & { from?: string | Promise<string> } | ||
@@ -308,4 +310,4 @@ ): Promise<ContractTransaction>; | ||
setXAppConnectionManager( | ||
_xAppConnectionManager: string, | ||
setAbacusConnectionManager( | ||
_abacusConnectionManager: string, | ||
overrides?: Overrides & { from?: string | Promise<string> } | ||
@@ -319,5 +321,5 @@ ): Promise<ContractTransaction>; | ||
xAppConnectionManager(overrides?: CallOverrides): Promise<string>; | ||
callStatic: { | ||
abacusConnectionManager(overrides?: CallOverrides): Promise<string>; | ||
callStatic: { | ||
dispatchToRemoteRouter( | ||
@@ -350,3 +352,3 @@ _destination: BigNumberish, | ||
initialize( | ||
_xAppConnectionManager: string, | ||
_abacusConnectionManager: string, | ||
overrides?: CallOverrides | ||
@@ -372,4 +374,4 @@ ): Promise<void>; | ||
setXAppConnectionManager( | ||
_xAppConnectionManager: string, | ||
setAbacusConnectionManager( | ||
_abacusConnectionManager: string, | ||
overrides?: CallOverrides | ||
@@ -382,4 +384,2 @@ ): Promise<void>; | ||
): Promise<void>; | ||
xAppConnectionManager(overrides?: CallOverrides): Promise<string>; | ||
}; | ||
@@ -401,8 +401,10 @@ | ||
SetXAppConnectionManager( | ||
xAppConnectionManager?: string | null | ||
): TypedEventFilter<[string], { xAppConnectionManager: string }>; | ||
SetAbacusConnectionManager( | ||
abacusConnectionManager?: string | null | ||
): TypedEventFilter<[string], { abacusConnectionManager: string }>; | ||
}; | ||
estimateGas: { | ||
abacusConnectionManager(overrides?: CallOverrides): Promise<BigNumber>; | ||
dispatchToRemoteRouter( | ||
@@ -435,3 +437,3 @@ _destination: BigNumberish, | ||
initialize( | ||
_xAppConnectionManager: string, | ||
_abacusConnectionManager: string, | ||
overrides?: Overrides & { from?: string | Promise<string> } | ||
@@ -459,4 +461,4 @@ ): Promise<BigNumber>; | ||
setXAppConnectionManager( | ||
_xAppConnectionManager: string, | ||
setAbacusConnectionManager( | ||
_abacusConnectionManager: string, | ||
overrides?: Overrides & { from?: string | Promise<string> } | ||
@@ -469,7 +471,9 @@ ): Promise<BigNumber>; | ||
): Promise<BigNumber>; | ||
xAppConnectionManager(overrides?: CallOverrides): Promise<BigNumber>; | ||
}; | ||
populateTransaction: { | ||
abacusConnectionManager( | ||
overrides?: CallOverrides | ||
): Promise<PopulatedTransaction>; | ||
dispatchToRemoteRouter( | ||
@@ -502,3 +506,3 @@ _destination: BigNumberish, | ||
initialize( | ||
_xAppConnectionManager: string, | ||
_abacusConnectionManager: string, | ||
overrides?: Overrides & { from?: string | Promise<string> } | ||
@@ -529,4 +533,4 @@ ): Promise<PopulatedTransaction>; | ||
setXAppConnectionManager( | ||
_xAppConnectionManager: string, | ||
setAbacusConnectionManager( | ||
_abacusConnectionManager: string, | ||
overrides?: Overrides & { from?: string | Promise<string> } | ||
@@ -539,7 +543,3 @@ ): Promise<PopulatedTransaction>; | ||
): Promise<PopulatedTransaction>; | ||
xAppConnectionManager( | ||
overrides?: CallOverrides | ||
): Promise<PopulatedTransaction>; | ||
}; | ||
} |
@@ -1,6 +0,6 @@ | ||
import 'solidity-coverage'; | ||
import '@abacus-network/hardhat'; | ||
import '@nomiclabs/hardhat-waffle'; | ||
import '@typechain/hardhat'; | ||
import '@nomiclabs/hardhat-waffle'; | ||
import 'hardhat-gas-reporter'; | ||
import '@abacus-network/hardhat'; | ||
import 'solidity-coverage'; | ||
@@ -12,3 +12,16 @@ /** | ||
solidity: { | ||
version: '0.8.13', | ||
compilers: [ | ||
{ | ||
version: '0.8.13', | ||
}, | ||
{ | ||
version: '0.7.6', | ||
settings: { | ||
optimizer: { | ||
enabled: true, | ||
runs: 999999, | ||
}, | ||
}, | ||
}, | ||
], | ||
}, | ||
@@ -15,0 +28,0 @@ gasReporter: { |
@@ -24,3 +24,3 @@ { | ||
}, | ||
"version": "0.0.3", | ||
"version": "0.0.4-sdkdev", | ||
"main": "dist/index.js", | ||
@@ -40,6 +40,6 @@ "types": "dist/index.d.ts", | ||
"dependencies": { | ||
"@abacus-network/core": "^0.0.5", | ||
"@abacus-network/utils": "^0.0.5", | ||
"@abacus-network/core": "^0.0.7-sdkdev", | ||
"@abacus-network/utils": "^0.0.9-sdkdev", | ||
"@openzeppelin/contracts-upgradeable": "^4.5.0" | ||
} | ||
} |
@@ -6,4 +6,4 @@ import { ethers } from 'hardhat'; | ||
Outbox__factory, | ||
XAppConnectionManager, | ||
XAppConnectionManager__factory, | ||
AbacusConnectionManager, | ||
AbacusConnectionManager__factory, | ||
} from '@abacus-network/core'; | ||
@@ -21,3 +21,3 @@ import { utils } from '@abacus-network/utils'; | ||
let router: TestRouter, | ||
connectionManager: XAppConnectionManager, | ||
connectionManager: AbacusConnectionManager, | ||
signer: SignerWithAddress, | ||
@@ -31,3 +31,5 @@ nonOwner: SignerWithAddress; | ||
beforeEach(async () => { | ||
const connectionManagerFactory = new XAppConnectionManager__factory(signer); | ||
const connectionManagerFactory = new AbacusConnectionManager__factory( | ||
signer, | ||
); | ||
connectionManager = await connectionManagerFactory.deploy(); | ||
@@ -34,0 +36,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
216058
4023
0
+ Added@abacus-network/core@0.0.7-sdkdev(transitive)
+ Added@abacus-network/utils@0.0.9-sdkdev(transitive)
- Removed@abacus-network/core@0.0.5(transitive)
- Removed@abacus-network/utils@0.0.5(transitive)