Documentation ¶
Index ¶
- Variables
- type Delegation
- type DelegationCaller
- func (_Delegation *DelegationCaller) DELEGATIONRULESMARKETPLACE(opts *bind.CallOpts) ([32]byte, error)
- func (_Delegation *DelegationCaller) DELEGATIONRULESMODEL(opts *bind.CallOpts) ([32]byte, error)
- func (_Delegation *DelegationCaller) DELEGATIONRULESPROVIDER(opts *bind.CallOpts) ([32]byte, error)
- func (_Delegation *DelegationCaller) DELEGATIONRULESSESSION(opts *bind.CallOpts) ([32]byte, error)
- func (_Delegation *DelegationCaller) DELEGATIONSTORAGESLOT(opts *bind.CallOpts) ([32]byte, error)
- func (_Delegation *DelegationCaller) DIAMONDOWNABLESTORAGESLOT(opts *bind.CallOpts) ([32]byte, error)
- func (_Delegation *DelegationCaller) GetRegistry(opts *bind.CallOpts) (common.Address, error)
- func (_Delegation *DelegationCaller) IsRightsDelegated(opts *bind.CallOpts, delegatee_ common.Address, delegator_ common.Address, ...) (bool, error)
- func (_Delegation *DelegationCaller) Owner(opts *bind.CallOpts) (common.Address, error)
- type DelegationCallerRaw
- type DelegationCallerSession
- func (_Delegation *DelegationCallerSession) DELEGATIONRULESMARKETPLACE() ([32]byte, error)
- func (_Delegation *DelegationCallerSession) DELEGATIONRULESMODEL() ([32]byte, error)
- func (_Delegation *DelegationCallerSession) DELEGATIONRULESPROVIDER() ([32]byte, error)
- func (_Delegation *DelegationCallerSession) DELEGATIONRULESSESSION() ([32]byte, error)
- func (_Delegation *DelegationCallerSession) DELEGATIONSTORAGESLOT() ([32]byte, error)
- func (_Delegation *DelegationCallerSession) DIAMONDOWNABLESTORAGESLOT() ([32]byte, error)
- func (_Delegation *DelegationCallerSession) GetRegistry() (common.Address, error)
- func (_Delegation *DelegationCallerSession) IsRightsDelegated(delegatee_ common.Address, delegator_ common.Address, rights_ [32]byte) (bool, error)
- func (_Delegation *DelegationCallerSession) Owner() (common.Address, error)
- type DelegationDelegationRegistryUpdated
- type DelegationDelegationRegistryUpdatedIterator
- type DelegationFilterer
- func (_Delegation *DelegationFilterer) FilterDelegationRegistryUpdated(opts *bind.FilterOpts) (*DelegationDelegationRegistryUpdatedIterator, error)
- func (_Delegation *DelegationFilterer) FilterInitialized(opts *bind.FilterOpts) (*DelegationInitializedIterator, error)
- func (_Delegation *DelegationFilterer) ParseDelegationRegistryUpdated(log types.Log) (*DelegationDelegationRegistryUpdated, error)
- func (_Delegation *DelegationFilterer) ParseInitialized(log types.Log) (*DelegationInitialized, error)
- func (_Delegation *DelegationFilterer) WatchDelegationRegistryUpdated(opts *bind.WatchOpts, sink chan<- *DelegationDelegationRegistryUpdated) (event.Subscription, error)
- func (_Delegation *DelegationFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *DelegationInitialized) (event.Subscription, error)
- type DelegationInitialized
- type DelegationInitializedIterator
- type DelegationRaw
- func (_Delegation *DelegationRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_Delegation *DelegationRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Delegation *DelegationRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type DelegationSession
- func (_Delegation *DelegationSession) DELEGATIONRULESMARKETPLACE() ([32]byte, error)
- func (_Delegation *DelegationSession) DELEGATIONRULESMODEL() ([32]byte, error)
- func (_Delegation *DelegationSession) DELEGATIONRULESPROVIDER() ([32]byte, error)
- func (_Delegation *DelegationSession) DELEGATIONRULESSESSION() ([32]byte, error)
- func (_Delegation *DelegationSession) DELEGATIONSTORAGESLOT() ([32]byte, error)
- func (_Delegation *DelegationSession) DIAMONDOWNABLESTORAGESLOT() ([32]byte, error)
- func (_Delegation *DelegationSession) DelegationInit(registry_ common.Address) (*types.Transaction, error)
- func (_Delegation *DelegationSession) GetRegistry() (common.Address, error)
- func (_Delegation *DelegationSession) IsRightsDelegated(delegatee_ common.Address, delegator_ common.Address, rights_ [32]byte) (bool, error)
- func (_Delegation *DelegationSession) Owner() (common.Address, error)
- func (_Delegation *DelegationSession) SetRegistry(registry_ common.Address) (*types.Transaction, error)
- type DelegationTransactor
- type DelegationTransactorRaw
- type DelegationTransactorSession
Constants ¶
This section is empty.
Variables ¶
var DelegationABI = DelegationMetaData.ABI
DelegationABI is the input ABI used to generate the binding from. Deprecated: Use DelegationMetaData.ABI instead.
var DelegationMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"delegator\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"delegatee\",\"type\":\"address\"}],\"name\":\"InsufficientRightsForOperation\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account_\",\"type\":\"address\"}],\"name\":\"OwnableUnauthorizedAccount\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"registry\",\"type\":\"address\"}],\"name\":\"DelegationRegistryUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"storageSlot\",\"type\":\"bytes32\"}],\"name\":\"Initialized\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"DELEGATION_RULES_MARKETPLACE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"DELEGATION_RULES_MODEL\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"DELEGATION_RULES_PROVIDER\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"DELEGATION_RULES_SESSION\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"DELEGATION_STORAGE_SLOT\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"DIAMOND_OWNABLE_STORAGE_SLOT\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"registry_\",\"type\":\"address\"}],\"name\":\"__Delegation_init\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getRegistry\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"delegatee_\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"delegator_\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"rights_\",\"type\":\"bytes32\"}],\"name\":\"isRightsDelegated\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"registry_\",\"type\":\"address\"}],\"name\":\"setRegistry\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}
DelegationMetaData contains all meta data concerning the Delegation contract.
Functions ¶
This section is empty.
Types ¶
type Delegation ¶
type Delegation struct { DelegationCaller // Read-only binding to the contract DelegationTransactor // Write-only binding to the contract DelegationFilterer // Log filterer for contract events }
Delegation is an auto generated Go binding around an Ethereum contract.
func NewDelegation ¶
func NewDelegation(address common.Address, backend bind.ContractBackend) (*Delegation, error)
NewDelegation creates a new instance of Delegation, bound to a specific deployed contract.
type DelegationCaller ¶
type DelegationCaller struct {
// contains filtered or unexported fields
}
DelegationCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewDelegationCaller ¶
func NewDelegationCaller(address common.Address, caller bind.ContractCaller) (*DelegationCaller, error)
NewDelegationCaller creates a new read-only instance of Delegation, bound to a specific deployed contract.
func (*DelegationCaller) DELEGATIONRULESMARKETPLACE ¶
func (_Delegation *DelegationCaller) DELEGATIONRULESMARKETPLACE(opts *bind.CallOpts) ([32]byte, error)
DELEGATIONRULESMARKETPLACE is a free data retrieval call binding the contract method 0xad34a150.
Solidity: function DELEGATION_RULES_MARKETPLACE() view returns(bytes32)
func (*DelegationCaller) DELEGATIONRULESMODEL ¶
func (_Delegation *DelegationCaller) DELEGATIONRULESMODEL(opts *bind.CallOpts) ([32]byte, error)
DELEGATIONRULESMODEL is a free data retrieval call binding the contract method 0x86878047.
Solidity: function DELEGATION_RULES_MODEL() view returns(bytes32)
func (*DelegationCaller) DELEGATIONRULESPROVIDER ¶
func (_Delegation *DelegationCaller) DELEGATIONRULESPROVIDER(opts *bind.CallOpts) ([32]byte, error)
DELEGATIONRULESPROVIDER is a free data retrieval call binding the contract method 0x58aeef93.
Solidity: function DELEGATION_RULES_PROVIDER() view returns(bytes32)
func (*DelegationCaller) DELEGATIONRULESSESSION ¶
func (_Delegation *DelegationCaller) DELEGATIONRULESSESSION(opts *bind.CallOpts) ([32]byte, error)
DELEGATIONRULESSESSION is a free data retrieval call binding the contract method 0xd1b43638.
Solidity: function DELEGATION_RULES_SESSION() view returns(bytes32)
func (*DelegationCaller) DELEGATIONSTORAGESLOT ¶
func (_Delegation *DelegationCaller) DELEGATIONSTORAGESLOT(opts *bind.CallOpts) ([32]byte, error)
DELEGATIONSTORAGESLOT is a free data retrieval call binding the contract method 0xdd9b48cb.
Solidity: function DELEGATION_STORAGE_SLOT() view returns(bytes32)
func (*DelegationCaller) DIAMONDOWNABLESTORAGESLOT ¶
func (_Delegation *DelegationCaller) DIAMONDOWNABLESTORAGESLOT(opts *bind.CallOpts) ([32]byte, error)
DIAMONDOWNABLESTORAGESLOT is a free data retrieval call binding the contract method 0x4ac3371e.
Solidity: function DIAMOND_OWNABLE_STORAGE_SLOT() view returns(bytes32)
func (*DelegationCaller) GetRegistry ¶
GetRegistry is a free data retrieval call binding the contract method 0x5ab1bd53.
Solidity: function getRegistry() view returns(address)
func (*DelegationCaller) IsRightsDelegated ¶
func (_Delegation *DelegationCaller) IsRightsDelegated(opts *bind.CallOpts, delegatee_ common.Address, delegator_ common.Address, rights_ [32]byte) (bool, error)
IsRightsDelegated is a free data retrieval call binding the contract method 0x54126b8f.
Solidity: function isRightsDelegated(address delegatee_, address delegator_, bytes32 rights_) view returns(bool)
type DelegationCallerRaw ¶
type DelegationCallerRaw struct {
Contract *DelegationCaller // Generic read-only contract binding to access the raw methods on
}
DelegationCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*DelegationCallerRaw) Call ¶
func (_Delegation *DelegationCallerRaw) 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 DelegationCallerSession ¶
type DelegationCallerSession struct { Contract *DelegationCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
DelegationCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*DelegationCallerSession) DELEGATIONRULESMARKETPLACE ¶
func (_Delegation *DelegationCallerSession) DELEGATIONRULESMARKETPLACE() ([32]byte, error)
DELEGATIONRULESMARKETPLACE is a free data retrieval call binding the contract method 0xad34a150.
Solidity: function DELEGATION_RULES_MARKETPLACE() view returns(bytes32)
func (*DelegationCallerSession) DELEGATIONRULESMODEL ¶
func (_Delegation *DelegationCallerSession) DELEGATIONRULESMODEL() ([32]byte, error)
DELEGATIONRULESMODEL is a free data retrieval call binding the contract method 0x86878047.
Solidity: function DELEGATION_RULES_MODEL() view returns(bytes32)
func (*DelegationCallerSession) DELEGATIONRULESPROVIDER ¶
func (_Delegation *DelegationCallerSession) DELEGATIONRULESPROVIDER() ([32]byte, error)
DELEGATIONRULESPROVIDER is a free data retrieval call binding the contract method 0x58aeef93.
Solidity: function DELEGATION_RULES_PROVIDER() view returns(bytes32)
func (*DelegationCallerSession) DELEGATIONRULESSESSION ¶
func (_Delegation *DelegationCallerSession) DELEGATIONRULESSESSION() ([32]byte, error)
DELEGATIONRULESSESSION is a free data retrieval call binding the contract method 0xd1b43638.
Solidity: function DELEGATION_RULES_SESSION() view returns(bytes32)
func (*DelegationCallerSession) DELEGATIONSTORAGESLOT ¶
func (_Delegation *DelegationCallerSession) DELEGATIONSTORAGESLOT() ([32]byte, error)
DELEGATIONSTORAGESLOT is a free data retrieval call binding the contract method 0xdd9b48cb.
Solidity: function DELEGATION_STORAGE_SLOT() view returns(bytes32)
func (*DelegationCallerSession) DIAMONDOWNABLESTORAGESLOT ¶
func (_Delegation *DelegationCallerSession) DIAMONDOWNABLESTORAGESLOT() ([32]byte, error)
DIAMONDOWNABLESTORAGESLOT is a free data retrieval call binding the contract method 0x4ac3371e.
Solidity: function DIAMOND_OWNABLE_STORAGE_SLOT() view returns(bytes32)
func (*DelegationCallerSession) GetRegistry ¶
func (_Delegation *DelegationCallerSession) GetRegistry() (common.Address, error)
GetRegistry is a free data retrieval call binding the contract method 0x5ab1bd53.
Solidity: function getRegistry() view returns(address)
func (*DelegationCallerSession) IsRightsDelegated ¶
func (_Delegation *DelegationCallerSession) IsRightsDelegated(delegatee_ common.Address, delegator_ common.Address, rights_ [32]byte) (bool, error)
IsRightsDelegated is a free data retrieval call binding the contract method 0x54126b8f.
Solidity: function isRightsDelegated(address delegatee_, address delegator_, bytes32 rights_) view returns(bool)
type DelegationDelegationRegistryUpdated ¶
type DelegationDelegationRegistryUpdated struct { Registry common.Address Raw types.Log // Blockchain specific contextual infos }
DelegationDelegationRegistryUpdated represents a DelegationRegistryUpdated event raised by the Delegation contract.
type DelegationDelegationRegistryUpdatedIterator ¶
type DelegationDelegationRegistryUpdatedIterator struct { Event *DelegationDelegationRegistryUpdated // Event containing the contract specifics and raw log // contains filtered or unexported fields }
DelegationDelegationRegistryUpdatedIterator is returned from FilterDelegationRegistryUpdated and is used to iterate over the raw logs and unpacked data for DelegationRegistryUpdated events raised by the Delegation contract.
func (*DelegationDelegationRegistryUpdatedIterator) Close ¶
func (it *DelegationDelegationRegistryUpdatedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*DelegationDelegationRegistryUpdatedIterator) Error ¶
func (it *DelegationDelegationRegistryUpdatedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*DelegationDelegationRegistryUpdatedIterator) Next ¶
func (it *DelegationDelegationRegistryUpdatedIterator) 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 DelegationFilterer ¶
type DelegationFilterer struct {
// contains filtered or unexported fields
}
DelegationFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewDelegationFilterer ¶
func NewDelegationFilterer(address common.Address, filterer bind.ContractFilterer) (*DelegationFilterer, error)
NewDelegationFilterer creates a new log filterer instance of Delegation, bound to a specific deployed contract.
func (*DelegationFilterer) FilterDelegationRegistryUpdated ¶
func (_Delegation *DelegationFilterer) FilterDelegationRegistryUpdated(opts *bind.FilterOpts) (*DelegationDelegationRegistryUpdatedIterator, error)
FilterDelegationRegistryUpdated is a free log retrieval operation binding the contract event 0x836360d1b094a7de3c3eab3d1185f3a5939467c23d4a12709dbdbf8c8d7e2f3b.
Solidity: event DelegationRegistryUpdated(address registry)
func (*DelegationFilterer) FilterInitialized ¶
func (_Delegation *DelegationFilterer) FilterInitialized(opts *bind.FilterOpts) (*DelegationInitializedIterator, error)
FilterInitialized is a free log retrieval operation binding the contract event 0xdc73717d728bcfa015e8117438a65319aa06e979ca324afa6e1ea645c28ea15d.
Solidity: event Initialized(bytes32 storageSlot)
func (*DelegationFilterer) ParseDelegationRegistryUpdated ¶
func (_Delegation *DelegationFilterer) ParseDelegationRegistryUpdated(log types.Log) (*DelegationDelegationRegistryUpdated, error)
ParseDelegationRegistryUpdated is a log parse operation binding the contract event 0x836360d1b094a7de3c3eab3d1185f3a5939467c23d4a12709dbdbf8c8d7e2f3b.
Solidity: event DelegationRegistryUpdated(address registry)
func (*DelegationFilterer) ParseInitialized ¶
func (_Delegation *DelegationFilterer) ParseInitialized(log types.Log) (*DelegationInitialized, error)
ParseInitialized is a log parse operation binding the contract event 0xdc73717d728bcfa015e8117438a65319aa06e979ca324afa6e1ea645c28ea15d.
Solidity: event Initialized(bytes32 storageSlot)
func (*DelegationFilterer) WatchDelegationRegistryUpdated ¶
func (_Delegation *DelegationFilterer) WatchDelegationRegistryUpdated(opts *bind.WatchOpts, sink chan<- *DelegationDelegationRegistryUpdated) (event.Subscription, error)
WatchDelegationRegistryUpdated is a free log subscription operation binding the contract event 0x836360d1b094a7de3c3eab3d1185f3a5939467c23d4a12709dbdbf8c8d7e2f3b.
Solidity: event DelegationRegistryUpdated(address registry)
func (*DelegationFilterer) WatchInitialized ¶
func (_Delegation *DelegationFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *DelegationInitialized) (event.Subscription, error)
WatchInitialized is a free log subscription operation binding the contract event 0xdc73717d728bcfa015e8117438a65319aa06e979ca324afa6e1ea645c28ea15d.
Solidity: event Initialized(bytes32 storageSlot)
type DelegationInitialized ¶
type DelegationInitialized struct { StorageSlot [32]byte Raw types.Log // Blockchain specific contextual infos }
DelegationInitialized represents a Initialized event raised by the Delegation contract.
type DelegationInitializedIterator ¶
type DelegationInitializedIterator struct { Event *DelegationInitialized // Event containing the contract specifics and raw log // contains filtered or unexported fields }
DelegationInitializedIterator is returned from FilterInitialized and is used to iterate over the raw logs and unpacked data for Initialized events raised by the Delegation contract.
func (*DelegationInitializedIterator) Close ¶
func (it *DelegationInitializedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*DelegationInitializedIterator) Error ¶
func (it *DelegationInitializedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*DelegationInitializedIterator) Next ¶
func (it *DelegationInitializedIterator) 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 DelegationRaw ¶
type DelegationRaw struct {
Contract *Delegation // Generic contract binding to access the raw methods on
}
DelegationRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*DelegationRaw) Call ¶
func (_Delegation *DelegationRaw) 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 (*DelegationRaw) Transact ¶
func (_Delegation *DelegationRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*DelegationRaw) Transfer ¶
func (_Delegation *DelegationRaw) 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 DelegationSession ¶
type DelegationSession struct { Contract *Delegation // 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 }
DelegationSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*DelegationSession) DELEGATIONRULESMARKETPLACE ¶
func (_Delegation *DelegationSession) DELEGATIONRULESMARKETPLACE() ([32]byte, error)
DELEGATIONRULESMARKETPLACE is a free data retrieval call binding the contract method 0xad34a150.
Solidity: function DELEGATION_RULES_MARKETPLACE() view returns(bytes32)
func (*DelegationSession) DELEGATIONRULESMODEL ¶
func (_Delegation *DelegationSession) DELEGATIONRULESMODEL() ([32]byte, error)
DELEGATIONRULESMODEL is a free data retrieval call binding the contract method 0x86878047.
Solidity: function DELEGATION_RULES_MODEL() view returns(bytes32)
func (*DelegationSession) DELEGATIONRULESPROVIDER ¶
func (_Delegation *DelegationSession) DELEGATIONRULESPROVIDER() ([32]byte, error)
DELEGATIONRULESPROVIDER is a free data retrieval call binding the contract method 0x58aeef93.
Solidity: function DELEGATION_RULES_PROVIDER() view returns(bytes32)
func (*DelegationSession) DELEGATIONRULESSESSION ¶
func (_Delegation *DelegationSession) DELEGATIONRULESSESSION() ([32]byte, error)
DELEGATIONRULESSESSION is a free data retrieval call binding the contract method 0xd1b43638.
Solidity: function DELEGATION_RULES_SESSION() view returns(bytes32)
func (*DelegationSession) DELEGATIONSTORAGESLOT ¶
func (_Delegation *DelegationSession) DELEGATIONSTORAGESLOT() ([32]byte, error)
DELEGATIONSTORAGESLOT is a free data retrieval call binding the contract method 0xdd9b48cb.
Solidity: function DELEGATION_STORAGE_SLOT() view returns(bytes32)
func (*DelegationSession) DIAMONDOWNABLESTORAGESLOT ¶
func (_Delegation *DelegationSession) DIAMONDOWNABLESTORAGESLOT() ([32]byte, error)
DIAMONDOWNABLESTORAGESLOT is a free data retrieval call binding the contract method 0x4ac3371e.
Solidity: function DIAMOND_OWNABLE_STORAGE_SLOT() view returns(bytes32)
func (*DelegationSession) DelegationInit ¶
func (_Delegation *DelegationSession) DelegationInit(registry_ common.Address) (*types.Transaction, error)
DelegationInit is a paid mutator transaction binding the contract method 0xe50e4c43.
Solidity: function __Delegation_init(address registry_) returns()
func (*DelegationSession) GetRegistry ¶
func (_Delegation *DelegationSession) GetRegistry() (common.Address, error)
GetRegistry is a free data retrieval call binding the contract method 0x5ab1bd53.
Solidity: function getRegistry() view returns(address)
func (*DelegationSession) IsRightsDelegated ¶
func (_Delegation *DelegationSession) IsRightsDelegated(delegatee_ common.Address, delegator_ common.Address, rights_ [32]byte) (bool, error)
IsRightsDelegated is a free data retrieval call binding the contract method 0x54126b8f.
Solidity: function isRightsDelegated(address delegatee_, address delegator_, bytes32 rights_) view returns(bool)
func (*DelegationSession) Owner ¶
func (_Delegation *DelegationSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*DelegationSession) SetRegistry ¶
func (_Delegation *DelegationSession) SetRegistry(registry_ common.Address) (*types.Transaction, error)
SetRegistry is a paid mutator transaction binding the contract method 0xa91ee0dc.
Solidity: function setRegistry(address registry_) returns()
type DelegationTransactor ¶
type DelegationTransactor struct {
// contains filtered or unexported fields
}
DelegationTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewDelegationTransactor ¶
func NewDelegationTransactor(address common.Address, transactor bind.ContractTransactor) (*DelegationTransactor, error)
NewDelegationTransactor creates a new write-only instance of Delegation, bound to a specific deployed contract.
func (*DelegationTransactor) DelegationInit ¶
func (_Delegation *DelegationTransactor) DelegationInit(opts *bind.TransactOpts, registry_ common.Address) (*types.Transaction, error)
DelegationInit is a paid mutator transaction binding the contract method 0xe50e4c43.
Solidity: function __Delegation_init(address registry_) returns()
func (*DelegationTransactor) SetRegistry ¶
func (_Delegation *DelegationTransactor) SetRegistry(opts *bind.TransactOpts, registry_ common.Address) (*types.Transaction, error)
SetRegistry is a paid mutator transaction binding the contract method 0xa91ee0dc.
Solidity: function setRegistry(address registry_) returns()
type DelegationTransactorRaw ¶
type DelegationTransactorRaw struct {
Contract *DelegationTransactor // Generic write-only contract binding to access the raw methods on
}
DelegationTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*DelegationTransactorRaw) Transact ¶
func (_Delegation *DelegationTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*DelegationTransactorRaw) Transfer ¶
func (_Delegation *DelegationTransactorRaw) 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 DelegationTransactorSession ¶
type DelegationTransactorSession struct { Contract *DelegationTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
DelegationTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*DelegationTransactorSession) DelegationInit ¶
func (_Delegation *DelegationTransactorSession) DelegationInit(registry_ common.Address) (*types.Transaction, error)
DelegationInit is a paid mutator transaction binding the contract method 0xe50e4c43.
Solidity: function __Delegation_init(address registry_) returns()
func (*DelegationTransactorSession) SetRegistry ¶
func (_Delegation *DelegationTransactorSession) SetRegistry(registry_ common.Address) (*types.Transaction, error)
SetRegistry is a paid mutator transaction binding the contract method 0xa91ee0dc.
Solidity: function setRegistry(address registry_) returns()