contracts

package
v0.0.0-...-2da98db Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 17, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DappABI = DappMetaData.ABI

DappABI is the input ABI used to generate the binding from. Deprecated: Use DappMetaData.ABI instead.

View Source
var DappBin = DappMetaData.Bin

DappBin is the compiled bytecode used for deploying new contracts. Deprecated: Use DappMetaData.Bin instead.

View Source
var DappMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[],\"name\":\"destinationAddress\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"destinationChainId\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"message\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"bytes\",\"name\":\"zetaTxSenderAddress\",\"type\":\"bytes\"},{\"internalType\":\"uint256\",\"name\":\"sourceChainId\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"destinationAddress\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"zetaValue\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"message\",\"type\":\"bytes\"}],\"internalType\":\"structZetaInterfaces.ZetaMessage\",\"name\":\"zetaMessage\",\"type\":\"tuple\"}],\"name\":\"onZetaMessage\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"zetaTxSenderAddress\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"sourceChainId\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"destinationAddress\",\"type\":\"bytes\"},{\"internalType\":\"uint256\",\"name\":\"destinationChainId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"remainingZetaValue\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"message\",\"type\":\"bytes\"}],\"internalType\":\"structZetaInterfaces.ZetaRevert\",\"name\":\"zetaRevert\",\"type\":\"tuple\"}],\"name\":\"onZetaRevert\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"sourceChainId\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"zetaTxSenderAddress\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"zetaValue\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]",
	Bin: "0x608060405234801561001057600080fd5b50604051806020016040528060008152506000908161002f91906102fe565b5060006001819055506000600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506000600381905550600060048190555060405180602001604052806000815250600590816100a891906102fe565b506103d0565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061012f57607f821691505b602082108103610142576101416100e8565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b6000600883026101aa7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8261016d565b6101b4868361016d565b95508019841693508086168417925050509392505050565b6000819050919050565b6000819050919050565b60006101fb6101f66101f1846101cc565b6101d6565b6101cc565b9050919050565b6000819050919050565b610215836101e0565b61022961022182610202565b84845461017a565b825550505050565b600090565b61023e610231565b61024981848461020c565b505050565b5b8181101561026d57610262600082610236565b60018101905061024f565b5050565b601f8211156102b25761028381610148565b61028c8461015d565b8101602085101561029b578190505b6102af6102a78561015d565b83018261024e565b50505b505050565b600082821c905092915050565b60006102d5600019846008026102b7565b1980831691505092915050565b60006102ee83836102c4565b9150826002028217905092915050565b610307826100ae565b67ffffffffffffffff8111156103205761031f6100b9565b5b61032a8254610117565b610335828285610271565b600060209050601f8311600181146103685760008415610356578287015190505b61036085826102e2565b8655506103c8565b601f19841661037686610148565b60005b8281101561039e57848901518255600182019150602085019450602081019050610379565b868310156103bb57848901516103b7601f8916826102c4565b8355505b6001600288020188555050505b505050505050565b610c2c806103df6000396000f3fe608060405234801561001057600080fd5b50600436106100885760003560e01c8063b07506111161005b578063b075061114610101578063ca3254691461011f578063e21f37ce1461013d578063ed6b866b1461015b57610088565b8063050337a21461008d5780631544298e146100ab5780633749c51a146100c95780633ff0693c146100e5575b600080fd5b610095610179565b6040516100a29190610480565b60405180910390f35b6100b361017f565b6040516100c09190610480565b60405180910390f35b6100e360048036038101906100de91906104c9565b610185565b005b6100ff60048036038101906100fa9190610531565b610231565b005b61010961031f565b6040516101169190610480565b60405180910390f35b610127610325565b60405161013491906105bb565b60405180910390f35b61014561034b565b6040516101529190610666565b60405180910390f35b6101636103d9565b6040516101709190610666565b60405180910390f35b60045481565b60015481565b8080600001906101959190610697565b600091826101a4929190610940565b5080602001356001819055508060400160208101906101c39190610a3c565b600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550806060013560048190555080806080019061021e9190610697565b6005918261022d929190610940565b5050565b8060000160208101906102449190610a3c565b6040516020016102549190610ab1565b604051602081830303815290604052600090816102719190610acc565b50806020013560018190555080806040019061028d9190610697565b60405161029b929190610bdd565b604051809103902060001c600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080606001356003819055508060800135600481905550808060a0019061030c9190610697565b6005918261031b929190610940565b5050565b60035481565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6005805461035890610763565b80601f016020809104026020016040519081016040528092919081815260200182805461038490610763565b80156103d15780601f106103a6576101008083540402835291602001916103d1565b820191906000526020600020905b8154815290600101906020018083116103b457829003601f168201915b505050505081565b600080546103e690610763565b80601f016020809104026020016040519081016040528092919081815260200182805461041290610763565b801561045f5780601f106104345761010080835404028352916020019161045f565b820191906000526020600020905b81548152906001019060200180831161044257829003601f168201915b505050505081565b6000819050919050565b61047a81610467565b82525050565b60006020820190506104956000830184610471565b92915050565b600080fd5b600080fd5b600080fd5b600060a082840312156104c0576104bf6104a5565b5b81905092915050565b6000602082840312156104df576104de61049b565b5b600082013567ffffffffffffffff8111156104fd576104fc6104a0565b5b610509848285016104aa565b91505092915050565b600060c08284031215610528576105276104a5565b5b81905092915050565b6000602082840312156105475761054661049b565b5b600082013567ffffffffffffffff811115610565576105646104a0565b5b61057184828501610512565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006105a58261057a565b9050919050565b6105b58161059a565b82525050565b60006020820190506105d060008301846105ac565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156106105780820151818401526020810190506105f5565b60008484015250505050565b6000601f19601f8301169050919050565b6000610638826105d6565b61064281856105e1565b93506106528185602086016105f2565b61065b8161061c565b840191505092915050565b60006020820190508181036000830152610680818461062d565b905092915050565b600080fd5b600080fd5b600080fd5b600080833560016020038436030381126106b4576106b3610688565b5b80840192508235915067ffffffffffffffff8211156106d6576106d561068d565b5b6020830192506001820236038313156106f2576106f1610692565b5b509250929050565b600082905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061077b57607f821691505b60208210810361078e5761078d610734565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b6000600883026107f67fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff826107b9565b61080086836107b9565b95508019841693508086168417925050509392505050565b6000819050919050565b600061083d61083861083384610467565b610818565b610467565b9050919050565b6000819050919050565b61085783610822565b61086b61086382610844565b8484546107c6565b825550505050565b600090565b610880610873565b61088b81848461084e565b505050565b5b818110156108af576108a4600082610878565b600181019050610891565b5050565b601f8211156108f4576108c581610794565b6108ce846107a9565b810160208510156108dd578190505b6108f16108e9856107a9565b830182610890565b50505b505050565b600082821c905092915050565b6000610917600019846008026108f9565b1980831691505092915050565b60006109308383610906565b9150826002028217905092915050565b61094a83836106fa565b67ffffffffffffffff81111561096357610962610705565b5b61096d8254610763565b6109788282856108b3565b6000601f8311600181146109a75760008415610995578287013590505b61099f8582610924565b865550610a07565b601f1984166109b586610794565b60005b828110156109dd578489013582556001820191506020850194506020810190506109b8565b868310156109fa57848901356109f6601f891682610906565b8355505b6001600288020188555050505b50505050505050565b610a198161059a565b8114610a2457600080fd5b50565b600081359050610a3681610a10565b92915050565b600060208284031215610a5257610a5161049b565b5b6000610a6084828501610a27565b91505092915050565b60008160601b9050919050565b6000610a8182610a69565b9050919050565b6000610a9382610a76565b9050919050565b610aab610aa68261059a565b610a88565b82525050565b6000610abd8284610a9a565b60148201915081905092915050565b610ad5826105d6565b67ffffffffffffffff811115610aee57610aed610705565b5b610af88254610763565b610b038282856108b3565b600060209050601f831160018114610b365760008415610b24578287015190505b610b2e8582610924565b865550610b96565b601f198416610b4486610794565b60005b82811015610b6c57848901518255600182019150602085019450602081019050610b47565b86831015610b895784890151610b85601f891682610906565b8355505b6001600288020188555050505b505050505050565b600081905092915050565b82818337600083830152505050565b6000610bc48385610b9e565b9350610bd1838584610ba9565b82840190509392505050565b6000610bea828486610bb8565b9150819050939250505056fea26469706673582212207c5ed9b805f7e22d563799330b1c6e310dd5b1625dc35c9598846e17a8a5686664736f6c63430008190033",
}

