erc20custody

package
v1.0.2-athens3 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ERC20CustodyABI = ERC20CustodyMetaData.ABI

ERC20CustodyABI is the input ABI used to generate the binding from. Deprecated: Use ERC20CustodyMetaData.ABI instead.

View Source
var ERC20CustodyBin = ERC20CustodyMetaData.Bin

ERC20CustodyBin is the compiled bytecode used for deploying new contracts. Deprecated: Use ERC20CustodyMetaData.Bin instead.

View Source
var ERC20CustodyMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"TSSAddress_\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"TSSAddressUpdater_\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"zetaFee_\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"zetaMaxFee_\",\"type\":\"uint256\"},{\"internalType\":\"contractIERC20\",\"name\":\"zeta_\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[],\"name\":\"InvalidSender\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidTSSUpdater\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"IsPaused\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NotPaused\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NotWhitelisted\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ZeroAddress\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ZeroFee\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ZetaMaxFeeExceeded\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"recipient\",\"type\":\"bytes\"},{\"indexed\":true,\"internalType\":\"contractIERC20\",\"name\":\"asset\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"message\",\"type\":\"bytes\"}],\"name\":\"Deposited\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"Paused\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"TSSAddressUpdater_\",\"type\":\"address\"}],\"name\":\"RenouncedTSSUpdater\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"Unpaused\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"contractIERC20\",\"name\":\"asset\",\"type\":\"address\"}],\"name\":\"Unwhitelisted\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"TSSAddress_\",\"type\":\"address\"}],\"name\":\"UpdatedTSSAddress\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"zetaFee_\",\"type\":\"uint256\"}],\"name\":\"UpdatedZetaFee\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"contractIERC20\",\"name\":\"asset\",\"type\":\"address\"}],\"name\":\"Whitelisted\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"contractIERC20\",\"name\":\"asset\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"Withdrawn\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"TSSAddress\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"TSSAddressUpdater\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"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\"}],\"name\":\"deposit\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"pause\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"paused\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceTSSAddressUpdater\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"unpause\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contractIERC20\",\"name\":\"asset\",\"type\":\"address\"}],\"name\":\"unwhitelist\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"TSSAddress_\",\"type\":\"address\"}],\"name\":\"updateTSSAddress\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"zetaFee_\",\"type\":\"uint256\"}],\"name\":\"updateZetaFee\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contractIERC20\",\"name\":\"asset\",\"type\":\"address\"}],\"name\":\"whitelist\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contractIERC20\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"whitelisted\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"contractIERC20\",\"name\":\"asset\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"withdraw\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"zeta\",\"outputs\":[{\"internalType\":\"contractIERC20\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"zetaFee\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"zetaMaxFee\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]",
	Bin: "0x60c06040523480156200001157600080fd5b50604051620021043803806200210483398181016040528101906200003791906200014f565b84600060016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555083600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550826002819055508073ffffffffffffffffffffffffffffffffffffffff1660a08173ffffffffffffffffffffffffffffffffffffffff1660601b81525050816080818152505050505050506200027c565b6000815190506200011b816200022e565b92915050565b600081519050620001328162000248565b92915050565b600081519050620001498162000262565b92915050565b600080600080600060a086880312156200016e576200016d62000229565b5b60006200017e888289016200010a565b955050602062000191888289016200010a565b9450506040620001a48882890162000138565b9350506060620001b78882890162000138565b9250506080620001ca8882890162000121565b9150509295509295909350565b6000620001e482620001ff565b9050919050565b6000620001f882620001d7565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600080fd5b6200023981620001d7565b81146200024557600080fd5b50565b6200025381620001eb565b81146200025f57600080fd5b50565b6200026d816200021f565b81146200027957600080fd5b50565b60805160a05160601c611e4a620002ba60003960008181610dfd01528181610e66015261105a01526000818161042b0152610c6e0152611e4a6000f3fe608060405234801561001057600080fd5b50600436106101005760003560e01c80639b19251a11610097578063e5408cfa11610066578063e5408cfa1461024d578063e609055e1461026b578063e8f9cb3a14610287578063ed11692b146102a557610100565b80639b19251a146101c9578063d936547e146101e5578063d9caed1214610215578063de2f6c5e1461023157610100565b80637bdaded3116100d35780637bdaded3146101695780638456cb5914610187578063950837aa146101915780639a590427146101ad57610100565b80633f4ba83a1461010557806353ee30a31461010f57806354b61e811461012d5780635c975abb1461014b575b600080fd5b61010d6102af565b005b6101176103cc565b60405161012491906119b8565b60405180910390f35b6101356103f2565b60405161014291906119b8565b60405180910390f35b610153610418565b6040516101609190611a33565b60405180910390f35b610171610429565b60405161017e9190611b34565b60405180910390f35b61018f61044d565b005b6101ab60048036038101906101a6919061168a565b6105f4565b005b6101c760048036038101906101c291906117de565b61075c565b005b6101e360048036038101906101de91906117de565b610881565b005b6101ff60048036038101906101fa91906117de565b6109a6565b60405161020c9190611a33565b60405180910390f35b61022f600480360381019061022a91906116b7565b6109c6565b005b61024b6004803603810190610246919061180b565b610baa565b005b610255610d07565b6040516102629190611b34565b60405180910390f35b61028560048036038101906102809190611737565b610d0d565b005b61028f611058565b60405161029c9190611a97565b60405180910390f35b6102ad61107c565b005b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610335576040517e611fa600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008054906101000a900460ff16610379576040517f6cd6020100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008060006101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa336040516103c291906119b8565b60405180910390a1565b600060019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60008054906101000a900460ff1681565b7f000000000000000000000000000000000000000000000000000000000000000081565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146104d3576040517e611fa600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008054906101000a900460ff1615610518576040517f1309a56300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16600060019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614156105a1576040517fd92e233d00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60016000806101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258336040516105ea91906119b8565b60405180910390a1565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461067a576040517e611fa600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156106e1576040517fd92e233d00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600060016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507fcd2958db8285a532edf298cbe1aa28ea3fb5ec82461253f9a8c1477924e299478160405161075191906119b8565b60405180910390a150565b600060019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146107e3576040517fddb5de5e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508073ffffffffffffffffffffffffffffffffffffffff167f51085ddf9ebdded84b76e829eb58c4078e4b5bdf97d9a94723f336039da4679160405160405180910390a250565b600060019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610908576040517fddb5de5e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6001600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508073ffffffffffffffffffffffffffffffffffffffff167faab7954e9d246b167ef88aeddad35209ca2489d95a8aeb59e288d9b19fae5a5460405160405180910390a250565b60036020528060005260406000206000915054906101000a900460ff1681565b600060019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610a4d576040517fddb5de5e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008054906101000a900460ff1615610a92576040517f1309a56300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16610b15576040517f584a793800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610b4083828473ffffffffffffffffffffffffffffffffffffffff166112279092919063ffffffff16565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fd1c19fbcd4551a5edfb66d43d2e337c04837afda3482b42bdf569a8fccdae5fb83604051610b9d9190611b34565b60405180910390a3505050565b600060019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610c31576040517fddb5de5e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000811415610c6c576040517faf13986d00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b7f0000000000000000000000000000000000000000000000000000000000000000811115610cc6576040517fc1be451300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b806002819055507f6d2d8e313fbaf76898bb9fa55e4b52525e49c7d7182d0874f97bd9076e81d52381604051610cfc9190611b34565b60405180910390a150565b60025481565b60008054906101000a900460ff1615610d52576040517f1309a56300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16610dd5576040517f584a793800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600060025414158015610e355750600073ffffffffffffffffffffffffffffffffffffffff167f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1614155b15610eac57610eab33600060019054906101000a900473ffffffffffffffffffffffffffffffffffffffff166002547f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166112ad909392919063ffffffff16565b5b60008473ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401610ee791906119b8565b60206040518083038186803b158015610eff57600080fd5b505afa158015610f13573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f379190611838565b9050610f663330868873ffffffffffffffffffffffffffffffffffffffff166112ad909392919063ffffffff16565b8473ffffffffffffffffffffffffffffffffffffffff167f1dafa057cc5c3bccb5ad974129a2bccd3c74002d9dfd7062404ba9523b18d6ae8888848973ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401610fda91906119b8565b60206040518083038186803b158015610ff257600080fd5b505afa158015611006573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061102a9190611838565b6110349190611b92565b8787604051611047959493929190611a4e565b60405180910390a250505050505050565b7f000000000000000000000000000000000000000000000000000000000000000081565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611102576040517e611fa600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16600060019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16141561118b576040517fd92e233d00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600060019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507f39ac266bfc011581be62c138d96e4e8782812013bb66fffb4cd207f4bfee37773360405161121d91906119b8565b60405180910390a1565b6112a88363a9059cbb60e01b8484604051602401611246929190611a0a565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050611336565b505050565b611330846323b872dd60e01b8585856040516024016112ce939291906119d3565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050611336565b50505050565b6000611398826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166113fd9092919063ffffffff16565b90506000815111156113f857808060200190518101906113b8919061170a565b6113f7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113ee90611b14565b60405180910390fd5b5b505050565b606061140c8484600085611415565b90509392505050565b60608247101561145a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161145190611ad4565b60405180910390fd5b6000808673ffffffffffffffffffffffffffffffffffffffff16858760405161148391906119a1565b60006040518083038185875af1925050503d80600081146114c0576040519150601f19603f3d011682016040523d82523d6000602084013e6114c5565b606091505b50915091506114d6878383876114e2565b92505050949350505050565b606083156115455760008351141561153d576114fd85611558565b61153c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161153390611af4565b60405180910390fd5b5b829050611550565b61154f838361157b565b5b949350505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60008251111561158e5781518083602001fd5b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115c29190611ab2565b60405180910390fd5b6000813590506115da81611db8565b92915050565b6000815190506115ef81611dcf565b92915050565b60008083601f84011261160b5761160a611ccc565b5b8235905067ffffffffffffffff81111561162857611627611cc7565b5b60208301915083600182028301111561164457611643611cd1565b5b9250929050565b60008135905061165a81611de6565b92915050565b60008135905061166f81611dfd565b92915050565b60008151905061168481611dfd565b92915050565b6000602082840312156116a05761169f611cdb565b5b60006116ae848285016115cb565b91505092915050565b6000806000606084860312156116d0576116cf611cdb565b5b60006116de868287016115cb565b93505060206116ef8682870161164b565b925050604061170086828701611660565b9150509250925092565b6000602082840312156117205761171f611cdb565b5b600061172e848285016115e0565b91505092915050565b6000806000806000806080878903121561175457611753611cdb565b5b600087013567ffffffffffffffff81111561177257611771611cd6565b5b61177e89828a016115f5565b9650965050602061179189828a0161164b565b94505060406117a289828a01611660565b935050606087013567ffffffffffffffff8111156117c3576117c2611cd6565b5b6117cf89828a016115f5565b92509250509295509295509295565b6000602082840312156117f4576117f3611cdb565b5b60006118028482850161164b565b91505092915050565b60006020828403121561182157611820611cdb565b5b600061182f84828501611660565b91505092915050565b60006020828403121561184e5761184d611cdb565b5b600061185c84828501611675565b91505092915050565b61186e81611bc6565b82525050565b61187d81611bd8565b82525050565b600061188f8385611b65565b935061189c838584611c56565b6118a583611ce0565b840190509392505050565b60006118bb82611b4f565b6118c58185611b76565b93506118d5818560208601611c65565b80840191505092915050565b6118ea81611c20565b82525050565b60006118fb82611b5a565b6119058185611b81565b9350611915818560208601611c65565b61191e81611ce0565b840191505092915050565b6000611936602683611b81565b915061194182611cf1565b604082019050919050565b6000611959601d83611b81565b915061196482611d40565b602082019050919050565b600061197c602a83611b81565b915061198782611d69565b604082019050919050565b61199b81611c16565b82525050565b60006119ad82846118b0565b915081905092915050565b60006020820190506119cd6000830184611865565b92915050565b60006060820190506119e86000830186611865565b6119f56020830185611865565b611a026040830184611992565b949350505050565b6000604082019050611a1f6000830185611865565b611a2c6020830184611992565b9392505050565b6000602082019050611a486000830184611874565b92915050565b60006060820190508181036000830152611a69818789611883565b9050611a786020830186611992565b8181036040830152611a8b818486611883565b90509695505050505050565b6000602082019050611aac60008301846118e1565b92915050565b60006020820190508181036000830152611acc81846118f0565b905092915050565b60006020820190508181036000830152611aed81611929565b9050919050565b60006020820190508181036000830152611b0d8161194c565b9050919050565b60006020820190508181036000830152611b2d8161196f565b9050919050565b6000602082019050611b496000830184611992565b92915050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b6000611b9d82611c16565b9150611ba883611c16565b925082821015611bbb57611bba611c98565b5b828203905092915050565b6000611bd182611bf6565b9050919050565b60008115159050919050565b6000611bef82611bc6565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b6000611c2b82611c32565b9050919050565b6000611c3d82611c44565b9050919050565b6000611c4f82611bf6565b9050919050565b82818337600083830152505050565b60005b83811015611c83578082015181840152602081019050611c68565b83811115611c92576000848401525b50505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f416464726573733a20696e73756666696369656e742062616c616e636520666f60008201527f722063616c6c0000000000000000000000000000000000000000000000000000602082015250565b7f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000600082015250565b7f5361666545524332303a204552433230206f7065726174696f6e20646964206e60008201527f6f74207375636365656400000000000000000000000000000000000000000000602082015250565b611dc181611bc6565b8114611dcc57600080fd5b50565b611dd881611bd8565b8114611de357600080fd5b50565b611def81611be4565b8114611dfa57600080fd5b50565b611e0681611c16565b8114611e1157600080fd5b5056fea26469706673582212206146a48df6487c8ffd47b2ee14a7124685ab8cfa6ca34eb6be52dca97f6f146164736f6c63430008070033",
}

