contract

package
v2.1.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2018 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const MNFactoryABI = "" /* 3978-byte string literal not displayed */

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

View Source
const MNFactoryBin = `` /* 29034-byte string literal not displayed */

MNFactoryBin is the compiled bytecode used for deploying new contracts.

View Source
const MNInstanceABI = "" /* 8482-byte string literal not displayed */

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

View Source
const MNInstanceBin = `` /* 15818-byte string literal not displayed */

MNInstanceBin is the compiled bytecode used for deploying new contracts.

View Source
const MNRewardABI = "" /* 1210-byte string literal not displayed */

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

View Source
const MNRewardBin = `` /* 7962-byte string literal not displayed */

MNRewardBin is the compiled bytecode used for deploying new contracts.

Variables

This section is empty.

Functions

This section is empty.

Types

type MNFactory

type MNFactory struct {
	MNFactoryCaller     // Read-only binding to the contract
	MNFactoryTransactor // Write-only binding to the contract
	MNFactoryFilterer   // Log filterer for contract events
}

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

func DeployMNFactory

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

DeployMNFactory deploys a new Ethereum contract, binding an instance of MNFactory to it.

func NewMNFactory

func NewMNFactory(address common.Address, backend bind.ContractBackend) (*MNFactory, error)

NewMNFactory creates a new instance of MNFactory, bound to a specific deployed contract.

type MNFactoryCaller

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

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

func NewMNFactoryCaller

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

NewMNFactoryCaller creates a new read-only instance of MNFactory, bound to a specific deployed contract.

func (*MNFactoryCaller) GetActivatedNodeCount

func (_MNFactory *MNFactoryCaller) GetActivatedNodeCount(opts *bind.CallOpts, _tier uint8) (uint16, error)

GetActivatedNodeCount is a free data retrieval call binding the contract method 0xce46ae46.

Solidity: function getActivatedNodeCount(_tier uint8) constant returns(_count uint16)

func (*MNFactoryCaller) GetMNAddrByIndex

func (_MNFactory *MNFactoryCaller) GetMNAddrByIndex(opts *bind.CallOpts, _index *big.Int) (common.Address, error)

GetMNAddrByIndex is a free data retrieval call binding the contract method 0xc1599d2c.

Solidity: function getMNAddrByIndex(_index uint256) constant returns(_mnAddr address)

func (*MNFactoryCaller) GetMNCount

func (_MNFactory *MNFactoryCaller) GetMNCount(opts *bind.CallOpts) (*big.Int, error)

GetMNCount is a free data retrieval call binding the contract method 0x7a0582b9.

Solidity: function getMNCount() constant returns(_count uint256)

func (*MNFactoryCaller) GetNodeCount

func (_MNFactory *MNFactoryCaller) GetNodeCount(opts *bind.CallOpts, _tier uint8) (uint16, error)

GetNodeCount is a free data retrieval call binding the contract method 0x993ed2a5.

Solidity: function getNodeCount(_tier uint8) constant returns(_count uint16)

func (*MNFactoryCaller) GetNodeList

func (_MNFactory *MNFactoryCaller) GetNodeList(opts *bind.CallOpts) ([]common.Address, error)

GetNodeList is a free data retrieval call binding the contract method 0x53f3b713.

Solidity: function getNodeList() constant returns(_node_list address[])

func (*MNFactoryCaller) GetNodeSumInfo

func (_MNFactory *MNFactoryCaller) GetNodeSumInfo(opts *bind.CallOpts, _nodeAddr common.Address) (struct {
	Id         uint32
	Tier       uint8
	State      uint8
	Is_private bool
}, error)

GetNodeSumInfo is a free data retrieval call binding the contract method 0x656ff376.

Solidity: function getNodeSumInfo(_nodeAddr address) constant returns(_id uint32, _tier uint8, _state uint8, _is_private bool)

type MNFactoryCallerRaw

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

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

func (*MNFactoryCallerRaw) Call

func (_MNFactory *MNFactoryCallerRaw) 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 MNFactoryCallerSession

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

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

func (*MNFactoryCallerSession) GetActivatedNodeCount

func (_MNFactory *MNFactoryCallerSession) GetActivatedNodeCount(_tier uint8) (uint16, error)

GetActivatedNodeCount is a free data retrieval call binding the contract method 0xce46ae46.

Solidity: function getActivatedNodeCount(_tier uint8) constant returns(_count uint16)

func (*MNFactoryCallerSession) GetMNAddrByIndex

func (_MNFactory *MNFactoryCallerSession) GetMNAddrByIndex(_index *big.Int) (common.Address, error)

GetMNAddrByIndex is a free data retrieval call binding the contract method 0xc1599d2c.

Solidity: function getMNAddrByIndex(_index uint256) constant returns(_mnAddr address)

func (*MNFactoryCallerSession) GetMNCount

func (_MNFactory *MNFactoryCallerSession) GetMNCount() (*big.Int, error)

GetMNCount is a free data retrieval call binding the contract method 0x7a0582b9.

Solidity: function getMNCount() constant returns(_count uint256)

func (*MNFactoryCallerSession) GetNodeCount

func (_MNFactory *MNFactoryCallerSession) GetNodeCount(_tier uint8) (uint16, error)

GetNodeCount is a free data retrieval call binding the contract method 0x993ed2a5.

Solidity: function getNodeCount(_tier uint8) constant returns(_count uint16)

func (*MNFactoryCallerSession) GetNodeList

func (_MNFactory *MNFactoryCallerSession) GetNodeList() ([]common.Address, error)

GetNodeList is a free data retrieval call binding the contract method 0x53f3b713.

Solidity: function getNodeList() constant returns(_node_list address[])

func (*MNFactoryCallerSession) GetNodeSumInfo

func (_MNFactory *MNFactoryCallerSession) GetNodeSumInfo(_nodeAddr common.Address) (struct {
	Id         uint32
	Tier       uint8
	State      uint8
	Is_private bool
}, error)

GetNodeSumInfo is a free data retrieval call binding the contract method 0x656ff376.

Solidity: function getNodeSumInfo(_nodeAddr address) constant returns(_id uint32, _tier uint8, _state uint8, _is_private bool)

type MNFactoryEvent_MNFactory

type MNFactoryEvent_MNFactory struct {
	NodeAddr  common.Address
	NodeId    uint32
	EventType uint8
	Raw       types.Log // Blockchain specific contextual infos
}

MNFactoryEvent_MNFactory represents a Event_MNFactory event raised by the MNFactory contract.

type MNFactoryEvent_MNFactoryIterator

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

MNFactoryEvent_MNFactoryIterator is returned from FilterEvent_MNFactory and is used to iterate over the raw logs and unpacked data for Event_MNFactory events raised by the MNFactory contract.

func (*MNFactoryEvent_MNFactoryIterator) Close

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

func (*MNFactoryEvent_MNFactoryIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*MNFactoryEvent_MNFactoryIterator) 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 MNFactoryFilterer

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

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

func NewMNFactoryFilterer

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

NewMNFactoryFilterer creates a new log filterer instance of MNFactory, bound to a specific deployed contract.

func (*MNFactoryFilterer) FilterEvent_MNFactory

func (_MNFactory *MNFactoryFilterer) FilterEvent_MNFactory(opts *bind.FilterOpts, _nodeAddr []common.Address) (*MNFactoryEvent_MNFactoryIterator, error)

FilterEvent_MNFactory is a free log retrieval operation binding the contract event 0x957cb6f8ab804a37503d6c794ebeb665a771ce85b8f8c8f8cc84317cc530b2cc.

Solidity: event Event_MNFactory(_nodeAddr indexed address, _nodeId uint32, _eventType uint8)

func (*MNFactoryFilterer) WatchEvent_MNFactory

func (_MNFactory *MNFactoryFilterer) WatchEvent_MNFactory(opts *bind.WatchOpts, sink chan<- *MNFactoryEvent_MNFactory, _nodeAddr []common.Address) (event.Subscription, error)

WatchEvent_MNFactory is a free log subscription operation binding the contract event 0x957cb6f8ab804a37503d6c794ebeb665a771ce85b8f8c8f8cc84317cc530b2cc.

Solidity: event Event_MNFactory(_nodeAddr indexed address, _nodeId uint32, _eventType uint8)

type MNFactoryRaw

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

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

func (*MNFactoryRaw) Call

func (_MNFactory *MNFactoryRaw) 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 (*MNFactoryRaw) Transact

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

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

func (*MNFactoryRaw) Transfer

func (_MNFactory *MNFactoryRaw) 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 MNFactorySession

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

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

func (*MNFactorySession) AdminDestroyMN

func (_MNFactory *MNFactorySession) AdminDestroyMN(destroyer common.Address, _nodeAddr common.Address) (*types.Transaction, error)

