polygonaccesscontrolupgradeable

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2024 License: AGPL-3.0, AGPL-3.0-or-later Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var PolygonaccesscontrolupgradeableABI = PolygonaccesscontrolupgradeableMetaData.ABI

PolygonaccesscontrolupgradeableABI is the input ABI used to generate the binding from. Deprecated: Use PolygonaccesscontrolupgradeableMetaData.ABI instead.

View Source
var PolygonaccesscontrolupgradeableMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[],\"name\":\"AccessControlOnlyCanRenounceRolesForSelf\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"AddressDoNotHaveRequiredRole\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint8\",\"name\":\"version\",\"type\":\"uint8\"}],\"name\":\"Initialized\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"previousAdminRole\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"newAdminRole\",\"type\":\"bytes32\"}],\"name\":\"RoleAdminChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"RoleGranted\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"RoleRevoked\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"DEFAULT_ADMIN_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"}],\"name\":\"getRoleAdmin\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"grantRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"hasRole\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"renounceRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"revokeRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}

PolygonaccesscontrolupgradeableMetaData contains all meta data concerning the Polygonaccesscontrolupgradeable contract.

Functions

This section is empty.

Types

type Polygonaccesscontrolupgradeable

type Polygonaccesscontrolupgradeable struct {
	PolygonaccesscontrolupgradeableCaller     // Read-only binding to the contract
	PolygonaccesscontrolupgradeableTransactor // Write-only binding to the contract
	PolygonaccesscontrolupgradeableFilterer   // Log filterer for contract events
}

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

func NewPolygonaccesscontrolupgradeable

func NewPolygonaccesscontrolupgradeable(address common.Address, backend bind.ContractBackend) (*Polygonaccesscontrolupgradeable, error)

NewPolygonaccesscontrolupgradeable creates a new instance of Polygonaccesscontrolupgradeable, bound to a specific deployed contract.

type PolygonaccesscontrolupgradeableCaller

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

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

func NewPolygonaccesscontrolupgradeableCaller

func NewPolygonaccesscontrolupgradeableCaller(address common.Address, caller bind.ContractCaller) (*PolygonaccesscontrolupgradeableCaller, error)

NewPolygonaccesscontrolupgradeableCaller creates a new read-only instance of Polygonaccesscontrolupgradeable, bound to a specific deployed contract.

func (*PolygonaccesscontrolupgradeableCaller) DEFAULTADMINROLE

func (_Polygonaccesscontrolupgradeable *PolygonaccesscontrolupgradeableCaller) DEFAULTADMINROLE(opts *bind.CallOpts) ([32]byte, error)

DEFAULTADMINROLE is a free data retrieval call binding the contract method 0xa217fddf.

Solidity: function DEFAULT_ADMIN_ROLE() view returns(bytes32)

func (*PolygonaccesscontrolupgradeableCaller) GetRoleAdmin

func (_Polygonaccesscontrolupgradeable *PolygonaccesscontrolupgradeableCaller) 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) view returns(bytes32)

func (*PolygonaccesscontrolupgradeableCaller) HasRole

func (_Polygonaccesscontrolupgradeable *PolygonaccesscontrolupgradeableCaller) 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) view returns(bool)

type PolygonaccesscontrolupgradeableCallerRaw

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

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

func (*PolygonaccesscontrolupgradeableCallerRaw) Call

func (_Polygonaccesscontrolupgradeable *PolygonaccesscontrolupgradeableCallerRaw) 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 PolygonaccesscontrolupgradeableCallerSession

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

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

func (*PolygonaccesscontrolupgradeableCallerSession) DEFAULTADMINROLE

func (_Polygonaccesscontrolupgradeable *PolygonaccesscontrolupgradeableCallerSession) DEFAULTADMINROLE() ([32]byte, error)

DEFAULTADMINROLE is a free data retrieval call binding the contract method 0xa217fddf.

Solidity: function DEFAULT_ADMIN_ROLE() view returns(bytes32)

func (*PolygonaccesscontrolupgradeableCallerSession) GetRoleAdmin

func (_Polygonaccesscontrolupgradeable *PolygonaccesscontrolupgradeableCallerSession) GetRoleAdmin(role [32]byte) ([32]byte, error)

GetRoleAdmin is a free data retrieval call binding the contract method 0x248a9ca3.

