Documentation ¶
Index ¶
- Constants
- func ParseAccessControlABI() (*abi.ABI, error)
- type AccessControl
- type AccessControlCaller
- func (_AccessControl *AccessControlCaller) DEFAULTADMINROLE(opts *bind.CallOpts) ([32]byte, error)
- func (_AccessControl *AccessControlCaller) GetRoleAdmin(opts *bind.CallOpts, role [32]byte) ([32]byte, error)
- func (_AccessControl *AccessControlCaller) GetRoleMember(opts *bind.CallOpts, role [32]byte, index *big.Int) (common.Address, error)
- func (_AccessControl *AccessControlCaller) GetRoleMemberCount(opts *bind.CallOpts, role [32]byte) (*big.Int, error)
- func (_AccessControl *AccessControlCaller) HasRole(opts *bind.CallOpts, role [32]byte, account common.Address) (bool, error)
- type AccessControlCallerRaw
- type AccessControlCallerSession
- func (_AccessControl *AccessControlCallerSession) DEFAULTADMINROLE() ([32]byte, error)
- func (_AccessControl *AccessControlCallerSession) GetRoleAdmin(role [32]byte) ([32]byte, error)
- func (_AccessControl *AccessControlCallerSession) GetRoleMember(role [32]byte, index *big.Int) (common.Address, error)
- func (_AccessControl *AccessControlCallerSession) GetRoleMemberCount(role [32]byte) (*big.Int, error)
- func (_AccessControl *AccessControlCallerSession) HasRole(role [32]byte, account common.Address) (bool, error)
- type AccessControlFilterer
- func (_AccessControl *AccessControlFilterer) FilterRoleAdminChanged(opts *bind.FilterOpts, role [][32]byte, previousAdminRole [][32]byte, ...) (*AccessControlRoleAdminChangedIterator, error)
- func (_AccessControl *AccessControlFilterer) FilterRoleGranted(opts *bind.FilterOpts, role [][32]byte, account []common.Address, ...) (*AccessControlRoleGrantedIterator, error)
- func (_AccessControl *AccessControlFilterer) FilterRoleRevoked(opts *bind.FilterOpts, role [][32]byte, account []common.Address, ...) (*AccessControlRoleRevokedIterator, error)
- func (_AccessControl *AccessControlFilterer) ParseRoleAdminChanged(log types.Log) (*AccessControlRoleAdminChanged, error)
- func (_AccessControl *AccessControlFilterer) ParseRoleGranted(log types.Log) (*AccessControlRoleGranted, error)
- func (_AccessControl *AccessControlFilterer) ParseRoleRevoked(log types.Log) (*AccessControlRoleRevoked, error)
- func (_AccessControl *AccessControlFilterer) TryParseLog(log types.Log) (eventName string, event interface{}, ok bool, err error)
- func (_AccessControl *AccessControlFilterer) WatchRoleAdminChanged(opts *bind.WatchOpts, sink chan<- *AccessControlRoleAdminChanged, ...) (event.Subscription, error)
- func (_AccessControl *AccessControlFilterer) WatchRoleGranted(opts *bind.WatchOpts, sink chan<- *AccessControlRoleGranted, role [][32]byte, ...) (event.Subscription, error)
- func (_AccessControl *AccessControlFilterer) WatchRoleRevoked(opts *bind.WatchOpts, sink chan<- *AccessControlRoleRevoked, role [][32]byte, ...) (event.Subscription, error)
- type AccessControlRaw
- func (_AccessControl *AccessControlRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
- func (_AccessControl *AccessControlRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_AccessControl *AccessControlRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type AccessControlRoleAdminChanged
- type AccessControlRoleAdminChangedIterator
- type AccessControlRoleGranted
- type AccessControlRoleGrantedIterator
- type AccessControlRoleRevoked
- type AccessControlRoleRevokedIterator
- type AccessControlSession
- func (_AccessControl *AccessControlSession) DEFAULTADMINROLE() ([32]byte, error)
- func (_AccessControl *AccessControlSession) GetRoleAdmin(role [32]byte) ([32]byte, error)
- func (_AccessControl *AccessControlSession) GetRoleMember(role [32]byte, index *big.Int) (common.Address, error)
- func (_AccessControl *AccessControlSession) GetRoleMemberCount(role [32]byte) (*big.Int, error)
- func (_AccessControl *AccessControlSession) GrantRole(role [32]byte, account common.Address) (*types.Transaction, error)
- func (_AccessControl *AccessControlSession) HasRole(role [32]byte, account common.Address) (bool, error)
- func (_AccessControl *AccessControlSession) RenounceRole(role [32]byte, account common.Address) (*types.Transaction, error)
- func (_AccessControl *AccessControlSession) RevokeRole(role [32]byte, account common.Address) (*types.Transaction, error)
- type AccessControlTransactor
- func (_AccessControl *AccessControlTransactor) GrantRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)
- func (_AccessControl *AccessControlTransactor) RenounceRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)
- func (_AccessControl *AccessControlTransactor) RevokeRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)
- type AccessControlTransactorRaw
- type AccessControlTransactorSession
- func (_AccessControl *AccessControlTransactorSession) GrantRole(role [32]byte, account common.Address) (*types.Transaction, error)
- func (_AccessControl *AccessControlTransactorSession) RenounceRole(role [32]byte, account common.Address) (*types.Transaction, error)
- func (_AccessControl *AccessControlTransactorSession) RevokeRole(role [32]byte, account common.Address) (*types.Transaction, error)
Constants ¶
const AccessControlABI = "" /* 3254-byte string literal not displayed */
AccessControlABI is the input ABI used to generate the binding from.
Variables ¶
This section is empty.
Functions ¶
func ParseAccessControlABI ¶
ParseAccessControlABI parses the ABI
Types ¶
type AccessControl ¶
type AccessControl struct { AccessControlCaller // Read-only binding to the contract AccessControlTransactor // Write-only binding to the contract AccessControlFilterer // Log filterer for contract events }
AccessControl is an auto generated Go binding around an Ethereum contract.
func NewAccessControl ¶
func NewAccessControl(address common.Address, backend bind.ContractBackend) (*AccessControl, error)
NewAccessControl creates a new instance of AccessControl, bound to a specific deployed contract.
type AccessControlCaller ¶
type AccessControlCaller struct {
// contains filtered or unexported fields
}
AccessControlCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewAccessControlCaller ¶
func NewAccessControlCaller(address common.Address, caller bind.ContractCaller) (*AccessControlCaller, error)
NewAccessControlCaller creates a new read-only instance of AccessControl, bound to a specific deployed contract.
func (*AccessControlCaller) DEFAULTADMINROLE ¶
func (_AccessControl *AccessControlCaller) DEFAULTADMINROLE(opts *bind.CallOpts) ([32]byte, error)
DEFAULTADMINROLE is a free data retrieval call binding the contract method 0xa217fddf.
Solidity: function DEFAULT_ADMIN_ROLE() constant returns(bytes32)
func (*AccessControlCaller) GetRoleAdmin ¶
func (_AccessControl *AccessControlCaller) GetRoleAdmin(opts *bind.CallOpts, role [32]byte) ([32]byte, error)
GetRoleAdmin is a free data retrieval call binding the contract method 0x248a9ca3.
Solidity: function getRoleAdmin(bytes32 role) constant returns(bytes32)
func (*AccessControlCaller) GetRoleMember ¶
func (_AccessControl *AccessControlCaller) GetRoleMember(opts *bind.CallOpts, role [32]byte, index *big.Int) (common.Address, error)
GetRoleMember is a free data retrieval call binding the contract method 0x9010d07c.
Solidity: function getRoleMember(bytes32 role, uint256 index) constant returns(address)
func (*AccessControlCaller) GetRoleMemberCount ¶
func (_AccessControl *AccessControlCaller) GetRoleMemberCount(opts *bind.CallOpts, role [32]byte) (*big.Int, error)
GetRoleMemberCount is a free data retrieval call binding the contract method 0xca15c873.
Solidity: function getRoleMemberCount(bytes32 role) constant returns(uint256)
func (*AccessControlCaller) HasRole ¶
func (_AccessControl *AccessControlCaller) HasRole(opts *bind.CallOpts, role [32]byte, account common.Address) (bool, error)
HasRole is a free data retrieval call binding the contract method 0x91d14854.
Solidity: function hasRole(bytes32 role, address account) constant returns(bool)
type AccessControlCallerRaw ¶
type AccessControlCallerRaw struct {
Contract *AccessControlCaller // Generic read-only contract binding to access the raw methods on
}
AccessControlCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*AccessControlCallerRaw) Call ¶
func (_AccessControl *AccessControlCallerRaw) 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 AccessControlCallerSession ¶
type AccessControlCallerSession struct { Contract *AccessControlCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
AccessControlCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*AccessControlCallerSession) DEFAULTADMINROLE ¶
func (_AccessControl *AccessControlCallerSession) DEFAULTADMINROLE() ([32]byte, error)
DEFAULTADMINROLE is a free data retrieval call binding the contract method 0xa217fddf.
Solidity: function DEFAULT_ADMIN_ROLE() constant returns(bytes32)
func (*AccessControlCallerSession) GetRoleAdmin ¶
func (_AccessControl *AccessControlCallerSession) GetRoleAdmin(role [32]byte) ([32]byte, error)
GetRoleAdmin is a free data retrieval call binding the contract method 0x248a9ca3.
Solidity: function getRoleAdmin(bytes32 role) constant returns(bytes32)
func (*AccessControlCallerSession) GetRoleMember ¶
func (_AccessControl *AccessControlCallerSession) GetRoleMember(role [32]byte, index *big.Int) (common.Address, error)
GetRoleMember is a free data retrieval call binding the contract method 0x9010d07c.
Solidity: function getRoleMember(bytes32 role, uint256 index) constant returns(address)
func (*AccessControlCallerSession) GetRoleMemberCount ¶
func (_AccessControl *AccessControlCallerSession) GetRoleMemberCount(role [32]byte) (*big.Int, error)
GetRoleMemberCount is a free data retrieval call binding the contract method 0xca15c873.
Solidity: function getRoleMemberCount(bytes32 role) constant returns(uint256)
func (*AccessControlCallerSession) HasRole ¶
func (_AccessControl *AccessControlCallerSession) HasRole(role [32]byte, account common.Address) (bool, error)
HasRole is a free data retrieval call binding the contract method 0x91d14854.
Solidity: function hasRole(bytes32 role, address account) constant returns(bool)
type AccessControlFilterer ¶
type AccessControlFilterer struct {
// contains filtered or unexported fields
}
AccessControlFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewAccessControlFilterer ¶
func NewAccessControlFilterer(address common.Address, filterer bind.ContractFilterer) (*AccessControlFilterer, error)
NewAccessControlFilterer creates a new log filterer instance of AccessControl, bound to a specific deployed contract.
func (*AccessControlFilterer) FilterRoleAdminChanged ¶
func (_AccessControl *AccessControlFilterer) FilterRoleAdminChanged(opts *bind.FilterOpts, role [][32]byte, previousAdminRole [][32]byte, newAdminRole [][32]byte) (*AccessControlRoleAdminChangedIterator, error)
FilterRoleAdminChanged is a free log retrieval operation binding the contract event 0xbd79b86ffe0ab8e8776151514217cd7cacd52c909f66475c3af44e129f0b00ff.
Solidity: event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)
func (*AccessControlFilterer) FilterRoleGranted ¶
func (_AccessControl *AccessControlFilterer) FilterRoleGranted(opts *bind.FilterOpts, role [][32]byte, account []common.Address, sender []common.Address) (*AccessControlRoleGrantedIterator, error)
FilterRoleGranted is a free log retrieval operation binding the contract event 0x2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d.
Solidity: event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)
func (*AccessControlFilterer) FilterRoleRevoked ¶
func (_AccessControl *AccessControlFilterer) FilterRoleRevoked(opts *bind.FilterOpts, role [][32]byte, account []common.Address, sender []common.Address) (*AccessControlRoleRevokedIterator, error)
FilterRoleRevoked is a free log retrieval operation binding the contract event 0xf6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b.
Solidity: event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)
func (*AccessControlFilterer) ParseRoleAdminChanged ¶
func (_AccessControl *AccessControlFilterer) ParseRoleAdminChanged(log types.Log) (*AccessControlRoleAdminChanged, error)
ParseRoleAdminChanged is a log parse operation binding the contract event 0xbd79b86ffe0ab8e8776151514217cd7cacd52c909f66475c3af44e129f0b00ff.
Solidity: event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)
func (*AccessControlFilterer) ParseRoleGranted ¶
func (_AccessControl *AccessControlFilterer) ParseRoleGranted(log types.Log) (*AccessControlRoleGranted, error)
ParseRoleGranted is a log parse operation binding the contract event 0x2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d.
Solidity: event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)
func (*AccessControlFilterer) ParseRoleRevoked ¶
func (_AccessControl *AccessControlFilterer) ParseRoleRevoked(log types.Log) (*AccessControlRoleRevoked, error)
ParseRoleRevoked is a log parse operation binding the contract event 0xf6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b.
Solidity: event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)
func (*AccessControlFilterer) TryParseLog ¶
func (_AccessControl *AccessControlFilterer) TryParseLog(log types.Log) (eventName string, event interface{}, ok bool, err error)
TryParseLog attempts to parse a log. Returns the parsed log, evenName and whether it was succesfull
func (*AccessControlFilterer) WatchRoleAdminChanged ¶
func (_AccessControl *AccessControlFilterer) WatchRoleAdminChanged(opts *bind.WatchOpts, sink chan<- *AccessControlRoleAdminChanged, role [][32]byte, previousAdminRole [][32]byte, newAdminRole [][32]byte) (event.Subscription, error)
WatchRoleAdminChanged is a free log subscription operation binding the contract event 0xbd79b86ffe0ab8e8776151514217cd7cacd52c909f66475c3af44e129f0b00ff.
Solidity: event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)
func (*AccessControlFilterer) WatchRoleGranted ¶
func (_AccessControl *AccessControlFilterer) WatchRoleGranted(opts *bind.WatchOpts, sink chan<- *AccessControlRoleGranted, role [][32]byte, account []common.Address, sender []common.Address) (event.Subscription, error)
WatchRoleGranted is a free log subscription operation binding the contract event 0x2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d.
Solidity: event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)
func (*AccessControlFilterer) WatchRoleRevoked ¶
func (_AccessControl *AccessControlFilterer) WatchRoleRevoked(opts *bind.WatchOpts, sink chan<- *AccessControlRoleRevoked, role [][32]byte, account []common.Address, sender []common.Address) (event.Subscription, error)
WatchRoleRevoked is a free log subscription operation binding the contract event 0xf6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b.
Solidity: event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)
type AccessControlRaw ¶
type AccessControlRaw struct {
Contract *AccessControl // Generic contract binding to access the raw methods on
}
AccessControlRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*AccessControlRaw) Call ¶
func (_AccessControl *AccessControlRaw) 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 (*AccessControlRaw) Transact ¶
func (_AccessControl *AccessControlRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*AccessControlRaw) Transfer ¶
func (_AccessControl *AccessControlRaw) 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 AccessControlRoleAdminChanged ¶
type AccessControlRoleAdminChanged struct { Role [32]byte PreviousAdminRole [32]byte NewAdminRole [32]byte Raw types.Log // Blockchain specific contextual infos }
AccessControlRoleAdminChanged represents a RoleAdminChanged event raised by the AccessControl contract.
type AccessControlRoleAdminChangedIterator ¶
type AccessControlRoleAdminChangedIterator struct { Event *AccessControlRoleAdminChanged // Event containing the contract specifics and raw log // contains filtered or unexported fields }
AccessControlRoleAdminChangedIterator is returned from FilterRoleAdminChanged and is used to iterate over the raw logs and unpacked data for RoleAdminChanged events raised by the AccessControl contract.
func (*AccessControlRoleAdminChangedIterator) Close ¶
func (it *AccessControlRoleAdminChangedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*AccessControlRoleAdminChangedIterator) Error ¶
func (it *AccessControlRoleAdminChangedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*AccessControlRoleAdminChangedIterator) Next ¶
func (it *AccessControlRoleAdminChangedIterator) 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 AccessControlRoleGranted ¶
type AccessControlRoleGranted struct { Role [32]byte Account common.Address Sender common.Address Raw types.Log // Blockchain specific contextual infos }
AccessControlRoleGranted represents a RoleGranted event raised by the AccessControl contract.
type AccessControlRoleGrantedIterator ¶
type AccessControlRoleGrantedIterator struct { Event *AccessControlRoleGranted // Event containing the contract specifics and raw log // contains filtered or unexported fields }
AccessControlRoleGrantedIterator is returned from FilterRoleGranted and is used to iterate over the raw logs and unpacked data for RoleGranted events raised by the AccessControl contract.
func (*AccessControlRoleGrantedIterator) Close ¶
func (it *AccessControlRoleGrantedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*AccessControlRoleGrantedIterator) Error ¶
func (it *AccessControlRoleGrantedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*AccessControlRoleGrantedIterator) Next ¶
func (it *AccessControlRoleGrantedIterator) 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 AccessControlRoleRevoked ¶
type AccessControlRoleRevoked struct { Role [32]byte Account common.Address Sender common.Address Raw types.Log // Blockchain specific contextual infos }
AccessControlRoleRevoked represents a RoleRevoked event raised by the AccessControl contract.
type AccessControlRoleRevokedIterator ¶
type AccessControlRoleRevokedIterator struct { Event *AccessControlRoleRevoked // Event containing the contract specifics and raw log // contains filtered or unexported fields }
AccessControlRoleRevokedIterator is returned from FilterRoleRevoked and is used to iterate over the raw logs and unpacked data for RoleRevoked events raised by the AccessControl contract.
func (*AccessControlRoleRevokedIterator) Close ¶
func (it *AccessControlRoleRevokedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*AccessControlRoleRevokedIterator) Error ¶
func (it *AccessControlRoleRevokedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*AccessControlRoleRevokedIterator) Next ¶
func (it *AccessControlRoleRevokedIterator) 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 AccessControlSession ¶
type AccessControlSession struct { Contract *AccessControl // 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 }
AccessControlSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*AccessControlSession) DEFAULTADMINROLE ¶
func (_AccessControl *AccessControlSession) DEFAULTADMINROLE() ([32]byte, error)
DEFAULTADMINROLE is a free data retrieval call binding the contract method 0xa217fddf.
Solidity: function DEFAULT_ADMIN_ROLE() constant returns(bytes32)
func (*AccessControlSession) GetRoleAdmin ¶
func (_AccessControl *AccessControlSession) GetRoleAdmin(role [32]byte) ([32]byte, error)
GetRoleAdmin is a free data retrieval call binding the contract method 0x248a9ca3.
Solidity: function getRoleAdmin(bytes32 role) constant returns(bytes32)
func (*AccessControlSession) GetRoleMember ¶
func (_AccessControl *AccessControlSession) GetRoleMember(role [32]byte, index *big.Int) (common.Address, error)
GetRoleMember is a free data retrieval call binding the contract method 0x9010d07c.
Solidity: function getRoleMember(bytes32 role, uint256 index) constant returns(address)
func (*AccessControlSession) GetRoleMemberCount ¶
func (_AccessControl *AccessControlSession) GetRoleMemberCount(role [32]byte) (*big.Int, error)
GetRoleMemberCount is a free data retrieval call binding the contract method 0xca15c873.
Solidity: function getRoleMemberCount(bytes32 role) constant returns(uint256)
func (*AccessControlSession) GrantRole ¶
func (_AccessControl *AccessControlSession) GrantRole(role [32]byte, account common.Address) (*types.Transaction, error)
GrantRole is a paid mutator transaction binding the contract method 0x2f2ff15d.
Solidity: function grantRole(bytes32 role, address account) returns()
func (*AccessControlSession) HasRole ¶
func (_AccessControl *AccessControlSession) HasRole(role [32]byte, account common.Address) (bool, error)
HasRole is a free data retrieval call binding the contract method 0x91d14854.
Solidity: function hasRole(bytes32 role, address account) constant returns(bool)
func (*AccessControlSession) RenounceRole ¶
func (_AccessControl *AccessControlSession) RenounceRole(role [32]byte, account common.Address) (*types.Transaction, error)
RenounceRole is a paid mutator transaction binding the contract method 0x36568abe.
Solidity: function renounceRole(bytes32 role, address account) returns()
func (*AccessControlSession) RevokeRole ¶
func (_AccessControl *AccessControlSession) RevokeRole(role [32]byte, account common.Address) (*types.Transaction, error)
RevokeRole is a paid mutator transaction binding the contract method 0xd547741f.
Solidity: function revokeRole(bytes32 role, address account) returns()
type AccessControlTransactor ¶
type AccessControlTransactor struct {
// contains filtered or unexported fields
}
AccessControlTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewAccessControlTransactor ¶
func NewAccessControlTransactor(address common.Address, transactor bind.ContractTransactor) (*AccessControlTransactor, error)
NewAccessControlTransactor creates a new write-only instance of AccessControl, bound to a specific deployed contract.
func (*AccessControlTransactor) GrantRole ¶
func (_AccessControl *AccessControlTransactor) GrantRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)
GrantRole is a paid mutator transaction binding the contract method 0x2f2ff15d.
Solidity: function grantRole(bytes32 role, address account) returns()
func (*AccessControlTransactor) RenounceRole ¶
func (_AccessControl *AccessControlTransactor) RenounceRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)
RenounceRole is a paid mutator transaction binding the contract method 0x36568abe.
Solidity: function renounceRole(bytes32 role, address account) returns()
func (*AccessControlTransactor) RevokeRole ¶
func (_AccessControl *AccessControlTransactor) RevokeRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)
RevokeRole is a paid mutator transaction binding the contract method 0xd547741f.
Solidity: function revokeRole(bytes32 role, address account) returns()
type AccessControlTransactorRaw ¶
type AccessControlTransactorRaw struct {
Contract *AccessControlTransactor // Generic write-only contract binding to access the raw methods on
}
AccessControlTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*AccessControlTransactorRaw) Transact ¶
func (_AccessControl *AccessControlTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*AccessControlTransactorRaw) Transfer ¶
func (_AccessControl *AccessControlTransactorRaw) 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 AccessControlTransactorSession ¶
type AccessControlTransactorSession struct { Contract *AccessControlTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
AccessControlTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*AccessControlTransactorSession) GrantRole ¶
func (_AccessControl *AccessControlTransactorSession) GrantRole(role [32]byte, account common.Address) (*types.Transaction, error)
GrantRole is a paid mutator transaction binding the contract method 0x2f2ff15d.
Solidity: function grantRole(bytes32 role, address account) returns()
func (*AccessControlTransactorSession) RenounceRole ¶
func (_AccessControl *AccessControlTransactorSession) RenounceRole(role [32]byte, account common.Address) (*types.Transaction, error)
RenounceRole is a paid mutator transaction binding the contract method 0x36568abe.
Solidity: function renounceRole(bytes32 role, address account) returns()
func (*AccessControlTransactorSession) RevokeRole ¶
func (_AccessControl *AccessControlTransactorSession) RevokeRole(role [32]byte, account common.Address) (*types.Transaction, error)
RevokeRole is a paid mutator transaction binding the contract method 0xd547741f.
Solidity: function revokeRole(bytes32 role, address account) returns()