ERC20CustodyMetaData contains all meta data concerning the ERC20Custody contract.

Functions

This section is empty.

Types

type ERC20Custody

type ERC20Custody struct {
	ERC20CustodyCaller     // Read-only binding to the contract
	ERC20CustodyTransactor // Write-only binding to the contract
	ERC20CustodyFilterer   // Log filterer for contract events
}

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

func DeployERC20Custody

func DeployERC20Custody(auth *bind.TransactOpts, backend bind.ContractBackend, TSSAddress_ common.Address, TSSAddressUpdater_ common.Address, zetaFee_ *big.Int, zetaMaxFee_ *big.Int, zeta_ common.Address) (common.Address, *types.Transaction, *ERC20Custody, error)

DeployERC20Custody deploys a new Ethereum contract, binding an instance of ERC20Custody to it.

func NewERC20Custody

func NewERC20Custody(address common.Address, backend bind.ContractBackend) (*ERC20Custody, error)

NewERC20Custody creates a new instance of ERC20Custody, bound to a specific deployed contract.

type ERC20CustodyCaller

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

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

func NewERC20CustodyCaller

func NewERC20CustodyCaller(address common.Address, caller bind.ContractCaller) (*ERC20CustodyCaller, error)

NewERC20CustodyCaller creates a new read-only instance of ERC20Custody, bound to a specific deployed contract.