DappMetaData contains all meta data concerning the Dapp contract.

View Source
var DappReverterABI = DappReverterMetaData.ABI

DappReverterABI is the input ABI used to generate the binding from. Deprecated: Use DappReverterMetaData.ABI instead.

View Source
var DappReverterBin = DappReverterMetaData.Bin

DappReverterBin is the compiled bytecode used for deploying new contracts. Deprecated: Use DappReverterMetaData.Bin instead.

View Source
var DappReverterMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[],\"name\":\"onZetaMessage\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"onZetaRevert\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
	Bin: "0x6080604052348015600f57600080fd5b50608180601d6000396000f3fe6080604052348015600f57600080fd5b506004361060325760003560e01c8063705847b71460375780639a19074914603f575b600080fd5b603d6047565b005b60456049565b005b565b56fea26469706673582212202ae32d3809d629fd01d309562a51297d761f547f4633bf45c73bf33c9955651164736f6c63430008190033",
}

DappReverterMetaData contains all meta data concerning the DappReverter contract.

View Source
var DepositorABI = DepositorMetaData.ABI

DepositorABI is the input ABI used to generate the binding from. Deprecated: Use DepositorMetaData.ABI instead.

View Source
var DepositorBin = DepositorMetaData.Bin

DepositorBin is the compiled bytecode used for deploying new contracts. Deprecated: Use DepositorMetaData.Bin instead.

View Source
var DepositorMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"custody_\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"recipient\",\"type\":\"bytes\"},{\"internalType\":\"contractIERC20\",\"name\":\"asset\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"message\",\"type\":\"bytes\"},{\"internalType\":\"uint256\",\"name\":\"count\",\"type\":\"uint256\"}],\"name\":\"runDeposits\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
	Bin: "0x60a060405234801561001057600080fd5b5060405161073c38038061073c833981810160405281019061003291906100cf565b8073ffffffffffffffffffffffffffffffffffffffff1660808173ffffffffffffffffffffffffffffffffffffffff1681525050506100fc565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061009c82610071565b9050919050565b6100ac81610091565b81146100b757600080fd5b50565b6000815190506100c9816100a3565b92915050565b6000602082840312156100e5576100e461006c565b5b60006100f3848285016100ba565b91505092915050565b60805161061f61011d6000396000818160e4015261016b015261061f6000f3fe608060405234801561001057600080fd5b506004361061002b5760003560e01c80633d496c9314610030575b600080fd5b61004a6004803603810190610045919061032a565b61004c565b005b8473ffffffffffffffffffffffffffffffffffffffff166323b872dd333084886100769190610415565b6040518463ffffffff1660e01b815260040161009493929190610475565b600060405180830381600087803b1580156100ae57600080fd5b505af11580156100c2573d6000803e3d6000fd5b505050508473ffffffffffffffffffffffffffffffffffffffff1663095ea7b37f0000000000000000000000000000000000000000000000000000000000000000838761010f9190610415565b6040518363ffffffff1660e01b815260040161012c9291906104ac565b600060405180830381600087803b15801561014657600080fd5b505af115801561015a573d6000803e3d6000fd5b5050505060005b8181101561020b577f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663e609055e8989898989896040518763ffffffff1660e01b81526004016101cc96959493929190610592565b600060405180830381600087803b1580156101e657600080fd5b505af11580156101fa573d6000803e3d6000fd5b505050508080600101915050610161565b5050505050505050565b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b60008083601f8401126102445761024361021f565b5b8235905067ffffffffffffffff81111561026157610260610224565b5b60208301915083600182028301111561027d5761027c610229565b5b9250929050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006102af82610284565b9050919050565b60006102c1826102a4565b9050919050565b6102d1816102b6565b81146102dc57600080fd5b50565b6000813590506102ee816102c8565b92915050565b6000819050919050565b610307816102f4565b811461031257600080fd5b50565b600081359050610324816102fe565b92915050565b600080600080600080600060a0888a03121561034957610348610215565b5b600088013567ffffffffffffffff8111156103675761036661021a565b5b6103738a828b0161022e565b975097505060206103868a828b016102df565b95505060406103978a828b01610315565b945050606088013567ffffffffffffffff8111156103b8576103b761021a565b5b6103c48a828b0161022e565b935093505060806103d78a828b01610315565b91505092959891949750929550565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000610420826102f4565b915061042b836102f4565b9250828202610439816102f4565b915082820484148315176104505761044f6103e6565b5b5092915050565b610460816102a4565b82525050565b61046f816102f4565b82525050565b600060608201905061048a6000830186610457565b6104976020830185610457565b6104a46040830184610466565b949350505050565b60006040820190506104c16000830185610457565b6104ce6020830184610466565b9392505050565b600082825260208201905092915050565b82818337600083830152505050565b6000601f19601f8301169050919050565b600061051283856104d5565b935061051f8385846104e6565b610528836104f5565b840190509392505050565b6000819050919050565b600061055861055361054e84610284565b610533565b610284565b9050919050565b600061056a8261053d565b9050919050565b600061057c8261055f565b9050919050565b61058c81610571565b82525050565b600060808201905081810360008301526105ad81888a610506565b90506105bc6020830187610583565b6105c96040830186610466565b81810360608301526105dc818486610506565b905097965050505050505056fea2646970667358221220a5a92c8f323a5a31ee98d3f743848cbaba73616e237bfd5f78b15847c3c0abb864736f6c63430008190033",
}

DepositorMetaData contains all meta data concerning the Depositor contract.

View Source
var ExampleABI = ExampleMetaData.ABI

ExampleABI is the input ABI used to generate the binding from. Deprecated: Use ExampleMetaData.ABI instead.

View Source
var ExampleBin = ExampleMetaData.Bin

ExampleBin is the compiled bytecode used for deploying new contracts. Deprecated: Use ExampleMetaData.Bin instead.

View Source
var ExampleMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[],\"name\":\"Foo\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"bar\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"doRevert\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"doRevertWithMessage\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"doRevertWithRequire\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"doSucceed\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"bytes\",\"name\":\"origin\",\"type\":\"bytes\"},{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"chainID\",\"type\":\"uint256\"}],\"internalType\":\"structExample.zContext\",\"name\":\"context\",\"type\":\"tuple\"},{\"internalType\":\"address\",\"name\":\"zrc20\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"message\",\"type\":\"bytes\"}],\"name\":\"onCrossChainCall\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
	Bin: "0x6080604052348015600f57600080fd5b506000808190555061043f806100266000396000f3fe608060405234801561001057600080fd5b50600436106100625760003560e01c8063afc874d214610067578063d720cb4514610071578063dd8e556c1461007b578063de43156e14610085578063fd5ad965146100a1578063febb0f7e146100ab575b600080fd5b61006f6100c9565b005b6100796100fb565b005b610083610136565b005b61009f600480360381019061009a91906102be565b610179565b005b6100a9610187565b005b6100b3610191565b6040516100c09190610371565b60405180910390f35b6040517fbfb4ebcf00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161012d906103e9565b60405180910390fd5b6000610177576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161016e906103e9565b60405180910390fd5b565b826000819055505050505050565b6001600081905550565b60005481565b600080fd5b600080fd5b600080fd5b6000606082840312156101bc576101bb6101a1565b5b81905092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006101f0826101c5565b9050919050565b610200816101e5565b811461020b57600080fd5b50565b60008135905061021d816101f7565b92915050565b6000819050919050565b61023681610223565b811461024157600080fd5b50565b6000813590506102538161022d565b92915050565b600080fd5b600080fd5b600080fd5b60008083601f84011261027e5761027d610259565b5b8235905067ffffffffffffffff81111561029b5761029a61025e565b5b6020830191508360018202830111156102b7576102b6610263565b5b9250929050565b6000806000806000608086880312156102da576102d9610197565b5b600086013567ffffffffffffffff8111156102f8576102f761019c565b5b610304888289016101a6565b95505060206103158882890161020e565b945050604061032688828901610244565b935050606086013567ffffffffffffffff8111156103475761034661019c565b5b61035388828901610268565b92509250509295509295909350565b61036b81610223565b82525050565b60006020820190506103866000830184610362565b92915050565b600082825260208201905092915050565b7f666f6f0000000000000000000000000000000000000000000000000000000000600082015250565b60006103d360038361038c565b91506103de8261039d565b602082019050919050565b60006020820190508181036000830152610402816103c6565b905091905056fea2646970667358221220c9cedad580b18532a00be1e615813af1c20bb609a0a69b5f36d49ed76cc20b5064736f6c63430008190033",
}

