rgy

package
v0.0.0-...-485f1ab Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2019 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const RgyABI = "" /* 2744-byte string literal not displayed */

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

Variables

View Source
var RgyBin = "" /* 6034-byte string literal not displayed */

RgyBin is the compiled bytecode used for deploying new contracts.

Functions

This section is empty.

Types

type Rgy

type Rgy struct {
	RgyCaller     // Read-only binding to the contract
	RgyTransactor // Write-only binding to the contract
	RgyFilterer   // Log filterer for contract events
}

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

func DeployRgy

func DeployRgy(auth *bind.TransactOpts, backend bind.ContractBackend, _name string, _developer common.Address, _shares *big.Int, _cost *big.Int) (common.Address, *types.Transaction, *Rgy, error)

DeployRgy deploys a new Ethereum contract, binding an instance of Rgy to it.

func NewRgy

func NewRgy(address common.Address, backend bind.ContractBackend) (*Rgy, error)

NewRgy creates a new instance of Rgy, bound to a specific deployed contract.

type RgyAvailableToTransferChange

type RgyAvailableToTransferChange struct {
	Available bool
	Raw       types.Log // Blockchain specific contextual infos
}

RgyAvailableToTransferChange represents a AvailableToTransferChange event raised by the Rgy contract.

type RgyAvailableToTransferChangeIterator

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

RgyAvailableToTransferChangeIterator is returned from FilterAvailableToTransferChange and is used to iterate over the raw logs and unpacked data for AvailableToTransferChange events raised by the Rgy contract.

func (*RgyAvailableToTransferChangeIterator) Close

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

func (*RgyAvailableToTransferChangeIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*RgyAvailableToTransferChangeIterator) 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 RgyCaller

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

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

func NewRgyCaller

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

NewRgyCaller creates a new read-only instance of Rgy, bound to a specific deployed contract.

func (*RgyCaller) AvailableToTransfer

func (_Rgy *RgyCaller) AvailableToTransfer(opts *bind.CallOpts) (bool, error)

AvailableToTransfer is a free data retrieval call binding the contract method 0xd57d0d39.

Solidity: function availableToTransfer() constant returns(bool)

func (*RgyCaller) Balance