func (*ERC20CustodyCaller) Paused

func (_ERC20Custody *ERC20CustodyCaller) Paused(opts *bind.CallOpts) (bool, error)

Paused is a free data retrieval call binding the contract method 0x5c975abb.

Solidity: function paused() view returns(bool)

func (*ERC20CustodyCaller) TSSAddress

func (_ERC20Custody *ERC20CustodyCaller) TSSAddress(opts *bind.CallOpts) (common.Address, error)

TSSAddress is a free data retrieval call binding the contract method 0x53ee30a3.

Solidity: function TSSAddress() view returns(address)

func (*ERC20CustodyCaller) TSSAddressUpdater

func (_ERC20Custody *ERC20CustodyCaller) TSSAddressUpdater(opts *bind.CallOpts) (common.Address, error)

TSSAddressUpdater is a free data retrieval call binding the contract method 0x54b61e81.

Solidity: function TSSAddressUpdater() view returns(address)

func (*ERC20CustodyCaller) Whitelisted

func (_ERC20Custody *ERC20CustodyCaller) Whitelisted(opts *bind.CallOpts, arg0 common.Address) (bool, error)

Whitelisted is a free data retrieval call binding the contract method 0xd936547e.

Solidity: function whitelisted(address ) view returns(bool)

func (*ERC20CustodyCaller) Zeta

func (_ERC20Custody *ERC20CustodyCaller) Zeta(opts *bind.CallOpts) (common.Address, error)

Zeta is a free data retrieval call binding the contract method 0xe8f9cb3a.

Solidity: function zeta() view returns(address)

func (*ERC20CustodyCaller) ZetaFee

func (_ERC20Custody *ERC20CustodyCaller) ZetaFee(opts *bind.CallOpts) (*big.Int, error)

ZetaFee is a free data retrieval call binding the contract method 0xe5408cfa.

Solidity: function zetaFee() view returns(uint256)

func (*ERC20CustodyCaller) ZetaMaxFee

func (_ERC20Custody *ERC20CustodyCaller) ZetaMaxFee(opts *bind.CallOpts) (*big.Int, error)

ZetaMaxFee is a free data retrieval call binding the contract method 0x7bdaded3.

Solidity: function zetaMaxFee() view returns(uint256)

type ERC20CustodyCallerRaw

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

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

func (*ERC20CustodyCallerRaw) Call

func (_ERC20Custody *ERC20CustodyCallerRaw) 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 ERC20CustodyCallerSession

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

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

func (*ERC20CustodyCallerSession) Paused

func (_ERC20Custody *ERC20CustodyCallerSession) Paused() (bool, error)

Paused is a free data retrieval call binding the contract method 0x5c975abb.

Solidity: function paused() view returns(bool)

func (*ERC20CustodyCallerSession) TSSAddress

func (_ERC20Custody *ERC20CustodyCallerSession) TSSAddress() (common.Address, error)

TSSAddress is a free data retrieval call binding the contract method 0x53ee30a3.

Solidity: function TSSAddress() view returns(address)

func (*ERC20CustodyCallerSession) TSSAddressUpdater

func (_ERC20Custody *ERC20CustodyCallerSession) TSSAddressUpdater() (common.Address, error)

TSSAddressUpdater is a free data retrieval call binding the contract method 0x54b61e81.

Solidity: function TSSAddressUpdater() view returns(address)

func (*ERC20CustodyCallerSession) Whitelisted

func (_ERC20Custody *ERC20CustodyCallerSession) Whitelisted(arg0 common.Address) (bool, error)

Whitelisted is a free data retrieval call binding the contract method 0xd936547e.

Solidity: function whitelisted(address ) view returns(bool)

func (*ERC20CustodyCallerSession) Zeta

func (_ERC20Custody *ERC20CustodyCallerSession) Zeta() (common.Address, error)

Zeta is a free data retrieval call binding the contract method 0xe8f9cb3a.

Solidity: function zeta() view returns(address)

func (*ERC20CustodyCallerSession) ZetaFee

func (_ERC20Custody *ERC20CustodyCallerSession) ZetaFee() (*big.Int, error)