AdminDestroyMN is a paid mutator transaction binding the contract method 0xc51fc5a7.

Solidity: function adminDestroyMN(destroyer address, _nodeAddr address) returns()

func (*MNFactorySession) AdminRemoveMN

func (_MNFactory *MNFactorySession) AdminRemoveMN(_nodeAddr common.Address) (*types.Transaction, error)

AdminRemoveMN is a paid mutator transaction binding the contract method 0xee7fd756.

Solidity: function adminRemoveMN(_nodeAddr address) returns()

func (*MNFactorySession) GetActivatedNodeCount

func (_MNFactory *MNFactorySession) GetActivatedNodeCount(_tier uint8) (uint16, error)

GetActivatedNodeCount is a free data retrieval call binding the contract method 0xce46ae46.

Solidity: function getActivatedNodeCount(_tier uint8) constant returns(_count uint16)

func (*MNFactorySession) GetMNAddrByIndex

func (_MNFactory *MNFactorySession) GetMNAddrByIndex(_index *big.Int) (common.Address, error)

GetMNAddrByIndex is a free data retrieval call binding the contract method 0xc1599d2c.

Solidity: function getMNAddrByIndex(_index uint256) constant returns(_mnAddr address)

func (*MNFactorySession) GetMNCount

func (_MNFactory *MNFactorySession) GetMNCount() (*big.Int, error)

GetMNCount is a free data retrieval call binding the contract method 0x7a0582b9.

Solidity: function getMNCount() constant returns(_count uint256)

func (*MNFactorySession) GetNodeCount

func (_MNFactory *MNFactorySession) GetNodeCount(_tier uint8) (uint16, error)

GetNodeCount is a free data retrieval call binding the contract method 0x993ed2a5.

Solidity: function getNodeCount(_tier uint8) constant returns(_count uint16)

func (*MNFactorySession) GetNodeList

func (_MNFactory *MNFactorySession) GetNodeList() ([]common.Address, error)

GetNodeList is a free data retrieval call binding the contract method 0x53f3b713.

Solidity: function getNodeList() constant returns(_node_list address[])

func (*MNFactorySession) GetNodeSumInfo

func (_MNFactory *MNFactorySession) GetNodeSumInfo(_nodeAddr common.Address) (struct {
	Id         uint32
	Tier       uint8
	State      uint8
	Is_private bool
}, error)

GetNodeSumInfo is a free data retrieval call binding the contract method 0x656ff376.

Solidity: function getNodeSumInfo(_nodeAddr address) constant returns(_id uint32, _tier uint8, _state uint8, _is_private bool)

func (*MNFactorySession) IncreaseActivatedCount

func (_MNFactory *MNFactorySession) IncreaseActivatedCount(_tier uint8) (*types.Transaction, error)

IncreaseActivatedCount is a paid mutator transaction binding the contract method 0x2fbb92b1.

Solidity: function increaseActivatedCount(_tier uint8) returns()

func (*MNFactorySession) InitializeMN

func (_MNFactory *MNFactorySession) InitializeMN(_tier uint8, _is_private bool, _is_halo_hosting bool, _alias string, _ipv4_address string, _other_owners []common.Address, _other_shares []*big.Int) (*types.Transaction, error)

InitializeMN is a paid mutator transaction binding the contract method 0xae75bf5e.

Solidity: function initializeMN(_tier uint8, _is_private bool, _is_halo_hosting bool, _alias string, _ipv4_address string, _other_owners address[], _other_shares uint256[]) returns()

func (*MNFactorySession) JoinToInitializedMN

func (_MNFactory *MNFactorySession) JoinToInitializedMN(_nodeAddr common.Address) (*types.Transaction, error)

JoinToInitializedMN is a paid mutator transaction binding the contract method 0x726c4d6f.

Solidity: function joinToInitializedMN(_nodeAddr address) returns()

func (*MNFactorySession) SetMNAdminAddr

func (_MNFactory *MNFactorySession) SetMNAdminAddr(_mnAdminAddr common.Address) (*types.Transaction, error)

SetMNAdminAddr is a paid mutator transaction binding the contract method 0x0029185b.

Solidity: function setMNAdminAddr(_mnAdminAddr address) returns()

func (*MNFactorySession) SetMNMarketplaceAddr

func (_MNFactory *MNFactorySession) SetMNMarketplaceAddr(_mnMarketplaceAddr common.Address) (*types.Transaction, error)

SetMNMarketplaceAddr is a paid mutator transaction binding the contract method 0x61443a5f.

Solidity: function setMNMarketplaceAddr(_mnMarketplaceAddr address) returns()

func (*MNFactorySession) SetMNRewardAddr

func (_MNFactory *MNFactorySession) SetMNRewardAddr(_mnRewardAddr common.Address) (*types.Transaction, error)

SetMNRewardAddr is a paid mutator transaction binding the contract method 0x04e27777.

Solidity: function setMNRewardAddr(_mnRewardAddr address) returns()

func (*MNFactorySession) WithdrawFromInitializedMN

func (_MNFactory *MNFactorySession) WithdrawFromInitializedMN(_nodeAddr common.Address, _withdrawValue *big.Int) (*types.Transaction, error)

WithdrawFromInitializedMN is a paid mutator transaction binding the contract method 0x13a30791.

Solidity: function withdrawFromInitializedMN(_nodeAddr address, _withdrawValue uint256) returns()

type MNFactoryTransactor

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

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

func NewMNFactoryTransactor

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

NewMNFactoryTransactor creates a new write-only instance of MNFactory, bound to a specific deployed contract.

func (*MNFactoryTransactor) AdminDestroyMN

func (_MNFactory *MNFactoryTransactor) AdminDestroyMN(opts *bind.TransactOpts, destroyer common.Address, _nodeAddr common.Address) (*types.Transaction, error)

AdminDestroyMN is a paid mutator transaction binding the contract method 0xc51fc5a7.

Solidity: function adminDestroyMN(destroyer address, _nodeAddr address) returns()

func (*MNFactoryTransactor) AdminRemoveMN

func (_MNFactory *MNFactoryTransactor) AdminRemoveMN(opts *bind.TransactOpts, _nodeAddr common.Address) (*types.Transaction, error)

AdminRemoveMN is a paid mutator transaction binding the contract method 0xee7fd756.

Solidity: function adminRemoveMN(_nodeAddr address) returns()

func (*MNFactoryTransactor) IncreaseActivatedCount

func (_MNFactory *MNFactoryTransactor) IncreaseActivatedCount(opts *bind.TransactOpts, _tier uint8) (*types.Transaction, error)

IncreaseActivatedCount is a paid mutator transaction binding the contract method 0x2fbb92b1.

Solidity: function increaseActivatedCount(_tier uint8) returns()

func (*MNFactoryTransactor) InitializeMN

func (_MNFactory *MNFactoryTransactor) InitializeMN(opts *bind.TransactOpts, _tier uint8, _is_private bool, _is_halo_hosting bool, _alias string, _ipv4_address string, _other_owners []common.Address, _other_shares []*big.Int) (*types.Transaction, error)

InitializeMN is a paid mutator transaction binding the contract method 0xae75bf5e.

Solidity: function initializeMN(_tier uint8, _is_private bool, _is_halo_hosting bool, _alias string, _ipv4_address string, _other_owners address[], _other_shares uint256[]) returns()

func (*MNFactoryTransactor) JoinToInitializedMN

func (_MNFactory *MNFactoryTransactor) JoinToInitializedMN(opts *bind.TransactOpts, _nodeAddr common.Address) (*types.Transaction, error)

JoinToInitializedMN is a paid mutator transaction binding the contract method 0x726c4d6f.

Solidity: function joinToInitializedMN(_nodeAddr address) returns()

func (*MNFactoryTransactor) SetMNAdminAddr

func (_MNFactory *MNFactoryTransactor) SetMNAdminAddr(opts *bind.TransactOpts, _mnAdminAddr common.Address) (*types.Transaction, error)

SetMNAdminAddr is a paid mutator transaction binding the contract method 0x0029185b.

Solidity: function setMNAdminAddr(_mnAdminAddr address) returns()

func (*MNFactoryTransactor) SetMNMarketplaceAddr

func (_MNFactory *MNFactoryTransactor) SetMNMarketplaceAddr(opts *bind.TransactOpts, _mnMarketplaceAddr common.Address) (*types.Transaction, error)

SetMNMarketplaceAddr is a paid mutator transaction binding the contract method 0x61443a5f.

Solidity: function setMNMarketplaceAddr(_mnMarketplaceAddr address) returns()

func (*MNFactoryTransactor) SetMNRewardAddr

func (_MNFactory *MNFactoryTransactor) SetMNRewardAddr(opts *bind.TransactOpts, _mnRewardAddr common.Address) (*types.Transaction, error)

SetMNRewardAddr is a paid mutator transaction binding the contract method 0x04e27777.

Solidity: function setMNRewardAddr(_mnRewardAddr address) returns()

func (*MNFactoryTransactor) WithdrawFromInitializedMN

func (_MNFactory *MNFactoryTransactor) WithdrawFromInitializedMN(opts *bind.TransactOpts, _nodeAddr common.Address, _withdrawValue *big.Int) (*types.Transaction, error)

WithdrawFromInitializedMN is a paid mutator transaction binding the contract method 0x13a30791.

Solidity: function withdrawFromInitializedMN(_nodeAddr address, _withdrawValue uint256) returns()

type MNFactoryTransactorRaw

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

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

func (*MNFactoryTransactorRaw) Transact

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

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

func (*MNFactoryTransactorRaw) Transfer

func (_MNFactory *MNFactoryTransactorRaw) 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 MNFactoryTransactorSession

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

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

func (*MNFactoryTransactorSession) AdminDestroyMN

func (_MNFactory *MNFactoryTransactorSession) AdminDestroyMN(destroyer common.Address, _nodeAddr common.Address) (*types.Transaction, error)

AdminDestroyMN is a paid mutator transaction binding the contract method 0xc51fc5a7.

Solidity: function adminDestroyMN(destroyer address, _nodeAddr address) returns()

func (*MNFactoryTransactorSession) AdminRemoveMN

func (_MNFactory *MNFactoryTransactorSession) AdminRemoveMN(_nodeAddr common.Address) (*types.Transaction, error)

AdminRemoveMN is a paid mutator transaction binding the contract method 0xee7fd756.

Solidity: function adminRemoveMN(_nodeAddr address) returns()

func (*MNFactoryTransactorSession) IncreaseActivatedCount

func (_MNFactory *MNFactoryTransactorSession) IncreaseActivatedCount(_tier uint8) (*types.Transaction, error)

IncreaseActivatedCount is a paid mutator transaction binding the contract method 0x2fbb92b1.

Solidity: function increaseActivatedCount(_tier uint8) returns()

func (*MNFactoryTransactorSession) InitializeMN

func (_MNFactory *MNFactoryTransactorSession) InitializeMN(_tier uint8, _is_private bool, _is_halo_hosting bool, _alias string, _ipv4_address string, _other_owners []common.Address, _other_shares []*big.Int) (*types.Transaction, error)

InitializeMN is a paid mutator transaction binding the contract method 0xae75bf5e.

Solidity: function initializeMN(_tier uint8, _is_private bool, _is_halo_hosting bool, _alias string, _ipv4_address string, _other_owners address[], _other_shares uint256[]) returns()

func (*MNFactoryTransactorSession) JoinToInitializedMN

func (_MNFactory *MNFactoryTransactorSession) JoinToInitializedMN(_nodeAddr common.Address) (*types.Transaction, error)

JoinToInitializedMN is a paid mutator transaction binding the contract method 0x726c4d6f.

Solidity: function joinToInitializedMN(_nodeAddr address) returns()

func (*MNFactoryTransactorSession) SetMNAdminAddr

func (_MNFactory *MNFactoryTransactorSession) SetMNAdminAddr(_mnAdminAddr common.Address) (*types.Transaction, error)

SetMNAdminAddr is a paid mutator transaction binding the contract method 0x0029185b.

Solidity: function setMNAdminAddr(_mnAdminAddr address) returns()

func (*MNFactoryTransactorSession) SetMNMarketplaceAddr

func (_MNFactory *MNFactoryTransactorSession) SetMNMarketplaceAddr(_mnMarketplaceAddr common.Address) (*types.Transaction, error)

SetMNMarketplaceAddr is a paid mutator transaction binding the contract method 0x61443a5f.

Solidity: function setMNMarketplaceAddr(_mnMarketplaceAddr address) returns()

func (*MNFactoryTransactorSession) SetMNRewardAddr

func (_MNFactory *MNFactoryTransactorSession) SetMNRewardAddr(_mnRewardAddr common.Address) (*types.Transaction, error)

SetMNRewardAddr is a paid mutator transaction binding the contract method 0x04e27777.

Solidity: function setMNRewardAddr(_mnRewardAddr address) returns()

func (*MNFactoryTransactorSession) WithdrawFromInitializedMN

func (_MNFactory *MNFactoryTransactorSession) WithdrawFromInitializedMN(_nodeAddr common.Address, _withdrawValue *big.Int) (*types.Transaction, error)

WithdrawFromInitializedMN is a paid mutator transaction binding the contract method 0x13a30791.

Solidity: function withdrawFromInitializedMN(_nodeAddr address, _withdrawValue uint256) returns()

type MNInstance

type MNInstance struct {
	MNInstanceCaller     // Read-only binding to the contract
	MNInstanceTransactor // Write-only binding to the contract
	MNInstanceFilterer   // Log filterer for contract events
}

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

func DeployMNInstance

func DeployMNInstance(auth *bind.TransactOpts, backend bind.ContractBackend, _factoryAddr common.Address, _firstJoiner common.Address, _otherJoiners []common.Address, _otherShares []*big.Int) (common.Address, *types.Transaction, *MNInstance, error)

DeployMNInstance deploys a new Ethereum contract, binding an instance of MNInstance to it.

func NewMNInstance

func NewMNInstance(address common.Address, backend bind.ContractBackend) (*MNInstance, error)

NewMNInstance creates a new instance of MNInstance, bound to a specific deployed contract.

type MNInstanceCaller

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

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

func NewMNInstanceCaller

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

NewMNInstanceCaller creates a new read-only instance of MNInstance, bound to a specific deployed contract.

func (*MNInstanceCaller) GetAdvancedInfo

func (_MNInstance *MNInstanceCaller) GetAdvancedInfo(opts *bind.CallOpts) (struct {
	State       uint8
	FirstPing   *big.Int
	LastPing    *big.Int
	PingClient  common.Address
	Ipv4Address string
}, error)

GetAdvancedInfo is a free data retrieval call binding the contract method 0x1fdfb43e.

Solidity: function getAdvancedInfo() constant returns(_state uint8, _firstPing uint256, _lastPing uint256, _pingClient address, _ipv4Address string)

func (*MNInstanceCaller) GetBasicInfo

func (_MNInstance *MNInstanceCaller) GetBasicInfo(opts *bind.CallOpts) (struct {
	Tier          uint8
	IsPrivate     bool
	ProposedId    uint32
	State         uint8
	Ipv4Address   string
	Alias         string
	Total_deposit *big.Int
}, error)

GetBasicInfo is a free data retrieval call binding the contract method 0x9f999da3.

Solidity: function getBasicInfo() constant returns(_tier uint8, _isPrivate bool, _proposedId uint32, _state uint8, _ipv4Address string, _alias string, _total_deposit uint256)

func (*MNInstanceCaller) GetId

func (_MNInstance *MNInstanceCaller) GetId(opts *bind.CallOpts) (uint32, error)

GetId is a free data retrieval call binding the contract method 0x5d1ca631.

Solidity: function getId() constant returns(_id uint32)

func (*MNInstanceCaller) GetInfo

func (_MNInstance *MNInstanceCaller) GetInfo(opts *bind.CallOpts) (struct {
	State           uint8
	Node_id         uint32
	Total_deposit   *big.Int
	Tier            uint8
	Is_halo_hosting bool
	Ping_client     common.Address
	First_ping      *big.Int
	Last_ping       *big.Int
	Ipv4_address    string
	Alias           string
}, error)

GetInfo is a free data retrieval call binding the contract method 0x5a9b0b89.

Solidity: function getInfo() constant returns(_state uint8, _node_id uint32, _total_deposit uint256, _tier uint8, _is_halo_hosting bool, _ping_client address, _first_ping uint256, _last_ping uint256, _ipv4_address string, _alias string)

func (*MNInstanceCaller) GetJoinerList

func (_MNInstance *MNInstanceCaller) GetJoinerList(opts *bind.CallOpts) ([]common.Address, error)

GetJoinerList is a free data retrieval call binding the contract method 0xb326e9fd.

Solidity: function getJoinerList() constant returns(_joiner_list address[])

func (*MNInstanceCaller) GetJoinerShare

func (_MNInstance *MNInstanceCaller) GetJoinerShare(opts *bind.CallOpts, _joinerAddress common.Address) (*big.Int, error)

GetJoinerShare is a free data retrieval call binding the contract method 0x393c8fa8.

Solidity: function getJoinerShare(_joinerAddress address) constant returns(_joiner_share uint256)

func (*MNInstanceCaller) GetOwnerList

func (_MNInstance *MNInstanceCaller) GetOwnerList(opts *bind.CallOpts) ([]common.Address, error)

GetOwnerList is a free data retrieval call binding the contract method 0x58100370.

Solidity: function getOwnerList() constant returns(_ownerList address[])

func (*MNInstanceCaller) GetOwnerShare

func (_MNInstance *MNInstanceCaller) GetOwnerShare(opts *bind.CallOpts, _ownerAddress common.Address) (*big.Int, error)

GetOwnerShare is a free data retrieval call binding the contract method 0x3268e7bc.

Solidity: function getOwnerShare(_ownerAddress address) constant returns(_ownerShare uint256)

func (*MNInstanceCaller) GetPrivateList

func (_MNInstance *MNInstanceCaller) GetPrivateList(opts *bind.CallOpts) ([]common.Address, error)

GetPrivateList is a free data retrieval call binding the contract method 0xce88de60.

Solidity: function getPrivateList() constant returns(_joiner_list address[])

func (*MNInstanceCaller) GetPrivateShare

func (_MNInstance *MNInstanceCaller) GetPrivateShare(opts *bind.CallOpts, _joinerAddress common.Address) (*big.Int, error)

GetPrivateShare is a free data retrieval call binding the contract method 0xe236a397.

Solidity: function getPrivateShare(_joinerAddress address) constant returns(_joiner_share uint256)

func (*MNInstanceCaller) GetSecurityAddrs

func (_MNInstance *MNInstanceCaller) GetSecurityAddrs(opts *bind.CallOpts) (struct {
	Factory     common.Address
	Admin       common.Address
	Marketplace common.Address
	Reward      common.Address
}, error)

GetSecurityAddrs is a free data retrieval call binding the contract method 0x7117c4a7.

Solidity: function getSecurityAddrs() constant returns(_factory address, _admin address, marketplace address, reward address)

func (*MNInstanceCaller) GetShareLocked

func (_MNInstance *MNInstanceCaller) GetShareLocked(opts *bind.CallOpts, _ownerAddress common.Address) (*big.Int, error)

GetShareLocked is a free data retrieval call binding the contract method 0xfbe7db85.

Solidity: function getShareLocked(_ownerAddress address) constant returns(_ownerShareLocked uint256)

func (*MNInstanceCaller) GetShareUnlocked

func (_MNInstance *MNInstanceCaller) GetShareUnlocked(opts *bind.CallOpts, _ownerAddress common.Address) (*big.Int, error)

GetShareUnlocked is a free data retrieval call binding the contract method 0x0f6a134f.

Solidity: function getShareUnlocked(_ownerAddress address) constant returns(_ownerShareUnlocked uint256)

func (*MNInstanceCaller) GetState

func (_MNInstance *MNInstanceCaller) GetState(opts *bind.CallOpts) (uint8, error)

GetState is a free data retrieval call binding the contract method 0x1865c57d.

Solidity: function getState() constant returns(_state uint8)

func (*MNInstanceCaller) GetTier

func (_MNInstance *MNInstanceCaller) GetTier(opts *bind.CallOpts) (uint8, error)

GetTier is a free data retrieval call binding the contract method 0x5ad701c2.

Solidity: function getTier() constant returns(_tier uint8)

type MNInstanceCallerRaw

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

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

func (*MNInstanceCallerRaw) Call

func (_MNInstance *MNInstanceCallerRaw) 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 MNInstanceCallerSession

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

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

func (*MNInstanceCallerSession) GetAdvancedInfo

func (_MNInstance *MNInstanceCallerSession) GetAdvancedInfo() (struct {
	State       uint8
	FirstPing   *big.Int
	LastPing    *big.Int
	PingClient  common.Address
	Ipv4Address string
}, error)

GetAdvancedInfo is a free data retrieval call binding the contract method 0x1fdfb43e.

Solidity: function getAdvancedInfo() constant returns(_state uint8, _firstPing uint256, _lastPing uint256, _pingClient address, _ipv4Address string)

func (*MNInstanceCallerSession) GetBasicInfo

func (_MNInstance *MNInstanceCallerSession) GetBasicInfo() (struct {
	Tier          uint8
	IsPrivate     bool
	ProposedId    uint32
	State         uint8
	Ipv4Address   string
	Alias         string
	Total_deposit *big.Int
}, error)

GetBasicInfo is a free data retrieval call binding the contract method 0x9f999da3.

Solidity: function getBasicInfo() constant returns(_tier uint8, _isPrivate bool, _proposedId uint32, _state uint8, _ipv4Address string, _alias string, _total_deposit uint256)

func (*MNInstanceCallerSession) GetId

func (_MNInstance *MNInstanceCallerSession) GetId() (uint32, error)

GetId is a free data retrieval call binding the contract method 0x5d1ca631.

Solidity: function getId() constant returns(_id uint32)

func (*MNInstanceCallerSession) GetInfo

func (_MNInstance *MNInstanceCallerSession) GetInfo() (struct {
	State           uint8
	Node_id         uint32
	Total_deposit   *big.Int
	Tier            uint8
	Is_halo_hosting bool
	Ping_client     common.Address
	First_ping      *big.Int
	Last_ping       *big.Int
	Ipv4_address    string
	Alias           string
}, error)

GetInfo is a free data retrieval call binding the contract method 0x5a9b0b89.

Solidity: function getInfo() constant returns(_state uint8, _node_id uint32, _total_deposit uint256, _tier uint8, _is_halo_hosting bool, _ping_client address, _first_ping uint256, _last_ping uint256, _ipv4_address string, _alias string)

func (*MNInstanceCallerSession) GetJoinerList

func (_MNInstance *MNInstanceCallerSession) GetJoinerList() ([]common.Address, error)

GetJoinerList is a free data retrieval call binding the contract method 0xb326e9fd.

Solidity: function getJoinerList() constant returns(_joiner_list address[])

func (*MNInstanceCallerSession) GetJoinerShare

func (_MNInstance *MNInstanceCallerSession) GetJoinerShare(_joinerAddress common.Address) (*big.Int, error)

GetJoinerShare is a free data retrieval call binding the contract method 0x393c8fa8.

Solidity: function getJoinerShare(_joinerAddress address) constant returns(_joiner_share uint256)

func (*MNInstanceCallerSession) GetOwnerList

func (_MNInstance *MNInstanceCallerSession) GetOwnerList() ([]common.Address, error)

GetOwnerList is a free data retrieval call binding the contract method 0x58100370.

Solidity: function getOwnerList() constant returns(_ownerList address[])

func (*MNInstanceCallerSession) GetOwnerShare

func (_MNInstance *MNInstanceCallerSession) GetOwnerShare(_ownerAddress common.Address) (*big.Int, error)

GetOwnerShare is a free data retrieval call binding the contract method 0x3268e7bc.

Solidity: function getOwnerShare(_ownerAddress address) constant returns(_ownerShare uint256)

func (*MNInstanceCallerSession) GetPrivateList

func (_MNInstance *MNInstanceCallerSession) GetPrivateList() ([]common.Address, error)

GetPrivateList is a free data retrieval call binding the contract method 0xce88de60.

Solidity: function getPrivateList() constant returns(_joiner_list address[])

func (*MNInstanceCallerSession) GetPrivateShare

func (_MNInstance *MNInstanceCallerSession) GetPrivateShare(_joinerAddress common.Address) (*big.Int, error)

GetPrivateShare is a free data retrieval call binding the contract method 0xe236a397.

Solidity: function getPrivateShare(_joinerAddress address) constant returns(_joiner_share uint256)

func (*MNInstanceCallerSession) GetSecurityAddrs

func (_MNInstance *MNInstanceCallerSession) GetSecurityAddrs() (struct {
	Factory     common.Address
	Admin       common.Address
	Marketplace common.Address
	Reward      common.Address
}, error)

GetSecurityAddrs is a free data retrieval call binding the contract method 0x7117c4a7.

Solidity: function getSecurityAddrs() constant returns(_factory address, _admin address, marketplace address, reward address)

func (*MNInstanceCallerSession) GetShareLocked

func (_MNInstance *MNInstanceCallerSession) GetShareLocked(_ownerAddress common.Address) (*big.Int, error)

GetShareLocked is a free data retrieval call binding the contract method 0xfbe7db85.

Solidity: function getShareLocked(_ownerAddress address) constant returns(_ownerShareLocked uint256)

func (*MNInstanceCallerSession) GetShareUnlocked

func (_MNInstance *MNInstanceCallerSession) GetShareUnlocked(_ownerAddress common.Address) (*big.Int, error)

GetShareUnlocked is a free data retrieval call binding the contract method 0x0f6a134f.

Solidity: function getShareUnlocked(_ownerAddress address) constant returns(_ownerShareUnlocked uint256)

func (*MNInstanceCallerSession) GetState

func (_MNInstance *MNInstanceCallerSession) GetState() (uint8, error)

GetState is a free data retrieval call binding the contract method 0x1865c57d.

Solidity: function getState() constant returns(_state uint8)

func (*MNInstanceCallerSession) GetTier

func (_MNInstance *MNInstanceCallerSession) GetTier() (uint8, error)

GetTier is a free data retrieval call binding the contract method 0x5ad701c2.

Solidity: function getTier() constant returns(_tier uint8)

type MNInstanceEvent_Action

type MNInstanceEvent_Action struct {
	JoinerAddr common.Address
	NodeAddr   common.Address
	NodeId     uint32
	EventType  uint8
	Raw        types.Log // Blockchain specific contextual infos
}

MNInstanceEvent_Action represents a Event_Action event raised by the MNInstance contract.

type MNInstanceEvent_ActionIterator

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

MNInstanceEvent_ActionIterator is returned from FilterEvent_Action and is used to iterate over the raw logs and unpacked data for Event_Action events raised by the MNInstance contract.

func (*MNInstanceEvent_ActionIterator) Close

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

func (*MNInstanceEvent_ActionIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*MNInstanceEvent_ActionIterator) 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 MNInstanceEvent_AdminChangeState

type MNInstanceEvent_AdminChangeState struct {
	State uint8
	Raw   types.Log // Blockchain specific contextual infos
}

MNInstanceEvent_AdminChangeState represents a Event_AdminChangeState event raised by the MNInstance contract.

type MNInstanceEvent_AdminChangeStateIterator

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

MNInstanceEvent_AdminChangeStateIterator is returned from FilterEvent_AdminChangeState and is used to iterate over the raw logs and unpacked data for Event_AdminChangeState events raised by the MNInstance contract.

func (*MNInstanceEvent_AdminChangeStateIterator) Close

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

func (*MNInstanceEvent_AdminChangeStateIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*MNInstanceEvent_AdminChangeStateIterator) 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 MNInstanceEvent_Reward

type MNInstanceEvent_Reward struct {
	NodeId uint32
	Value  *big.Int
	Raw    types.Log // Blockchain specific contextual infos
}

MNInstanceEvent_Reward represents a Event_Reward event raised by the MNInstance contract.

type MNInstanceEvent_RewardIterator

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

MNInstanceEvent_RewardIterator is returned from FilterEvent_Reward and is used to iterate over the raw logs and unpacked data for Event_Reward events raised by the MNInstance contract.

func (*MNInstanceEvent_RewardIterator) Close

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

func (*MNInstanceEvent_RewardIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*MNInstanceEvent_RewardIterator) 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 MNInstanceFilterer

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

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

func NewMNInstanceFilterer

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

NewMNInstanceFilterer creates a new log filterer instance of MNInstance, bound to a specific deployed contract.

func (*MNInstanceFilterer) FilterEvent_Action

func (_MNInstance *MNInstanceFilterer) FilterEvent_Action(opts *bind.FilterOpts, _joinerAddr []common.Address, _nodeAddr []common.Address) (*MNInstanceEvent_ActionIterator, error)

FilterEvent_Action is a free log retrieval operation binding the contract event 0xe2343d53ae3ed60cdff27b43bc04fb3bb73cfa592ecf22e7d210054594c734aa.

Solidity: event Event_Action(_joinerAddr indexed address, _nodeAddr indexed address, _nodeId uint32, _eventType uint8)

func (*MNInstanceFilterer) FilterEvent_AdminChangeState

func (_MNInstance *MNInstanceFilterer) FilterEvent_AdminChangeState(opts *bind.FilterOpts) (*MNInstanceEvent_AdminChangeStateIterator, error)

FilterEvent_AdminChangeState is a free log retrieval operation binding the contract event 0xbbb187c9c1fe36f650a38b0805b9e69063fc5c55dceca51340a6e9ae3a35779b.

Solidity: event Event_AdminChangeState(_state uint8)

func (*MNInstanceFilterer) FilterEvent_Reward

func (_MNInstance *MNInstanceFilterer) FilterEvent_Reward(opts *bind.FilterOpts) (*MNInstanceEvent_RewardIterator, error)

FilterEvent_Reward is a free log retrieval operation binding the contract event 0xd05dd570a29015f1fdb157114eafc8f308499cec6a10ecb5b3e46bfc98c3c7dc.

Solidity: event Event_Reward(_nodeId uint32, _value uint256)

func (*MNInstanceFilterer) WatchEvent_Action

func (_MNInstance *MNInstanceFilterer) WatchEvent_Action(opts *bind.WatchOpts, sink chan<- *MNInstanceEvent_Action, _joinerAddr []common.Address, _nodeAddr []common.Address) (event.Subscription, error)

WatchEvent_Action is a free log subscription operation binding the contract event 0xe2343d53ae3ed60cdff27b43bc04fb3bb73cfa592ecf22e7d210054594c734aa.

Solidity: event Event_Action(_joinerAddr indexed address, _nodeAddr indexed address, _nodeId uint32, _eventType uint8)

func (*MNInstanceFilterer) WatchEvent_AdminChangeState

func (_MNInstance *MNInstanceFilterer) WatchEvent_AdminChangeState(opts *bind.WatchOpts, sink chan<- *MNInstanceEvent_AdminChangeState) (event.Subscription, error)

WatchEvent_AdminChangeState is a free log subscription operation binding the contract event 0xbbb187c9c1fe36f650a38b0805b9e69063fc5c55dceca51340a6e9ae3a35779b.

Solidity: event Event_AdminChangeState(_state uint8)

func (*MNInstanceFilterer) WatchEvent_Reward

func (_MNInstance *MNInstanceFilterer) WatchEvent_Reward(opts *bind.WatchOpts, sink chan<- *MNInstanceEvent_Reward) (event.Subscription, error)

WatchEvent_Reward is a free log subscription operation binding the contract event 0xd05dd570a29015f1fdb157114eafc8f308499cec6a10ecb5b3e46bfc98c3c7dc.

Solidity: event Event_Reward(_nodeId uint32, _value uint256)

type MNInstanceRaw

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

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

func (*MNInstanceRaw) Call

func (_MNInstance *MNInstanceRaw) 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 (*MNInstanceRaw) Transact

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

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

func (*MNInstanceRaw) Transfer

func (_MNInstance *MNInstanceRaw) 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 MNInstanceSession

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

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

func (*MNInstanceSession) Destroy

func (_MNInstance *MNInstanceSession) Destroy(withdrawer common.Address) (*types.Transaction, error)

Destroy is a paid mutator transaction binding the contract method 0x00f55d9d.

Solidity: function destroy(withdrawer address) returns()

func (*MNInstanceSession) DistributeReward

func (_MNInstance *MNInstanceSession) DistributeReward() (*types.Transaction, error)

DistributeReward is a paid mutator transaction binding the contract method 0x8f73c5ae.

Solidity: function distributeReward() returns()

func (*MNInstanceSession) DoPing

func (_MNInstance *MNInstanceSession) DoPing(_pinger common.Address, _ipv4Address string) (*types.Transaction, error)

DoPing is a paid mutator transaction binding the contract method 0x44811585.

Solidity: function doPing(_pinger address, _ipv4Address string) returns()

func (*MNInstanceSession) GetAdvancedInfo

func (_MNInstance *MNInstanceSession) GetAdvancedInfo() (struct {
	State       uint8
	FirstPing   *big.Int
	LastPing    *big.Int
	PingClient  common.Address
	Ipv4Address string
}, error)

GetAdvancedInfo is a free data retrieval call binding the contract method 0x1fdfb43e.

Solidity: function getAdvancedInfo() constant returns(_state uint8, _firstPing uint256, _lastPing uint256, _pingClient address, _ipv4Address string)

func (*MNInstanceSession) GetBasicInfo

func (_MNInstance *MNInstanceSession) GetBasicInfo() (struct {
	Tier          uint8
	IsPrivate     bool
	ProposedId    uint32
	State         uint8
	Ipv4Address   string
	Alias         string
	Total_deposit *big.Int
}, error)

GetBasicInfo is a free data retrieval call binding the contract method 0x9f999da3.

Solidity: function getBasicInfo() constant returns(_tier uint8, _isPrivate bool, _proposedId uint32, _state uint8, _ipv4Address string, _alias string, _total_deposit uint256)

func (*MNInstanceSession) GetId

func (_MNInstance *MNInstanceSession) GetId() (uint32, error)

GetId is a free data retrieval call binding the contract method 0x5d1ca631.

Solidity: function getId() constant returns(_id uint32)

func (*MNInstanceSession) GetInfo

func (_MNInstance *MNInstanceSession) GetInfo() (struct {
	State           uint8
	Node_id         uint32
	Total_deposit   *big.Int
	Tier            uint8
	Is_halo_hosting bool
	Ping_client     common.Address
	First_ping      *big.Int
	Last_ping       *big.Int
	Ipv4_address    string
	Alias           string
}, error)

GetInfo is a free data retrieval call binding the contract method 0x5a9b0b89.

Solidity: function getInfo() constant returns(_state uint8, _node_id uint32, _total_deposit uint256, _tier uint8, _is_halo_hosting bool, _ping_client address, _first_ping uint256, _last_ping uint256, _ipv4_address string, _alias string)

func (*MNInstanceSession) GetJoinerList

func (_MNInstance *MNInstanceSession) GetJoinerList() ([]common.Address, error)

GetJoinerList is a free data retrieval call binding the contract method 0xb326e9fd.

Solidity: function getJoinerList() constant returns(_joiner_list address[])

func (*MNInstanceSession) GetJoinerShare

func (_MNInstance *MNInstanceSession) GetJoinerShare(_joinerAddress common.Address) (*big.Int, error)

GetJoinerShare is a free data retrieval call binding the contract method 0x393c8fa8.

Solidity: function getJoinerShare(_joinerAddress address) constant returns(_joiner_share uint256)

func (*MNInstanceSession) GetOwnerList

func (_MNInstance *MNInstanceSession) GetOwnerList() ([]common.Address, error)

GetOwnerList is a free data retrieval call binding the contract method 0x58100370.

Solidity: function getOwnerList() constant returns(_ownerList address[])

func (*MNInstanceSession) GetOwnerShare

func (_MNInstance *MNInstanceSession) GetOwnerShare(_ownerAddress common.Address) (*big.Int, error)

GetOwnerShare is a free data retrieval call binding the contract method 0x3268e7bc.

Solidity: function getOwnerShare(_ownerAddress address) constant returns(_ownerShare uint256)

func (*MNInstanceSession) GetPrivateList

func (_MNInstance *MNInstanceSession) GetPrivateList() ([]common.Address, error)

GetPrivateList is a free data retrieval call binding the contract method 0xce88de60.

Solidity: function getPrivateList() constant returns(_joiner_list address[])

func (*MNInstanceSession) GetPrivateShare

func (_MNInstance *MNInstanceSession) GetPrivateShare(_joinerAddress common.Address) (*big.Int, error)

GetPrivateShare is a free data retrieval call binding the contract method 0xe236a397.

Solidity: function getPrivateShare(_joinerAddress address) constant returns(_joiner_share uint256)

func (*MNInstanceSession) GetSecurityAddrs

func (_MNInstance *MNInstanceSession) GetSecurityAddrs() (struct {
	Factory     common.Address
	Admin       common.Address
	Marketplace common.Address
	Reward      common.Address
}, error)

GetSecurityAddrs is a free data retrieval call binding the contract method 0x7117c4a7.

Solidity: function getSecurityAddrs() constant returns(_factory address, _admin address, marketplace address, reward address)

func (*MNInstanceSession) GetShareLocked

func (_MNInstance *MNInstanceSession) GetShareLocked(_ownerAddress common.Address) (*big.Int, error)

GetShareLocked is a free data retrieval call binding the contract method 0xfbe7db85.

Solidity: function getShareLocked(_ownerAddress address) constant returns(_ownerShareLocked uint256)

func (*MNInstanceSession) GetShareUnlocked

func (_MNInstance *MNInstanceSession) GetShareUnlocked(_ownerAddress common.Address) (*big.Int, error)

GetShareUnlocked is a free data retrieval call binding the contract method 0x0f6a134f.

Solidity: function getShareUnlocked(_ownerAddress address) constant returns(_ownerShareUnlocked uint256)

func (*MNInstanceSession) GetState

func (_MNInstance *MNInstanceSession) GetState() (uint8, error)

GetState is a free data retrieval call binding the contract method 0x1865c57d.

Solidity: function getState() constant returns(_state uint8)

func (*MNInstanceSession) GetTier

func (_MNInstance *MNInstanceSession) GetTier() (uint8, error)

GetTier is a free data retrieval call binding the contract method 0x5ad701c2.

Solidity: function getTier() constant returns(_tier uint8)

func (*MNInstanceSession) Join

func (_MNInstance *MNInstanceSession) Join(_joiner common.Address) (*types.Transaction, error)

Join is a paid mutator transaction binding the contract method 0x28ffe6c8.

Solidity: function join(_joiner address) returns()

func (*MNInstanceSession) LockShare

func (_MNInstance *MNInstanceSession) LockShare(_ownerAddress common.Address, _shareToBeLocked *big.Int) (*types.Transaction, error)

LockShare is a paid mutator transaction binding the contract method 0xc8b04290.

Solidity: function lockShare(_ownerAddress address, _shareToBeLocked uint256) returns()

func (*MNInstanceSession) SetAdvancedInfo

func (_MNInstance *MNInstanceSession) SetAdvancedInfo(_state uint8, _firstPing *big.Int, _lastPing *big.Int, _pingClient common.Address, _ipv4Address string) (*types.Transaction, error)

SetAdvancedInfo is a paid mutator transaction binding the contract method 0x310e6e3a.

Solidity: function setAdvancedInfo(_state uint8, _firstPing uint256, _lastPing uint256, _pingClient address, _ipv4Address string) returns()

func (*MNInstanceSession) SetBasicInfo

func (_MNInstance *MNInstanceSession) SetBasicInfo(_tier uint8, _tierPrice *big.Int, _isPrivate bool, _proposedId uint32, _state uint8, _isHaloHosting bool, _ipv4Address string, _alias string) (*types.Transaction, error)

SetBasicInfo is a paid mutator transaction binding the contract method 0x8473a590.

Solidity: function setBasicInfo(_tier uint8, _tierPrice uint256, _isPrivate bool, _proposedId uint32, _state uint8, _isHaloHosting bool, _ipv4Address string, _alias string) returns()

func (*MNInstanceSession) SetPing

func (_MNInstance *MNInstanceSession) SetPing(_firstPing *big.Int, _lastPing *big.Int) (*types.Transaction, error)

SetPing is a paid mutator transaction binding the contract method 0x02207294.

Solidity: function setPing(_firstPing uint256, _lastPing uint256) returns()

func (*MNInstanceSession) SetSecurityAddrs

func (_MNInstance *MNInstanceSession) SetSecurityAddrs(_mnAdmin common.Address, _mnMarketplace common.Address, _mnReward common.Address) (*types.Transaction, error)

SetSecurityAddrs is a paid mutator transaction binding the contract method 0xbe854c1d.

Solidity: function setSecurityAddrs(_mnAdmin address, _mnMarketplace address, _mnReward address) returns()

func (*MNInstanceSession) SetState

func (_MNInstance *MNInstanceSession) SetState(_state uint8) (*types.Transaction, error)

SetState is a paid mutator transaction binding the contract method 0x56de96db.

Solidity: function setState(_state uint8) returns()

func (*MNInstanceSession) TransferOwnership

func (_MNInstance *MNInstanceSession) TransferOwnership(seller common.Address, buyer common.Address, _shareSold *big.Int) (*types.Transaction, error)

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

Solidity: function transferOwnership(seller address, buyer address, _shareSold uint256) returns()

func (*MNInstanceSession) UnlockShare

func (_MNInstance *MNInstanceSession) UnlockShare(_ownerAddress common.Address, _shareToBeUnlocked *big.Int) (*types.Transaction, error)

UnlockShare is a paid mutator transaction binding the contract method 0xf096ca8b.

Solidity: function unlockShare(_ownerAddress address, _shareToBeUnlocked uint256) returns()

func (*MNInstanceSession) Withdraw

