Documentation ¶
Index ¶
- Variables
- type ConduitController
- type ConduitControllerCaller
- func (_ConduitController *ConduitControllerCaller) GetChannel(opts *bind.CallOpts, conduit common.Address, channelIndex *big.Int) (common.Address, error)
- func (_ConduitController *ConduitControllerCaller) GetChannelStatus(opts *bind.CallOpts, conduit common.Address, channel common.Address) (bool, error)
- func (_ConduitController *ConduitControllerCaller) GetChannels(opts *bind.CallOpts, conduit common.Address) ([]common.Address, error)
- func (_ConduitController *ConduitControllerCaller) GetConduit(opts *bind.CallOpts, conduitKey [32]byte) (struct{ ... }, error)
- func (_ConduitController *ConduitControllerCaller) GetConduitCodeHashes(opts *bind.CallOpts) (struct{ ... }, error)
- func (_ConduitController *ConduitControllerCaller) GetKey(opts *bind.CallOpts, conduit common.Address) ([32]byte, error)
- func (_ConduitController *ConduitControllerCaller) GetPotentialOwner(opts *bind.CallOpts, conduit common.Address) (common.Address, error)
- func (_ConduitController *ConduitControllerCaller) GetTotalChannels(opts *bind.CallOpts, conduit common.Address) (*big.Int, error)
- func (_ConduitController *ConduitControllerCaller) OwnerOf(opts *bind.CallOpts, conduit common.Address) (common.Address, error)
- type ConduitControllerCallerRaw
- type ConduitControllerCallerSession
- func (_ConduitController *ConduitControllerCallerSession) GetChannel(conduit common.Address, channelIndex *big.Int) (common.Address, error)
- func (_ConduitController *ConduitControllerCallerSession) GetChannelStatus(conduit common.Address, channel common.Address) (bool, error)
- func (_ConduitController *ConduitControllerCallerSession) GetChannels(conduit common.Address) ([]common.Address, error)
- func (_ConduitController *ConduitControllerCallerSession) GetConduit(conduitKey [32]byte) (struct{ ... }, error)
- func (_ConduitController *ConduitControllerCallerSession) GetConduitCodeHashes() (struct{ ... }, error)
- func (_ConduitController *ConduitControllerCallerSession) GetKey(conduit common.Address) ([32]byte, error)
- func (_ConduitController *ConduitControllerCallerSession) GetPotentialOwner(conduit common.Address) (common.Address, error)
- func (_ConduitController *ConduitControllerCallerSession) GetTotalChannels(conduit common.Address) (*big.Int, error)
- func (_ConduitController *ConduitControllerCallerSession) OwnerOf(conduit common.Address) (common.Address, error)
- type ConduitControllerFilterer
- func (_ConduitController *ConduitControllerFilterer) FilterNewConduit(opts *bind.FilterOpts) (*ConduitControllerNewConduitIterator, error)
- func (_ConduitController *ConduitControllerFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, conduit []common.Address, ...) (*ConduitControllerOwnershipTransferredIterator, error)
- func (_ConduitController *ConduitControllerFilterer) FilterPotentialOwnerUpdated(opts *bind.FilterOpts, conduit []common.Address, ...) (*ConduitControllerPotentialOwnerUpdatedIterator, error)
- func (_ConduitController *ConduitControllerFilterer) ParseNewConduit(log types.Log) (*ConduitControllerNewConduit, error)
- func (_ConduitController *ConduitControllerFilterer) ParseOwnershipTransferred(log types.Log) (*ConduitControllerOwnershipTransferred, error)
- func (_ConduitController *ConduitControllerFilterer) ParsePotentialOwnerUpdated(log types.Log) (*ConduitControllerPotentialOwnerUpdated, error)
- func (_ConduitController *ConduitControllerFilterer) WatchNewConduit(opts *bind.WatchOpts, sink chan<- *ConduitControllerNewConduit) (event.Subscription, error)
- func (_ConduitController *ConduitControllerFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *ConduitControllerOwnershipTransferred, ...) (event.Subscription, error)
- func (_ConduitController *ConduitControllerFilterer) WatchPotentialOwnerUpdated(opts *bind.WatchOpts, sink chan<- *ConduitControllerPotentialOwnerUpdated, ...) (event.Subscription, error)
- type ConduitControllerNewConduit
- type ConduitControllerNewConduitIterator
- type ConduitControllerOwnershipTransferred
- type ConduitControllerOwnershipTransferredIterator
- type ConduitControllerPotentialOwnerUpdated
- type ConduitControllerPotentialOwnerUpdatedIterator
- type ConduitControllerRaw
- func (_ConduitController *ConduitControllerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_ConduitController *ConduitControllerRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_ConduitController *ConduitControllerRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type ConduitControllerSession
- func (_ConduitController *ConduitControllerSession) AcceptOwnership(conduit common.Address) (*types.Transaction, error)
- func (_ConduitController *ConduitControllerSession) CancelOwnershipTransfer(conduit common.Address) (*types.Transaction, error)
- func (_ConduitController *ConduitControllerSession) CreateConduit(conduitKey [32]byte, initialOwner common.Address) (*types.Transaction, error)
- func (_ConduitController *ConduitControllerSession) GetChannel(conduit common.Address, channelIndex *big.Int) (common.Address, error)
- func (_ConduitController *ConduitControllerSession) GetChannelStatus(conduit common.Address, channel common.Address) (bool, error)
- func (_ConduitController *ConduitControllerSession) GetChannels(conduit common.Address) ([]common.Address, error)
- func (_ConduitController *ConduitControllerSession) GetConduit(conduitKey [32]byte) (struct{ ... }, error)
- func (_ConduitController *ConduitControllerSession) GetConduitCodeHashes() (struct{ ... }, error)
- func (_ConduitController *ConduitControllerSession) GetKey(conduit common.Address) ([32]byte, error)
- func (_ConduitController *ConduitControllerSession) GetPotentialOwner(conduit common.Address) (common.Address, error)
- func (_ConduitController *ConduitControllerSession) GetTotalChannels(conduit common.Address) (*big.Int, error)
- func (_ConduitController *ConduitControllerSession) OwnerOf(conduit common.Address) (common.Address, error)
- func (_ConduitController *ConduitControllerSession) TransferOwnership(conduit common.Address, newPotentialOwner common.Address) (*types.Transaction, error)
- func (_ConduitController *ConduitControllerSession) UpdateChannel(conduit common.Address, channel common.Address, isOpen bool) (*types.Transaction, error)
- type ConduitControllerTransactor
- func (_ConduitController *ConduitControllerTransactor) AcceptOwnership(opts *bind.TransactOpts, conduit common.Address) (*types.Transaction, error)
- func (_ConduitController *ConduitControllerTransactor) CancelOwnershipTransfer(opts *bind.TransactOpts, conduit common.Address) (*types.Transaction, error)
- func (_ConduitController *ConduitControllerTransactor) CreateConduit(opts *bind.TransactOpts, conduitKey [32]byte, initialOwner common.Address) (*types.Transaction, error)
- func (_ConduitController *ConduitControllerTransactor) TransferOwnership(opts *bind.TransactOpts, conduit common.Address, ...) (*types.Transaction, error)
- func (_ConduitController *ConduitControllerTransactor) UpdateChannel(opts *bind.TransactOpts, conduit common.Address, channel common.Address, ...) (*types.Transaction, error)
- type ConduitControllerTransactorRaw
- type ConduitControllerTransactorSession
- func (_ConduitController *ConduitControllerTransactorSession) AcceptOwnership(conduit common.Address) (*types.Transaction, error)
- func (_ConduitController *ConduitControllerTransactorSession) CancelOwnershipTransfer(conduit common.Address) (*types.Transaction, error)
- func (_ConduitController *ConduitControllerTransactorSession) CreateConduit(conduitKey [32]byte, initialOwner common.Address) (*types.Transaction, error)
- func (_ConduitController *ConduitControllerTransactorSession) TransferOwnership(conduit common.Address, newPotentialOwner common.Address) (*types.Transaction, error)
- func (_ConduitController *ConduitControllerTransactorSession) UpdateChannel(conduit common.Address, channel common.Address, isOpen bool) (*types.Transaction, error)
Constants ¶
This section is empty.
Variables ¶
var ConduitControllerABI = ConduitControllerMetaData.ABI
ConduitControllerABI is the input ABI used to generate the binding from. Deprecated: Use ConduitControllerMetaData.ABI instead.
var ConduitControllerBin = ConduitControllerMetaData.Bin
ConduitControllerBin is the compiled bytecode used for deploying new contracts. Deprecated: Use ConduitControllerMetaData.Bin instead.
var ConduitControllerMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"conduit\",\"type\":\"address\"}],\"name\":\"CallerIsNotNewPotentialOwner\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"conduit\",\"type\":\"address\"}],\"name\":\"CallerIsNotOwner\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"conduit\",\"type\":\"address\"}],\"name\":\"ChannelOutOfRange\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"conduit\",\"type\":\"address\"}],\"name\":\"ConduitAlreadyExists\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidCreator\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"conduit\",\"type\":\"address\"}],\"name\":\"NewPotentialOwnerIsZeroAddress\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NoConduit\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"conduit\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"conduitKey\",\"type\":\"bytes32\"}],\"name\":\"NewConduit\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"conduit\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"conduit\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newPotentialOwner\",\"type\":\"address\"}],\"name\":\"PotentialOwnerUpdated\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"conduit\",\"type\":\"address\"}],\"name\":\"acceptOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"conduit\",\"type\":\"address\"}],\"name\":\"cancelOwnershipTransfer\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"conduitKey\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"initialOwner\",\"type\":\"address\"}],\"name\":\"createConduit\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"conduit\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"conduit\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"channelIndex\",\"type\":\"uint256\"}],\"name\":\"getChannel\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"channel\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"conduit\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"channel\",\"type\":\"address\"}],\"name\":\"getChannelStatus\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"isOpen\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"conduit\",\"type\":\"address\"}],\"name\":\"getChannels\",\"outputs\":[{\"internalType\":\"address[]\",\"name\":\"channels\",\"type\":\"address[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"conduitKey\",\"type\":\"bytes32\"}],\"name\":\"getConduit\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"conduit\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"exists\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getConduitCodeHashes\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"creationCodeHash\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"runtimeCodeHash\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"conduit\",\"type\":\"address\"}],\"name\":\"getKey\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"conduitKey\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"conduit\",\"type\":\"address\"}],\"name\":\"getPotentialOwner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"potentialOwner\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"conduit\",\"type\":\"address\"}],\"name\":\"getTotalChannels\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"totalChannels\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"conduit\",\"type\":\"address\"}],\"name\":\"ownerOf\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"conduit\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"newPotentialOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"conduit\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"channel\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"isOpen\",\"type\":\"bool\"}],\"name\":\"updateChannel\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
Bin: "0x60c060405234801561001057600080fd5b5060405161002060208201610088565b6020820181038252601f19601f82011660405250805190602001206080818152505060008060001b60405161005490610088565b8190604051809103906000f5905080158015610074573d6000803e3d6000fd5b506001600160a01b03163f60a05250610095565b610ab28061197b83390190565b60805160a0516118a56100d6600039600081816101480152818161080501526108ae015260008181610125015281816107ad015261086901526118a56000f3fe608060405234801561001057600080fd5b50600436106100ea5760003560e01c80636d4354211161008c5780637b37e561116100665780637b37e561146102495780638b9e028b1461025c578063906c87cc1461027c57806393790f441461028f57600080fd5b80636d435421146101f15780636e9bfd9f14610204578063794593bc1461023657600080fd5b806314afd79e116100c857806314afd79e1461018757806333bc85721461019a5780634e3f9580146101bd57806351710e45146101de57600080fd5b8063027cc764146100ef5780630a96ad391461011f57806313ad9cab14610172575b600080fd5b6101026100fd366004610bdf565b6102a2565b6040516001600160a01b0390911681526020015b60405180910390f35b604080517f000000000000000000000000000000000000000000000000000000000000000081527f0000000000000000000000000000000000000000000000000000000000000000602082015201610116565b610185610180366004610c09565b610343565b005b610102610195366004610c55565b610553565b6101ad6101a8366004610c77565b610580565b6040519015158152602001610116565b6101d06101cb366004610c55565b6105bb565b604051908152602001610116565b6101856101ec366004610c55565b6105e5565b6101856101ff366004610c77565b6106f5565b610217610212366004610caa565b6107a1565b604080516001600160a01b039093168352901515602083015201610116565b610102610244366004610cc3565b61082c565b610185610257366004610c55565b6109df565b61026f61026a366004610c55565b610a48565b6040516101169190610ce6565b61010261028a366004610c55565b610ac8565b6101d061029d366004610c55565b610af5565b60006102ad83610b31565b6001600160a01b0383166000908152602081905260409020600301548083106102f957604051636ceb340b60e01b81526001600160a01b03851660048201526024015b60405180910390fd5b6001600160a01b038416600090815260208190526040902060030180548490811061032657610326610d33565b6000918252602090912001546001600160a01b0316949350505050565b61034c83610b6a565b60405163c4e8fcb560e01b81526001600160a01b038381166004830152821515602483015284169063c4e8fcb590604401600060405180830381600087803b15801561039757600080fd5b505af11580156103ab573d6000803e3d6000fd5b505050506001600160a01b038381166000908152602081815260408083209386168352600484019091529020548015158380156103e6575080155b15610436576003830180546001810182556000828152602080822090920180546001600160a01b0319166001600160a01b038a16908117909155925492815260048601909152604090205561054b565b831580156104415750805b1561054b576000610453600184610d49565b600385015490915060009061046a90600190610d49565b90508181146104f857600085600301828154811061048a5761048a610d33565b6000918252602090912001546003870180546001600160a01b0390921692508291859081106104bb576104bb610d33565b600091825260208083209190910180546001600160a01b0319166001600160a01b0394851617905592909116815260048701909152604090208490555b8460030180548061050b5761050b610d6e565b60008281526020808220830160001990810180546001600160a01b03191690559092019092556001600160a01b0389168252600487019052604081205550505b505050505050565b600061055e82610b31565b506001600160a01b039081166000908152602081905260409020600101541690565b600061058b83610b31565b506001600160a01b0391821660009081526020818152604080832093909416825260049092019091522054151590565b60006105c682610b31565b506001600160a01b031660009081526020819052604090206003015490565b6105ee81610b31565b6001600160a01b03818116600090815260208190526040902060020154163314610636576040516388c3a11560e01b81526001600160a01b03821660048201526024016102f0565b6040516000906001600160a01b038316907fd4116aaf34f80123d0229f02f46f776b386a377dbb3404be10fdf4e81ba9cdb6908390a36001600160a01b038082166000818152602081905260408082206002810180546001600160a01b031916905560010154905133949190911692917fc8894f26f396ce8c004245c8b7cd1b92103a6e4302fcbab883987149ac01b7ec91a46001600160a01b0316600090815260208190526040902060010180546001600160a01b03191633179055565b6106fe82610b6a565b6001600160a01b0381166107305760405163a388d26360e01b81526001600160a01b03831660048201526024016102f0565b806001600160a01b0316826001600160a01b03167fd4116aaf34f80123d0229f02f46f776b386a377dbb3404be10fdf4e81ba9cdb660405160405180910390a36001600160a01b03918216600090815260208190526040902060020180546001600160a01b03191691909216179055565b60008060ff60f81b30847f00000000000000000000000000000000000000000000000000000000000000006040516020016107df9493929190610d84565b60408051601f198184030181529190528051602090910120936001600160a01b0385163f7f0000000000000000000000000000000000000000000000000000000000000000149350915050565b6000606083901c3314610852576040516332db94d160e21b815260040160405180910390fd5b604051610891906001600160f81b031990309086907f000000000000000000000000000000000000000000000000000000000000000090602001610d84565b6040516020818303038152906040528051906020012060001c90507f0000000000000000000000000000000000000000000000000000000000000000816001600160a01b03163f0361090157604051633194665960e11b81526001600160a01b03821660048201526024016102f0565b8260405161090e90610bbb565b8190604051809103906000f590508015801561092e573d6000803e3d6000fd5b50506001600160a01b03818116600081815260208181526040918290206001810180546001600160a01b031916958816959095179094559286905580519182529181018590527f4397af6128d529b8ae0442f99db1296d5136062597a15bbc61c1b2a6431a7d15910160405180910390a16040516001600160a01b03808416916000918416907fc8894f26f396ce8c004245c8b7cd1b92103a6e4302fcbab883987149ac01b7ec908390a492915050565b6109e881610b6a565b6040516000906001600160a01b038316907fd4116aaf34f80123d0229f02f46f776b386a377dbb3404be10fdf4e81ba9cdb6908390a36001600160a01b0316600090815260208190526040902060020180546001600160a01b0319169055565b6060610a5382610b31565b6001600160a01b0382166000908152602081815260409182902060030180548351818402810184019094528084529091830182828015610abc57602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311610a9e575b50505050509050919050565b6000610ad382610b31565b506001600160a01b039081166000908152602081905260409020600201541690565b6001600160a01b03811660009081526020819052604090205480610b2c576040516304ca820960e41b815260040160405180910390fd5b919050565b6001600160a01b038116600090815260208190526040902054610b67576040516304ca820960e41b815260040160405180910390fd5b50565b610b7381610b31565b6001600160a01b03818116600090815260208190526040902060010154163314610b675760405163d4ed9a1760e01b81526001600160a01b03821660048201526024016102f0565b610ab280610dbe83390190565b80356001600160a01b0381168114610b2c57600080fd5b60008060408385031215610bf257600080fd5b610bfb83610bc8565b946020939093013593505050565b600080600060608486031215610c1e57600080fd5b610c2784610bc8565b9250610c3560208501610bc8565b915060408401358015158114610c4a57600080fd5b809150509250925092565b600060208284031215610c6757600080fd5b610c7082610bc8565b9392505050565b60008060408385031215610c8a57600080fd5b610c9383610bc8565b9150610ca160208401610bc8565b90509250929050565b600060208284031215610cbc57600080fd5b5035919050565b60008060408385031215610cd657600080fd5b82359150610ca160208401610bc8565b6020808252825182820181905260009190848201906040850190845b81811015610d275783516001600160a01b031683529284019291840191600101610d02565b50909695505050505050565b634e487b7160e01b600052603260045260246000fd5b600082821015610d6957634e487b7160e01b600052601160045260246000fd5b500390565b634e487b7160e01b600052603160045260246000fd5b6001600160f81b031994909416845260609290921b6bffffffffffffffffffffffff19166001840152601583015260358201526055019056fe60a060405234801561001057600080fd5b5033608052608051610a8261003060003960006102100152610a826000f3fe608060405234801561001057600080fd5b506004361061004c5760003560e01c80634ce34aa214610051578063899e104c146100815780638df25d9214610094578063c4e8fcb5146100a7575b600080fd5b61006461005f36600461085c565b6100bc565b6040516001600160e01b0319909116815260200160405180910390f35b61006461008f3660046108e3565b610136565b6100646100a236600461094f565b6101bc565b6100ba6100b53660046109a1565b610205565b005b3360009081526020819052604081205460ff166100ec57604051636821b7df60e01b815260040160405180910390fd5b8160005b81811015610125573685858381811061010b5761010b6109dd565b905060c00201905061011c816102af565b506001016100f0565b50632671a55160e11b949350505050565b3360009081526020819052604081205460ff1661016657604051636821b7df60e01b815260040160405180910390fd5b8360005b8181101561019f5736878783818110610185576101856109dd565b905060c002019050610196816102af565b5060010161016a565b506101aa848461041b565b50632267841360e21b95945050505050565b3360009081526020819052604081205460ff166101ec57604051636821b7df60e01b815260040160405180910390fd5b6101f6838361041b565b506346f92ec960e11b92915050565b336001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000161461024e576040516336abb4df60e11b815260040160405180910390fd5b6001600160a01b03821660008181526020818152604091829020805460ff19168515159081179091558251938452908301527fae63067d43ac07563b7eb8db6595635fc77f1578a2a5ea06ba91b63e2afa37e2910160405180910390a15050565b60016102be6020830183610a09565b60038111156102cf576102cf6109f3565b03610314576103116102e76040830160208401610a31565b6102f76060840160408501610a31565b6103076080850160608601610a31565b8460a00135610565565b50565b60026103236020830183610a09565b6003811115610334576103346109f3565b0361039b578060a0013560011461035e5760405163efcc00b160e01b815260040160405180910390fd5b6103116103716040830160208401610a31565b6103816060840160408501610a31565b6103916080850160608601610a31565b846080013561066b565b60036103aa6020830183610a09565b60038111156103bb576103bb6109f3565b03610402576103116103d36040830160208401610a31565b6103e36060840160408501610a31565b6103f36080850160608601610a31565b84608001358560a0013561072c565b604051631e4cbc7f60e21b815260040160405180910390fd5b808280631759616b60e11b60205260005b83811015610558578235820160208401935060806020820160243760a0810135604081026040018060a00160a452600081610104015260408202610104018160a0850160c4376020830260c00191508160808501351460a0606086013514168285013584141615925082156104ac57633ae8821360e21b60005260046000fd5b923592833b6104ca57632f8aeb3960e11b6000528360045260246000fd5b6000808260206000885af1925082610549573d156105245760203d04915060208104826003028184111561050c57818403600302610200838002868002030401015b5a602082011015610521573d6000803e3d6000fd5b50505b6357e222f160e11b600052836004526080604452608451602001608452602481016000fd5b5050505060018101905061042c565b5050505060806040525050565b6040516323b872dd60e01b600052836004528260245281604452602060006064600080895af1803d15601f3d116001600051141617163d1515811661065b5780873b15151661065b57806106465781610625573d156105ff5760203d046020840481600302818311156105e657818303600302610200838002858002030401015b5a6020820110156105fb573d6000803e3d6000fd5b5050505b63f486bc8760e01b60005286600452856024528460445260006064528360845260a46000fd5b639889192360e01b6000528660045285602452846044528360645260846000fd5b632f8aeb3960e11b6000528660045260246000fd5b5050604052505060006060525050565b833b61068657632f8aeb3960e11b6000528360045260246000fd5b6040516323b872dd60e01b6000528360045282602452816044526000806064600080895af18061071d573d156106f75760203d046020830481600302818311156106de57818303600302610200838002858002030401015b5a6020820110156106f3573d6000803e3d6000fd5b5050505b63f486bc8760e01b60005285600452846024528360445282606452600160845260a46000fd5b50604052505060006060525050565b843b61074757632f8aeb3960e11b6000528460045260246000fd5b60405160805160a05160c051637921219560e11b6000528760045286602452856044528460645260a0608452600060a45260008060c46000808d5af1806107f4573d156107cf5760203d046020860481600302818311156107b657818303600302610200838002858002030401015b5a6020820110156107cb573d6000803e3d6000fd5b5050505b63f486bc8760e01b600052896004528860245287604452866064528560845260a46000fd5b5060809290925260a05260c05260405250506000606052505050565b60008083601f84011261082257600080fd5b50813567ffffffffffffffff81111561083a57600080fd5b60208301915083602060c08302850101111561085557600080fd5b9250929050565b6000806020838503121561086f57600080fd5b823567ffffffffffffffff81111561088657600080fd5b61089285828601610810565b90969095509350505050565b60008083601f8401126108b057600080fd5b50813567ffffffffffffffff8111156108c857600080fd5b6020830191508360208260051b850101111561085557600080fd5b600080600080604085870312156108f957600080fd5b843567ffffffffffffffff8082111561091157600080fd5b61091d88838901610810565b9096509450602087013591508082111561093657600080fd5b506109438782880161089e565b95989497509550505050565b6000806020838503121561096257600080fd5b823567ffffffffffffffff81111561097957600080fd5b6108928582860161089e565b80356001600160a01b038116811461099c57600080fd5b919050565b600080604083850312156109b457600080fd5b6109bd83610985565b9150602083013580151581146109d257600080fd5b809150509250929050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052602160045260246000fd5b600060208284031215610a1b57600080fd5b813560048110610a2a57600080fd5b9392505050565b600060208284031215610a4357600080fd5b610a2a8261098556fea2646970667358221220a42ce1840bb9e65dd7de3905229b790ddc477c9436d75acc17f58f88068bdf9764736f6c634300080d0033a2646970667358221220162ccfcd8db7c6a221ae6d13748878d007772afa4ac6369a542ac74bdb8c7c2f64736f6c634300080d003360a060405234801561001057600080fd5b5033608052608051610a8261003060003960006102100152610a826000f3fe608060405234801561001057600080fd5b506004361061004c5760003560e01c80634ce34aa214610051578063899e104c146100815780638df25d9214610094578063c4e8fcb5146100a7575b600080fd5b61006461005f36600461085c565b6100bc565b6040516001600160e01b0319909116815260200160405180910390f35b61006461008f3660046108e3565b610136565b6100646100a236600461094f565b6101bc565b6100ba6100b53660046109a1565b610205565b005b3360009081526020819052604081205460ff166100ec57604051636821b7df60e01b815260040160405180910390fd5b8160005b81811015610125573685858381811061010b5761010b6109dd565b905060c00201905061011c816102af565b506001016100f0565b50632671a55160e11b949350505050565b3360009081526020819052604081205460ff1661016657604051636821b7df60e01b815260040160405180910390fd5b8360005b8181101561019f5736878783818110610185576101856109dd565b905060c002019050610196816102af565b5060010161016a565b506101aa848461041b565b50632267841360e21b95945050505050565b3360009081526020819052604081205460ff166101ec57604051636821b7df60e01b815260040160405180910390fd5b6101f6838361041b565b506346f92ec960e11b92915050565b336001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000161461024e576040516336abb4df60e11b815260040160405180910390fd5b6001600160a01b03821660008181526020818152604091829020805460ff19168515159081179091558251938452908301527fae63067d43ac07563b7eb8db6595635fc77f1578a2a5ea06ba91b63e2afa37e2910160405180910390a15050565b60016102be6020830183610a09565b60038111156102cf576102cf6109f3565b03610314576103116102e76040830160208401610a31565b6102f76060840160408501610a31565b6103076080850160608601610a31565b8460a00135610565565b50565b60026103236020830183610a09565b6003811115610334576103346109f3565b0361039b578060a0013560011461035e5760405163efcc00b160e01b815260040160405180910390fd5b6103116103716040830160208401610a31565b6103816060840160408501610a31565b6103916080850160608601610a31565b846080013561066b565b60036103aa6020830183610a09565b60038111156103bb576103bb6109f3565b03610402576103116103d36040830160208401610a31565b6103e36060840160408501610a31565b6103f36080850160608601610a31565b84608001358560a0013561072c565b604051631e4cbc7f60e21b815260040160405180910390fd5b808280631759616b60e11b60205260005b83811015610558578235820160208401935060806020820160243760a0810135604081026040018060a00160a452600081610104015260408202610104018160a0850160c4376020830260c00191508160808501351460a0606086013514168285013584141615925082156104ac57633ae8821360e21b60005260046000fd5b923592833b6104ca57632f8aeb3960e11b6000528360045260246000fd5b6000808260206000885af1925082610549573d156105245760203d04915060208104826003028184111561050c57818403600302610200838002868002030401015b5a602082011015610521573d6000803e3d6000fd5b50505b6357e222f160e11b600052836004526080604452608451602001608452602481016000fd5b5050505060018101905061042c565b5050505060806040525050565b6040516323b872dd60e01b600052836004528260245281604452602060006064600080895af1803d15601f3d116001600051141617163d1515811661065b5780873b15151661065b57806106465781610625573d156105ff5760203d046020840481600302818311156105e657818303600302610200838002858002030401015b5a6020820110156105fb573d6000803e3d6000fd5b5050505b63f486bc8760e01b60005286600452856024528460445260006064528360845260a46000fd5b639889192360e01b6000528660045285602452846044528360645260846000fd5b632f8aeb3960e11b6000528660045260246000fd5b5050604052505060006060525050565b833b61068657632f8aeb3960e11b6000528360045260246000fd5b6040516323b872dd60e01b6000528360045282602452816044526000806064600080895af18061071d573d156106f75760203d046020830481600302818311156106de57818303600302610200838002858002030401015b5a6020820110156106f3573d6000803e3d6000fd5b5050505b63f486bc8760e01b60005285600452846024528360445282606452600160845260a46000fd5b50604052505060006060525050565b843b61074757632f8aeb3960e11b6000528460045260246000fd5b60405160805160a05160c051637921219560e11b6000528760045286602452856044528460645260a0608452600060a45260008060c46000808d5af1806107f4573d156107cf5760203d046020860481600302818311156107b657818303600302610200838002858002030401015b5a6020820110156107cb573d6000803e3d6000fd5b5050505b63f486bc8760e01b600052896004528860245287604452866064528560845260a46000fd5b5060809290925260a05260c05260405250506000606052505050565b60008083601f84011261082257600080fd5b50813567ffffffffffffffff81111561083a57600080fd5b60208301915083602060c08302850101111561085557600080fd5b9250929050565b6000806020838503121561086f57600080fd5b823567ffffffffffffffff81111561088657600080fd5b61089285828601610810565b90969095509350505050565b60008083601f8401126108b057600080fd5b50813567ffffffffffffffff8111156108c857600080fd5b6020830191508360208260051b850101111561085557600080fd5b600080600080604085870312156108f957600080fd5b843567ffffffffffffffff8082111561091157600080fd5b61091d88838901610810565b9096509450602087013591508082111561093657600080fd5b506109438782880161089e565b95989497509550505050565b6000806020838503121561096257600080fd5b823567ffffffffffffffff81111561097957600080fd5b6108928582860161089e565b80356001600160a01b038116811461099c57600080fd5b919050565b600080604083850312156109b457600080fd5b6109bd83610985565b9150602083013580151581146109d257600080fd5b809150509250929050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052602160045260246000fd5b600060208284031215610a1b57600080fd5b813560048110610a2a57600080fd5b9392505050565b600060208284031215610a4357600080fd5b610a2a8261098556fea2646970667358221220a42ce1840bb9e65dd7de3905229b790ddc477c9436d75acc17f58f88068bdf9764736f6c634300080d0033",
}
ConduitControllerMetaData contains all meta data concerning the ConduitController contract.
Functions ¶
This section is empty.
Types ¶
type ConduitController ¶
type ConduitController struct { ConduitControllerCaller // Read-only binding to the contract ConduitControllerTransactor // Write-only binding to the contract ConduitControllerFilterer // Log filterer for contract events }
ConduitController is an auto generated Go binding around an Ethereum contract.
func DeployConduitController ¶
func DeployConduitController(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *ConduitController, error)
DeployConduitController deploys a new Ethereum contract, binding an instance of ConduitController to it.
func NewConduitController ¶
func NewConduitController(address common.Address, backend bind.ContractBackend) (*ConduitController, error)
NewConduitController creates a new instance of ConduitController, bound to a specific deployed contract.
type ConduitControllerCaller ¶
type ConduitControllerCaller struct {
// contains filtered or unexported fields
}
ConduitControllerCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewConduitControllerCaller ¶
func NewConduitControllerCaller(address common.Address, caller bind.ContractCaller) (*ConduitControllerCaller, error)
NewConduitControllerCaller creates a new read-only instance of ConduitController, bound to a specific deployed contract.
func (*ConduitControllerCaller) GetChannel ¶
func (_ConduitController *ConduitControllerCaller) GetChannel(opts *bind.CallOpts, conduit common.Address, channelIndex *big.Int) (common.Address, error)
GetChannel is a free data retrieval call binding the contract method 0x027cc764.
Solidity: function getChannel(address conduit, uint256 channelIndex) view returns(address channel)
func (*ConduitControllerCaller) GetChannelStatus ¶
func (_ConduitController *ConduitControllerCaller) GetChannelStatus(opts *bind.CallOpts, conduit common.Address, channel common.Address) (bool, error)
GetChannelStatus is a free data retrieval call binding the contract method 0x33bc8572.
Solidity: function getChannelStatus(address conduit, address channel) view returns(bool isOpen)
func (*ConduitControllerCaller) GetChannels ¶
func (_ConduitController *ConduitControllerCaller) GetChannels(opts *bind.CallOpts, conduit common.Address) ([]common.Address, error)
GetChannels is a free data retrieval call binding the contract method 0x8b9e028b.
Solidity: function getChannels(address conduit) view returns(address[] channels)
func (*ConduitControllerCaller) GetConduit ¶
func (_ConduitController *ConduitControllerCaller) GetConduit(opts *bind.CallOpts, conduitKey [32]byte) (struct { Conduit common.Address Exists bool }, error)
GetConduit is a free data retrieval call binding the contract method 0x6e9bfd9f.
Solidity: function getConduit(bytes32 conduitKey) view returns(address conduit, bool exists)
func (*ConduitControllerCaller) GetConduitCodeHashes ¶
func (_ConduitController *ConduitControllerCaller) GetConduitCodeHashes(opts *bind.CallOpts) (struct { CreationCodeHash [32]byte RuntimeCodeHash [32]byte }, error)
GetConduitCodeHashes is a free data retrieval call binding the contract method 0x0a96ad39.
Solidity: function getConduitCodeHashes() view returns(bytes32 creationCodeHash, bytes32 runtimeCodeHash)
func (*ConduitControllerCaller) GetKey ¶
func (_ConduitController *ConduitControllerCaller) GetKey(opts *bind.CallOpts, conduit common.Address) ([32]byte, error)
GetKey is a free data retrieval call binding the contract method 0x93790f44.
Solidity: function getKey(address conduit) view returns(bytes32 conduitKey)
func (*ConduitControllerCaller) GetPotentialOwner ¶
func (_ConduitController *ConduitControllerCaller) GetPotentialOwner(opts *bind.CallOpts, conduit common.Address) (common.Address, error)
GetPotentialOwner is a free data retrieval call binding the contract method 0x906c87cc.
Solidity: function getPotentialOwner(address conduit) view returns(address potentialOwner)
func (*ConduitControllerCaller) GetTotalChannels ¶
func (_ConduitController *ConduitControllerCaller) GetTotalChannels(opts *bind.CallOpts, conduit common.Address) (*big.Int, error)
GetTotalChannels is a free data retrieval call binding the contract method 0x4e3f9580.
Solidity: function getTotalChannels(address conduit) view returns(uint256 totalChannels)
func (*ConduitControllerCaller) OwnerOf ¶
func (_ConduitController *ConduitControllerCaller) OwnerOf(opts *bind.CallOpts, conduit common.Address) (common.Address, error)
OwnerOf is a free data retrieval call binding the contract method 0x14afd79e.
Solidity: function ownerOf(address conduit) view returns(address owner)
type ConduitControllerCallerRaw ¶
type ConduitControllerCallerRaw struct {
Contract *ConduitControllerCaller // Generic read-only contract binding to access the raw methods on
}
ConduitControllerCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*ConduitControllerCallerRaw) Call ¶
func (_ConduitController *ConduitControllerCallerRaw) 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 ConduitControllerCallerSession ¶
type ConduitControllerCallerSession struct { Contract *ConduitControllerCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
ConduitControllerCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*ConduitControllerCallerSession) GetChannel ¶
func (_ConduitController *ConduitControllerCallerSession) GetChannel(conduit common.Address, channelIndex *big.Int) (common.Address, error)
GetChannel is a free data retrieval call binding the contract method 0x027cc764.
Solidity: function getChannel(address conduit, uint256 channelIndex) view returns(address channel)
func (*ConduitControllerCallerSession) GetChannelStatus ¶
func (_ConduitController *ConduitControllerCallerSession) GetChannelStatus(conduit common.Address, channel common.Address) (bool, error)
GetChannelStatus is a free data retrieval call binding the contract method 0x33bc8572.
Solidity: function getChannelStatus(address conduit, address channel) view returns(bool isOpen)
func (*ConduitControllerCallerSession) GetChannels ¶
func (_ConduitController *ConduitControllerCallerSession) GetChannels(conduit common.Address) ([]common.Address, error)
GetChannels is a free data retrieval call binding the contract method 0x8b9e028b.
Solidity: function getChannels(address conduit) view returns(address[] channels)
func (*ConduitControllerCallerSession) GetConduit ¶
func (_ConduitController *ConduitControllerCallerSession) GetConduit(conduitKey [32]byte) (struct { Conduit common.Address Exists bool }, error)
GetConduit is a free data retrieval call binding the contract method 0x6e9bfd9f.
Solidity: function getConduit(bytes32 conduitKey) view returns(address conduit, bool exists)
func (*ConduitControllerCallerSession) GetConduitCodeHashes ¶
func (_ConduitController *ConduitControllerCallerSession) GetConduitCodeHashes() (struct { CreationCodeHash [32]byte RuntimeCodeHash [32]byte }, error)
GetConduitCodeHashes is a free data retrieval call binding the contract method 0x0a96ad39.
Solidity: function getConduitCodeHashes() view returns(bytes32 creationCodeHash, bytes32 runtimeCodeHash)
func (*ConduitControllerCallerSession) GetKey ¶
func (_ConduitController *ConduitControllerCallerSession) GetKey(conduit common.Address) ([32]byte, error)
GetKey is a free data retrieval call binding the contract method 0x93790f44.
Solidity: function getKey(address conduit) view returns(bytes32 conduitKey)
func (*ConduitControllerCallerSession) GetPotentialOwner ¶
func (_ConduitController *ConduitControllerCallerSession) GetPotentialOwner(conduit common.Address) (common.Address, error)
GetPotentialOwner is a free data retrieval call binding the contract method 0x906c87cc.
Solidity: function getPotentialOwner(address conduit) view returns(address potentialOwner)
func (*ConduitControllerCallerSession) GetTotalChannels ¶
func (_ConduitController *ConduitControllerCallerSession) GetTotalChannels(conduit common.Address) (*big.Int, error)
GetTotalChannels is a free data retrieval call binding the contract method 0x4e3f9580.
Solidity: function getTotalChannels(address conduit) view returns(uint256 totalChannels)
func (*ConduitControllerCallerSession) OwnerOf ¶
func (_ConduitController *ConduitControllerCallerSession) OwnerOf(conduit common.Address) (common.Address, error)
OwnerOf is a free data retrieval call binding the contract method 0x14afd79e.
Solidity: function ownerOf(address conduit) view returns(address owner)
type ConduitControllerFilterer ¶
type ConduitControllerFilterer struct {
// contains filtered or unexported fields
}
ConduitControllerFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewConduitControllerFilterer ¶
func NewConduitControllerFilterer(address common.Address, filterer bind.ContractFilterer) (*ConduitControllerFilterer, error)
NewConduitControllerFilterer creates a new log filterer instance of ConduitController, bound to a specific deployed contract.
func (*ConduitControllerFilterer) FilterNewConduit ¶
func (_ConduitController *ConduitControllerFilterer) FilterNewConduit(opts *bind.FilterOpts) (*ConduitControllerNewConduitIterator, error)
FilterNewConduit is a free log retrieval operation binding the contract event 0x4397af6128d529b8ae0442f99db1296d5136062597a15bbc61c1b2a6431a7d15.
Solidity: event NewConduit(address conduit, bytes32 conduitKey)
func (*ConduitControllerFilterer) FilterOwnershipTransferred ¶
func (_ConduitController *ConduitControllerFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, conduit []common.Address, previousOwner []common.Address, newOwner []common.Address) (*ConduitControllerOwnershipTransferredIterator, error)
FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0xc8894f26f396ce8c004245c8b7cd1b92103a6e4302fcbab883987149ac01b7ec.
Solidity: event OwnershipTransferred(address indexed conduit, address indexed previousOwner, address indexed newOwner)
func (*ConduitControllerFilterer) FilterPotentialOwnerUpdated ¶
func (_ConduitController *ConduitControllerFilterer) FilterPotentialOwnerUpdated(opts *bind.FilterOpts, conduit []common.Address, newPotentialOwner []common.Address) (*ConduitControllerPotentialOwnerUpdatedIterator, error)
FilterPotentialOwnerUpdated is a free log retrieval operation binding the contract event 0xd4116aaf34f80123d0229f02f46f776b386a377dbb3404be10fdf4e81ba9cdb6.
Solidity: event PotentialOwnerUpdated(address indexed conduit, address indexed newPotentialOwner)
func (*ConduitControllerFilterer) ParseNewConduit ¶
func (_ConduitController *ConduitControllerFilterer) ParseNewConduit(log types.Log) (*ConduitControllerNewConduit, error)
ParseNewConduit is a log parse operation binding the contract event 0x4397af6128d529b8ae0442f99db1296d5136062597a15bbc61c1b2a6431a7d15.
Solidity: event NewConduit(address conduit, bytes32 conduitKey)
func (*ConduitControllerFilterer) ParseOwnershipTransferred ¶
func (_ConduitController *ConduitControllerFilterer) ParseOwnershipTransferred(log types.Log) (*ConduitControllerOwnershipTransferred, error)
ParseOwnershipTransferred is a log parse operation binding the contract event 0xc8894f26f396ce8c004245c8b7cd1b92103a6e4302fcbab883987149ac01b7ec.
Solidity: event OwnershipTransferred(address indexed conduit, address indexed previousOwner, address indexed newOwner)
func (*ConduitControllerFilterer) ParsePotentialOwnerUpdated ¶
func (_ConduitController *ConduitControllerFilterer) ParsePotentialOwnerUpdated(log types.Log) (*ConduitControllerPotentialOwnerUpdated, error)
ParsePotentialOwnerUpdated is a log parse operation binding the contract event 0xd4116aaf34f80123d0229f02f46f776b386a377dbb3404be10fdf4e81ba9cdb6.
Solidity: event PotentialOwnerUpdated(address indexed conduit, address indexed newPotentialOwner)
func (*ConduitControllerFilterer) WatchNewConduit ¶
func (_ConduitController *ConduitControllerFilterer) WatchNewConduit(opts *bind.WatchOpts, sink chan<- *ConduitControllerNewConduit) (event.Subscription, error)
WatchNewConduit is a free log subscription operation binding the contract event 0x4397af6128d529b8ae0442f99db1296d5136062597a15bbc61c1b2a6431a7d15.
Solidity: event NewConduit(address conduit, bytes32 conduitKey)
func (*ConduitControllerFilterer) WatchOwnershipTransferred ¶
func (_ConduitController *ConduitControllerFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *ConduitControllerOwnershipTransferred, conduit []common.Address, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)
WatchOwnershipTransferred is a free log subscription operation binding the contract event 0xc8894f26f396ce8c004245c8b7cd1b92103a6e4302fcbab883987149ac01b7ec.
Solidity: event OwnershipTransferred(address indexed conduit, address indexed previousOwner, address indexed newOwner)
func (*ConduitControllerFilterer) WatchPotentialOwnerUpdated ¶
func (_ConduitController *ConduitControllerFilterer) WatchPotentialOwnerUpdated(opts *bind.WatchOpts, sink chan<- *ConduitControllerPotentialOwnerUpdated, conduit []common.Address, newPotentialOwner []common.Address) (event.Subscription, error)
WatchPotentialOwnerUpdated is a free log subscription operation binding the contract event 0xd4116aaf34f80123d0229f02f46f776b386a377dbb3404be10fdf4e81ba9cdb6.
Solidity: event PotentialOwnerUpdated(address indexed conduit, address indexed newPotentialOwner)
type ConduitControllerNewConduit ¶
type ConduitControllerNewConduit struct { Conduit common.Address ConduitKey [32]byte Raw types.Log // Blockchain specific contextual infos }
ConduitControllerNewConduit represents a NewConduit event raised by the ConduitController contract.
type ConduitControllerNewConduitIterator ¶
type ConduitControllerNewConduitIterator struct { Event *ConduitControllerNewConduit // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ConduitControllerNewConduitIterator is returned from FilterNewConduit and is used to iterate over the raw logs and unpacked data for NewConduit events raised by the ConduitController contract.
func (*ConduitControllerNewConduitIterator) Close ¶
func (it *ConduitControllerNewConduitIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ConduitControllerNewConduitIterator) Error ¶
func (it *ConduitControllerNewConduitIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ConduitControllerNewConduitIterator) Next ¶
func (it *ConduitControllerNewConduitIterator) 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 ConduitControllerOwnershipTransferred ¶
type ConduitControllerOwnershipTransferred struct { Conduit common.Address PreviousOwner common.Address NewOwner common.Address Raw types.Log // Blockchain specific contextual infos }
ConduitControllerOwnershipTransferred represents a OwnershipTransferred event raised by the ConduitController contract.
type ConduitControllerOwnershipTransferredIterator ¶
type ConduitControllerOwnershipTransferredIterator struct { Event *ConduitControllerOwnershipTransferred // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ConduitControllerOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the ConduitController contract.
func (*ConduitControllerOwnershipTransferredIterator) Close ¶
func (it *ConduitControllerOwnershipTransferredIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ConduitControllerOwnershipTransferredIterator) Error ¶
func (it *ConduitControllerOwnershipTransferredIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ConduitControllerOwnershipTransferredIterator) Next ¶
func (it *ConduitControllerOwnershipTransferredIterator) 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 ConduitControllerPotentialOwnerUpdated ¶
type ConduitControllerPotentialOwnerUpdated struct { Conduit common.Address NewPotentialOwner common.Address Raw types.Log // Blockchain specific contextual infos }
ConduitControllerPotentialOwnerUpdated represents a PotentialOwnerUpdated event raised by the ConduitController contract.
type ConduitControllerPotentialOwnerUpdatedIterator ¶
type ConduitControllerPotentialOwnerUpdatedIterator struct { Event *ConduitControllerPotentialOwnerUpdated // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ConduitControllerPotentialOwnerUpdatedIterator is returned from FilterPotentialOwnerUpdated and is used to iterate over the raw logs and unpacked data for PotentialOwnerUpdated events raised by the ConduitController contract.
func (*ConduitControllerPotentialOwnerUpdatedIterator) Close ¶
func (it *ConduitControllerPotentialOwnerUpdatedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ConduitControllerPotentialOwnerUpdatedIterator) Error ¶
func (it *ConduitControllerPotentialOwnerUpdatedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ConduitControllerPotentialOwnerUpdatedIterator) Next ¶
func (it *ConduitControllerPotentialOwnerUpdatedIterator) 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 ConduitControllerRaw ¶
type ConduitControllerRaw struct {
Contract *ConduitController // Generic contract binding to access the raw methods on
}
ConduitControllerRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*ConduitControllerRaw) Call ¶
func (_ConduitController *ConduitControllerRaw) 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 (*ConduitControllerRaw) Transact ¶
func (_ConduitController *ConduitControllerRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ConduitControllerRaw) Transfer ¶
func (_ConduitController *ConduitControllerRaw) 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 ConduitControllerSession ¶
type ConduitControllerSession struct { Contract *ConduitController // 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 }
ConduitControllerSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*ConduitControllerSession) AcceptOwnership ¶
func (_ConduitController *ConduitControllerSession) AcceptOwnership(conduit common.Address) (*types.Transaction, error)
AcceptOwnership is a paid mutator transaction binding the contract method 0x51710e45.
Solidity: function acceptOwnership(address conduit) returns()
func (*ConduitControllerSession) CancelOwnershipTransfer ¶
func (_ConduitController *ConduitControllerSession) CancelOwnershipTransfer(conduit common.Address) (*types.Transaction, error)
CancelOwnershipTransfer is a paid mutator transaction binding the contract method 0x7b37e561.
Solidity: function cancelOwnershipTransfer(address conduit) returns()
func (*ConduitControllerSession) CreateConduit ¶
func (_ConduitController *ConduitControllerSession) CreateConduit(conduitKey [32]byte, initialOwner common.Address) (*types.Transaction, error)
CreateConduit is a paid mutator transaction binding the contract method 0x794593bc.
Solidity: function createConduit(bytes32 conduitKey, address initialOwner) returns(address conduit)
func (*ConduitControllerSession) GetChannel ¶
func (_ConduitController *ConduitControllerSession) GetChannel(conduit common.Address, channelIndex *big.Int) (common.Address, error)
GetChannel is a free data retrieval call binding the contract method 0x027cc764.
Solidity: function getChannel(address conduit, uint256 channelIndex) view returns(address channel)
func (*ConduitControllerSession) GetChannelStatus ¶
func (_ConduitController *ConduitControllerSession) GetChannelStatus(conduit common.Address, channel common.Address) (bool, error)
GetChannelStatus is a free data retrieval call binding the contract method 0x33bc8572.
Solidity: function getChannelStatus(address conduit, address channel) view returns(bool isOpen)
func (*ConduitControllerSession) GetChannels ¶
func (_ConduitController *ConduitControllerSession) GetChannels(conduit common.Address) ([]common.Address, error)
GetChannels is a free data retrieval call binding the contract method 0x8b9e028b.
Solidity: function getChannels(address conduit) view returns(address[] channels)
func (*ConduitControllerSession) GetConduit ¶
func (_ConduitController *ConduitControllerSession) GetConduit(conduitKey [32]byte) (struct { Conduit common.Address Exists bool }, error)
GetConduit is a free data retrieval call binding the contract method 0x6e9bfd9f.
Solidity: function getConduit(bytes32 conduitKey) view returns(address conduit, bool exists)
func (*ConduitControllerSession) GetConduitCodeHashes ¶
func (_ConduitController *ConduitControllerSession) GetConduitCodeHashes() (struct { CreationCodeHash [32]byte RuntimeCodeHash [32]byte }, error)
GetConduitCodeHashes is a free data retrieval call binding the contract method 0x0a96ad39.
Solidity: function getConduitCodeHashes() view returns(bytes32 creationCodeHash, bytes32 runtimeCodeHash)
func (*ConduitControllerSession) GetKey ¶
func (_ConduitController *ConduitControllerSession) GetKey(conduit common.Address) ([32]byte, error)
GetKey is a free data retrieval call binding the contract method 0x93790f44.
Solidity: function getKey(address conduit) view returns(bytes32 conduitKey)
func (*ConduitControllerSession) GetPotentialOwner ¶
func (_ConduitController *ConduitControllerSession) GetPotentialOwner(conduit common.Address) (common.Address, error)
GetPotentialOwner is a free data retrieval call binding the contract method 0x906c87cc.
Solidity: function getPotentialOwner(address conduit) view returns(address potentialOwner)
func (*ConduitControllerSession) GetTotalChannels ¶
func (_ConduitController *ConduitControllerSession) GetTotalChannels(conduit common.Address) (*big.Int, error)
GetTotalChannels is a free data retrieval call binding the contract method 0x4e3f9580.
Solidity: function getTotalChannels(address conduit) view returns(uint256 totalChannels)
func (*ConduitControllerSession) OwnerOf ¶
func (_ConduitController *ConduitControllerSession) OwnerOf(conduit common.Address) (common.Address, error)
OwnerOf is a free data retrieval call binding the contract method 0x14afd79e.
Solidity: function ownerOf(address conduit) view returns(address owner)
func (*ConduitControllerSession) TransferOwnership ¶
func (_ConduitController *ConduitControllerSession) TransferOwnership(conduit common.Address, newPotentialOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0x6d435421.
Solidity: function transferOwnership(address conduit, address newPotentialOwner) returns()
func (*ConduitControllerSession) UpdateChannel ¶
func (_ConduitController *ConduitControllerSession) UpdateChannel(conduit common.Address, channel common.Address, isOpen bool) (*types.Transaction, error)
UpdateChannel is a paid mutator transaction binding the contract method 0x13ad9cab.
Solidity: function updateChannel(address conduit, address channel, bool isOpen) returns()
type ConduitControllerTransactor ¶
type ConduitControllerTransactor struct {
// contains filtered or unexported fields
}
ConduitControllerTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewConduitControllerTransactor ¶
func NewConduitControllerTransactor(address common.Address, transactor bind.ContractTransactor) (*ConduitControllerTransactor, error)
NewConduitControllerTransactor creates a new write-only instance of ConduitController, bound to a specific deployed contract.
func (*ConduitControllerTransactor) AcceptOwnership ¶
func (_ConduitController *ConduitControllerTransactor) AcceptOwnership(opts *bind.TransactOpts, conduit common.Address) (*types.Transaction, error)
AcceptOwnership is a paid mutator transaction binding the contract method 0x51710e45.
Solidity: function acceptOwnership(address conduit) returns()
func (*ConduitControllerTransactor) CancelOwnershipTransfer ¶
func (_ConduitController *ConduitControllerTransactor) CancelOwnershipTransfer(opts *bind.TransactOpts, conduit common.Address) (*types.Transaction, error)
CancelOwnershipTransfer is a paid mutator transaction binding the contract method 0x7b37e561.
Solidity: function cancelOwnershipTransfer(address conduit) returns()
func (*ConduitControllerTransactor) CreateConduit ¶
func (_ConduitController *ConduitControllerTransactor) CreateConduit(opts *bind.TransactOpts, conduitKey [32]byte, initialOwner common.Address) (*types.Transaction, error)
CreateConduit is a paid mutator transaction binding the contract method 0x794593bc.
Solidity: function createConduit(bytes32 conduitKey, address initialOwner) returns(address conduit)
func (*ConduitControllerTransactor) TransferOwnership ¶
func (_ConduitController *ConduitControllerTransactor) TransferOwnership(opts *bind.TransactOpts, conduit common.Address, newPotentialOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0x6d435421.
Solidity: function transferOwnership(address conduit, address newPotentialOwner) returns()
func (*ConduitControllerTransactor) UpdateChannel ¶
func (_ConduitController *ConduitControllerTransactor) UpdateChannel(opts *bind.TransactOpts, conduit common.Address, channel common.Address, isOpen bool) (*types.Transaction, error)
UpdateChannel is a paid mutator transaction binding the contract method 0x13ad9cab.
Solidity: function updateChannel(address conduit, address channel, bool isOpen) returns()
type ConduitControllerTransactorRaw ¶
type ConduitControllerTransactorRaw struct {
Contract *ConduitControllerTransactor // Generic write-only contract binding to access the raw methods on
}
ConduitControllerTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*ConduitControllerTransactorRaw) Transact ¶
func (_ConduitController *ConduitControllerTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ConduitControllerTransactorRaw) Transfer ¶
func (_ConduitController *ConduitControllerTransactorRaw) 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 ConduitControllerTransactorSession ¶
type ConduitControllerTransactorSession struct { Contract *ConduitControllerTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
ConduitControllerTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*ConduitControllerTransactorSession) AcceptOwnership ¶
func (_ConduitController *ConduitControllerTransactorSession) AcceptOwnership(conduit common.Address) (*types.Transaction, error)
AcceptOwnership is a paid mutator transaction binding the contract method 0x51710e45.
Solidity: function acceptOwnership(address conduit) returns()
func (*ConduitControllerTransactorSession) CancelOwnershipTransfer ¶
func (_ConduitController *ConduitControllerTransactorSession) CancelOwnershipTransfer(conduit common.Address) (*types.Transaction, error)
CancelOwnershipTransfer is a paid mutator transaction binding the contract method 0x7b37e561.
Solidity: function cancelOwnershipTransfer(address conduit) returns()
func (*ConduitControllerTransactorSession) CreateConduit ¶
func (_ConduitController *ConduitControllerTransactorSession) CreateConduit(conduitKey [32]byte, initialOwner common.Address) (*types.Transaction, error)
CreateConduit is a paid mutator transaction binding the contract method 0x794593bc.
Solidity: function createConduit(bytes32 conduitKey, address initialOwner) returns(address conduit)
func (*ConduitControllerTransactorSession) TransferOwnership ¶
func (_ConduitController *ConduitControllerTransactorSession) TransferOwnership(conduit common.Address, newPotentialOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0x6d435421.
Solidity: function transferOwnership(address conduit, address newPotentialOwner) returns()
func (*ConduitControllerTransactorSession) UpdateChannel ¶
func (_ConduitController *ConduitControllerTransactorSession) UpdateChannel(conduit common.Address, channel common.Address, isOpen bool) (*types.Transaction, error)
UpdateChannel is a paid mutator transaction binding the contract method 0x13ad9cab.
Solidity: function updateChannel(address conduit, address channel, bool isOpen) returns()