ZetaFee is a free data retrieval call binding the contract method 0xe5408cfa.

Solidity: function zetaFee() view returns(uint256)

func (*ERC20CustodyCallerSession) ZetaMaxFee

func (_ERC20Custody *ERC20CustodyCallerSession) ZetaMaxFee() (*big.Int, error)

ZetaMaxFee is a free data retrieval call binding the contract method 0x7bdaded3.

Solidity: function zetaMaxFee() view returns(uint256)

type ERC20CustodyDeposited

type ERC20CustodyDeposited struct {
	Recipient []byte
	Asset     common.Address
	Amount    *big.Int
	Message   []byte
	Raw       types.Log // Blockchain specific contextual infos
}

ERC20CustodyDeposited represents a Deposited event raised by the ERC20Custody contract.

type ERC20CustodyDepositedIterator

type ERC20CustodyDepositedIterator struct {
	Event *ERC20CustodyDeposited // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

ERC20CustodyDepositedIterator is returned from FilterDeposited and is used to iterate over the raw logs and unpacked data for Deposited events raised by the ERC20Custody contract.

func (*ERC20CustodyDepositedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*ERC20CustodyDepositedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ERC20CustodyDepositedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type ERC20CustodyFilterer

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

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

func NewERC20CustodyFilterer

func NewERC20CustodyFilterer(address common.Address, filterer bind.ContractFilterer) (*ERC20CustodyFilterer, error)

NewERC20CustodyFilterer creates a new log filterer instance of ERC20Custody, bound to a specific deployed contract.

func (*ERC20CustodyFilterer) FilterDeposited

func (_ERC20Custody *ERC20CustodyFilterer) FilterDeposited(opts *bind.FilterOpts, asset []common.Address) (*ERC20CustodyDepositedIterator, error)

FilterDeposited is a free log retrieval operation binding the contract event 0x1dafa057cc5c3bccb5ad974129a2bccd3c74002d9dfd7062404ba9523b18d6ae.

Solidity: event Deposited(bytes recipient, address indexed asset, uint256 amount, bytes message)

func (*ERC20CustodyFilterer) FilterPaused

func (_ERC20Custody *ERC20CustodyFilterer) FilterPaused(opts *bind.FilterOpts) (*ERC20CustodyPausedIterator, error)

FilterPaused is a free log retrieval operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.

Solidity: event Paused(address sender)

func (*ERC20CustodyFilterer) FilterRenouncedTSSUpdater

func (_ERC20Custody *ERC20CustodyFilterer) FilterRenouncedTSSUpdater(opts *bind.FilterOpts) (*ERC20CustodyRenouncedTSSUpdaterIterator, error)

FilterRenouncedTSSUpdater is a free log retrieval operation binding the contract event 0x39ac266bfc011581be62c138d96e4e8782812013bb66fffb4cd207f4bfee3777.

Solidity: event RenouncedTSSUpdater(address TSSAddressUpdater_)

func (*ERC20CustodyFilterer) FilterUnpaused

func (_ERC20Custody *ERC20CustodyFilterer) FilterUnpaused(opts *bind.FilterOpts) (*ERC20CustodyUnpausedIterator, error)

FilterUnpaused is a free log retrieval operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.

Solidity: event Unpaused(address sender)

func (*ERC20CustodyFilterer) FilterUnwhitelisted

func (_ERC20Custody *ERC20CustodyFilterer) FilterUnwhitelisted(opts *bind.FilterOpts, asset []common.Address) (*ERC20CustodyUnwhitelistedIterator, error)

FilterUnwhitelisted is a free log retrieval operation binding the contract event 0x51085ddf9ebdded84b76e829eb58c4078e4b5bdf97d9a94723f336039da46791.

Solidity: event Unwhitelisted(address indexed asset)

func (*ERC20CustodyFilterer) FilterUpdatedTSSAddress

func (_ERC20Custody *ERC20CustodyFilterer) FilterUpdatedTSSAddress(opts *bind.FilterOpts) (*ERC20CustodyUpdatedTSSAddressIterator, error)

FilterUpdatedTSSAddress is a free log retrieval operation binding the contract event 0xcd2958db8285a532edf298cbe1aa28ea3fb5ec82461253f9a8c1477924e29947.

Solidity: event UpdatedTSSAddress(address TSSAddress_)

func (*ERC20CustodyFilterer) FilterUpdatedZetaFee

func (_ERC20Custody *ERC20CustodyFilterer) FilterUpdatedZetaFee(opts *bind.FilterOpts) (*ERC20CustodyUpdatedZetaFeeIterator, error)

FilterUpdatedZetaFee is a free log retrieval operation binding the contract event 0x6d2d8e313fbaf76898bb9fa55e4b52525e49c7d7182d0874f97bd9076e81d523.

Solidity: event UpdatedZetaFee(uint256 zetaFee_)

func (*ERC20CustodyFilterer) FilterWhitelisted

func (_ERC20Custody *ERC20CustodyFilterer) FilterWhitelisted(opts *bind.FilterOpts, asset []common.Address) (*ERC20CustodyWhitelistedIterator, error)

FilterWhitelisted is a free log retrieval operation binding the contract event 0xaab7954e9d246b167ef88aeddad35209ca2489d95a8aeb59e288d9b19fae5a54.

Solidity: event Whitelisted(address indexed asset)

func (*ERC20CustodyFilterer) FilterWithdrawn

func (_ERC20Custody *ERC20CustodyFilterer) FilterWithdrawn(opts *bind.FilterOpts, recipient []common.Address, asset []common.Address) (*ERC20CustodyWithdrawnIterator, error)

FilterWithdrawn is a free log retrieval operation binding the contract event 0xd1c19fbcd4551a5edfb66d43d2e337c04837afda3482b42bdf569a8fccdae5fb.

Solidity: event Withdrawn(address indexed recipient, address indexed asset, uint256 amount)

func (*ERC20CustodyFilterer) ParseDeposited

func (_ERC20Custody *ERC20CustodyFilterer) ParseDeposited(log types.Log) (*ERC20CustodyDeposited, error)

ParseDeposited is a log parse operation binding the contract event 0x1dafa057cc5c3bccb5ad974129a2bccd3c74002d9dfd7062404ba9523b18d6ae.

Solidity: event Deposited(bytes recipient, address indexed asset, uint256 amount, bytes message)

func (*ERC20CustodyFilterer) ParsePaused

func (_ERC20Custody *ERC20CustodyFilterer) ParsePaused(log types.Log) (*ERC20CustodyPaused, error)

ParsePaused is a log parse operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.

Solidity: event Paused(address sender)

func (*ERC20CustodyFilterer) ParseRenouncedTSSUpdater

func (_ERC20Custody *ERC20CustodyFilterer) ParseRenouncedTSSUpdater(log types.Log) (*ERC20CustodyRenouncedTSSUpdater, error)

ParseRenouncedTSSUpdater is a log parse operation binding the contract event 0x39ac266bfc011581be62c138d96e4e8782812013bb66fffb4cd207f4bfee3777.

Solidity: event RenouncedTSSUpdater(address TSSAddressUpdater_)

func (*ERC20CustodyFilterer) ParseUnpaused

func (_ERC20Custody *ERC20CustodyFilterer) ParseUnpaused(log types.Log) (*ERC20CustodyUnpaused, error)

ParseUnpaused is a log parse operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.

Solidity: event Unpaused(address sender)

func (*ERC20CustodyFilterer) ParseUnwhitelisted

func (_ERC20Custody *ERC20CustodyFilterer) ParseUnwhitelisted(log types.Log) (*ERC20CustodyUnwhitelisted, error)

ParseUnwhitelisted is a log parse operation binding the contract event 0x51085ddf9ebdded84b76e829eb58c4078e4b5bdf97d9a94723f336039da46791.

Solidity: event Unwhitelisted(address indexed asset)

func (*ERC20CustodyFilterer) ParseUpdatedTSSAddress

func (_ERC20Custody *ERC20CustodyFilterer) ParseUpdatedTSSAddress(log types.Log) (*ERC20CustodyUpdatedTSSAddress, error)

ParseUpdatedTSSAddress is a log parse operation binding the contract event 0xcd2958db8285a532edf298cbe1aa28ea3fb5ec82461253f9a8c1477924e29947.

Solidity: event UpdatedTSSAddress(address TSSAddress_)

func (*ERC20CustodyFilterer) ParseUpdatedZetaFee

func (_ERC20Custody *ERC20CustodyFilterer) ParseUpdatedZetaFee(log types.Log) (*ERC20CustodyUpdatedZetaFee, error)

ParseUpdatedZetaFee is a log parse operation binding the contract event 0x6d2d8e313fbaf76898bb9fa55e4b52525e49c7d7182d0874f97bd9076e81d523.

Solidity: event UpdatedZetaFee(uint256 zetaFee_)

func (*ERC20CustodyFilterer) ParseWhitelisted

func (_ERC20Custody *ERC20CustodyFilterer) ParseWhitelisted(log types.Log) (*ERC20CustodyWhitelisted, error)

ParseWhitelisted is a log parse operation binding the contract event 0xaab7954e9d246b167ef88aeddad35209ca2489d95a8aeb59e288d9b19fae5a54.

Solidity: event Whitelisted(address indexed asset)

func (*ERC20CustodyFilterer) ParseWithdrawn

func (_ERC20Custody *ERC20CustodyFilterer) ParseWithdrawn(log types.Log) (*ERC20CustodyWithdrawn, error)

ParseWithdrawn is a log parse operation binding the contract event 0xd1c19fbcd4551a5edfb66d43d2e337c04837afda3482b42bdf569a8fccdae5fb.

Solidity: event Withdrawn(address indexed recipient, address indexed asset, uint256 amount)

func (*ERC20CustodyFilterer) WatchDeposited

func (_ERC20Custody *ERC20CustodyFilterer) WatchDeposited(opts *bind.WatchOpts, sink chan<- *ERC20CustodyDeposited, asset []common.Address) (event.Subscription, error)

WatchDeposited is a free log subscription operation binding the contract event 0x1dafa057cc5c3bccb5ad974129a2bccd3c74002d9dfd7062404ba9523b18d6ae.

Solidity: event Deposited(bytes recipient, address indexed asset, uint256 amount, bytes message)

func (*ERC20CustodyFilterer) WatchPaused

func (_ERC20Custody *ERC20CustodyFilterer) WatchPaused(opts *bind.WatchOpts, sink chan<- *ERC20CustodyPaused) (event.Subscription, error)

WatchPaused is a free log subscription operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.

Solidity: event Paused(address sender)

func (*ERC20CustodyFilterer) WatchRenouncedTSSUpdater

func (_ERC20Custody *ERC20CustodyFilterer) WatchRenouncedTSSUpdater(opts *bind.WatchOpts, sink chan<- *ERC20CustodyRenouncedTSSUpdater) (event.Subscription, error)

WatchRenouncedTSSUpdater is a free log subscription operation binding the contract event 0x39ac266bfc011581be62c138d96e4e8782812013bb66fffb4cd207f4bfee3777.

Solidity: event RenouncedTSSUpdater(address TSSAddressUpdater_)

func (*ERC20CustodyFilterer) WatchUnpaused

func (_ERC20Custody *ERC20CustodyFilterer) WatchUnpaused(opts *bind.WatchOpts, sink chan<- *ERC20CustodyUnpaused) (event.Subscription, error)

WatchUnpaused is a free log subscription operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.

Solidity: event Unpaused(address sender)

func (*ERC20CustodyFilterer) WatchUnwhitelisted

func (_ERC20Custody *ERC20CustodyFilterer) WatchUnwhitelisted(opts *bind.WatchOpts, sink chan<- *ERC20CustodyUnwhitelisted, asset []common.Address) (event.Subscription, error)

WatchUnwhitelisted is a free log subscription operation binding the contract event 0x51085ddf9ebdded84b76e829eb58c4078e4b5bdf97d9a94723f336039da46791.

Solidity: event Unwhitelisted(address indexed asset)

func (*ERC20CustodyFilterer) WatchUpdatedTSSAddress

func (_ERC20Custody *ERC20CustodyFilterer) WatchUpdatedTSSAddress(opts *bind.WatchOpts, sink chan<- *ERC20CustodyUpdatedTSSAddress) (event.Subscription, error)

WatchUpdatedTSSAddress is a free log subscription operation binding the contract event 0xcd2958db8285a532edf298cbe1aa28ea3fb5ec82461253f9a8c1477924e29947.

Solidity: event UpdatedTSSAddress(address TSSAddress_)

func (*ERC20CustodyFilterer) WatchUpdatedZetaFee

func (_ERC20Custody *ERC20CustodyFilterer) WatchUpdatedZetaFee(opts *bind.WatchOpts, sink chan<- *ERC20CustodyUpdatedZetaFee) (event.Subscription, error)

WatchUpdatedZetaFee is a free log subscription operation binding the contract event 0x6d2d8e313fbaf76898bb9fa55e4b52525e49c7d7182d0874f97bd9076e81d523.

Solidity: event UpdatedZetaFee(uint256 zetaFee_)

func (*ERC20CustodyFilterer) WatchWhitelisted

func (_ERC20Custody *ERC20CustodyFilterer) WatchWhitelisted(opts *bind.WatchOpts, sink chan<- *ERC20CustodyWhitelisted, asset []common.Address) (event.Subscription, error)

WatchWhitelisted is a free log subscription operation binding the contract event 0xaab7954e9d246b167ef88aeddad35209ca2489d95a8aeb59e288d9b19fae5a54.

Solidity: event Whitelisted(address indexed asset)

func (*ERC20CustodyFilterer) WatchWithdrawn

func (_ERC20Custody *ERC20CustodyFilterer) WatchWithdrawn(opts *bind.WatchOpts, sink chan<- *ERC20CustodyWithdrawn, recipient []common.Address, asset []common.Address) (event.Subscription, error)

WatchWithdrawn is a free log subscription operation binding the contract event 0xd1c19fbcd4551a5edfb66d43d2e337c04837afda3482b42bdf569a8fccdae5fb.

Solidity: event Withdrawn(address indexed recipient, address indexed asset, uint256 amount)

type ERC20CustodyPaused

type ERC20CustodyPaused struct {
	Sender common.Address
	Raw    types.Log // Blockchain specific contextual infos
}

ERC20CustodyPaused represents a Paused event raised by the ERC20Custody contract.

type ERC20CustodyPausedIterator

type ERC20CustodyPausedIterator struct {
	Event *ERC20CustodyPaused // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

ERC20CustodyPausedIterator is returned from FilterPaused and is used to iterate over the raw logs and unpacked data for Paused events raised by the ERC20Custody contract.

func (*ERC20CustodyPausedIterator) Close

func (it *ERC20CustodyPausedIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*ERC20CustodyPausedIterator) Error

func (it *ERC20CustodyPausedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ERC20CustodyPausedIterator) Next

func (it *ERC20CustodyPausedIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type ERC20CustodyRaw

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

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

func (*ERC20CustodyRaw) Call

func (_ERC20Custody *ERC20CustodyRaw) 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 (*ERC20CustodyRaw) Transact

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

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

func (*ERC20CustodyRaw) Transfer

func (_ERC20Custody *ERC20CustodyRaw) 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 ERC20CustodyRenouncedTSSUpdater

type ERC20CustodyRenouncedTSSUpdater struct {
	TSSAddressUpdater common.Address
	Raw               types.Log // Blockchain specific contextual infos
}

ERC20CustodyRenouncedTSSUpdater represents a RenouncedTSSUpdater event raised by the ERC20Custody contract.

type ERC20CustodyRenouncedTSSUpdaterIterator

type ERC20CustodyRenouncedTSSUpdaterIterator struct {
	Event *ERC20CustodyRenouncedTSSUpdater // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

ERC20CustodyRenouncedTSSUpdaterIterator is returned from FilterRenouncedTSSUpdater and is used to iterate over the raw logs and unpacked data for RenouncedTSSUpdater events raised by the ERC20Custody contract.

func (*ERC20CustodyRenouncedTSSUpdaterIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*ERC20CustodyRenouncedTSSUpdaterIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ERC20CustodyRenouncedTSSUpdaterIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type ERC20CustodySession

type ERC20CustodySession struct {
	Contract     *ERC20Custody     // 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
}

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

func (*ERC20CustodySession) Deposit

func (_ERC20Custody *ERC20CustodySession) Deposit(recipient []byte, asset common.Address, amount *big.Int, message []byte) (*types.Transaction, error)

Deposit is a paid mutator transaction binding the contract method 0xe609055e.

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

func (*ERC20CustodySession) Pause

func (_ERC20Custody *ERC20CustodySession) Pause() (*types.Transaction, error)

Pause is a paid mutator transaction binding the contract method 0x8456cb59.

Solidity: function pause() returns()

func (*ERC20CustodySession) Paused

func (_ERC20Custody *ERC20CustodySession) Paused() (bool, error)

Paused is a free data retrieval call binding the contract method 0x5c975abb.

Solidity: function paused() view returns(bool)

func (*ERC20CustodySession) RenounceTSSAddressUpdater

func (_ERC20Custody *ERC20CustodySession) RenounceTSSAddressUpdater() (*types.Transaction, error)

RenounceTSSAddressUpdater is a paid mutator transaction binding the contract method 0xed11692b.

Solidity: function renounceTSSAddressUpdater() returns()

func (*ERC20CustodySession) TSSAddress

func (_ERC20Custody *ERC20CustodySession) TSSAddress() (common.Address, error)

TSSAddress is a free data retrieval call binding the contract method 0x53ee30a3.

Solidity: function TSSAddress() view returns(address)

func (*ERC20CustodySession) TSSAddressUpdater

func (_ERC20Custody *ERC20CustodySession) TSSAddressUpdater() (common.Address, error)

TSSAddressUpdater is a free data retrieval call binding the contract method 0x54b61e81.

Solidity: function TSSAddressUpdater() view returns(address)

func (*ERC20CustodySession) Unpause

func (_ERC20Custody *ERC20CustodySession) Unpause() (*types.Transaction, error)

Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.

Solidity: function unpause() returns()

func (*ERC20CustodySession) Unwhitelist

func (_ERC20Custody *ERC20CustodySession) Unwhitelist(asset common.Address) (*types.Transaction, error)

Unwhitelist is a paid mutator transaction binding the contract method 0x9a590427.

Solidity: function unwhitelist(address asset) returns()

func (*ERC20CustodySession) UpdateTSSAddress

func (_ERC20Custody *ERC20CustodySession) UpdateTSSAddress(TSSAddress_ common.Address) (*types.Transaction, error)

UpdateTSSAddress is a paid mutator transaction binding the contract method 0x950837aa.

Solidity: function updateTSSAddress(address TSSAddress_) returns()

func (*ERC20CustodySession) UpdateZetaFee

func (_ERC20Custody *ERC20CustodySession) UpdateZetaFee(zetaFee_ *big.Int) (*types.Transaction, error)

UpdateZetaFee is a paid mutator transaction binding the contract method 0xde2f6c5e.

Solidity: function updateZetaFee(uint256 zetaFee_) returns()

func (*ERC20CustodySession) Whitelist

func (_ERC20Custody *ERC20CustodySession) Whitelist(asset common.Address) (*types.Transaction, error)

Whitelist is a paid mutator transaction binding the contract method 0x9b19251a.

Solidity: function whitelist(address asset) returns()

func (*ERC20CustodySession) Whitelisted

func (_ERC20Custody *ERC20CustodySession) Whitelisted(arg0 common.Address) (bool, error)

Whitelisted is a free data retrieval call binding the contract method 0xd936547e.

Solidity: function whitelisted(address ) view returns(bool)

func (*ERC20CustodySession) Withdraw

func (_ERC20Custody *ERC20CustodySession) Withdraw(recipient common.Address, asset common.Address, amount *big.Int) (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0xd9caed12.

Solidity: function withdraw(address recipient, address asset, uint256 amount) returns()

func (*ERC20CustodySession) Zeta

func (_ERC20Custody *ERC20CustodySession) Zeta() (common.Address, error)

Zeta is a free data retrieval call binding the contract method 0xe8f9cb3a.

Solidity: function zeta() view returns(address)

func (*ERC20CustodySession) ZetaFee

func (_ERC20Custody *ERC20CustodySession) ZetaFee() (*big.Int, error)

ZetaFee is a free data retrieval call binding the contract method 0xe5408cfa.

Solidity: function zetaFee() view returns(uint256)

func (*ERC20CustodySession) ZetaMaxFee

func (_ERC20Custody *ERC20CustodySession) ZetaMaxFee() (*big.Int, error)

ZetaMaxFee is a free data retrieval call binding the contract method 0x7bdaded3.

Solidity: function zetaMaxFee() view returns(uint256)

type ERC20CustodyTransactor

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

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

func NewERC20CustodyTransactor

func NewERC20CustodyTransactor(address common.Address, transactor bind.ContractTransactor) (*ERC20CustodyTransactor, error)

NewERC20CustodyTransactor creates a new write-only instance of ERC20Custody, bound to a specific deployed contract.

func (*ERC20CustodyTransactor) Deposit

func (_ERC20Custody *ERC20CustodyTransactor) Deposit(opts *bind.TransactOpts, recipient []byte, asset common.Address, amount *big.Int, message []byte) (*types.Transaction, error)

Deposit is a paid mutator transaction binding the contract method 0xe609055e.

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

func (*ERC20CustodyTransactor) Pause

func (_ERC20Custody *ERC20CustodyTransactor) Pause(opts *bind.TransactOpts) (*types.Transaction, error)

Pause is a paid mutator transaction binding the contract method 0x8456cb59.

Solidity: function pause() returns()

func (*ERC20CustodyTransactor) RenounceTSSAddressUpdater

func (_ERC20Custody *ERC20CustodyTransactor) RenounceTSSAddressUpdater(opts *bind.TransactOpts) (*types.Transaction, error)

RenounceTSSAddressUpdater is a paid mutator transaction binding the contract method 0xed11692b.

Solidity: function renounceTSSAddressUpdater() returns()

func (*ERC20CustodyTransactor) Unpause

func (_ERC20Custody *ERC20CustodyTransactor) Unpause(opts *bind.TransactOpts) (*types.Transaction, error)

Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.

Solidity: function unpause() returns()

func (*ERC20CustodyTransactor) Unwhitelist

func (_ERC20Custody *ERC20CustodyTransactor) Unwhitelist(opts *bind.TransactOpts, asset common.Address) (*types.Transaction, error)

Unwhitelist is a paid mutator transaction binding the contract method 0x9a590427.

Solidity: function unwhitelist(address asset) returns()

func (*ERC20CustodyTransactor) UpdateTSSAddress

func (_ERC20Custody *ERC20CustodyTransactor) UpdateTSSAddress(opts *bind.TransactOpts, TSSAddress_ common.Address) (*types.Transaction, error)

UpdateTSSAddress is a paid mutator transaction binding the contract method 0x950837aa.

Solidity: function updateTSSAddress(address TSSAddress_) returns()

func (*ERC20CustodyTransactor) UpdateZetaFee

func (_ERC20Custody *ERC20CustodyTransactor) UpdateZetaFee(opts *bind.TransactOpts, zetaFee_ *big.Int) (*types.Transaction, error)

UpdateZetaFee is a paid mutator transaction binding the contract method 0xde2f6c5e.

Solidity: function updateZetaFee(uint256 zetaFee_) returns()

func (*ERC20CustodyTransactor) Whitelist

func (_ERC20Custody *ERC20CustodyTransactor) Whitelist(opts *bind.TransactOpts, asset common.Address) (*types.Transaction, error)

Whitelist is a paid mutator transaction binding the contract method 0x9b19251a.

Solidity: function whitelist(address asset) returns()

func (*ERC20CustodyTransactor) Withdraw

func (_ERC20Custody *ERC20CustodyTransactor) Withdraw(opts *bind.TransactOpts, recipient common.Address, asset common.Address, amount *big.Int) (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0xd9caed12.

Solidity: function withdraw(address recipient, address asset, uint256 amount) returns()

type ERC20CustodyTransactorRaw

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

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

func (*ERC20CustodyTransactorRaw) Transact

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

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

func (*ERC20CustodyTransactorRaw) Transfer

func (_ERC20Custody *ERC20CustodyTransactorRaw) 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 ERC20CustodyTransactorSession

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

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

func (*ERC20CustodyTransactorSession) Deposit

func (_ERC20Custody *ERC20CustodyTransactorSession) Deposit(recipient []byte, asset common.Address, amount *big.Int, message []byte) (*types.Transaction, error)

Deposit is a paid mutator transaction binding the contract method 0xe609055e.

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

func (*ERC20CustodyTransactorSession) Pause

func (_ERC20Custody *ERC20CustodyTransactorSession) Pause() (*types.Transaction, error)

Pause is a paid mutator transaction binding the contract method 0x8456cb59.

Solidity: function pause() returns()

func (*ERC20CustodyTransactorSession) RenounceTSSAddressUpdater

func (_ERC20Custody *ERC20CustodyTransactorSession) RenounceTSSAddressUpdater() (*types.Transaction, error)

RenounceTSSAddressUpdater is a paid mutator transaction binding the contract method 0xed11692b.

Solidity: function renounceTSSAddressUpdater() returns()

func (*ERC20CustodyTransactorSession) Unpause

func (_ERC20Custody *ERC20CustodyTransactorSession) Unpause() (*types.Transaction, error)

Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.

Solidity: function unpause() returns()

func (*ERC20CustodyTransactorSession) Unwhitelist

func (_ERC20Custody *ERC20CustodyTransactorSession) Unwhitelist(asset common.Address) (*types.Transaction, error)

Unwhitelist is a paid mutator transaction binding the contract method 0x9a590427.

Solidity: function unwhitelist(address asset) returns()

func (*ERC20CustodyTransactorSession) UpdateTSSAddress

func (_ERC20Custody *ERC20CustodyTransactorSession) UpdateTSSAddress(TSSAddress_ common.Address) (*types.Transaction, error)

UpdateTSSAddress is a paid mutator transaction binding the contract method 0x950837aa.

Solidity: function updateTSSAddress(address TSSAddress_) returns()

func (*ERC20CustodyTransactorSession) UpdateZetaFee

func (_ERC20Custody *ERC20CustodyTransactorSession) UpdateZetaFee(zetaFee_ *big.Int) (*types.Transaction, error)

UpdateZetaFee is a paid mutator transaction binding the contract method 0xde2f6c5e.

Solidity: function updateZetaFee(uint256 zetaFee_) returns()

func (*ERC20CustodyTransactorSession) Whitelist

func (_ERC20Custody *ERC20CustodyTransactorSession) Whitelist(asset common.Address) (*types.Transaction, error)

Whitelist is a paid mutator transaction binding the contract method 0x9b19251a.

Solidity: function whitelist(address asset) returns()

func (*ERC20CustodyTransactorSession) Withdraw

func (_ERC20Custody *ERC20CustodyTransactorSession) Withdraw(recipient common.Address, asset common.Address, amount *big.Int) (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0xd9caed12.

Solidity: function withdraw(address recipient, address asset, uint256 amount) returns()

type ERC20CustodyUnpaused

type ERC20CustodyUnpaused struct {
	Sender common.Address
	Raw    types.Log // Blockchain specific contextual infos
}

ERC20CustodyUnpaused represents a Unpaused event raised by the ERC20Custody contract.

type ERC20CustodyUnpausedIterator

type ERC20CustodyUnpausedIterator struct {
	Event *ERC20CustodyUnpaused // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

ERC20CustodyUnpausedIterator is returned from FilterUnpaused and is used to iterate over the raw logs and unpacked data for Unpaused events raised by the ERC20Custody contract.

func (*ERC20CustodyUnpausedIterator) Close

func (it *ERC20CustodyUnpausedIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*ERC20CustodyUnpausedIterator) Error

func (it *ERC20CustodyUnpausedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ERC20CustodyUnpausedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type ERC20CustodyUnwhitelisted

type ERC20CustodyUnwhitelisted struct {
	Asset common.Address
	Raw   types.Log // Blockchain specific contextual infos
}

ERC20CustodyUnwhitelisted represents a Unwhitelisted event raised by the ERC20Custody contract.

type ERC20CustodyUnwhitelistedIterator

type ERC20CustodyUnwhitelistedIterator struct {
	Event *ERC20CustodyUnwhitelisted // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

ERC20CustodyUnwhitelistedIterator is returned from FilterUnwhitelisted and is used to iterate over the raw logs and unpacked data for Unwhitelisted events raised by the ERC20Custody contract.

func (*ERC20CustodyUnwhitelistedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*ERC20CustodyUnwhitelistedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ERC20CustodyUnwhitelistedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type ERC20CustodyUpdatedTSSAddress

type ERC20CustodyUpdatedTSSAddress struct {
	TSSAddress common.Address
	Raw        types.Log // Blockchain specific contextual infos
}

ERC20CustodyUpdatedTSSAddress represents a UpdatedTSSAddress event raised by the ERC20Custody contract.

type ERC20CustodyUpdatedTSSAddressIterator

type ERC20CustodyUpdatedTSSAddressIterator struct {
	Event *ERC20CustodyUpdatedTSSAddress // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

ERC20CustodyUpdatedTSSAddressIterator is returned from FilterUpdatedTSSAddress and is used to iterate over the raw logs and unpacked data for UpdatedTSSAddress events raised by the ERC20Custody contract.

func (*ERC20CustodyUpdatedTSSAddressIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*ERC20CustodyUpdatedTSSAddressIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ERC20CustodyUpdatedTSSAddressIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type ERC20CustodyUpdatedZetaFee

type ERC20CustodyUpdatedZetaFee struct {
	ZetaFee *big.Int
	Raw     types.Log // Blockchain specific contextual infos
}

ERC20CustodyUpdatedZetaFee represents a UpdatedZetaFee event raised by the ERC20Custody contract.

type ERC20CustodyUpdatedZetaFeeIterator

type ERC20CustodyUpdatedZetaFeeIterator struct {
	Event *ERC20CustodyUpdatedZetaFee // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

ERC20CustodyUpdatedZetaFeeIterator is returned from FilterUpdatedZetaFee and is used to iterate over the raw logs and unpacked data for UpdatedZetaFee events raised by the ERC20Custody contract.

func (*ERC20CustodyUpdatedZetaFeeIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*ERC20CustodyUpdatedZetaFeeIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ERC20CustodyUpdatedZetaFeeIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type ERC20CustodyWhitelisted

type ERC20CustodyWhitelisted struct {
	Asset common.Address
	Raw   types.Log // Blockchain specific contextual infos
}

ERC20CustodyWhitelisted represents a Whitelisted event raised by the ERC20Custody contract.

type ERC20CustodyWhitelistedIterator

type ERC20CustodyWhitelistedIterator struct {
	Event *ERC20CustodyWhitelisted // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

ERC20CustodyWhitelistedIterator is returned from FilterWhitelisted and is used to iterate over the raw logs and unpacked data for Whitelisted events raised by the ERC20Custody contract.

func (*ERC20CustodyWhitelistedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*ERC20CustodyWhitelistedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ERC20CustodyWhitelistedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type ERC20CustodyWithdrawn

type ERC20CustodyWithdrawn struct {
	Recipient common.Address
	Asset     common.Address
	Amount    *big.Int
	Raw       types.Log // Blockchain specific contextual infos
}

ERC20CustodyWithdrawn represents a Withdrawn event raised by the ERC20Custody contract.

type ERC20CustodyWithdrawnIterator

type ERC20CustodyWithdrawnIterator struct {
	Event *ERC20CustodyWithdrawn // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

ERC20CustodyWithdrawnIterator is returned from FilterWithdrawn and is used to iterate over the raw logs and unpacked data for Withdrawn events raised by the ERC20Custody contract.

func (*ERC20CustodyWithdrawnIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*ERC20CustodyWithdrawnIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ERC20CustodyWithdrawnIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

Jump to

Keyboard shortcuts

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