demo

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jun 14, 2022 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ContextABI = ContextMetaData.ABI

ContextABI is the input ABI used to generate the binding from. Deprecated: Use ContextMetaData.ABI instead.

View Source
var ContextMetaData = &bind.MetaData{
	ABI: "[]",
}

ContextMetaData contains all meta data concerning the Context contract.

View Source
var OwnableABI = OwnableMetaData.ABI

OwnableABI is the input ABI used to generate the binding from. Deprecated: Use OwnableMetaData.ABI instead.

View Source
var OwnableFuncSigs = OwnableMetaData.Sigs

Deprecated: Use OwnableMetaData.Sigs instead. OwnableFuncSigs maps the 4-byte function signature to its string representation.

View Source
var OwnableMetaData = &bind.MetaData{
	ABI: "[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
	Sigs: map[string]string{
		"8da5cb5b": "owner()",
		"715018a6": "renounceOwnership()",
		"f2fde38b": "transferOwnership(address)",
	},
}

OwnableMetaData contains all meta data concerning the Ownable contract.

View Source
var SADemoABI = SADemoMetaData.ABI

SADemoABI is the input ABI used to generate the binding from. Deprecated: Use SADemoMetaData.ABI instead.

View Source
var SADemoBin = SADemoMetaData.Bin

SADemoBin is the compiled bytecode used for deploying new contracts. Deprecated: Use SADemoMetaData.Bin instead.

View Source
var SADemoFuncSigs = SADemoMetaData.Sigs

Deprecated: Use SADemoMetaData.Sigs instead. SADemoFuncSigs maps the 4-byte function signature to its string representation.

View Source
var SADemoMetaData = &bind.MetaData{
	ABI: "[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"authAddr\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"params\",\"type\":\"bytes\"}],\"name\":\"authRequest\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"authAddr\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"params\",\"type\":\"bytes\"}],\"name\":\"authResponse\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"authAddr\",\"type\":\"address\"}],\"name\":\"trigger\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"authAddr\",\"type\":\"address\"}],\"name\":\"verified\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]",
	Sigs: map[string]string{
		"d5ed0b90": "authResponse(address,bytes)",
		"8da5cb5b": "owner()",
		"715018a6": "renounceOwnership()",
		"f2fde38b": "transferOwnership(address)",
		"6f6ff405": "trigger(address)",
		"0db065f4": "verified(address)",
	},
	Bin: "0x608060405234801561001057600080fd5b5061001a3361001f565b61006f565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6106138061007e6000396000f3fe608060405234801561001057600080fd5b50600436106100625760003560e01c80630db065f4146100675780636f6ff4051461008d578063715018a6146100a25780638da5cb5b146100aa578063d5ed0b90146100c5578063f2fde38b146100d8575b600080fd5b61007a61007536600461040a565b6100eb565b6040519081526020015b60405180910390f35b6100a061009b36600461040a565b61013f565b005b6100a06101d7565b6000546040516001600160a01b039091168152602001610084565b6100a06100d3366004610442565b61020d565b6100a06100e636600461040a565b610282565b600080546001600160a01b0316331461011f5760405162461bcd60e51b815260040161011690610504565b60405180910390fd5b506001600160a01b0381166000908152600160205260409020545b919050565b6000546001600160a01b031633146101695760405162461bcd60e51b815260040161011690610504565b6001600160a01b038116600090815260016020908152604091829020548251918201527fb9d8fb4f681a60258cd8900c5d9a36b449e6e12a30d844a13311d560e85a0b4e9183910160408051601f19818403018152908290526101cc9291610539565b60405180910390a150565b6000546001600160a01b031633146102015760405162461bcd60e51b815260040161011690610504565b61020b600061031d565b565b6000546001600160a01b0316331461025b5760405162461bcd60e51b81526020600482015260116024820152701c195c9b5a5cdcda5bdb8819195b9a5959607a1b6044820152606401610116565b600081806020019051810190610271919061059e565b905061027d838261036d565b505050565b6000546001600160a01b031633146102ac5760405162461bcd60e51b815260040161011690610504565b6001600160a01b0381166103115760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610116565b61031a8161031d565b50565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b03821660009081526001602052604090205481146103c85760405162461bcd60e51b815260206004820152601160248201527034b73b30b634b21037b832b930ba34b7b760791b6044820152606401610116565b6103d38160016105b7565b6001600160a01b0390921660009081526001602052604090209190915550565b80356001600160a01b038116811461013a57600080fd5b60006020828403121561041c57600080fd5b610425826103f3565b9392505050565b634e487b7160e01b600052604160045260246000fd5b6000806040838503121561045557600080fd5b61045e836103f3565b9150602083013567ffffffffffffffff8082111561047b57600080fd5b818501915085601f83011261048f57600080fd5b8135818111156104a1576104a161042c565b604051601f8201601f19908116603f011681019083821181831017156104c9576104c961042c565b816040528281528860208487010111156104e257600080fd5b8260208601602083013760006020848301015280955050505050509250929050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60018060a01b038316815260006020604081840152835180604085015260005b8181101561057557858101830151858201606001528201610559565b81811115610587576000606083870101525b50601f01601f191692909201606001949350505050565b6000602082840312156105b057600080fd5b5051919050565b600082198211156105d857634e487b7160e01b600052601160045260246000fd5b50019056fea264697066735822122076d95c6e61386333c7e27c0717c0f0f367ed022335fe6cc0c6c1ecd58cd9fd3964736f6c634300080e0033",
}

SADemoMetaData contains all meta data concerning the SADemo contract.

View Source
var SafeMathABI = SafeMathMetaData.ABI

SafeMathABI is the input ABI used to generate the binding from. Deprecated: Use SafeMathMetaData.ABI instead.

View Source
var SafeMathBin = SafeMathMetaData.Bin

SafeMathBin is the compiled bytecode used for deploying new contracts. Deprecated: Use SafeMathMetaData.Bin instead.

View Source
var SafeMathMetaData = &bind.MetaData{
	ABI: "[]",
	Bin: "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220d6ec644c29adc79940e9052cff36d66cc082133797ae0999bc444f21bcd9e4fc64736f6c634300080e0033",
}

SafeMathMetaData contains all meta data concerning the SafeMath contract.

View Source
var SelfAuthABI = SelfAuthMetaData.ABI

SelfAuthABI is the input ABI used to generate the binding from. Deprecated: Use SelfAuthMetaData.ABI instead.

View Source
var SelfAuthFuncSigs = SelfAuthMetaData.Sigs

Deprecated: Use SelfAuthMetaData.Sigs instead. SelfAuthFuncSigs maps the 4-byte function signature to its string representation.

View Source
var SelfAuthMetaData = &bind.MetaData{
	ABI: "[{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"authAddr\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"params\",\"type\":\"bytes\"}],\"name\":\"authRequest\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"authAddr\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"params\",\"type\":\"bytes\"}],\"name\":\"authResponse\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
	Sigs: map[string]string{
		"d5ed0b90": "authResponse(address,bytes)",
	},
}

SelfAuthMetaData contains all meta data concerning the SelfAuth contract.

Functions

func SADemoAddress

func SADemoAddress() string

Types

type Context

type Context struct {
	ContextCaller     // Read-only binding to the contract
	ContextTransactor // Write-only binding to the contract
	ContextFilterer   // Log filterer for contract events
}

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

func NewContext

func NewContext(address common.Address, backend bind.ContractBackend) (*Context, error)

NewContext creates a new instance of Context, bound to a specific deployed contract.

type ContextCaller

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

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

func NewContextCaller

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

NewContextCaller creates a new read-only instance of Context, bound to a specific deployed contract.

type ContextCallerRaw

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

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

func (*ContextCallerRaw) Call

func (_Context *ContextCallerRaw) 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 ContextCallerSession

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

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

type ContextFilterer

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

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

func NewContextFilterer

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

NewContextFilterer creates a new log filterer instance of Context, bound to a specific deployed contract.

type ContextRaw

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

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

func (*ContextRaw) Call

func (_Context *ContextRaw) 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 (*ContextRaw) Transact

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

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

func (*ContextRaw) Transfer

func (_Context *ContextRaw) 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 ContextSession

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

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

type ContextTransactor

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

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

func NewContextTransactor

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

NewContextTransactor creates a new write-only instance of Context, bound to a specific deployed contract.

type ContextTransactorRaw

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

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

func (*ContextTransactorRaw) Transact

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

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

func (*ContextTransactorRaw) Transfer

func (_Context *ContextTransactorRaw) 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 ContextTransactorSession

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

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

type Ownable

type Ownable struct {
	OwnableCaller     // Read-only binding to the contract
	OwnableTransactor // Write-only binding to the contract
	OwnableFilterer   // Log filterer for contract events
}

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

func NewOwnable

func NewOwnable(address common.Address, backend bind.ContractBackend) (*Ownable, error)

NewOwnable creates a new instance of Ownable, bound to a specific deployed contract.

type OwnableCaller

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

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

func NewOwnableCaller

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

NewOwnableCaller creates a new read-only instance of Ownable, bound to a specific deployed contract.

func (*OwnableCaller) Owner

func (_Ownable *OwnableCaller) Owner(opts *bind.CallOpts) (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

type OwnableCallerRaw

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

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

func (*OwnableCallerRaw) Call

func (_Ownable *OwnableCallerRaw) 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 OwnableCallerSession

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

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

func (*OwnableCallerSession) Owner

func (_Ownable *OwnableCallerSession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

type OwnableFilterer

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

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

func NewOwnableFilterer

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

NewOwnableFilterer creates a new log filterer instance of Ownable, bound to a specific deployed contract.

func (*OwnableFilterer) FilterOwnershipTransferred

func (_Ownable *OwnableFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*OwnableOwnershipTransferredIterator, error)

FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*OwnableFilterer) ParseOwnershipTransferred

func (_Ownable *OwnableFilterer) ParseOwnershipTransferred(log types.Log) (*OwnableOwnershipTransferred, error)

ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*OwnableFilterer) WatchOwnershipTransferred

func (_Ownable *OwnableFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *OwnableOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)

WatchOwnershipTransferred is a free log subscription operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

type OwnableOwnershipTransferred

type OwnableOwnershipTransferred struct {
	PreviousOwner common.Address
	NewOwner      common.Address
	Raw           types.Log // Blockchain specific contextual infos
}

OwnableOwnershipTransferred represents a OwnershipTransferred event raised by the Ownable contract.

type OwnableOwnershipTransferredIterator

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

OwnableOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the Ownable contract.

func (*OwnableOwnershipTransferredIterator) Close

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

func (*OwnableOwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*OwnableOwnershipTransferredIterator) 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 OwnableRaw

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

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

func (*OwnableRaw) Call

func (_Ownable *OwnableRaw) 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 (*OwnableRaw) Transact

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

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

func (*OwnableRaw) Transfer

func (_Ownable *OwnableRaw) 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 OwnableSession

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

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

func (*OwnableSession) Owner

func (_Ownable *OwnableSession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*OwnableSession) RenounceOwnership

func (_Ownable *OwnableSession) RenounceOwnership() (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*OwnableSession) TransferOwnership