ExampleMetaData contains all meta data concerning the Example contract.

View Source
var ReverterABI = ReverterMetaData.ABI

ReverterABI is the input ABI used to generate the binding from. Deprecated: Use ReverterMetaData.ABI instead.

View Source
var ReverterBin = ReverterMetaData.Bin

ReverterBin is the compiled bytecode used for deploying new contracts. Deprecated: Use ReverterMetaData.Bin instead.

View Source
var ReverterMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[],\"name\":\"Foo\",\"type\":\"error\"},{\"inputs\":[{\"components\":[{\"internalType\":\"bytes\",\"name\":\"origin\",\"type\":\"bytes\"},{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"chainID\",\"type\":\"uint256\"}],\"internalType\":\"structReverter.zContext\",\"name\":\"context\",\"type\":\"tuple\"},{\"internalType\":\"address\",\"name\":\"zrc20\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"message\",\"type\":\"bytes\"}],\"name\":\"onCrossChainCall\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
	Bin: "0x6080604052348015600f57600080fd5b5061027f8061001f6000396000f3fe608060405234801561001057600080fd5b506004361061002b5760003560e01c8063de43156e14610030575b600080fd5b61004a600480360381019061004591906101a5565b61004c565b005b6040517fbfb4ebcf00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600080fd5b600080fd5b600080fd5b6000606082840312156100a3576100a2610088565b5b81905092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006100d7826100ac565b9050919050565b6100e7816100cc565b81146100f257600080fd5b50565b600081359050610104816100de565b92915050565b6000819050919050565b61011d8161010a565b811461012857600080fd5b50565b60008135905061013a81610114565b92915050565b600080fd5b600080fd5b600080fd5b60008083601f84011261016557610164610140565b5b8235905067ffffffffffffffff81111561018257610181610145565b5b60208301915083600182028301111561019e5761019d61014a565b5b9250929050565b6000806000806000608086880312156101c1576101c061007e565b5b600086013567ffffffffffffffff8111156101df576101de610083565b5b6101eb8882890161008d565b95505060206101fc888289016100f5565b945050604061020d8882890161012b565b935050606086013567ffffffffffffffff81111561022e5761022d610083565b5b61023a8882890161014f565b9250925050929550929590935056fea26469706673582212209d6fef8c2cffe61b2d6b1a5bf4d6f71d1ade0e1a1e6a8c8e9f09fe1c28a520d164736f6c63430008190033",
}

ReverterMetaData contains all meta data concerning the Reverter contract.

View Source
var WithdrawerABI = WithdrawerMetaData.ABI

WithdrawerABI is the input ABI used to generate the binding from. Deprecated: Use WithdrawerMetaData.ABI instead.

View Source
var WithdrawerBin = WithdrawerMetaData.Bin

WithdrawerBin is the compiled bytecode used for deploying new contracts. Deprecated: Use WithdrawerMetaData.Bin instead.

View Source
var WithdrawerMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"recipient\",\"type\":\"bytes\"},{\"internalType\":\"contractIZRC20\",\"name\":\"asset\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"count\",\"type\":\"uint256\"}],\"name\":\"runWithdraws\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
	Bin: "0x6080604052348015600f57600080fd5b506107568061001f6000396000f3fe608060405234801561001057600080fd5b506004361061002b5760003560e01c8063e3be6f6814610030575b600080fd5b61004a600480360381019061004591906103ff565b61004c565b005b6000808473ffffffffffffffffffffffffffffffffffffffff1663d9eeebed6040518163ffffffff1660e01b815260040160408051808303816000875af115801561009b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906100bf91906104c8565b915091508173ffffffffffffffffffffffffffffffffffffffff166323b872dd33306001876100ee9190610537565b856100f9919061056b565b6040518463ffffffff1660e01b8152600401610117939291906105cb565b600060405180830381600087803b15801561013157600080fd5b505af1158015610145573d6000803e3d6000fd5b505050508173ffffffffffffffffffffffffffffffffffffffff1663095ea7b3866001866101739190610537565b8461017e919061056b565b6040518363ffffffff1660e01b815260040161019b929190610602565b600060405180830381600087803b1580156101b557600080fd5b505af11580156101c9573d6000803e3d6000fd5b505050508473ffffffffffffffffffffffffffffffffffffffff166323b872dd333086886101f7919061056b565b6040518463ffffffff1660e01b8152600401610215939291906105cb565b600060405180830381600087803b15801561022f57600080fd5b505af1158015610243573d6000803e3d6000fd5b5050505060005b838110156102e0578573ffffffffffffffffffffffffffffffffffffffff1663c70126268989886040518463ffffffff1660e01b815260040161028f93929190610689565b6020604051808303816000875af11580156102ae573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102d291906106f3565b50808060010191505061024a565b5050505050505050565b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b60008083601f840112610319576103186102f4565b5b8235905067ffffffffffffffff811115610336576103356102f9565b5b602083019150836001820283011115610352576103516102fe565b5b9250929050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061038482610359565b9050919050565b600061039682610379565b9050919050565b6103a68161038b565b81146103b157600080fd5b50565b6000813590506103c38161039d565b92915050565b6000819050919050565b6103dc816103c9565b81146103e757600080fd5b50565b6000813590506103f9816103d3565b92915050565b60008060008060006080868803121561041b5761041a6102ea565b5b600086013567ffffffffffffffff811115610439576104386102ef565b5b61044588828901610303565b95509550506020610458888289016103b4565b9350506040610469888289016103ea565b925050606061047a888289016103ea565b9150509295509295909350565b61049081610379565b811461049b57600080fd5b50565b6000815190506104ad81610487565b92915050565b6000815190506104c2816103d3565b92915050565b600080604083850312156104df576104de6102ea565b5b60006104ed8582860161049e565b92505060206104fe858286016104b3565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000610542826103c9565b915061054d836103c9565b925082820190508082111561056557610564610508565b5b92915050565b6000610576826103c9565b9150610581836103c9565b925082820261058f816103c9565b915082820484148315176105a6576105a5610508565b5b5092915050565b6105b681610379565b82525050565b6105c5816103c9565b82525050565b60006060820190506105e060008301866105ad565b6105ed60208301856105ad565b6105fa60408301846105bc565b949350505050565b600060408201905061061760008301856105ad565b61062460208301846105bc565b9392505050565b600082825260208201905092915050565b82818337600083830152505050565b6000601f19601f8301169050919050565b6000610668838561062b565b935061067583858461063c565b61067e8361064b565b840190509392505050565b600060408201905081810360008301526106a481858761065c565b90506106b360208301846105bc565b949350505050565b60008115159050919050565b6106d0816106bb565b81146106db57600080fd5b50565b6000815190506106ed816106c7565b92915050565b600060208284031215610709576107086102ea565b5b6000610717848285016106de565b9150509291505056fea264697066735822122041c37b70ead002476ecfdd58a860341299d12b3a46089a50bd573e25dbb8af3a64736f6c63430008190033",
}

