contract

package
v0.0.0-...-cc9b3d1 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2021 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const ContractABI = "" /* 1202-byte string literal not displayed */

ContractABI is the input ABI used to generate the binding from.

View Source
const ContractBin = `` /* 7776-byte string literal not displayed */

ContractBin is the compiled bytecode used for deploying new contracts.

Variables

This section is empty.

Functions

This section is empty.

Types

type Contract

type Contract struct {
	ContractCaller     // Read-only binding to the contract
	ContractTransactor // Write-only binding to the contract
	ContractFilterer   // Log filterer for contract events
}

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

func DeployContract

func DeployContract(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *Contract, error)

DeployContract deploys a new Ethereum contract, binding an instance of Contract to it.

func NewContract

func NewContract(address common.Address, backend bind.ContractBackend) (*Contract, error)

NewContract creates a new instance of Contract, bound to a specific deployed contract.

type ContractCaller

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

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

func NewContractCaller

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

NewContractCaller creates a new read-only instance of Contract, bound to a specific deployed contract.

func (*ContractCaller) GetAuthorities

func (_Contract *ContractCaller) GetAuthorities(opts *bind.CallOpts) ([]common.Address, error)

GetAuthorities is a free data retrieval call binding the contract method 0xc21b4865.

Solidity: function getAuthorities() constant returns(address[] outArray_)

func (*ContractCaller) GetOwner

func (_Contract *ContractCaller) GetOwner(opts *bind.CallOpts) (common.Address, error)

GetOwner is a free data retrieval call binding the contract method 0x893d20e8.

Solidity: function getOwner() constant returns(address owner)

func (*ContractCaller) IsAuthority

func (_Contract *ContractCaller) IsAuthority(opts *bind.CallOpts, toCheck common.Address) (bool, error)

IsAuthority is a free data retrieval call binding the contract method 0x2330f247.

Solidity: function isAuthority(address toCheck) constant returns(bool)

type ContractCallerRaw

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

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

func (*ContractCallerRaw) Call

func (_Contract *ContractCallerRaw) 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 ContractCallerSession

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

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

func (*ContractCallerSession) GetAuthorities

func (_Contract *ContractCallerSession) GetAuthorities() ([]common.Address, error)

GetAuthorities is a free data retrieval call binding the contract method 0xc21b4865.

Solidity: function getAuthorities() constant returns(address[] outArray_)

func (*ContractCallerSession) GetOwner

func (_Contract *ContractCallerSession) GetOwner() (common.Address, error)

GetOwner is a free data retrieval call binding the contract method 0x893d20e8.

Solidity: function getOwner() constant returns(address owner)

func (*ContractCallerSession) IsAuthority

func (_Contract *ContractCallerSession) IsAuthority(toCheck common.Address) (bool, error)

IsAuthority is a free data retrieval call binding the contract method 0x2330f247.

Solidity: function isAuthority(address toCheck) constant returns(bool)

type ContractFilterer

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

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

func NewContractFilterer

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

NewContractFilterer creates a new log filterer instance of Contract, bound to a specific deployed contract.

type ContractRaw

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

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

func (*ContractRaw) Call

func (_Contract *ContractRaw) 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 (*ContractRaw) Transact

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

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

func (*ContractRaw) Transfer

func (_Contract *ContractRaw) 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 ContractSession

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

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

func (*ContractSession) AddAuthority

func (_Contract *ContractSession) AddAuthority(newAuthority common.Address, ethAddress common.Address) (*types.Transaction, error)

AddAuthority is a paid mutator transaction binding the contract method 0xbbcf1a5d.

Solidity: function addAuthority(address newAuthority, address ethAddress) returns(bool)

func (*ContractSession) GetAuthorities

func (_Contract *ContractSession) GetAuthorities() ([]common.Address, error)

GetAuthorities is a free data retrieval call binding the contract method 0xc21b4865.

Solidity: function getAuthorities() constant returns(address[] outArray_)

func (*ContractSession) GetOwner

func (_Contract *ContractSession) GetOwner() (common.Address, error)

GetOwner is a free data retrieval call binding the contract method 0x893d20e8.

Solidity: function getOwner() constant returns(address owner)

func (*ContractSession) IsAuthority

func (_Contract *ContractSession) IsAuthority(toCheck common.Address) (bool, error)

IsAuthority is a free data retrieval call binding the contract method 0x2330f247.

Solidity: function isAuthority(address toCheck) constant returns(bool)

func (*ContractSession) RemoveAuthority

func (_Contract *ContractSession) RemoveAuthority(oldAuthority common.Address) (*types.Transaction, error)

RemoveAuthority is a paid mutator transaction binding the contract method 0xd544e010.

Solidity: function removeAuthority(address oldAuthority) returns(bool)

type ContractTransactor

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

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

func NewContractTransactor

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

NewContractTransactor creates a new write-only instance of Contract, bound to a specific deployed contract.

func (*ContractTransactor) AddAuthority

func (_Contract *ContractTransactor) AddAuthority(opts *bind.TransactOpts, newAuthority common.Address, ethAddress common.Address) (*types.Transaction, error)

AddAuthority is a paid mutator transaction binding the contract method 0xbbcf1a5d.

Solidity: function addAuthority(address newAuthority, address ethAddress) returns(bool)

func (*ContractTransactor) RemoveAuthority

func (_Contract *ContractTransactor) RemoveAuthority(opts *bind.TransactOpts, oldAuthority common.Address) (*types.Transaction, error)

RemoveAuthority is a paid mutator transaction binding the contract method 0xd544e010.

Solidity: function removeAuthority(address oldAuthority) returns(bool)

type ContractTransactorRaw

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

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

func (*ContractTransactorRaw) Transact

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

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

func (*ContractTransactorRaw) Transfer

func (_Contract *ContractTransactorRaw) 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 ContractTransactorSession

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

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

func (*ContractTransactorSession) AddAuthority

func (_Contract *ContractTransactorSession) AddAuthority(newAuthority common.Address, ethAddress common.Address) (*types.Transaction, error)

AddAuthority is a paid mutator transaction binding the contract method 0xbbcf1a5d.

Solidity: function addAuthority(address newAuthority, address ethAddress) returns(bool)

func (*ContractTransactorSession) RemoveAuthority

func (_Contract *ContractTransactorSession) RemoveAuthority(oldAuthority common.Address) (*types.Transaction, error)

RemoveAuthority is a paid mutator transaction binding the contract method 0xd544e010.

Solidity: function removeAuthority(address oldAuthority) returns(bool)

Jump to

Keyboard shortcuts

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