func (_Rgy *RgyCaller) Balance(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

Balance is a free data retrieval call binding the contract method 0xe3d670d7.

Solidity: function balance(address ) constant returns(uint256)

func (*RgyCaller) Cost

func (_Rgy *RgyCaller) Cost(opts *bind.CallOpts) (*big.Int, error)

Cost is a free data retrieval call binding the contract method 0x13faede6.

Solidity: function cost() constant returns(uint256)

func (*RgyCaller) Developer

func (_Rgy *RgyCaller) Developer(opts *bind.CallOpts) (common.Address, error)

Developer is a free data retrieval call binding the contract method 0xca4b208b.

Solidity: function developer() constant returns(address)

func (*RgyCaller) GetAvailableShares

func (_Rgy *RgyCaller) GetAvailableShares(opts *bind.CallOpts) (*big.Int, error)

GetAvailableShares is a free data retrieval call binding the contract method 0x817bc0cb.

Solidity: function getAvailableShares() constant returns(uint256)

func (*RgyCaller) GetGenesis

func (_Rgy *RgyCaller) GetGenesis(opts *bind.CallOpts) (*big.Int, error)

GetGenesis is a free data retrieval call binding the contract method 0x1a43bcb5.

Solidity: function getGenesis() constant returns(uint256)

func (*RgyCaller) GetSoldShares

func (_Rgy *RgyCaller) GetSoldShares(opts *bind.CallOpts) (*big.Int, error)

GetSoldShares is a free data retrieval call binding the contract method 0xba0aef15.

Solidity: function getSoldShares() constant returns(uint256)

func (*RgyCaller) GetTotalShareholders

func (_Rgy *RgyCaller) GetTotalShareholders(opts *bind.CallOpts) (*big.Int, error)

GetTotalShareholders is a free data retrieval call binding the contract method 0x690b90a9.

Solidity: function getTotalShareholders() constant returns(uint256)

func (*RgyCaller) Name

func (_Rgy *RgyCaller) Name(opts *bind.CallOpts) (string, error)

Name is a free data retrieval call binding the contract method 0x06fdde03.

Solidity: function name() constant returns(string)

func (*RgyCaller) Shareholders

func (_Rgy *RgyCaller) Shareholders(opts *bind.CallOpts, arg0 *big.Int) (common.Address, error)

Shareholders is a free data retrieval call binding the contract method 0xab377daa.

Solidity: function shareholders(uint256 ) constant returns(address)

type RgyCallerRaw

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

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

func (*RgyCallerRaw) Call

func (_Rgy *RgyCallerRaw) 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 RgyCallerSession

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

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

func (*RgyCallerSession) AvailableToTransfer

func (_Rgy *RgyCallerSession) AvailableToTransfer() (bool, error)

AvailableToTransfer is a free data retrieval call binding the contract method 0xd57d0d39.

Solidity: function availableToTransfer() constant returns(bool)

func (*RgyCallerSession) Balance

func (_Rgy *RgyCallerSession) Balance(arg0 common.Address) (*big.Int, error)

Balance is a free data retrieval call binding the contract method 0xe3d670d7.

Solidity: function balance(address ) constant returns(uint256)

func (*RgyCallerSession) Cost

func (_Rgy *RgyCallerSession) Cost() (*big.Int, error)

Cost is a free data retrieval call binding the contract method 0x13faede6.

Solidity: function cost() constant returns(uint256)

func (*RgyCallerSession) Developer

func (_Rgy *RgyCallerSession) Developer() (common.Address, error)

Developer is a free data retrieval call binding the contract method 0xca4b208b.

Solidity: function developer() constant returns(address)

func (*RgyCallerSession) GetAvailableShares

func (_Rgy *RgyCallerSession) GetAvailableShares() (*big.Int, error)

GetAvailableShares is a free data retrieval call binding the contract method 0x817bc0cb.

Solidity: function getAvailableShares() constant returns(uint256)

func (*RgyCallerSession) GetGenesis

func (_Rgy *RgyCallerSession) GetGenesis() (*big.Int, error)

GetGenesis is a free data retrieval call binding the contract method 0x1a43bcb5.

Solidity: function getGenesis() constant returns(uint256)

func (*RgyCallerSession) GetSoldShares

func (_Rgy *RgyCallerSession) GetSoldShares() (*big.Int, error)

GetSoldShares is a free data retrieval call binding the contract method 0xba0aef15.

Solidity: function getSoldShares() constant returns(uint256)

func (*RgyCallerSession) GetTotalShareholders

func (_Rgy *RgyCallerSession) GetTotalShareholders() (*big.Int, error)

GetTotalShareholders is a free data retrieval call binding the contract method 0x690b90a9.

Solidity: function getTotalShareholders() constant returns(uint256)

func (*RgyCallerSession) Name

func (_Rgy *RgyCallerSession) Name() (string, error)

Name is a free data retrieval call binding the contract method 0x06fdde03.

Solidity: function name() constant returns(string)

func (*RgyCallerSession) Shareholders

func (_Rgy *RgyCallerSession) Shareholders(arg0 *big.Int) (common.Address, error)

Shareholders is a free data retrieval call binding the contract method 0xab377daa.

Solidity: function shareholders(uint256 ) constant returns(address)

type RgyFilterer

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

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

func NewRgyFilterer

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

NewRgyFilterer creates a new log filterer instance of Rgy, bound to a specific deployed contract.

func (*RgyFilterer) FilterAvailableToTransferChange

func (_Rgy *RgyFilterer) FilterAvailableToTransferChange(opts *bind.FilterOpts) (*RgyAvailableToTransferChangeIterator, error)

FilterAvailableToTransferChange is a free log retrieval operation binding the contract event 0x8e456a2239436fc4247ef8e7297b79799b07eb82e43e83c44b7b8998bec80475.

Solidity: event AvailableToTransferChange(bool _available)

func (*RgyFilterer) FilterShareSold

func (_Rgy *RgyFilterer) FilterShareSold(opts *bind.FilterOpts) (*RgyShareSoldIterator, error)

FilterShareSold is a free log retrieval operation binding the contract event 0xe8bb4edfb49cb224db3d7d51f707c053865322c038a54cfcfd81969d0eb1f013.

Solidity: event ShareSold(address _to, uint256 _how)

func (*RgyFilterer) ParseAvailableToTransferChange

func (_Rgy *RgyFilterer) ParseAvailableToTransferChange(log types.Log) (*RgyAvailableToTransferChange, error)

ParseAvailableToTransferChange is a log parse operation binding the contract event 0x8e456a2239436fc4247ef8e7297b79799b07eb82e43e83c44b7b8998bec80475.

Solidity: event AvailableToTransferChange(bool _available)

func (*RgyFilterer) ParseShareSold

func (_Rgy *RgyFilterer) ParseShareSold(log types.Log) (*RgyShareSold, error)

ParseShareSold is a log parse operation binding the contract event 0xe8bb4edfb49cb224db3d7d51f707c053865322c038a54cfcfd81969d0eb1f013.

Solidity: event ShareSold(address _to, uint256 _how)

func (*RgyFilterer) WatchAvailableToTransferChange

func (_Rgy *RgyFilterer) WatchAvailableToTransferChange(opts *bind.WatchOpts, sink chan<- *RgyAvailableToTransferChange) (event.Subscription, error)

WatchAvailableToTransferChange is a free log subscription operation binding the contract event 0x8e456a2239436fc4247ef8e7297b79799b07eb82e43e83c44b7b8998bec80475.

Solidity: event AvailableToTransferChange(bool _available)

func (*RgyFilterer) WatchShareSold

func (_Rgy *RgyFilterer) WatchShareSold(opts *bind.WatchOpts, sink chan<- *RgyShareSold) (event.Subscription, error)

WatchShareSold is a free log subscription operation binding the contract event 0xe8bb4edfb49cb224db3d7d51f707c053865322c038a54cfcfd81969d0eb1f013.

Solidity: event ShareSold(address _to, uint256 _how)

type RgyRaw

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

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

func (*RgyRaw) Call

func (_Rgy *RgyRaw) 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 (*RgyRaw) Transact

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

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

func (*RgyRaw) Transfer

func (_Rgy *RgyRaw) 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 RgySession

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

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

func (*RgySession) AvailableToTransfer

func (_Rgy *RgySession) AvailableToTransfer() (bool, error)

AvailableToTransfer is a free data retrieval call binding the contract method 0xd57d0d39.

Solidity: function availableToTransfer() constant returns(bool)

func (*RgySession) Balance

func (_Rgy *RgySession) Balance(arg0 common.Address) (*big.Int, error)

Balance is a free data retrieval call binding the contract method 0xe3d670d7.

Solidity: function balance(address ) constant returns(uint256)

func (*RgySession) Cost

func (_Rgy *RgySession) Cost() (*big.Int, error)

Cost is a free data retrieval call binding the contract method 0x13faede6.

Solidity: function cost() constant returns(uint256)

func (*RgySession) Developer

func (_Rgy *RgySession) Developer() (common.Address, error)

Developer is a free data retrieval call binding the contract method 0xca4b208b.

Solidity: function developer() constant returns(address)

func (*RgySession) GetAvailableShares

func (_Rgy *RgySession) GetAvailableShares() (*big.Int, error)

GetAvailableShares is a free data retrieval call binding the contract method 0x817bc0cb.

Solidity: function getAvailableShares() constant returns(uint256)

func (*RgySession) GetGenesis

func (_Rgy *RgySession) GetGenesis() (*big.Int, error)

GetGenesis is a free data retrieval call binding the contract method 0x1a43bcb5.

Solidity: function getGenesis() constant returns(uint256)

func (*RgySession) GetSoldShares

func (_Rgy *RgySession) GetSoldShares() (*big.Int, error)

GetSoldShares is a free data retrieval call binding the contract method 0xba0aef15.

Solidity: function getSoldShares() constant returns(uint256)

func (*RgySession) GetTotalShareholders

func (_Rgy *RgySession) GetTotalShareholders() (*big.Int, error)

GetTotalShareholders is a free data retrieval call binding the contract method 0x690b90a9.

Solidity: function getTotalShareholders() constant returns(uint256)

func (*RgySession) Name

func (_Rgy *RgySession) Name() (string, error)

Name is a free data retrieval call binding the contract method 0x06fdde03.

Solidity: function name() constant returns(string)

func (*RgySession) SellShares

func (_Rgy *RgySession) SellShares(to common.Address, how *big.Int) (*types.Transaction, error)

SellShares is a paid mutator transaction binding the contract method 0xb51d0534.

Solidity: function sellShares(address to, uint256 how) returns(uint256)

func (*RgySession) Shareholders

func (_Rgy *RgySession) Shareholders(arg0 *big.Int) (common.Address, error)

Shareholders is a free data retrieval call binding the contract method 0xab377daa.

Solidity: function shareholders(uint256 ) constant returns(address)

type RgyShareSold

type RgyShareSold struct {
	To  common.Address
	How *big.Int
	Raw types.Log // Blockchain specific contextual infos
}

RgyShareSold represents a ShareSold event raised by the Rgy contract.

type RgyShareSoldIterator

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

RgyShareSoldIterator is returned from FilterShareSold and is used to iterate over the raw logs and unpacked data for ShareSold events raised by the Rgy contract.

func (*RgyShareSoldIterator) Close

func (it *RgyShareSoldIterator) Close() error

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

func (*RgyShareSoldIterator) Error

func (it *RgyShareSoldIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*RgyShareSoldIterator) Next

func (it *RgyShareSoldIterator) 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 RgyTransactor

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

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

func NewRgyTransactor

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

NewRgyTransactor creates a new write-only instance of Rgy, bound to a specific deployed contract.

func (*RgyTransactor) SellShares

func (_Rgy *RgyTransactor) SellShares(opts *bind.TransactOpts, to common.Address, how *big.Int) (*types.Transaction, error)

SellShares is a paid mutator transaction binding the contract method 0xb51d0534.

Solidity: function sellShares(address to, uint256 how) returns(uint256)

type RgyTransactorRaw

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

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

func (*RgyTransactorRaw) Transact

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

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

func (*RgyTransactorRaw) Transfer

func (_Rgy *RgyTransactorRaw) 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 RgyTransactorSession

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

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

func (*RgyTransactorSession) SellShares

func (_Rgy *RgyTransactorSession) SellShares(to common.Address, how *big.Int) (*types.Transaction, error)

SellShares is a paid mutator transaction binding the contract method 0xb51d0534.

Solidity: function sellShares(address to, uint256 how) returns(uint256)

Jump to

Keyboard shortcuts

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