WithdrawerMetaData contains all meta data concerning the Withdrawer contract.

Functions

This section is empty.

Types

type Dapp

type Dapp struct {
	DappCaller     // Read-only binding to the contract
	DappTransactor // Write-only binding to the contract
	DappFilterer   // Log filterer for contract events
}

Dapp is an auto generated Go binding around an Ethereum contract.

func DeployDapp

func DeployDapp(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *Dapp, error)

DeployDapp deploys a new Ethereum contract, binding an instance of Dapp to it.

func NewDapp

func NewDapp(address common.Address, backend bind.ContractBackend) (*Dapp, error)

NewDapp creates a new instance of Dapp, bound to a specific deployed contract.

type DappCaller

type DappCaller struct {
	// contains filtered or unexported fields
}

DappCaller is an auto generated read-only Go binding around an Ethereum contract.

func NewDappCaller

func NewDappCaller(address common.Address, caller bind.ContractCaller) (*DappCaller, error)

NewDappCaller creates a new read-only instance of Dapp, bound to a specific deployed contract.

func (*DappCaller) DestinationAddress

func (_Dapp *DappCaller) DestinationAddress(opts *bind.CallOpts) (common.Address, error)

DestinationAddress is a free data retrieval call binding the contract method 0xca325469.

Solidity: function destinationAddress() view returns(address)

func (*DappCaller) DestinationChainId

func (_Dapp *DappCaller) DestinationChainId(opts *bind.CallOpts) (*big.Int, error)

DestinationChainId is a free data retrieval call binding the contract method 0xb0750611.

Solidity: function destinationChainId() view returns(uint256)

func (*DappCaller) Message

func (_Dapp *DappCaller) Message(opts *bind.CallOpts) ([]byte, error)

Message is a free data retrieval call binding the contract method 0xe21f37ce.

Solidity: function message() view returns(bytes)

func (*DappCaller) SourceChainId

func (_Dapp *DappCaller) SourceChainId(opts *bind.CallOpts) (*big.Int, error)

SourceChainId is a free data retrieval call binding the contract method 0x1544298e.

Solidity: function sourceChainId() view returns(uint256)

func (*DappCaller) ZetaTxSenderAddress

func (_Dapp *DappCaller) ZetaTxSenderAddress(opts *bind.CallOpts) ([]byte, error)

ZetaTxSenderAddress is a free data retrieval call binding the contract method 0xed6b866b.

Solidity: function zetaTxSenderAddress() view returns(bytes)

func (*DappCaller) ZetaValue

func (_Dapp *DappCaller) ZetaValue(opts *bind.CallOpts) (*big.Int, error)

ZetaValue is a free data retrieval call binding the contract method 0x050337a2.

Solidity: function zetaValue() view returns(uint256)

type DappCallerRaw

type DappCallerRaw struct {
	Contract *DappCaller // Generic read-only contract binding to access the raw methods on
}

DappCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*DappCallerRaw) Call