func (_MNInstance *MNInstanceSession) Withdraw(withdrawer common.Address, _withdrawValue *big.Int) (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0xf3fef3a3.

Solidity: function withdraw(withdrawer address, _withdrawValue uint256) returns()

type MNInstanceTransactor

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

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

func NewMNInstanceTransactor

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

NewMNInstanceTransactor creates a new write-only instance of MNInstance, bound to a specific deployed contract.

func (*MNInstanceTransactor) Destroy

func (_MNInstance *MNInstanceTransactor) Destroy(opts *bind.TransactOpts, withdrawer common.Address) (*types.Transaction, error)

Destroy is a paid mutator transaction binding the contract method 0x00f55d9d.

Solidity: function destroy(withdrawer address) returns()

func (*MNInstanceTransactor) DistributeReward

func (_MNInstance *MNInstanceTransactor) DistributeReward(opts *bind.TransactOpts) (*types.Transaction, error)

DistributeReward is a paid mutator transaction binding the contract method 0x8f73c5ae.

Solidity: function distributeReward() returns()

func (*MNInstanceTransactor) DoPing

func (_MNInstance *MNInstanceTransactor) DoPing(opts *bind.TransactOpts, _pinger common.Address, _ipv4Address string) (*types.Transaction, error)

DoPing is a paid mutator transaction binding the contract method 0x44811585.

Solidity: function doPing(_pinger address, _ipv4Address string) returns()

func (*MNInstanceTransactor) Join

func (_MNInstance *MNInstanceTransactor) Join(opts *bind.TransactOpts, _joiner common.Address) (*types.Transaction, error)

Join is a paid mutator transaction binding the contract method 0x28ffe6c8.

Solidity: function join(_joiner address) returns()

func (*MNInstanceTransactor) LockShare

func (_MNInstance *MNInstanceTransactor) LockShare(opts *bind.TransactOpts, _ownerAddress common.Address, _shareToBeLocked *big.Int) (*types.Transaction, error)

LockShare is a paid mutator transaction binding the contract method 0xc8b04290.

Solidity: function lockShare(_ownerAddress address, _shareToBeLocked uint256) returns()

func (*MNInstanceTransactor) SetAdvancedInfo

func (_MNInstance *MNInstanceTransactor) SetAdvancedInfo(opts *bind.TransactOpts, _state uint8, _firstPing *big.Int, _lastPing *big.Int, _pingClient common.Address, _ipv4Address string) (*types.Transaction, error)

SetAdvancedInfo is a paid mutator transaction binding the contract method 0x310e6e3a.

Solidity: function setAdvancedInfo(_state uint8, _firstPing uint256, _lastPing uint256, _pingClient address, _ipv4Address string) returns()

func (*MNInstanceTransactor) SetBasicInfo

func (_MNInstance *MNInstanceTransactor) SetBasicInfo(opts *bind.TransactOpts, _tier uint8, _tierPrice *big.Int, _isPrivate bool, _proposedId uint32, _state uint8, _isHaloHosting bool, _ipv4Address string, _alias string) (*types.Transaction, error)

SetBasicInfo is a paid mutator transaction binding the contract method 0x8473a590.

Solidity: function setBasicInfo(_tier uint8, _tierPrice uint256, _isPrivate bool, _proposedId uint32, _state uint8, _isHaloHosting bool, _ipv4Address string, _alias string) returns()

func (*MNInstanceTransactor) SetPing

func (_MNInstance *MNInstanceTransactor) SetPing(opts *bind.TransactOpts, _firstPing *big.Int, _lastPing *big.Int) (*types.Transaction, error)

SetPing is a paid mutator transaction binding the contract method 0x02207294.

Solidity: function setPing(_firstPing uint256, _lastPing uint256) returns()

func (*MNInstanceTransactor) SetSecurityAddrs

func (_MNInstance *MNInstanceTransactor) SetSecurityAddrs(opts *bind.TransactOpts, _mnAdmin common.Address, _mnMarketplace common.Address, _mnReward common.Address) (*types.Transaction, error)

SetSecurityAddrs is a paid mutator transaction binding the contract method 0xbe854c1d.

Solidity: function setSecurityAddrs(_mnAdmin address, _mnMarketplace address, _mnReward address) returns()

func (*MNInstanceTransactor) SetState

func (_MNInstance *MNInstanceTransactor) SetState(opts *bind.TransactOpts, _state uint8) (*types.Transaction, error)

SetState is a paid mutator transaction binding the contract method 0x56de96db.

Solidity: function setState(_state uint8) returns()

func (*MNInstanceTransactor) TransferOwnership

func (_MNInstance *MNInstanceTransactor) TransferOwnership(opts *bind.TransactOpts, seller common.Address, buyer common.Address, _shareSold *big.Int) (*types.Transaction, error)

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

Solidity: function transferOwnership(seller address, buyer address, _shareSold uint256) returns()

func (*MNInstanceTransactor) UnlockShare

func (_MNInstance *MNInstanceTransactor) UnlockShare(opts *bind.TransactOpts, _ownerAddress common.Address, _shareToBeUnlocked *big.Int) (*types.Transaction, error)

UnlockShare is a paid mutator transaction binding the contract method 0xf096ca8b.

Solidity: function unlockShare(_ownerAddress address, _shareToBeUnlocked uint256) returns()

func (*MNInstanceTransactor) Withdraw

func (_MNInstance *MNInstanceTransactor) Withdraw(opts *bind.TransactOpts, withdrawer common.Address, _withdrawValue *big.Int) (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0xf3fef3a3.

Solidity: function withdraw(withdrawer address, _withdrawValue uint256) returns()

type MNInstanceTransactorRaw

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

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

func (*MNInstanceTransactorRaw) Transact

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

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

func (*MNInstanceTransactorRaw) Transfer

func (_MNInstance *MNInstanceTransactorRaw) 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 MNInstanceTransactorSession

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

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

func (*MNInstanceTransactorSession) Destroy

func (_MNInstance *MNInstanceTransactorSession) Destroy(withdrawer common.Address) (*types.Transaction, error)

Destroy is a paid mutator transaction binding the contract method 0x00f55d9d.

Solidity: function destroy(withdrawer address) returns()

func (*MNInstanceTransactorSession) DistributeReward

func (_MNInstance *MNInstanceTransactorSession) DistributeReward() (*types.Transaction, error)

DistributeReward is a paid mutator transaction binding the contract method 0x8f73c5ae.

Solidity: function distributeReward() returns()

func (*MNInstanceTransactorSession) DoPing

func (_MNInstance *MNInstanceTransactorSession) DoPing(_pinger common.Address, _ipv4Address string) (*types.Transaction, error)

DoPing is a paid mutator transaction binding the contract method 0x44811585.

Solidity: function doPing(_pinger address, _ipv4Address string) returns()

func (*MNInstanceTransactorSession) Join

func (_MNInstance *MNInstanceTransactorSession) Join(_joiner common.Address) (*types.Transaction, error)

Join is a paid mutator transaction binding the contract method 0x28ffe6c8.

Solidity: function join(_joiner address) returns()

func (*MNInstanceTransactorSession) LockShare

func (_MNInstance *MNInstanceTransactorSession) LockShare(_ownerAddress common.Address, _shareToBeLocked *big.Int) (*types.Transaction, error)

LockShare is a paid mutator transaction binding the contract method 0xc8b04290.

Solidity: function lockShare(_ownerAddress address, _shareToBeLocked uint256) returns()

func (*MNInstanceTransactorSession) SetAdvancedInfo

func (_MNInstance *MNInstanceTransactorSession) SetAdvancedInfo(_state uint8, _firstPing *big.Int, _lastPing *big.Int, _pingClient common.Address, _ipv4Address string) (*types.Transaction, error)

SetAdvancedInfo is a paid mutator transaction binding the contract method 0x310e6e3a.

Solidity: function setAdvancedInfo(_state uint8, _firstPing uint256, _lastPing uint256, _pingClient address, _ipv4Address string) returns()

func (*MNInstanceTransactorSession) SetBasicInfo

func (_MNInstance *MNInstanceTransactorSession) SetBasicInfo(_tier uint8, _tierPrice *big.Int, _isPrivate bool, _proposedId uint32, _state uint8, _isHaloHosting bool, _ipv4Address string, _alias string) (*types.Transaction, error)

SetBasicInfo is a paid mutator transaction binding the contract method 0x8473a590.

Solidity: function setBasicInfo(_tier uint8, _tierPrice uint256, _isPrivate bool, _proposedId uint32, _state uint8, _isHaloHosting bool, _ipv4Address string, _alias string) returns()

func (*MNInstanceTransactorSession) SetPing

func (_MNInstance *MNInstanceTransactorSession) SetPing(_firstPing *big.Int, _lastPing *big.Int) (*types.Transaction, error)

SetPing is a paid mutator transaction binding the contract method 0x02207294.

Solidity: function setPing(_firstPing uint256, _lastPing uint256) returns()

func (*MNInstanceTransactorSession) SetSecurityAddrs

func (_MNInstance *MNInstanceTransactorSession) SetSecurityAddrs(_mnAdmin common.Address, _mnMarketplace common.Address, _mnReward common.Address) (*types.Transaction, error)

SetSecurityAddrs is a paid mutator transaction binding the contract method 0xbe854c1d.

Solidity: function setSecurityAddrs(_mnAdmin address, _mnMarketplace address, _mnReward address) returns()

func (*MNInstanceTransactorSession) SetState

func (_MNInstance *MNInstanceTransactorSession) SetState(_state uint8) (*types.Transaction, error)

SetState is a paid mutator transaction binding the contract method 0x56de96db.

Solidity: function setState(_state uint8) returns()

func (*MNInstanceTransactorSession) TransferOwnership

func (_MNInstance *MNInstanceTransactorSession) TransferOwnership(seller common.Address, buyer common.Address, _shareSold *big.Int) (*types.Transaction, error)

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

Solidity: function transferOwnership(seller address, buyer address, _shareSold uint256) returns()

func (*MNInstanceTransactorSession) UnlockShare

func (_MNInstance *MNInstanceTransactorSession) UnlockShare(_ownerAddress common.Address, _shareToBeUnlocked *big.Int) (*types.Transaction, error)

UnlockShare is a paid mutator transaction binding the contract method 0xf096ca8b.

Solidity: function unlockShare(_ownerAddress address, _shareToBeUnlocked uint256) returns()

func (*MNInstanceTransactorSession) Withdraw

func (_MNInstance *MNInstanceTransactorSession) Withdraw(withdrawer common.Address, _withdrawValue *big.Int) (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0xf3fef3a3.

Solidity: function withdraw(withdrawer address, _withdrawValue uint256) returns()

type MNReward

type MNReward struct {
	MNRewardCaller     // Read-only binding to the contract
	MNRewardTransactor // Write-only binding to the contract
	MNRewardFilterer   // Log filterer for contract events
}

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

func DeployMNReward

func DeployMNReward(auth *bind.TransactOpts, backend bind.ContractBackend, _mnFactoryAddr common.Address) (common.Address, *types.Transaction, *MNReward, error)

DeployMNReward deploys a new Ethereum contract, binding an instance of MNReward to it.

func NewMNReward

func NewMNReward(address common.Address, backend bind.ContractBackend) (*MNReward, error)

NewMNReward creates a new instance of MNReward, bound to a specific deployed contract.

type MNRewardCaller

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

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

func NewMNRewardCaller

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

NewMNRewardCaller creates a new read-only instance of MNReward, bound to a specific deployed contract.

type MNRewardCallerRaw

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

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

func (*MNRewardCallerRaw) Call

func (_MNReward *MNRewardCallerRaw) 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 MNRewardCallerSession

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

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

type MNRewardEvent_MNReward

type MNRewardEvent_MNReward struct {
	Mn_instanceship_addr common.Address
	Node_id              uint32
	Event_type           uint8
	Raw                  types.Log // Blockchain specific contextual infos
}

MNRewardEvent_MNReward represents a Event_MNReward event raised by the MNReward contract.

type MNRewardEvent_MNRewardIterator

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

MNRewardEvent_MNRewardIterator is returned from FilterEvent_MNReward and is used to iterate over the raw logs and unpacked data for Event_MNReward events raised by the MNReward contract.

func (*MNRewardEvent_MNRewardIterator) Close

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

func (*MNRewardEvent_MNRewardIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*MNRewardEvent_MNRewardIterator) 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 MNRewardFilterer

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

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

func NewMNRewardFilterer

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

NewMNRewardFilterer creates a new log filterer instance of MNReward, bound to a specific deployed contract.

func (*MNRewardFilterer) FilterEvent_MNReward

func (_MNReward *MNRewardFilterer) FilterEvent_MNReward(opts *bind.FilterOpts, _mn_instanceship_addr []common.Address) (*MNRewardEvent_MNRewardIterator, error)

FilterEvent_MNReward is a free log retrieval operation binding the contract event 0xe82c65f4c00cc057ae0b661a2b50bc3c5c21061932774f87a5fdeab3de9526fc.

Solidity: event Event_MNReward(_mn_instanceship_addr indexed address, _node_id uint32, _event_type uint8)

func (*MNRewardFilterer) WatchEvent_MNReward

func (_MNReward *MNRewardFilterer) WatchEvent_MNReward(opts *bind.WatchOpts, sink chan<- *MNRewardEvent_MNReward, _mn_instanceship_addr []common.Address) (event.Subscription, error)

WatchEvent_MNReward is a free log subscription operation binding the contract event 0xe82c65f4c00cc057ae0b661a2b50bc3c5c21061932774f87a5fdeab3de9526fc.

Solidity: event Event_MNReward(_mn_instanceship_addr indexed address, _node_id uint32, _event_type uint8)

type MNRewardRaw

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

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

func (*MNRewardRaw) Call

func (_MNReward *MNRewardRaw) 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 (*MNRewardRaw) Transact

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

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

func (*MNRewardRaw) Transfer

func (_MNReward *MNRewardRaw) 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 MNRewardSession

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

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

func (*MNRewardSession) AdminSetFundAddr

func (_MNReward *MNRewardSession) AdminSetFundAddr(_halo_fund_addr common.Address) (*types.Transaction, error)

AdminSetFundAddr is a paid mutator transaction binding the contract method 0x47ae1d78.

Solidity: function AdminSetFundAddr(_halo_fund_addr address) returns()

func (*MNRewardSession) BlockRewardMN

func (_MNReward *MNRewardSession) BlockRewardMN(_miner_address common.Address) (*types.Transaction, error)

BlockRewardMN is a paid mutator transaction binding the contract method 0x68587be4.

Solidity: function blockRewardMN(_miner_address address) returns()

func (*MNRewardSession) DoPing

func (_MNReward *MNRewardSession) DoPing(_mnAddr common.Address, _ipv4Addr string) (*types.Transaction, error)

DoPing is a paid mutator transaction binding the contract method 0x44811585.

Solidity: function doPing(_mnAddr address, _ipv4Addr string) returns()

func (*MNRewardSession) ReceiveFee

func (_MNReward *MNRewardSession) ReceiveFee() (*types.Transaction, error)

ReceiveFee is a paid mutator transaction binding the contract method 0xe18b7fcf.

Solidity: function receiveFee() returns()

type MNRewardTransactor

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

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

func NewMNRewardTransactor

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

NewMNRewardTransactor creates a new write-only instance of MNReward, bound to a specific deployed contract.

func (*MNRewardTransactor) AdminSetFundAddr

func (_MNReward *MNRewardTransactor) AdminSetFundAddr(opts *bind.TransactOpts, _halo_fund_addr common.Address) (*types.Transaction, error)

AdminSetFundAddr is a paid mutator transaction binding the contract method 0x47ae1d78.

Solidity: function AdminSetFundAddr(_halo_fund_addr address) returns()

func (*MNRewardTransactor) BlockRewardMN

func (_MNReward *MNRewardTransactor) BlockRewardMN(opts *bind.TransactOpts, _miner_address common.Address) (*types.Transaction, error)

BlockRewardMN is a paid mutator transaction binding the contract method 0x68587be4.

Solidity: function blockRewardMN(_miner_address address) returns()

func (*MNRewardTransactor) DoPing

func (_MNReward *MNRewardTransactor) DoPing(opts *bind.TransactOpts, _mnAddr common.Address, _ipv4Addr string) (*types.Transaction, error)

DoPing is a paid mutator transaction binding the contract method 0x44811585.

Solidity: function doPing(_mnAddr address, _ipv4Addr string) returns()

func (*MNRewardTransactor) ReceiveFee

func (_MNReward *MNRewardTransactor) ReceiveFee(opts *bind.TransactOpts) (*types.Transaction, error)

ReceiveFee is a paid mutator transaction binding the contract method 0xe18b7fcf.

Solidity: function receiveFee() returns()

type MNRewardTransactorRaw

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

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

func (*MNRewardTransactorRaw) Transact

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

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

func (*MNRewardTransactorRaw) Transfer

func (_MNReward *MNRewardTransactorRaw) 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 MNRewardTransactorSession

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

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

func (*MNRewardTransactorSession) AdminSetFundAddr

func (_MNReward *MNRewardTransactorSession) AdminSetFundAddr(_halo_fund_addr common.Address) (*types.Transaction, error)

AdminSetFundAddr is a paid mutator transaction binding the contract method 0x47ae1d78.

Solidity: function AdminSetFundAddr(_halo_fund_addr address) returns()

func (*MNRewardTransactorSession) BlockRewardMN

func (_MNReward *MNRewardTransactorSession) BlockRewardMN(_miner_address common.Address) (*types.Transaction, error)

BlockRewardMN is a paid mutator transaction binding the contract method 0x68587be4.

Solidity: function blockRewardMN(_miner_address address) returns()

func (*MNRewardTransactorSession) DoPing

func (_MNReward *MNRewardTransactorSession) DoPing(_mnAddr common.Address, _ipv4Addr string) (*types.Transaction, error)

DoPing is a paid mutator transaction binding the contract method 0x44811585.

Solidity: function doPing(_mnAddr address, _ipv4Addr string) returns()

func (*MNRewardTransactorSession) ReceiveFee

func (_MNReward *MNRewardTransactorSession) ReceiveFee() (*types.Transaction, error)

ReceiveFee is a paid mutator transaction binding the contract method 0xe18b7fcf.

Solidity: function receiveFee() returns()

Jump to

Keyboard shortcuts

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