func (_Ownable *OwnableSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

type OwnableTransactor

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

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

func NewOwnableTransactor

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

NewOwnableTransactor creates a new write-only instance of Ownable, bound to a specific deployed contract.

func (*OwnableTransactor) RenounceOwnership

func (_Ownable *OwnableTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*OwnableTransactor) TransferOwnership

func (_Ownable *OwnableTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

type OwnableTransactorRaw

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

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

func (*OwnableTransactorRaw) Transact

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

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

func (*OwnableTransactorRaw) Transfer

func (_Ownable *OwnableTransactorRaw) 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 OwnableTransactorSession

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

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

func (*OwnableTransactorSession) RenounceOwnership

func (_Ownable *OwnableTransactorSession) RenounceOwnership() (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*OwnableTransactorSession) TransferOwnership

func (_Ownable *OwnableTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

type SADemo

type SADemo struct {
	SADemoCaller     // Read-only binding to the contract
	SADemoTransactor // Write-only binding to the contract
	SADemoFilterer   // Log filterer for contract events
}

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

func DeploySADemo

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

DeploySADemo deploys a new Ethereum contract, binding an instance of SADemo to it.

func NewSADemo

func NewSADemo(address common.Address, backend bind.ContractBackend) (*SADemo, error)

NewSADemo creates a new instance of SADemo, bound to a specific deployed contract.

type SADemoAuthRequest

type SADemoAuthRequest struct {
	AuthAddr common.Address
	Params   []byte
	Raw      types.Log // Blockchain specific contextual infos
}

SADemoAuthRequest represents a AuthRequest event raised by the SADemo contract.

type SADemoAuthRequestIterator

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

SADemoAuthRequestIterator is returned from FilterAuthRequest and is used to iterate over the raw logs and unpacked data for AuthRequest events raised by the SADemo contract.

func (*SADemoAuthRequestIterator) Close

func (it *SADemoAuthRequestIterator) Close() error

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

func (*SADemoAuthRequestIterator) Error

func (it *SADemoAuthRequestIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*SADemoAuthRequestIterator) Next

func (it *SADemoAuthRequestIterator) 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 SADemoCaller

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

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

func NewSADemoCaller

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

NewSADemoCaller creates a new read-only instance of SADemo, bound to a specific deployed contract.

func (*SADemoCaller) Owner

func (_SADemo *SADemoCaller) Owner(opts *bind.CallOpts) (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*SADemoCaller) Verified

func (_SADemo *SADemoCaller) Verified(opts *bind.CallOpts, authAddr common.Address) (*big.Int, error)

Verified is a free data retrieval call binding the contract method 0x0db065f4.

Solidity: function verified(address authAddr) view returns(uint256)

type SADemoCallerRaw

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

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

func (*SADemoCallerRaw) Call

func (_SADemo *SADemoCallerRaw) 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 SADemoCallerSession

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

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

func (*SADemoCallerSession) Owner

func (_SADemo *SADemoCallerSession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*SADemoCallerSession) Verified

func (_SADemo *SADemoCallerSession) Verified(authAddr common.Address) (*big.Int, error)

Verified is a free data retrieval call binding the contract method 0x0db065f4.

Solidity: function verified(address authAddr) view returns(uint256)

type SADemoFilterer

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

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

func NewSADemoFilterer

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

NewSADemoFilterer creates a new log filterer instance of SADemo, bound to a specific deployed contract.

func (*SADemoFilterer) FilterAuthRequest

func (_SADemo *SADemoFilterer) FilterAuthRequest(opts *bind.FilterOpts) (*SADemoAuthRequestIterator, error)

FilterAuthRequest is a free log retrieval operation binding the contract event 0xb9d8fb4f681a60258cd8900c5d9a36b449e6e12a30d844a13311d560e85a0b4e.

Solidity: event authRequest(address authAddr, bytes params)

func (*SADemoFilterer) FilterOwnershipTransferred

func (_SADemo *SADemoFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*SADemoOwnershipTransferredIterator, error)

FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*SADemoFilterer) ParseAuthRequest

func (_SADemo *SADemoFilterer) ParseAuthRequest(log types.Log) (*SADemoAuthRequest, error)

ParseAuthRequest is a log parse operation binding the contract event 0xb9d8fb4f681a60258cd8900c5d9a36b449e6e12a30d844a13311d560e85a0b4e.

Solidity: event authRequest(address authAddr, bytes params)

func (*SADemoFilterer) ParseOwnershipTransferred

func (_SADemo *SADemoFilterer) ParseOwnershipTransferred(log types.Log) (*SADemoOwnershipTransferred, error)

ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*SADemoFilterer) WatchAuthRequest

func (_SADemo *SADemoFilterer) WatchAuthRequest(opts *bind.WatchOpts, sink chan<- *SADemoAuthRequest) (event.Subscription, error)

WatchAuthRequest is a free log subscription operation binding the contract event 0xb9d8fb4f681a60258cd8900c5d9a36b449e6e12a30d844a13311d560e85a0b4e.

Solidity: event authRequest(address authAddr, bytes params)

func (*SADemoFilterer) WatchOwnershipTransferred

func (_SADemo *SADemoFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *SADemoOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)

WatchOwnershipTransferred is a free log subscription operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

type SADemoOwnershipTransferred

type SADemoOwnershipTransferred struct {
	PreviousOwner common.Address
	NewOwner      common.Address
	Raw           types.Log // Blockchain specific contextual infos
}

SADemoOwnershipTransferred represents a OwnershipTransferred event raised by the SADemo contract.

type SADemoOwnershipTransferredIterator

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

SADemoOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the SADemo contract.

func (*SADemoOwnershipTransferredIterator) Close

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

func (*SADemoOwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*SADemoOwnershipTransferredIterator) 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 SADemoRaw

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

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

func (*SADemoRaw) Call

func (_SADemo *SADemoRaw) 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 (*SADemoRaw) Transact

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

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

func (*SADemoRaw) Transfer

func (_SADemo *SADemoRaw) 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 SADemoSession

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

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

func SADemoInit

func SADemoInit(ctx context.Context, client *ethclient.Client, fGetParam func(string) string, contractDatas ...interface{}) (*SADemoSession, error)

func (*SADemoSession) AuthResponse

func (_SADemo *SADemoSession) AuthResponse(authAddr common.Address, params []byte) (*types.Transaction, error)

AuthResponse is a paid mutator transaction binding the contract method 0xd5ed0b90.

Solidity: function authResponse(address authAddr, bytes params) returns()

func (*SADemoSession) Owner

func (_SADemo *SADemoSession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*SADemoSession) RenounceOwnership

func (_SADemo *SADemoSession) RenounceOwnership() (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*SADemoSession) TransferOwnership

func (_SADemo *SADemoSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

func (*SADemoSession) Trigger

func (_SADemo *SADemoSession) Trigger(authAddr common.Address) (*types.Transaction, error)

Trigger is a paid mutator transaction binding the contract method 0x6f6ff405.

Solidity: function trigger(address authAddr) returns()

func (*SADemoSession) Verified

func (_SADemo *SADemoSession) Verified(authAddr common.Address) (*big.Int, error)

Verified is a free data retrieval call binding the contract method 0x0db065f4.

Solidity: function verified(address authAddr) view returns(uint256)

type SADemoTransactor

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

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

func NewSADemoTransactor

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

NewSADemoTransactor creates a new write-only instance of SADemo, bound to a specific deployed contract.

func (*SADemoTransactor) AuthResponse

func (_SADemo *SADemoTransactor) AuthResponse(opts *bind.TransactOpts, authAddr common.Address, params []byte) (*types.Transaction, error)

AuthResponse is a paid mutator transaction binding the contract method 0xd5ed0b90.

Solidity: function authResponse(address authAddr, bytes params) returns()

func (*SADemoTransactor) RenounceOwnership

func (_SADemo *SADemoTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*SADemoTransactor) TransferOwnership

func (_SADemo *SADemoTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

func (*SADemoTransactor) Trigger

func (_SADemo *SADemoTransactor) Trigger(opts *bind.TransactOpts, authAddr common.Address) (*types.Transaction, error)

Trigger is a paid mutator transaction binding the contract method 0x6f6ff405.

Solidity: function trigger(address authAddr) returns()

type SADemoTransactorRaw

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

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

func (*SADemoTransactorRaw) Transact

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

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

func (*SADemoTransactorRaw) Transfer

func (_SADemo *SADemoTransactorRaw) 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 SADemoTransactorSession

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

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

func (*SADemoTransactorSession) AuthResponse

func (_SADemo *SADemoTransactorSession) AuthResponse(authAddr common.Address, params []byte) (*types.Transaction, error)

AuthResponse is a paid mutator transaction binding the contract method 0xd5ed0b90.

Solidity: function authResponse(address authAddr, bytes params) returns()

func (*SADemoTransactorSession) RenounceOwnership

func (_SADemo *SADemoTransactorSession) RenounceOwnership() (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*SADemoTransactorSession) TransferOwnership

func (_SADemo *SADemoTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

func (*SADemoTransactorSession) Trigger

func (_SADemo *SADemoTransactorSession) Trigger(authAddr common.Address) (*types.Transaction, error)

Trigger is a paid mutator transaction binding the contract method 0x6f6ff405.

Solidity: function trigger(address authAddr) returns()

type SafeMath

type SafeMath struct {
	SafeMathCaller     // Read-only binding to the contract
	SafeMathTransactor // Write-only binding to the contract
	SafeMathFilterer   // Log filterer for contract events
}

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

func DeploySafeMath

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

DeploySafeMath deploys a new Ethereum contract, binding an instance of SafeMath to it.

func NewSafeMath

func NewSafeMath(address common.Address, backend bind.ContractBackend) (*SafeMath, error)

NewSafeMath creates a new instance of SafeMath, bound to a specific deployed contract.

type SafeMathCaller

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

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

func NewSafeMathCaller

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

NewSafeMathCaller creates a new read-only instance of SafeMath, bound to a specific deployed contract.

type SafeMathCallerRaw

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

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

func (*SafeMathCallerRaw) Call

func (_SafeMath *SafeMathCallerRaw) 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 SafeMathCallerSession

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

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

type SafeMathFilterer

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

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

func NewSafeMathFilterer

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

NewSafeMathFilterer creates a new log filterer instance of SafeMath, bound to a specific deployed contract.

type SafeMathRaw

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

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

func (*SafeMathRaw) Call

func (_SafeMath *SafeMathRaw) 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 (*SafeMathRaw) Transact

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

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

func (*SafeMathRaw) Transfer

func (_SafeMath *SafeMathRaw) 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 SafeMathSession

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

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

type SafeMathTransactor

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

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

func NewSafeMathTransactor

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

NewSafeMathTransactor creates a new write-only instance of SafeMath, bound to a specific deployed contract.

type SafeMathTransactorRaw

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

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

func (*SafeMathTransactorRaw) Transact

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

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

func (*SafeMathTransactorRaw) Transfer

func (_SafeMath *SafeMathTransactorRaw) 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 SafeMathTransactorSession

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

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

type SelfAuth

type SelfAuth struct {
	SelfAuthCaller     // Read-only binding to the contract
	SelfAuthTransactor // Write-only binding to the contract
	SelfAuthFilterer   // Log filterer for contract events
}

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

func NewSelfAuth

func NewSelfAuth(address common.Address, backend bind.ContractBackend) (*SelfAuth, error)

NewSelfAuth creates a new instance of SelfAuth, bound to a specific deployed contract.

type SelfAuthAuthRequest

type SelfAuthAuthRequest struct {
	AuthAddr common.Address
	Params   []byte
	Raw      types.Log // Blockchain specific contextual infos
}

SelfAuthAuthRequest represents a AuthRequest event raised by the SelfAuth contract.

type SelfAuthAuthRequestIterator

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

SelfAuthAuthRequestIterator is returned from FilterAuthRequest and is used to iterate over the raw logs and unpacked data for AuthRequest events raised by the SelfAuth contract.

func (*SelfAuthAuthRequestIterator) Close

func (it *SelfAuthAuthRequestIterator) Close() error

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

func (*SelfAuthAuthRequestIterator) Error

func (it *SelfAuthAuthRequestIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*SelfAuthAuthRequestIterator) Next

func (it *SelfAuthAuthRequestIterator) 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 SelfAuthCaller

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

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

func NewSelfAuthCaller

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

NewSelfAuthCaller creates a new read-only instance of SelfAuth, bound to a specific deployed contract.

type SelfAuthCallerRaw

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

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

func (*SelfAuthCallerRaw) Call

func (_SelfAuth *SelfAuthCallerRaw) 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 SelfAuthCallerSession

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

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

type SelfAuthFilterer

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

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

func NewSelfAuthFilterer

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

NewSelfAuthFilterer creates a new log filterer instance of SelfAuth, bound to a specific deployed contract.

func (*SelfAuthFilterer) FilterAuthRequest

func (_SelfAuth *SelfAuthFilterer) FilterAuthRequest(opts *bind.FilterOpts) (*SelfAuthAuthRequestIterator, error)

FilterAuthRequest is a free log retrieval operation binding the contract event 0xb9d8fb4f681a60258cd8900c5d9a36b449e6e12a30d844a13311d560e85a0b4e.

Solidity: event authRequest(address authAddr, bytes params)

func (*SelfAuthFilterer) ParseAuthRequest

func (_SelfAuth *SelfAuthFilterer) ParseAuthRequest(log types.Log) (*SelfAuthAuthRequest, error)

ParseAuthRequest is a log parse operation binding the contract event 0xb9d8fb4f681a60258cd8900c5d9a36b449e6e12a30d844a13311d560e85a0b4e.

Solidity: event authRequest(address authAddr, bytes params)

func (*SelfAuthFilterer) WatchAuthRequest

func (_SelfAuth *SelfAuthFilterer) WatchAuthRequest(opts *bind.WatchOpts, sink chan<- *SelfAuthAuthRequest) (event.Subscription, error)

WatchAuthRequest is a free log subscription operation binding the contract event 0xb9d8fb4f681a60258cd8900c5d9a36b449e6e12a30d844a13311d560e85a0b4e.

Solidity: event authRequest(address authAddr, bytes params)

type SelfAuthRaw

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

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

func (*SelfAuthRaw) Call

func (_SelfAuth *SelfAuthRaw) 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 (*SelfAuthRaw) Transact

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

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

func (*SelfAuthRaw) Transfer

func (_SelfAuth *SelfAuthRaw) 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 SelfAuthSession

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

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

func (*SelfAuthSession) AuthResponse

func (_SelfAuth *SelfAuthSession) AuthResponse(authAddr common.Address, params []byte) (*types.Transaction, error)

AuthResponse is a paid mutator transaction binding the contract method 0xd5ed0b90.

Solidity: function authResponse(address authAddr, bytes params) returns()

type SelfAuthTransactor

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

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

func NewSelfAuthTransactor

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

NewSelfAuthTransactor creates a new write-only instance of SelfAuth, bound to a specific deployed contract.

func (*SelfAuthTransactor) AuthResponse

func (_SelfAuth *SelfAuthTransactor) AuthResponse(opts *bind.TransactOpts, authAddr common.Address, params []byte) (*types.Transaction, error)

AuthResponse is a paid mutator transaction binding the contract method 0xd5ed0b90.

Solidity: function authResponse(address authAddr, bytes params) returns()

type SelfAuthTransactorRaw

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

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

func (*SelfAuthTransactorRaw) Transact

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

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

func (*SelfAuthTransactorRaw) Transfer

func (_SelfAuth *SelfAuthTransactorRaw) 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 SelfAuthTransactorSession

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

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

func (*SelfAuthTransactorSession) AuthResponse

func (_SelfAuth *SelfAuthTransactorSession) AuthResponse(authAddr common.Address, params []byte) (*types.Transaction, error)

AuthResponse is a paid mutator transaction binding the contract method 0xd5ed0b90.

Solidity: function authResponse(address authAddr, bytes params) returns()

Jump to

Keyboard shortcuts

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