func (_Dapp *DappCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

type DappCallerSession

type DappCallerSession struct {
	Contract *DappCaller   // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts // Call options to use throughout this session
}

DappCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

func (*DappCallerSession) DestinationAddress

func (_Dapp *DappCallerSession) DestinationAddress() (common.Address, error)

DestinationAddress is a free data retrieval call binding the contract method 0xca325469.

Solidity: function destinationAddress() view returns(address)

func (*DappCallerSession) DestinationChainId

func (_Dapp *DappCallerSession) DestinationChainId() (*big.Int, error)

DestinationChainId is a free data retrieval call binding the contract method 0xb0750611.

Solidity: function destinationChainId() view returns(uint256)

func (*DappCallerSession) Message

func (_Dapp *DappCallerSession) Message() ([]byte, error)

Message is a free data retrieval call binding the contract method 0xe21f37ce.

Solidity: function message() view returns(bytes)

func (*DappCallerSession) SourceChainId

func (_Dapp *DappCallerSession) SourceChainId() (*big.Int, error)

SourceChainId is a free data retrieval call binding the contract method 0x1544298e.

Solidity: function sourceChainId() view returns(uint256)

func (*DappCallerSession) ZetaTxSenderAddress

func (_Dapp *DappCallerSession) ZetaTxSenderAddress() ([]byte, error)

ZetaTxSenderAddress is a free data retrieval call binding the contract method 0xed6b866b.

Solidity: function zetaTxSenderAddress() view returns(bytes)

func (*DappCallerSession) ZetaValue

func (_Dapp *DappCallerSession) ZetaValue() (*big.Int, error)

ZetaValue is a free data retrieval call binding the contract method 0x050337a2.

Solidity: function zetaValue() view returns(uint256)

type DappFilterer

type DappFilterer struct {
	// contains filtered or unexported fields
}

DappFilterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewDappFilterer

func NewDappFilterer(address common.Address, filterer bind.ContractFilterer) (*DappFilterer, error)

NewDappFilterer creates a new log filterer instance of Dapp, bound to a specific deployed contract.

type DappRaw

type DappRaw struct {
	Contract *Dapp // Generic contract binding to access the raw methods on
}

DappRaw is an auto generated low-level Go binding around an Ethereum contract.

func (*DappRaw) Call

func (_Dapp *DappRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

func (*DappRaw) Transact

func (_Dapp *DappRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*DappRaw) Transfer

func (_Dapp *DappRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type DappReverter

type DappReverter struct {
	DappReverterCaller     // Read-only binding to the contract
	DappReverterTransactor // Write-only binding to the contract
	DappReverterFilterer   // Log filterer for contract events
}

DappReverter is an auto generated Go binding around an Ethereum contract.

func DeployDappReverter

func DeployDappReverter(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *DappReverter, error)

DeployDappReverter deploys a new Ethereum contract, binding an instance of DappReverter to it.

func NewDappReverter

func NewDappReverter(address common.Address, backend bind.ContractBackend) (*DappReverter, error)

NewDappReverter creates a new instance of DappReverter, bound to a specific deployed contract.

type DappReverterCaller

type DappReverterCaller struct {
	// contains filtered or unexported fields
}

DappReverterCaller is an auto generated read-only Go binding around an Ethereum contract.

func NewDappReverterCaller

func NewDappReverterCaller(address common.Address, caller bind.ContractCaller) (*DappReverterCaller, error)

NewDappReverterCaller creates a new read-only instance of DappReverter, bound to a specific deployed contract.

type DappReverterCallerRaw

type DappReverterCallerRaw struct {
	Contract *DappReverterCaller // Generic read-only contract binding to access the raw methods on
}

DappReverterCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*DappReverterCallerRaw) Call

func (_DappReverter *DappReverterCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

type DappReverterCallerSession

type DappReverterCallerSession struct {
	Contract *DappReverterCaller // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts       // Call options to use throughout this session
}

DappReverterCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

type DappReverterFilterer

type DappReverterFilterer struct {
	// contains filtered or unexported fields
}

DappReverterFilterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewDappReverterFilterer

func NewDappReverterFilterer(address common.Address, filterer bind.ContractFilterer) (*DappReverterFilterer, error)

NewDappReverterFilterer creates a new log filterer instance of DappReverter, bound to a specific deployed contract.

type DappReverterRaw

type DappReverterRaw struct {
	Contract *DappReverter // Generic contract binding to access the raw methods on
}

DappReverterRaw is an auto generated low-level Go binding around an Ethereum contract.

func (*DappReverterRaw) Call

func (_DappReverter *DappReverterRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

func (*DappReverterRaw) Transact

func (_DappReverter *DappReverterRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*DappReverterRaw) Transfer

func (_DappReverter *DappReverterRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type DappReverterSession

type DappReverterSession struct {
	Contract     *DappReverter     // Generic contract binding to set the session for
	CallOpts     bind.CallOpts     // Call options to use throughout this session
	TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
}

DappReverterSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

func (*DappReverterSession) OnZetaMessage

func (_DappReverter *DappReverterSession) OnZetaMessage() (*types.Transaction, error)

OnZetaMessage is a paid mutator transaction binding the contract method 0x705847b7.

Solidity: function onZetaMessage() returns()

func (*DappReverterSession) OnZetaRevert

func (_DappReverter *DappReverterSession) OnZetaRevert() (*types.Transaction, error)

OnZetaRevert is a paid mutator transaction binding the contract method 0x9a190749.

Solidity: function onZetaRevert() returns()

type DappReverterTransactor

type DappReverterTransactor struct {
	// contains filtered or unexported fields
}

DappReverterTransactor is an auto generated write-only Go binding around an Ethereum contract.

func NewDappReverterTransactor

func NewDappReverterTransactor(address common.Address, transactor bind.ContractTransactor) (*DappReverterTransactor, error)

NewDappReverterTransactor creates a new write-only instance of DappReverter, bound to a specific deployed contract.

func (*DappReverterTransactor) OnZetaMessage

func (_DappReverter *DappReverterTransactor) OnZetaMessage(opts *bind.TransactOpts) (*types.Transaction, error)

OnZetaMessage is a paid mutator transaction binding the contract method 0x705847b7.

Solidity: function onZetaMessage() returns()

func (*DappReverterTransactor) OnZetaRevert

func (_DappReverter *DappReverterTransactor) OnZetaRevert(opts *bind.TransactOpts) (*types.Transaction, error)

OnZetaRevert is a paid mutator transaction binding the contract method 0x9a190749.

Solidity: function onZetaRevert() returns()

type DappReverterTransactorRaw

type DappReverterTransactorRaw struct {
	Contract *DappReverterTransactor // Generic write-only contract binding to access the raw methods on
}

DappReverterTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*DappReverterTransactorRaw) Transact

func (_DappReverter *DappReverterTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*DappReverterTransactorRaw) Transfer

func (_DappReverter *DappReverterTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type DappReverterTransactorSession

type DappReverterTransactorSession struct {
	Contract     *DappReverterTransactor // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts       // Transaction auth options to use throughout this session
}

DappReverterTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

func (*DappReverterTransactorSession) OnZetaMessage

func (_DappReverter *DappReverterTransactorSession) OnZetaMessage() (*types.Transaction, error)

OnZetaMessage is a paid mutator transaction binding the contract method 0x705847b7.

Solidity: function onZetaMessage() returns()

func (*DappReverterTransactorSession) OnZetaRevert

func (_DappReverter *DappReverterTransactorSession) OnZetaRevert() (*types.Transaction, error)

OnZetaRevert is a paid mutator transaction binding the contract method 0x9a190749.

Solidity: function onZetaRevert() returns()

type DappSession

type DappSession struct {
	Contract     *Dapp             // Generic contract binding to set the session for
	CallOpts     bind.CallOpts     // Call options to use throughout this session
	TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
}

DappSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

func (*DappSession) DestinationAddress

func (_Dapp *DappSession) DestinationAddress() (common.Address, error)

DestinationAddress is a free data retrieval call binding the contract method 0xca325469.

Solidity: function destinationAddress() view returns(address)

func (*DappSession) DestinationChainId

func (_Dapp *DappSession) DestinationChainId() (*big.Int, error)

DestinationChainId is a free data retrieval call binding the contract method 0xb0750611.

Solidity: function destinationChainId() view returns(uint256)

func (*DappSession) Message

func (_Dapp *DappSession) Message() ([]byte, error)

Message is a free data retrieval call binding the contract method 0xe21f37ce.

Solidity: function message() view returns(bytes)

func (*DappSession) OnZetaMessage

func (_Dapp *DappSession) OnZetaMessage(zetaMessage ZetaInterfacesZetaMessage) (*types.Transaction, error)

OnZetaMessage is a paid mutator transaction binding the contract method 0x3749c51a.

Solidity: function onZetaMessage((bytes,uint256,address,uint256,bytes) zetaMessage) returns()

func (*DappSession) OnZetaRevert

func (_Dapp *DappSession) OnZetaRevert(zetaRevert ZetaInterfacesZetaRevert) (*types.Transaction, error)

OnZetaRevert is a paid mutator transaction binding the contract method 0x3ff0693c.

Solidity: function onZetaRevert((address,uint256,bytes,uint256,uint256,bytes) zetaRevert) returns()

func (*DappSession) SourceChainId

func (_Dapp *DappSession) SourceChainId() (*big.Int, error)

SourceChainId is a free data retrieval call binding the contract method 0x1544298e.

Solidity: function sourceChainId() view returns(uint256)

func (*DappSession) ZetaTxSenderAddress

func (_Dapp *DappSession) ZetaTxSenderAddress() ([]byte, error)

ZetaTxSenderAddress is a free data retrieval call binding the contract method 0xed6b866b.

Solidity: function zetaTxSenderAddress() view returns(bytes)

func (*DappSession) ZetaValue

func (_Dapp *DappSession) ZetaValue() (*big.Int, error)

ZetaValue is a free data retrieval call binding the contract method 0x050337a2.

Solidity: function zetaValue() view returns(uint256)

type DappTransactor

type DappTransactor struct {
	// contains filtered or unexported fields
}

DappTransactor is an auto generated write-only Go binding around an Ethereum contract.

func NewDappTransactor

func NewDappTransactor(address common.Address, transactor bind.ContractTransactor) (*DappTransactor, error)

NewDappTransactor creates a new write-only instance of Dapp, bound to a specific deployed contract.

func (*DappTransactor) OnZetaMessage

func (_Dapp *DappTransactor) OnZetaMessage(opts *bind.TransactOpts, zetaMessage ZetaInterfacesZetaMessage) (*types.Transaction, error)

OnZetaMessage is a paid mutator transaction binding the contract method 0x3749c51a.

Solidity: function onZetaMessage((bytes,uint256,address,uint256,bytes) zetaMessage) returns()

func (*DappTransactor) OnZetaRevert

func (_Dapp *DappTransactor) OnZetaRevert(opts *bind.TransactOpts, zetaRevert ZetaInterfacesZetaRevert) (*types.Transaction, error)

OnZetaRevert is a paid mutator transaction binding the contract method 0x3ff0693c.

Solidity: function onZetaRevert((address,uint256,bytes,uint256,uint256,bytes) zetaRevert) returns()

type DappTransactorRaw

type DappTransactorRaw struct {
	Contract *DappTransactor // Generic write-only contract binding to access the raw methods on
}

DappTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*DappTransactorRaw) Transact

func (_Dapp *DappTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*DappTransactorRaw) Transfer

func (_Dapp *DappTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type DappTransactorSession

type DappTransactorSession struct {
	Contract     *DappTransactor   // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
}

DappTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

func (*DappTransactorSession) OnZetaMessage

func (_Dapp *DappTransactorSession) OnZetaMessage(zetaMessage ZetaInterfacesZetaMessage) (*types.Transaction, error)

OnZetaMessage is a paid mutator transaction binding the contract method 0x3749c51a.

Solidity: function onZetaMessage((bytes,uint256,address,uint256,bytes) zetaMessage) returns()

func (*DappTransactorSession) OnZetaRevert

func (_Dapp *DappTransactorSession) OnZetaRevert(zetaRevert ZetaInterfacesZetaRevert) (*types.Transaction, error)

OnZetaRevert is a paid mutator transaction binding the contract method 0x3ff0693c.

Solidity: function onZetaRevert((address,uint256,bytes,uint256,uint256,bytes) zetaRevert) returns()

type Depositor

type Depositor struct {
	DepositorCaller     // Read-only binding to the contract
	DepositorTransactor // Write-only binding to the contract
	DepositorFilterer   // Log filterer for contract events
}

Depositor is an auto generated Go binding around an Ethereum contract.

func DeployDepositor

func DeployDepositor(auth *bind.TransactOpts, backend bind.ContractBackend, custody_ common.Address) (common.Address, *types.Transaction, *Depositor, error)

DeployDepositor deploys a new Ethereum contract, binding an instance of Depositor to it.

func NewDepositor

func NewDepositor(address common.Address, backend bind.ContractBackend) (*Depositor, error)

NewDepositor creates a new instance of Depositor, bound to a specific deployed contract.

type DepositorCaller

type DepositorCaller struct {
	// contains filtered or unexported fields
}

DepositorCaller is an auto generated read-only Go binding around an Ethereum contract.

func NewDepositorCaller

func NewDepositorCaller(address common.Address, caller bind.ContractCaller) (*DepositorCaller, error)

NewDepositorCaller creates a new read-only instance of Depositor, bound to a specific deployed contract.

type DepositorCallerRaw

type DepositorCallerRaw struct {
	Contract *DepositorCaller // Generic read-only contract binding to access the raw methods on
}

DepositorCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*DepositorCallerRaw) Call

func (_Depositor *DepositorCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

type DepositorCallerSession

type DepositorCallerSession struct {
	Contract *DepositorCaller // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts    // Call options to use throughout this session
}

DepositorCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

type DepositorFilterer

type DepositorFilterer struct {
	// contains filtered or unexported fields
}

DepositorFilterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewDepositorFilterer

func NewDepositorFilterer(address common.Address, filterer bind.ContractFilterer) (*DepositorFilterer, error)

NewDepositorFilterer creates a new log filterer instance of Depositor, bound to a specific deployed contract.

type DepositorRaw

type DepositorRaw struct {
	Contract *Depositor // Generic contract binding to access the raw methods on
}

DepositorRaw is an auto generated low-level Go binding around an Ethereum contract.

func (*DepositorRaw) Call

func (_Depositor *DepositorRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

func (*DepositorRaw) Transact

func (_Depositor *DepositorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*DepositorRaw) Transfer

func (_Depositor *DepositorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type DepositorSession

type DepositorSession struct {
	Contract     *Depositor        // Generic contract binding to set the session for
	CallOpts     bind.CallOpts     // Call options to use throughout this session
	TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
}

DepositorSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

func (*DepositorSession) RunDeposits

func (_Depositor *DepositorSession) RunDeposits(recipient []byte, asset common.Address, amount *big.Int, message []byte, count *big.Int) (*types.Transaction, error)

RunDeposits is a paid mutator transaction binding the contract method 0x3d496c93.

Solidity: function runDeposits(bytes recipient, address asset, uint256 amount, bytes message, uint256 count) returns()

type DepositorTransactor

type DepositorTransactor struct {
	// contains filtered or unexported fields
}

DepositorTransactor is an auto generated write-only Go binding around an Ethereum contract.

func NewDepositorTransactor

func NewDepositorTransactor(address common.Address, transactor bind.ContractTransactor) (*DepositorTransactor, error)

NewDepositorTransactor creates a new write-only instance of Depositor, bound to a specific deployed contract.

func (*DepositorTransactor) RunDeposits

func (_Depositor *DepositorTransactor) RunDeposits(opts *bind.TransactOpts, recipient []byte, asset common.Address, amount *big.Int, message []byte, count *big.Int) (*types.Transaction, error)

RunDeposits is a paid mutator transaction binding the contract method 0x3d496c93.

Solidity: function runDeposits(bytes recipient, address asset, uint256 amount, bytes message, uint256 count) returns()

type DepositorTransactorRaw

type DepositorTransactorRaw struct {
	Contract *DepositorTransactor // Generic write-only contract binding to access the raw methods on
}

DepositorTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*DepositorTransactorRaw) Transact

func (_Depositor *DepositorTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*DepositorTransactorRaw) Transfer

func (_Depositor *DepositorTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type DepositorTransactorSession

type DepositorTransactorSession struct {
	Contract     *DepositorTransactor // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts    // Transaction auth options to use throughout this session
}

DepositorTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

func (*DepositorTransactorSession) RunDeposits

func (_Depositor *DepositorTransactorSession) RunDeposits(recipient []byte, asset common.Address, amount *big.Int, message []byte, count *big.Int) (*types.Transaction, error)

RunDeposits is a paid mutator transaction binding the contract method 0x3d496c93.

Solidity: function runDeposits(bytes recipient, address asset, uint256 amount, bytes message, uint256 count) returns()

type Example

type Example struct {
	ExampleCaller     // Read-only binding to the contract
	ExampleTransactor // Write-only binding to the contract
	ExampleFilterer   // Log filterer for contract events
}

Example is an auto generated Go binding around an Ethereum contract.

func DeployExample

func DeployExample(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *Example, error)

DeployExample deploys a new Ethereum contract, binding an instance of Example to it.

func NewExample

func NewExample(address common.Address, backend bind.ContractBackend) (*Example, error)

NewExample creates a new instance of Example, bound to a specific deployed contract.

type ExampleCaller

type ExampleCaller struct {
	// contains filtered or unexported fields
}

ExampleCaller is an auto generated read-only Go binding around an Ethereum contract.

func NewExampleCaller

func NewExampleCaller(address common.Address, caller bind.ContractCaller) (*ExampleCaller, error)

NewExampleCaller creates a new read-only instance of Example, bound to a specific deployed contract.

func (*ExampleCaller) Bar

func (_Example *ExampleCaller) Bar(opts *bind.CallOpts) (*big.Int, error)

Bar is a free data retrieval call binding the contract method 0xfebb0f7e.

Solidity: function bar() view returns(uint256)

type ExampleCallerRaw

type ExampleCallerRaw struct {
	Contract *ExampleCaller // Generic read-only contract binding to access the raw methods on
}

ExampleCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*ExampleCallerRaw) Call

func (_Example *ExampleCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

type ExampleCallerSession

type ExampleCallerSession struct {
	Contract *ExampleCaller // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts  // Call options to use throughout this session
}

ExampleCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

func (*ExampleCallerSession) Bar

func (_Example *ExampleCallerSession) Bar() (*big.Int, error)

Bar is a free data retrieval call binding the contract method 0xfebb0f7e.

Solidity: function bar() view returns(uint256)

type ExampleFilterer

type ExampleFilterer struct {
	// contains filtered or unexported fields
}

ExampleFilterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewExampleFilterer

func NewExampleFilterer(address common.Address, filterer bind.ContractFilterer) (*ExampleFilterer, error)

NewExampleFilterer creates a new log filterer instance of Example, bound to a specific deployed contract.

type ExampleRaw

type ExampleRaw struct {
	Contract *Example // Generic contract binding to access the raw methods on
}

ExampleRaw is an auto generated low-level Go binding around an Ethereum contract.

func (*ExampleRaw) Call

func (_Example *ExampleRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

func (*ExampleRaw) Transact

func (_Example *ExampleRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*ExampleRaw) Transfer

func (_Example *ExampleRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type ExampleSession

type ExampleSession struct {
	Contract     *Example          // Generic contract binding to set the session for
	CallOpts     bind.CallOpts     // Call options to use throughout this session
	TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
}

ExampleSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

func (*ExampleSession) Bar

func (_Example *ExampleSession) Bar() (*big.Int, error)

Bar is a free data retrieval call binding the contract method 0xfebb0f7e.

Solidity: function bar() view returns(uint256)

func (*ExampleSession) DoRevert

func (_Example *ExampleSession) DoRevert() (*types.Transaction, error)

DoRevert is a paid mutator transaction binding the contract method 0xafc874d2.

Solidity: function doRevert() returns()

func (*ExampleSession) DoRevertWithMessage

func (_Example *ExampleSession) DoRevertWithMessage() (*types.Transaction, error)

DoRevertWithMessage is a paid mutator transaction binding the contract method 0xd720cb45.

Solidity: function doRevertWithMessage() returns()

func (*ExampleSession) DoRevertWithRequire

func (_Example *ExampleSession) DoRevertWithRequire() (*types.Transaction, error)

DoRevertWithRequire is a paid mutator transaction binding the contract method 0xdd8e556c.

Solidity: function doRevertWithRequire() returns()

func (*ExampleSession) DoSucceed

func (_Example *ExampleSession) DoSucceed() (*types.Transaction, error)

DoSucceed is a paid mutator transaction binding the contract method 0xfd5ad965.

Solidity: function doSucceed() returns()

func (*ExampleSession) OnCrossChainCall

func (_Example *ExampleSession) OnCrossChainCall(context ExamplezContext, zrc20 common.Address, amount *big.Int, message []byte) (*types.Transaction, error)

OnCrossChainCall is a paid mutator transaction binding the contract method 0xde43156e.

Solidity: function onCrossChainCall((bytes,address,uint256) context, address zrc20, uint256 amount, bytes message) returns()

type ExampleTransactor

type ExampleTransactor struct {
	// contains filtered or unexported fields
}

ExampleTransactor is an auto generated write-only Go binding around an Ethereum contract.

func NewExampleTransactor

func NewExampleTransactor(address common.Address, transactor bind.ContractTransactor) (*ExampleTransactor, error)

NewExampleTransactor creates a new write-only instance of Example, bound to a specific deployed contract.

func (*ExampleTransactor) DoRevert

func (_Example *ExampleTransactor) DoRevert(opts *bind.TransactOpts) (*types.Transaction, error)

DoRevert is a paid mutator transaction binding the contract method 0xafc874d2.

Solidity: function doRevert() returns()

func (*ExampleTransactor) DoRevertWithMessage

func (_Example *ExampleTransactor) DoRevertWithMessage(opts *bind.TransactOpts) (*types.Transaction, error)

DoRevertWithMessage is a paid mutator transaction binding the contract method 0xd720cb45.

Solidity: function doRevertWithMessage() returns()

func (*ExampleTransactor) DoRevertWithRequire

func (_Example *ExampleTransactor) DoRevertWithRequire(opts *bind.TransactOpts) (*types.Transaction, error)

DoRevertWithRequire is a paid mutator transaction binding the contract method 0xdd8e556c.

Solidity: function doRevertWithRequire() returns()

func (*ExampleTransactor) DoSucceed

func (_Example *ExampleTransactor) DoSucceed(opts *bind.TransactOpts) (*types.Transaction, error)

DoSucceed is a paid mutator transaction binding the contract method 0xfd5ad965.

Solidity: function doSucceed() returns()

func (*ExampleTransactor) OnCrossChainCall

func (_Example *ExampleTransactor) OnCrossChainCall(opts *bind.TransactOpts, context ExamplezContext, zrc20 common.Address, amount *big.Int, message []byte) (*types.Transaction, error)

OnCrossChainCall is a paid mutator transaction binding the contract method 0xde43156e.

Solidity: function onCrossChainCall((bytes,address,uint256) context, address zrc20, uint256 amount, bytes message) returns()

type ExampleTransactorRaw

type ExampleTransactorRaw struct {
	Contract *ExampleTransactor // Generic write-only contract binding to access the raw methods on
}

ExampleTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*ExampleTransactorRaw) Transact

func (_Example *ExampleTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*ExampleTransactorRaw) Transfer

func (_Example *ExampleTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type ExampleTransactorSession

type ExampleTransactorSession struct {
	Contract     *ExampleTransactor // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts  // Transaction auth options to use throughout this session
}

ExampleTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

func (*ExampleTransactorSession) DoRevert

func (_Example *ExampleTransactorSession) DoRevert() (*types.Transaction, error)

DoRevert is a paid mutator transaction binding the contract method 0xafc874d2.

Solidity: function doRevert() returns()

func (*ExampleTransactorSession) DoRevertWithMessage

func (_Example *ExampleTransactorSession) DoRevertWithMessage() (*types.Transaction, error)

DoRevertWithMessage is a paid mutator transaction binding the contract method 0xd720cb45.

Solidity: function doRevertWithMessage() returns()

func (*ExampleTransactorSession) DoRevertWithRequire

func (_Example *ExampleTransactorSession) DoRevertWithRequire() (*types.Transaction, error)

DoRevertWithRequire is a paid mutator transaction binding the contract method 0xdd8e556c.

Solidity: function doRevertWithRequire() returns()

func (*ExampleTransactorSession) DoSucceed

func (_Example *ExampleTransactorSession) DoSucceed() (*types.Transaction, error)

DoSucceed is a paid mutator transaction binding the contract method 0xfd5ad965.

Solidity: function doSucceed() returns()

func (*ExampleTransactorSession) OnCrossChainCall

func (_Example *ExampleTransactorSession) OnCrossChainCall(context ExamplezContext, zrc20 common.Address, amount *big.Int, message []byte) (*types.Transaction, error)

OnCrossChainCall is a paid mutator transaction binding the contract method 0xde43156e.

Solidity: function onCrossChainCall((bytes,address,uint256) context, address zrc20, uint256 amount, bytes message) returns()

type ExamplezContext

type ExamplezContext struct {
	Origin  []byte
	Sender  common.Address
	ChainID *big.Int
}

ExamplezContext is an auto generated low-level Go binding around an user-defined struct.

type Reverter

type Reverter struct {
	ReverterCaller     // Read-only binding to the contract
	ReverterTransactor // Write-only binding to the contract
	ReverterFilterer   // Log filterer for contract events
}

Reverter is an auto generated Go binding around an Ethereum contract.

func DeployReverter

func DeployReverter(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *Reverter, error)

DeployReverter deploys a new Ethereum contract, binding an instance of Reverter to it.

func NewReverter

func NewReverter(address common.Address, backend bind.ContractBackend) (*Reverter, error)

NewReverter creates a new instance of Reverter, bound to a specific deployed contract.

type ReverterCaller

type ReverterCaller struct {
	// contains filtered or unexported fields
}

ReverterCaller is an auto generated read-only Go binding around an Ethereum contract.

func NewReverterCaller

func NewReverterCaller(address common.Address, caller bind.ContractCaller) (*ReverterCaller, error)

NewReverterCaller creates a new read-only instance of Reverter, bound to a specific deployed contract.

type ReverterCallerRaw

type ReverterCallerRaw struct {
	Contract *ReverterCaller // Generic read-only contract binding to access the raw methods on
}

ReverterCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*ReverterCallerRaw) Call

func (_Reverter *ReverterCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

type ReverterCallerSession

type ReverterCallerSession struct {
	Contract *ReverterCaller // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts   // Call options to use throughout this session
}

ReverterCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

type ReverterFilterer

type ReverterFilterer struct {
	// contains filtered or unexported fields
}

ReverterFilterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewReverterFilterer

func NewReverterFilterer(address common.Address, filterer bind.ContractFilterer) (*ReverterFilterer, error)

NewReverterFilterer creates a new log filterer instance of Reverter, bound to a specific deployed contract.

type ReverterRaw

type ReverterRaw struct {
	Contract *Reverter // Generic contract binding to access the raw methods on
}

ReverterRaw is an auto generated low-level Go binding around an Ethereum contract.

func (*ReverterRaw) Call

func (_Reverter *ReverterRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

func (*ReverterRaw) Transact

func (_Reverter *ReverterRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*ReverterRaw) Transfer

func (_Reverter *ReverterRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type ReverterSession

type ReverterSession struct {
	Contract     *Reverter         // Generic contract binding to set the session for
	CallOpts     bind.CallOpts     // Call options to use throughout this session
	TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
}

ReverterSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

func (*ReverterSession) OnCrossChainCall

func (_Reverter *ReverterSession) OnCrossChainCall(context ReverterzContext, zrc20 common.Address, amount *big.Int, message []byte) (*types.Transaction, error)

OnCrossChainCall is a paid mutator transaction binding the contract method 0xde43156e.

Solidity: function onCrossChainCall((bytes,address,uint256) context, address zrc20, uint256 amount, bytes message) returns()

type ReverterTransactor

type ReverterTransactor struct {
	// contains filtered or unexported fields
}

ReverterTransactor is an auto generated write-only Go binding around an Ethereum contract.

func NewReverterTransactor

func NewReverterTransactor(address common.Address, transactor bind.ContractTransactor) (*ReverterTransactor, error)

NewReverterTransactor creates a new write-only instance of Reverter, bound to a specific deployed contract.

func (*ReverterTransactor) OnCrossChainCall

func (_Reverter *ReverterTransactor) OnCrossChainCall(opts *bind.TransactOpts, context ReverterzContext, zrc20 common.Address, amount *big.Int, message []byte) (*types.Transaction, error)

OnCrossChainCall is a paid mutator transaction binding the contract method 0xde43156e.

Solidity: function onCrossChainCall((bytes,address,uint256) context, address zrc20, uint256 amount, bytes message) returns()

type ReverterTransactorRaw

type ReverterTransactorRaw struct {
	Contract *ReverterTransactor // Generic write-only contract binding to access the raw methods on
}

ReverterTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*ReverterTransactorRaw) Transact

func (_Reverter *ReverterTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*ReverterTransactorRaw) Transfer

func (_Reverter *ReverterTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type ReverterTransactorSession

type ReverterTransactorSession struct {
	Contract     *ReverterTransactor // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts   // Transaction auth options to use throughout this session
}

ReverterTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

func (*ReverterTransactorSession) OnCrossChainCall

func (_Reverter *ReverterTransactorSession) OnCrossChainCall(context ReverterzContext, zrc20 common.Address, amount *big.Int, message []byte) (*types.Transaction, error)

OnCrossChainCall is a paid mutator transaction binding the contract method 0xde43156e.

Solidity: function onCrossChainCall((bytes,address,uint256) context, address zrc20, uint256 amount, bytes message) returns()

type ReverterzContext

type ReverterzContext struct {
	Origin  []byte
	Sender  common.Address
	ChainID *big.Int
}

ReverterzContext is an auto generated low-level Go binding around an user-defined struct.

type Withdrawer

type Withdrawer struct {
	WithdrawerCaller     // Read-only binding to the contract
	WithdrawerTransactor // Write-only binding to the contract
	WithdrawerFilterer   // Log filterer for contract events
}

Withdrawer is an auto generated Go binding around an Ethereum contract.

func DeployWithdrawer

func DeployWithdrawer(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *Withdrawer, error)

DeployWithdrawer deploys a new Ethereum contract, binding an instance of Withdrawer to it.

func NewWithdrawer

func NewWithdrawer(address common.Address, backend bind.ContractBackend) (*Withdrawer, error)

NewWithdrawer creates a new instance of Withdrawer, bound to a specific deployed contract.

type WithdrawerCaller

type WithdrawerCaller struct {
	// contains filtered or unexported fields
}

WithdrawerCaller is an auto generated read-only Go binding around an Ethereum contract.

func NewWithdrawerCaller

func NewWithdrawerCaller(address common.Address, caller bind.ContractCaller) (*WithdrawerCaller, error)

NewWithdrawerCaller creates a new read-only instance of Withdrawer, bound to a specific deployed contract.

type WithdrawerCallerRaw

type WithdrawerCallerRaw struct {
	Contract *WithdrawerCaller // Generic read-only contract binding to access the raw methods on
}

WithdrawerCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*WithdrawerCallerRaw) Call

func (_Withdrawer *WithdrawerCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

type WithdrawerCallerSession

type WithdrawerCallerSession struct {
	Contract *WithdrawerCaller // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts     // Call options to use throughout this session
}

WithdrawerCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

type WithdrawerFilterer

type WithdrawerFilterer struct {
	// contains filtered or unexported fields
}

WithdrawerFilterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewWithdrawerFilterer

func NewWithdrawerFilterer(address common.Address, filterer bind.ContractFilterer) (*WithdrawerFilterer, error)

NewWithdrawerFilterer creates a new log filterer instance of Withdrawer, bound to a specific deployed contract.

type WithdrawerRaw

type WithdrawerRaw struct {
	Contract *Withdrawer // Generic contract binding to access the raw methods on
}

WithdrawerRaw is an auto generated low-level Go binding around an Ethereum contract.

func (*WithdrawerRaw) Call

func (_Withdrawer *WithdrawerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

func (*WithdrawerRaw) Transact

func (_Withdrawer *WithdrawerRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*WithdrawerRaw) Transfer

func (_Withdrawer *WithdrawerRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type WithdrawerSession

type WithdrawerSession struct {
	Contract     *Withdrawer       // Generic contract binding to set the session for
	CallOpts     bind.CallOpts     // Call options to use throughout this session
	TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
}

WithdrawerSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

func (*WithdrawerSession) RunWithdraws

func (_Withdrawer *WithdrawerSession) RunWithdraws(recipient []byte, asset common.Address, amount *big.Int, count *big.Int) (*types.Transaction, error)

RunWithdraws is a paid mutator transaction binding the contract method 0xe3be6f68.

Solidity: function runWithdraws(bytes recipient, address asset, uint256 amount, uint256 count) returns()

type WithdrawerTransactor

type WithdrawerTransactor struct {
	// contains filtered or unexported fields
}

WithdrawerTransactor is an auto generated write-only Go binding around an Ethereum contract.

func NewWithdrawerTransactor

func NewWithdrawerTransactor(address common.Address, transactor bind.ContractTransactor) (*WithdrawerTransactor, error)

NewWithdrawerTransactor creates a new write-only instance of Withdrawer, bound to a specific deployed contract.

func (*WithdrawerTransactor) RunWithdraws

func (_Withdrawer *WithdrawerTransactor) RunWithdraws(opts *bind.TransactOpts, recipient []byte, asset common.Address, amount *big.Int, count *big.Int) (*types.Transaction, error)

RunWithdraws is a paid mutator transaction binding the contract method 0xe3be6f68.

Solidity: function runWithdraws(bytes recipient, address asset, uint256 amount, uint256 count) returns()

type WithdrawerTransactorRaw

type WithdrawerTransactorRaw struct {
	Contract *WithdrawerTransactor // Generic write-only contract binding to access the raw methods on
}

WithdrawerTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*WithdrawerTransactorRaw) Transact

func (_Withdrawer *WithdrawerTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*WithdrawerTransactorRaw) Transfer

func (_Withdrawer *WithdrawerTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type WithdrawerTransactorSession

type WithdrawerTransactorSession struct {
	Contract     *WithdrawerTransactor // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts     // Transaction auth options to use throughout this session
}

WithdrawerTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

func (*WithdrawerTransactorSession) RunWithdraws

func (_Withdrawer *WithdrawerTransactorSession) RunWithdraws(recipient []byte, asset common.Address, amount *big.Int, count *big.Int) (*types.Transaction, error)

RunWithdraws is a paid mutator transaction binding the contract method 0xe3be6f68.

Solidity: function runWithdraws(bytes recipient, address asset, uint256 amount, uint256 count) returns()

type ZetaInterfacesZetaMessage

type ZetaInterfacesZetaMessage struct {
	ZetaTxSenderAddress []byte
	SourceChainId       *big.Int
	DestinationAddress  common.Address
	ZetaValue           *big.Int
	Message             []byte
}

ZetaInterfacesZetaMessage is an auto generated low-level Go binding around an user-defined struct.

type ZetaInterfacesZetaRevert

type ZetaInterfacesZetaRevert struct {
	ZetaTxSenderAddress common.Address
	SourceChainId       *big.Int
	DestinationAddress  []byte
	DestinationChainId  *big.Int
	RemainingZetaValue  *big.Int
	Message             []byte
}

ZetaInterfacesZetaRevert is an auto generated low-level Go binding around an user-defined struct.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL