flakeGo

package
v0.2.5 Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2021 License: LGPL-2.1 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const FlakeGoABI = "" /* 6778-byte string literal not displayed */

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

Variables

This section is empty.

Functions

This section is empty.

Types

type FlakeGo

type FlakeGo struct {
	FlakeGoCaller     // Read-only binding to the contract
	FlakeGoTransactor // Write-only binding to the contract
	FlakeGoFilterer   // Log filterer for contract events
}

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

func NewFlakeGo

func NewFlakeGo(address common.Address, backend bind.ContractBackend) (*FlakeGo, error)

NewFlakeGo creates a new instance of FlakeGo, bound to a specific deployed contract.

type FlakeGoCaller

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

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

func NewFlakeGoCaller

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

NewFlakeGoCaller creates a new read-only instance of FlakeGo, bound to a specific deployed contract.

func (*FlakeGoCaller) DEFAULTADMINROLE

func (_FlakeGo *FlakeGoCaller) 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 (*FlakeGoCaller) FetchEnabled

func (_FlakeGo *FlakeGoCaller) FetchEnabled(opts *bind.CallOpts, _user [32]byte) (bool, error)

FetchEnabled is a free data retrieval call binding the contract method 0x8f8d0c76.

Solidity: function fetchEnabled(bytes32 _user) view returns(bool)

func (*FlakeGoCaller) FetchExist

func (_FlakeGo *FlakeGoCaller) FetchExist(opts *bind.CallOpts, _user [32]byte) (bool, error)

FetchExist is a free data retrieval call binding the contract method 0x9294ad18.

Solidity: function fetchExist(bytes32 _user) view returns(bool)

func (*FlakeGoCaller) FetchInfo

func (_FlakeGo *FlakeGoCaller) FetchInfo(opts *bind.CallOpts, _user [32]byte) (struct {
	Salt     string
	Verifier string
}, error)

FetchInfo is a free data retrieval call binding the contract method 0xa69c0470.

Solidity: function fetchInfo(bytes32 _user) view returns(string _salt, string _verifier)

func (*FlakeGoCaller) FetchPhone

func (_FlakeGo *FlakeGoCaller) FetchPhone(opts *bind.CallOpts, _user [32]byte) (*big.Int, error)

FetchPhone is a free data retrieval call binding the contract method 0x150b4c6d.

Solidity: function fetchPhone(bytes32 _user) view returns(uint256 _phone)

func (*FlakeGoCaller) GetRoleAdmin

func (_FlakeGo *FlakeGoCaller) 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 (*FlakeGoCaller) HasRole

func (_FlakeGo *FlakeGoCaller) 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)

func (*FlakeGoCaller) Paused

func (_FlakeGo *FlakeGoCaller) Paused(opts *bind.CallOpts) (bool, error)

Paused is a free data retrieval call binding the contract method 0x5c975abb.

Solidity: function paused() view returns(bool)

func (*FlakeGoCaller) REGISTRATIONROLE

func (_FlakeGo *FlakeGoCaller) REGISTRATIONROLE(opts *bind.CallOpts) ([32]byte, error)

REGISTRATIONROLE is a free data retrieval call binding the contract method 0xfc65b841.

Solidity: function REGISTRATION_ROLE() view returns(bytes32)

func (*FlakeGoCaller) RESETROLE

func (_FlakeGo *FlakeGoCaller) RESETROLE(opts *bind.CallOpts) ([32]byte, error)

RESETROLE is a free data retrieval call binding the contract method 0x45182492.

Solidity: function RESET_ROLE() view returns(bytes32)

func (*FlakeGoCaller) SupportsInterface

func (_FlakeGo *FlakeGoCaller) SupportsInterface(opts *bind.CallOpts, interfaceId [4]byte) (bool, error)

SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.

Solidity: function supportsInterface(bytes4 interfaceId) view returns(bool)

type FlakeGoCallerRaw

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

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

func (*FlakeGoCallerRaw) Call

func (_FlakeGo *FlakeGoCallerRaw) 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 FlakeGoCallerSession

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

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

func (*FlakeGoCallerSession) DEFAULTADMINROLE

func (_FlakeGo *FlakeGoCallerSession) 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 (*FlakeGoCallerSession) FetchEnabled

func (_FlakeGo *FlakeGoCallerSession) FetchEnabled(_user [32]byte) (bool, error)

FetchEnabled is a free data retrieval call binding the contract method 0x8f8d0c76.

Solidity: function fetchEnabled(bytes32 _user) view returns(bool)

func (*FlakeGoCallerSession) FetchExist

func (_FlakeGo *FlakeGoCallerSession) FetchExist(_user [32]byte) (bool, error)

FetchExist is a free data retrieval call binding the contract method 0x9294ad18.

Solidity: function fetchExist(bytes32 _user) view returns(bool)

func (*FlakeGoCallerSession) FetchInfo

func (_FlakeGo *FlakeGoCallerSession) FetchInfo(_user [32]byte) (struct {
	Salt     string
	Verifier string
}, error)

FetchInfo is a free data retrieval call binding the contract method 0xa69c0470.

Solidity: function fetchInfo(bytes32 _user) view returns(string _salt, string _verifier)

func (*FlakeGoCallerSession) FetchPhone

func (_FlakeGo *FlakeGoCallerSession) FetchPhone(_user [32]byte) (*big.Int, error)

FetchPhone is a free data retrieval call binding the contract method 0x150b4c6d.

Solidity: function fetchPhone(bytes32 _user) view returns(uint256 _phone)

func (*FlakeGoCallerSession) GetRoleAdmin

func (_FlakeGo *FlakeGoCallerSession) 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 (*FlakeGoCallerSession) HasRole

func (_FlakeGo *FlakeGoCallerSession) 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 (*FlakeGoCallerSession) Paused

func (_FlakeGo *FlakeGoCallerSession) Paused() (bool, error)

Paused is a free data retrieval call binding the contract method 0x5c975abb.

Solidity: function paused() view returns(bool)

func (*FlakeGoCallerSession) REGISTRATIONROLE

func (_FlakeGo *FlakeGoCallerSession) REGISTRATIONROLE() ([32]byte, error)

REGISTRATIONROLE is a free data retrieval call binding the contract method 0xfc65b841.

Solidity: function REGISTRATION_ROLE() view returns(bytes32)

func (*FlakeGoCallerSession) RESETROLE

func (_FlakeGo *FlakeGoCallerSession) RESETROLE() ([32]byte, error)

RESETROLE is a free data retrieval call binding the contract method 0x45182492.

Solidity: function RESET_ROLE() view returns(bytes32)

func (*FlakeGoCallerSession) SupportsInterface

func (_FlakeGo *FlakeGoCallerSession) SupportsInterface(interfaceId [4]byte) (bool, error)

SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.

Solidity: function supportsInterface(bytes4 interfaceId) view returns(bool)

type FlakeGoFilterer

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

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

func NewFlakeGoFilterer

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

NewFlakeGoFilterer creates a new log filterer instance of FlakeGo, bound to a specific deployed contract.

func (*FlakeGoFilterer) FilterPaused

func (_FlakeGo *FlakeGoFilterer) FilterPaused(opts *bind.FilterOpts) (*FlakeGoPausedIterator, error)

FilterPaused is a free log retrieval operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.

Solidity: event Paused(address account)

func (*FlakeGoFilterer) FilterRoleAdminChanged

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

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

func (_FlakeGo *FlakeGoFilterer) FilterRoleRevoked(opts *bind.FilterOpts, role [][32]byte, account []common.Address, sender []common.Address) (*FlakeGoRoleRevokedIterator, 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 (*FlakeGoFilterer) FilterUnpaused

func (_FlakeGo *FlakeGoFilterer) FilterUnpaused(opts *bind.FilterOpts) (*FlakeGoUnpausedIterator, error)

FilterUnpaused is a free log retrieval operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.

Solidity: event Unpaused(address account)

func (*FlakeGoFilterer) ParsePaused

func (_FlakeGo *FlakeGoFilterer) ParsePaused(log types.Log) (*FlakeGoPaused, error)

ParsePaused is a log parse operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.

Solidity: event Paused(address account)

func (*FlakeGoFilterer) ParseRoleAdminChanged

func (_FlakeGo *FlakeGoFilterer) ParseRoleAdminChanged(log types.Log) (*FlakeGoRoleAdminChanged, 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 (*FlakeGoFilterer) ParseRoleGranted

func (_FlakeGo *FlakeGoFilterer) ParseRoleGranted(log types.Log) (*FlakeGoRoleGranted, 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 (*FlakeGoFilterer) ParseRoleRevoked

func (_FlakeGo *FlakeGoFilterer) ParseRoleRevoked(log types.Log) (*FlakeGoRoleRevoked, 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 (*FlakeGoFilterer) ParseUnpaused

func (_FlakeGo *FlakeGoFilterer) ParseUnpaused(log types.Log) (*FlakeGoUnpaused, error)

ParseUnpaused is a log parse operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.

Solidity: event Unpaused(address account)

func (*FlakeGoFilterer) WatchPaused

func (_FlakeGo *FlakeGoFilterer) WatchPaused(opts *bind.WatchOpts, sink chan<- *FlakeGoPaused) (event.Subscription, error)

WatchPaused is a free log subscription operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.

Solidity: event Paused(address account)

func (*FlakeGoFilterer) WatchRoleAdminChanged

func (_FlakeGo *FlakeGoFilterer) WatchRoleAdminChanged(opts *bind.WatchOpts, sink chan<- *FlakeGoRoleAdminChanged, 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 (*FlakeGoFilterer) WatchRoleGranted

func (_FlakeGo *FlakeGoFilterer) WatchRoleGranted(opts *bind.WatchOpts, sink chan<- *FlakeGoRoleGranted, 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 (*FlakeGoFilterer) WatchRoleRevoked

func (_FlakeGo *FlakeGoFilterer) WatchRoleRevoked(opts *bind.WatchOpts, sink chan<- *FlakeGoRoleRevoked, 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)

func (*FlakeGoFilterer) WatchUnpaused

func (_FlakeGo *FlakeGoFilterer) WatchUnpaused(opts *bind.WatchOpts, sink chan<- *FlakeGoUnpaused) (event.Subscription, error)

WatchUnpaused is a free log subscription operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.

Solidity: event Unpaused(address account)

type FlakeGoPaused

type FlakeGoPaused struct {
	Account common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

FlakeGoPaused represents a Paused event raised by the FlakeGo contract.

type FlakeGoPausedIterator

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

FlakeGoPausedIterator is returned from FilterPaused and is used to iterate over the raw logs and unpacked data for Paused events raised by the FlakeGo contract.

func (*FlakeGoPausedIterator) Close

func (it *FlakeGoPausedIterator) Close() error

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

func (*FlakeGoPausedIterator) Error

func (it *FlakeGoPausedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*FlakeGoPausedIterator) Next

func (it *FlakeGoPausedIterator) 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 FlakeGoRaw

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

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

func (*FlakeGoRaw) Call

func (_FlakeGo *FlakeGoRaw) 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 (*FlakeGoRaw) Transact

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

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

func (*FlakeGoRaw) Transfer

func (_FlakeGo *FlakeGoRaw) 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 FlakeGoRoleAdminChanged

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

FlakeGoRoleAdminChanged represents a RoleAdminChanged event raised by the FlakeGo contract.

type FlakeGoRoleAdminChangedIterator

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

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

func (*FlakeGoRoleAdminChangedIterator) Close

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

func (*FlakeGoRoleAdminChangedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*FlakeGoRoleAdminChangedIterator) 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 FlakeGoRoleGranted

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

FlakeGoRoleGranted represents a RoleGranted event raised by the FlakeGo contract.

type FlakeGoRoleGrantedIterator

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

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

func (*FlakeGoRoleGrantedIterator) Close

func (it *FlakeGoRoleGrantedIterator) Close() error

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

func (*FlakeGoRoleGrantedIterator) Error

func (it *FlakeGoRoleGrantedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*FlakeGoRoleGrantedIterator) Next

func (it *FlakeGoRoleGrantedIterator) 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 FlakeGoRoleRevoked

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

FlakeGoRoleRevoked represents a RoleRevoked event raised by the FlakeGo contract.

type FlakeGoRoleRevokedIterator

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

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

func (*FlakeGoRoleRevokedIterator) Close

func (it *FlakeGoRoleRevokedIterator) Close() error

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

func (*FlakeGoRoleRevokedIterator) Error

func (it *FlakeGoRoleRevokedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*FlakeGoRoleRevokedIterator) Next

func (it *FlakeGoRoleRevokedIterator) 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 FlakeGoSession

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

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

func (*FlakeGoSession) DEFAULTADMINROLE

func (_FlakeGo *FlakeGoSession) 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 (*FlakeGoSession) DisableUser

func (_FlakeGo *FlakeGoSession) DisableUser(_user [32]byte) (*types.Transaction, error)

DisableUser is a paid mutator transaction binding the contract method 0x6b204187.

Solidity: function disableUser(bytes32 _user) returns(bool)

func (*FlakeGoSession) EnableUser

func (_FlakeGo *FlakeGoSession) EnableUser(_user [32]byte) (*types.Transaction, error)

EnableUser is a paid mutator transaction binding the contract method 0x68bc4380.

Solidity: function enableUser(bytes32 _user) returns(bool)

func (*FlakeGoSession) FetchEnabled

func (_FlakeGo *FlakeGoSession) FetchEnabled(_user [32]byte) (bool, error)

FetchEnabled is a free data retrieval call binding the contract method 0x8f8d0c76.

Solidity: function fetchEnabled(bytes32 _user) view returns(bool)

func (*FlakeGoSession) FetchExist

func (_FlakeGo *FlakeGoSession) FetchExist(_user [32]byte) (bool, error)

FetchExist is a free data retrieval call binding the contract method 0x9294ad18.

Solidity: function fetchExist(bytes32 _user) view returns(bool)

func (*FlakeGoSession) FetchInfo

func (_FlakeGo *FlakeGoSession) FetchInfo(_user [32]byte) (struct {
	Salt     string
	Verifier string
}, error)

FetchInfo is a free data retrieval call binding the contract method 0xa69c0470.

Solidity: function fetchInfo(bytes32 _user) view returns(string _salt, string _verifier)

func (*FlakeGoSession) FetchPhone

func (_FlakeGo *FlakeGoSession) FetchPhone(_user [32]byte) (*big.Int, error)

FetchPhone is a free data retrieval call binding the contract method 0x150b4c6d.

Solidity: function fetchPhone(bytes32 _user) view returns(uint256 _phone)

func (*FlakeGoSession) GetRoleAdmin

func (_FlakeGo *FlakeGoSession) 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 (*FlakeGoSession) GrantRole

func (_FlakeGo *FlakeGoSession) 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 (*FlakeGoSession) HasRole

func (_FlakeGo *FlakeGoSession) 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 (*FlakeGoSession) Pause

func (_FlakeGo *FlakeGoSession) Pause() (*types.Transaction, error)

Pause is a paid mutator transaction binding the contract method 0x8456cb59.

Solidity: function pause() returns(bool)

func (*FlakeGoSession) Paused

func (_FlakeGo *FlakeGoSession) Paused() (bool, error)

Paused is a free data retrieval call binding the contract method 0x5c975abb.

Solidity: function paused() view returns(bool)

func (*FlakeGoSession) REGISTRATIONROLE

func (_FlakeGo *FlakeGoSession) REGISTRATIONROLE() ([32]byte, error)

REGISTRATIONROLE is a free data retrieval call binding the contract method 0xfc65b841.

Solidity: function REGISTRATION_ROLE() view returns(bytes32)

func (*FlakeGoSession) RESETROLE

func (_FlakeGo *FlakeGoSession) RESETROLE() ([32]byte, error)

RESETROLE is a free data retrieval call binding the contract method 0x45182492.

Solidity: function RESET_ROLE() view returns(bytes32)

func (*FlakeGoSession) Register

func (_FlakeGo *FlakeGoSession) Register(_user [32]byte, _salt string, _verifier string, _phone *big.Int) (*types.Transaction, error)

Register is a paid mutator transaction binding the contract method 0xb6e24aa1.

Solidity: function register(bytes32 _user, string _salt, string _verifier, uint256 _phone) returns(bool)

func (*FlakeGoSession) RenounceRole

func (_FlakeGo *FlakeGoSession) 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 (*FlakeGoSession) Reset

func (_FlakeGo *FlakeGoSession) Reset(_user [32]byte, _salt string, _verifier string, _phone *big.Int) (*types.Transaction, error)

Reset is a paid mutator transaction binding the contract method 0xc1511261.

Solidity: function reset(bytes32 _user, string _salt, string _verifier, uint256 _phone) returns(bool)

func (*FlakeGoSession) RevokeRole

func (_FlakeGo *FlakeGoSession) 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()

func (*FlakeGoSession) SupportsInterface

func (_FlakeGo *FlakeGoSession) SupportsInterface(interfaceId [4]byte) (bool, error)

SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.

Solidity: function supportsInterface(bytes4 interfaceId) view returns(bool)

func (*FlakeGoSession) Unpause

func (_FlakeGo *FlakeGoSession) Unpause() (*types.Transaction, error)

Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.

Solidity: function unpause() returns(bool)

func (*FlakeGoSession) UpdatePhone

func (_FlakeGo *FlakeGoSession) UpdatePhone(_user [32]byte, _phone *big.Int) (*types.Transaction, error)

UpdatePhone is a paid mutator transaction binding the contract method 0x05aa68cb.

Solidity: function updatePhone(bytes32 _user, uint256 _phone) returns(bool)

type FlakeGoTransactor

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

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

func NewFlakeGoTransactor

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

NewFlakeGoTransactor creates a new write-only instance of FlakeGo, bound to a specific deployed contract.

func (*FlakeGoTransactor) DisableUser

func (_FlakeGo *FlakeGoTransactor) DisableUser(opts *bind.TransactOpts, _user [32]byte) (*types.Transaction, error)

DisableUser is a paid mutator transaction binding the contract method 0x6b204187.

Solidity: function disableUser(bytes32 _user) returns(bool)

func (*FlakeGoTransactor) EnableUser

func (_FlakeGo *FlakeGoTransactor) EnableUser(opts *bind.TransactOpts, _user [32]byte) (*types.Transaction, error)

EnableUser is a paid mutator transaction binding the contract method 0x68bc4380.

Solidity: function enableUser(bytes32 _user) returns(bool)

func (*FlakeGoTransactor) GrantRole

func (_FlakeGo *FlakeGoTransactor) 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 (*FlakeGoTransactor) Pause

func (_FlakeGo *FlakeGoTransactor) Pause(opts *bind.TransactOpts) (*types.Transaction, error)

Pause is a paid mutator transaction binding the contract method 0x8456cb59.

Solidity: function pause() returns(bool)

func (*FlakeGoTransactor) Register

func (_FlakeGo *FlakeGoTransactor) Register(opts *bind.TransactOpts, _user [32]byte, _salt string, _verifier string, _phone *big.Int) (*types.Transaction, error)

Register is a paid mutator transaction binding the contract method 0xb6e24aa1.

Solidity: function register(bytes32 _user, string _salt, string _verifier, uint256 _phone) returns(bool)

func (*FlakeGoTransactor) RenounceRole

func (_FlakeGo *FlakeGoTransactor) 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 (*FlakeGoTransactor) Reset

func (_FlakeGo *FlakeGoTransactor) Reset(opts *bind.TransactOpts, _user [32]byte, _salt string, _verifier string, _phone *big.Int) (*types.Transaction, error)

Reset is a paid mutator transaction binding the contract method 0xc1511261.

Solidity: function reset(bytes32 _user, string _salt, string _verifier, uint256 _phone) returns(bool)

func (*FlakeGoTransactor) RevokeRole

func (_FlakeGo *FlakeGoTransactor) 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()

func (*FlakeGoTransactor) Unpause

func (_FlakeGo *FlakeGoTransactor) Unpause(opts *bind.TransactOpts) (*types.Transaction, error)

Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.

Solidity: function unpause() returns(bool)

func (*FlakeGoTransactor) UpdatePhone

func (_FlakeGo *FlakeGoTransactor) UpdatePhone(opts *bind.TransactOpts, _user [32]byte, _phone *big.Int) (*types.Transaction, error)

UpdatePhone is a paid mutator transaction binding the contract method 0x05aa68cb.

Solidity: function updatePhone(bytes32 _user, uint256 _phone) returns(bool)

type FlakeGoTransactorRaw

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

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

func (*FlakeGoTransactorRaw) Transact

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

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

func (*FlakeGoTransactorRaw) Transfer

func (_FlakeGo *FlakeGoTransactorRaw) 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 FlakeGoTransactorSession

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

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

func (*FlakeGoTransactorSession) DisableUser

func (_FlakeGo *FlakeGoTransactorSession) DisableUser(_user [32]byte) (*types.Transaction, error)

DisableUser is a paid mutator transaction binding the contract method 0x6b204187.

Solidity: function disableUser(bytes32 _user) returns(bool)

func (*FlakeGoTransactorSession) EnableUser

func (_FlakeGo *FlakeGoTransactorSession) EnableUser(_user [32]byte) (*types.Transaction, error)

EnableUser is a paid mutator transaction binding the contract method 0x68bc4380.

Solidity: function enableUser(bytes32 _user) returns(bool)

func (*FlakeGoTransactorSession) GrantRole

func (_FlakeGo *FlakeGoTransactorSession) 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 (*FlakeGoTransactorSession) Pause

func (_FlakeGo *FlakeGoTransactorSession) Pause() (*types.Transaction, error)

Pause is a paid mutator transaction binding the contract method 0x8456cb59.

Solidity: function pause() returns(bool)

func (*FlakeGoTransactorSession) Register

func (_FlakeGo *FlakeGoTransactorSession) Register(_user [32]byte, _salt string, _verifier string, _phone *big.Int) (*types.Transaction, error)

Register is a paid mutator transaction binding the contract method 0xb6e24aa1.

Solidity: function register(bytes32 _user, string _salt, string _verifier, uint256 _phone) returns(bool)

func (*FlakeGoTransactorSession) RenounceRole

func (_FlakeGo *FlakeGoTransactorSession) 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 (*FlakeGoTransactorSession) Reset

func (_FlakeGo *FlakeGoTransactorSession) Reset(_user [32]byte, _salt string, _verifier string, _phone *big.Int) (*types.Transaction, error)

Reset is a paid mutator transaction binding the contract method 0xc1511261.

Solidity: function reset(bytes32 _user, string _salt, string _verifier, uint256 _phone) returns(bool)

func (*FlakeGoTransactorSession) RevokeRole

func (_FlakeGo *FlakeGoTransactorSession) 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()

func (*FlakeGoTransactorSession) Unpause

func (_FlakeGo *FlakeGoTransactorSession) Unpause() (*types.Transaction, error)

Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.

Solidity: function unpause() returns(bool)

func (*FlakeGoTransactorSession) UpdatePhone

func (_FlakeGo *FlakeGoTransactorSession) UpdatePhone(_user [32]byte, _phone *big.Int) (*types.Transaction, error)

UpdatePhone is a paid mutator transaction binding the contract method 0x05aa68cb.

Solidity: function updatePhone(bytes32 _user, uint256 _phone) returns(bool)

type FlakeGoUnpaused

type FlakeGoUnpaused struct {
	Account common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

FlakeGoUnpaused represents a Unpaused event raised by the FlakeGo contract.

type FlakeGoUnpausedIterator

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

FlakeGoUnpausedIterator is returned from FilterUnpaused and is used to iterate over the raw logs and unpacked data for Unpaused events raised by the FlakeGo contract.

func (*FlakeGoUnpausedIterator) Close

func (it *FlakeGoUnpausedIterator) Close() error

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

func (*FlakeGoUnpausedIterator) Error

func (it *FlakeGoUnpausedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*FlakeGoUnpausedIterator) Next

func (it *FlakeGoUnpausedIterator) 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.

Jump to

Keyboard shortcuts

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