Solidity: function getRoleAdmin(bytes32 role) view returns(bytes32)

func (*PolygonaccesscontrolupgradeableCallerSession) HasRole

func (_Polygonaccesscontrolupgradeable *PolygonaccesscontrolupgradeableCallerSession) 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) view returns(bool)

type PolygonaccesscontrolupgradeableFilterer

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

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

func NewPolygonaccesscontrolupgradeableFilterer

func NewPolygonaccesscontrolupgradeableFilterer(address common.Address, filterer bind.ContractFilterer) (*PolygonaccesscontrolupgradeableFilterer, error)

NewPolygonaccesscontrolupgradeableFilterer creates a new log filterer instance of Polygonaccesscontrolupgradeable, bound to a specific deployed contract.

func (*PolygonaccesscontrolupgradeableFilterer) FilterInitialized

func (_Polygonaccesscontrolupgradeable *PolygonaccesscontrolupgradeableFilterer) FilterInitialized(opts *bind.FilterOpts) (*PolygonaccesscontrolupgradeableInitializedIterator, error)

FilterInitialized is a free log retrieval operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.

Solidity: event Initialized(uint8 version)

func (*PolygonaccesscontrolupgradeableFilterer) FilterRoleAdminChanged

func (_Polygonaccesscontrolupgradeable *PolygonaccesscontrolupgradeableFilterer) FilterRoleAdminChanged(opts *bind.FilterOpts, role [][32]byte, previousAdminRole [][32]byte, newAdminRole [][32]byte) (*PolygonaccesscontrolupgradeableRoleAdminChangedIterator, 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 (*PolygonaccesscontrolupgradeableFilterer) FilterRoleGranted

func (_Polygonaccesscontrolupgradeable *PolygonaccesscontrolupgradeableFilterer) FilterRoleGranted(opts *bind.FilterOpts, role [][32]byte, account []common.Address, sender []common.Address) (*PolygonaccesscontrolupgradeableRoleGrantedIterator, 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 (*PolygonaccesscontrolupgradeableFilterer) FilterRoleRevoked

func (_Polygonaccesscontrolupgradeable *PolygonaccesscontrolupgradeableFilterer) FilterRoleRevoked(opts *bind.FilterOpts, role [][32]byte, account []common.Address, sender []common.Address) (*PolygonaccesscontrolupgradeableRoleRevokedIterator, 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 (*PolygonaccesscontrolupgradeableFilterer) ParseInitialized

func (_Polygonaccesscontrolupgradeable *PolygonaccesscontrolupgradeableFilterer) ParseInitialized(log types.Log) (*PolygonaccesscontrolupgradeableInitialized, error)

ParseInitialized is a log parse operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.

Solidity: event Initialized(uint8 version)

func (*PolygonaccesscontrolupgradeableFilterer) ParseRoleAdminChanged

func (_Polygonaccesscontrolupgradeable *PolygonaccesscontrolupgradeableFilterer) ParseRoleAdminChanged(log types.Log) (*PolygonaccesscontrolupgradeableRoleAdminChanged, 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 (*PolygonaccesscontrolupgradeableFilterer) ParseRoleGranted

func (_Polygonaccesscontrolupgradeable *PolygonaccesscontrolupgradeableFilterer) ParseRoleGranted(log types.Log) (*PolygonaccesscontrolupgradeableRoleGranted, 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 (*PolygonaccesscontrolupgradeableFilterer) ParseRoleRevoked

func (_Polygonaccesscontrolupgradeable *PolygonaccesscontrolupgradeableFilterer) ParseRoleRevoked(log types.Log) (*PolygonaccesscontrolupgradeableRoleRevoked, 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 (*PolygonaccesscontrolupgradeableFilterer) WatchInitialized

func (_Polygonaccesscontrolupgradeable *PolygonaccesscontrolupgradeableFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *PolygonaccesscontrolupgradeableInitialized) (event.Subscription, error)

WatchInitialized is a free log subscription operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.

Solidity: event Initialized(uint8 version)

func (*PolygonaccesscontrolupgradeableFilterer) WatchRoleAdminChanged

func (_Polygonaccesscontrolupgradeable *PolygonaccesscontrolupgradeableFilterer) WatchRoleAdminChanged(opts *bind.WatchOpts, sink chan<- *PolygonaccesscontrolupgradeableRoleAdminChanged, 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 (*PolygonaccesscontrolupgradeableFilterer) WatchRoleGranted

func (_Polygonaccesscontrolupgradeable *PolygonaccesscontrolupgradeableFilterer) WatchRoleGranted(opts *bind.WatchOpts, sink chan<- *PolygonaccesscontrolupgradeableRoleGranted, 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 (*PolygonaccesscontrolupgradeableFilterer) WatchRoleRevoked

func (_Polygonaccesscontrolupgradeable *PolygonaccesscontrolupgradeableFilterer) WatchRoleRevoked(opts *bind.WatchOpts, sink chan<- *PolygonaccesscontrolupgradeableRoleRevoked, 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 PolygonaccesscontrolupgradeableInitialized

type PolygonaccesscontrolupgradeableInitialized struct {
	Version uint8
	Raw     types.Log // Blockchain specific contextual infos
}

PolygonaccesscontrolupgradeableInitialized represents a Initialized event raised by the Polygonaccesscontrolupgradeable contract.

type PolygonaccesscontrolupgradeableInitializedIterator

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

PolygonaccesscontrolupgradeableInitializedIterator is returned from FilterInitialized and is used to iterate over the raw logs and unpacked data for Initialized events raised by the Polygonaccesscontrolupgradeable contract.

func (*PolygonaccesscontrolupgradeableInitializedIterator) Close

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

func (*PolygonaccesscontrolupgradeableInitializedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*PolygonaccesscontrolupgradeableInitializedIterator) Next

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

type PolygonaccesscontrolupgradeableRaw

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

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

func (*PolygonaccesscontrolupgradeableRaw) Call

func (_Polygonaccesscontrolupgradeable *PolygonaccesscontrolupgradeableRaw) 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 (*PolygonaccesscontrolupgradeableRaw) Transact

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

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

func (*PolygonaccesscontrolupgradeableRaw) Transfer

func (_Polygonaccesscontrolupgradeable *PolygonaccesscontrolupgradeableRaw) 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 PolygonaccesscontrolupgradeableRoleAdminChanged

type PolygonaccesscontrolupgradeableRoleAdminChanged struct {
	Role              [32]byte
	PreviousAdminRole [32]byte
	NewAdminRole      [32]byte
	Raw               types.Log // Blockchain specific contextual infos
}

PolygonaccesscontrolupgradeableRoleAdminChanged represents a RoleAdminChanged event raised by the Polygonaccesscontrolupgradeable contract.

type PolygonaccesscontrolupgradeableRoleAdminChangedIterator

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

PolygonaccesscontrolupgradeableRoleAdminChangedIterator is returned from FilterRoleAdminChanged and is used to iterate over the raw logs and unpacked data for RoleAdminChanged events raised by the Polygonaccesscontrolupgradeable contract.

func (*PolygonaccesscontrolupgradeableRoleAdminChangedIterator) Close

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

func (*PolygonaccesscontrolupgradeableRoleAdminChangedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*PolygonaccesscontrolupgradeableRoleAdminChangedIterator) Next

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

type PolygonaccesscontrolupgradeableRoleGranted

type PolygonaccesscontrolupgradeableRoleGranted struct {
	Role    [32]byte
	Account common.Address
	Sender  common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

PolygonaccesscontrolupgradeableRoleGranted represents a RoleGranted event raised by the Polygonaccesscontrolupgradeable contract.

type PolygonaccesscontrolupgradeableRoleGrantedIterator

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

PolygonaccesscontrolupgradeableRoleGrantedIterator is returned from FilterRoleGranted and is used to iterate over the raw logs and unpacked data for RoleGranted events raised by the Polygonaccesscontrolupgradeable contract.

func (*PolygonaccesscontrolupgradeableRoleGrantedIterator) Close

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

func (*PolygonaccesscontrolupgradeableRoleGrantedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*PolygonaccesscontrolupgradeableRoleGrantedIterator) Next

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

type PolygonaccesscontrolupgradeableRoleRevoked

type PolygonaccesscontrolupgradeableRoleRevoked struct {
	Role    [32]byte
	Account common.Address
	Sender  common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

PolygonaccesscontrolupgradeableRoleRevoked represents a RoleRevoked event raised by the Polygonaccesscontrolupgradeable contract.

type PolygonaccesscontrolupgradeableRoleRevokedIterator

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

PolygonaccesscontrolupgradeableRoleRevokedIterator is returned from FilterRoleRevoked and is used to iterate over the raw logs and unpacked data for RoleRevoked events raised by the Polygonaccesscontrolupgradeable contract.

func (*PolygonaccesscontrolupgradeableRoleRevokedIterator) Close

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

func (*PolygonaccesscontrolupgradeableRoleRevokedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*PolygonaccesscontrolupgradeableRoleRevokedIterator) Next

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

type PolygonaccesscontrolupgradeableSession

type PolygonaccesscontrolupgradeableSession struct {
	Contract     *Polygonaccesscontrolupgradeable // 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
}

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

func (*PolygonaccesscontrolupgradeableSession) DEFAULTADMINROLE

func (_Polygonaccesscontrolupgradeable *PolygonaccesscontrolupgradeableSession) DEFAULTADMINROLE() ([32]byte, error)

DEFAULTADMINROLE is a free data retrieval call binding the contract method 0xa217fddf.

Solidity: function DEFAULT_ADMIN_ROLE() view returns(bytes32)

func (*PolygonaccesscontrolupgradeableSession) GetRoleAdmin

func (_Polygonaccesscontrolupgradeable *PolygonaccesscontrolupgradeableSession) GetRoleAdmin(role [32]byte) ([32]byte, error)

GetRoleAdmin is a free data retrieval call binding the contract method 0x248a9ca3.

Solidity: function getRoleAdmin(bytes32 role) view returns(bytes32)

func (*PolygonaccesscontrolupgradeableSession) GrantRole

func (_Polygonaccesscontrolupgradeable *PolygonaccesscontrolupgradeableSession) 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 (*PolygonaccesscontrolupgradeableSession) HasRole

func (_Polygonaccesscontrolupgradeable *PolygonaccesscontrolupgradeableSession) 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) view returns(bool)

func (*PolygonaccesscontrolupgradeableSession) RenounceRole

func (_Polygonaccesscontrolupgradeable *PolygonaccesscontrolupgradeableSession) 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 (*PolygonaccesscontrolupgradeableSession) RevokeRole

func (_Polygonaccesscontrolupgradeable *PolygonaccesscontrolupgradeableSession) 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 PolygonaccesscontrolupgradeableTransactor

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

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

func NewPolygonaccesscontrolupgradeableTransactor

func NewPolygonaccesscontrolupgradeableTransactor(address common.Address, transactor bind.ContractTransactor) (*PolygonaccesscontrolupgradeableTransactor, error)

NewPolygonaccesscontrolupgradeableTransactor creates a new write-only instance of Polygonaccesscontrolupgradeable, bound to a specific deployed contract.

func (*PolygonaccesscontrolupgradeableTransactor) GrantRole

func (_Polygonaccesscontrolupgradeable *PolygonaccesscontrolupgradeableTransactor) 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 (*PolygonaccesscontrolupgradeableTransactor) RenounceRole

func (_Polygonaccesscontrolupgradeable *PolygonaccesscontrolupgradeableTransactor) 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 (*PolygonaccesscontrolupgradeableTransactor) RevokeRole

func (_Polygonaccesscontrolupgradeable *PolygonaccesscontrolupgradeableTransactor) 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 PolygonaccesscontrolupgradeableTransactorRaw

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

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

func (*PolygonaccesscontrolupgradeableTransactorRaw) Transact

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

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

func (*PolygonaccesscontrolupgradeableTransactorRaw) Transfer

func (_Polygonaccesscontrolupgradeable *PolygonaccesscontrolupgradeableTransactorRaw) 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 PolygonaccesscontrolupgradeableTransactorSession

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

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

func (*PolygonaccesscontrolupgradeableTransactorSession) GrantRole

func (_Polygonaccesscontrolupgradeable *PolygonaccesscontrolupgradeableTransactorSession) 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 (*PolygonaccesscontrolupgradeableTransactorSession) RenounceRole

func (_Polygonaccesscontrolupgradeable *PolygonaccesscontrolupgradeableTransactorSession) 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 (*PolygonaccesscontrolupgradeableTransactorSession) RevokeRole

func (_Polygonaccesscontrolupgradeable *PolygonaccesscontrolupgradeableTransactorSession) 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()

Jump to

Keyboard shortcuts

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