pct

package
v0.0.0-...-d193b87 Latest Latest
Warning

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

Go to latest
Published: May 7, 2020 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const PctABI = "" /* 1931-byte string literal not displayed */

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

View Source
const PctBin = `` /* 3790-byte string literal not displayed */

PctBin is the compiled bytecode used for deploying new contracts.

Variables

This section is empty.

Functions

This section is empty.

Types

type Pct

type Pct struct {
	PctCaller     // Read-only binding to the contract
	PctTransactor // Write-only binding to the contract
	PctFilterer   // Log filterer for contract events
}

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

func DeployPct

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

DeployPct deploys a new Ethereum contract, binding an instance of Pct to it.

func NewPct

func NewPct(address common.Address, backend bind.ContractBackend) (*Pct, error)

NewPct creates a new instance of Pct, bound to a specific deployed contract.

type PctApproval

type PctApproval struct {
	Owner   common.Address
	Spender common.Address
	Value   *big.Int
	Raw     types.Log // Blockchain specific contextual infos
}

PctApproval represents a Approval event raised by the Pct contract.

type PctApprovalIterator

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

PctApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the Pct contract.

func (*PctApprovalIterator) Close

func (it *PctApprovalIterator) Close() error

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

func (*PctApprovalIterator) Error

func (it *PctApprovalIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*PctApprovalIterator) Next

func (it *PctApprovalIterator) 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 PctBurn

type PctBurn struct {
	From  common.Address
	Value *big.Int
	Raw   types.Log // Blockchain specific contextual infos
}

PctBurn represents a Burn event raised by the Pct contract.

type PctBurnIterator

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

PctBurnIterator is returned from FilterBurn and is used to iterate over the raw logs and unpacked data for Burn events raised by the Pct contract.

func (*PctBurnIterator) Close

func (it *PctBurnIterator) Close() error

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

func (*PctBurnIterator) Error

func (it *PctBurnIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*PctBurnIterator) Next

func (it *PctBurnIterator) 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 PctCaller

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

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

func NewPctCaller

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

NewPctCaller creates a new read-only instance of Pct, bound to a specific deployed contract.

func (*PctCaller) BalanceOf

func (_Pct *PctCaller) BalanceOf(opts *bind.CallOpts, _owner common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

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

func (*PctCaller) Balances

func (_Pct *PctCaller) Balances(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

Balances is a free data retrieval call binding the contract method 0x6ebcf607.

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

func (*PctCaller) Decimals

func (_Pct *PctCaller) Decimals(opts *bind.CallOpts) (uint8, error)

Decimals is a free data retrieval call binding the contract method 0x313ce567.

Solidity: function decimals() constant returns(uint8)

func (*PctCaller) Name

func (_Pct *PctCaller) 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 (*PctCaller) Symbol

func (_Pct *PctCaller) Symbol(opts *bind.CallOpts) (string, error)

Symbol is a free data retrieval call binding the contract method 0x95d89b41.

Solidity: function symbol() constant returns(string)

type PctCallerRaw

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

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

func (*PctCallerRaw) Call

func (_Pct *PctCallerRaw) 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 PctCallerSession

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

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

func (*PctCallerSession) BalanceOf

func (_Pct *PctCallerSession) BalanceOf(_owner common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

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

func (*PctCallerSession) Balances

func (_Pct *PctCallerSession) Balances(arg0 common.Address) (*big.Int, error)

Balances is a free data retrieval call binding the contract method 0x6ebcf607.

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

func (*PctCallerSession) Decimals

func (_Pct *PctCallerSession) Decimals() (uint8, error)

Decimals is a free data retrieval call binding the contract method 0x313ce567.

Solidity: function decimals() constant returns(uint8)

func (*PctCallerSession) Name

func (_Pct *PctCallerSession) Name() (string, error)

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

Solidity: function name() constant returns(string)

func (*PctCallerSession) Symbol

func (_Pct *PctCallerSession) Symbol() (string, error)

Symbol is a free data retrieval call binding the contract method 0x95d89b41.

Solidity: function symbol() constant returns(string)

type PctFilterer

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

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

func NewPctFilterer

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

NewPctFilterer creates a new log filterer instance of Pct, bound to a specific deployed contract.

func (*PctFilterer) FilterApproval

func (_Pct *PctFilterer) FilterApproval(opts *bind.FilterOpts, _owner []common.Address, _spender []common.Address) (*PctApprovalIterator, error)

FilterApproval is a free log retrieval operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed _owner, address indexed _spender, uint256 _value)

func (*PctFilterer) FilterBurn

func (_Pct *PctFilterer) FilterBurn(opts *bind.FilterOpts, _from []common.Address) (*PctBurnIterator, error)

FilterBurn is a free log retrieval operation binding the contract event 0xcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca5.

Solidity: event Burn(address indexed _from, uint256 _value)

func (*PctFilterer) FilterTransfer

func (_Pct *PctFilterer) FilterTransfer(opts *bind.FilterOpts, _from []common.Address, _to []common.Address) (*PctTransferIterator, error)

FilterTransfer is a free log retrieval operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed _from, address indexed _to, uint256 _value)

func (*PctFilterer) WatchApproval

func (_Pct *PctFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *PctApproval, _owner []common.Address, _spender []common.Address) (event.Subscription, error)

WatchApproval is a free log subscription operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed _owner, address indexed _spender, uint256 _value)

func (*PctFilterer) WatchBurn

func (_Pct *PctFilterer) WatchBurn(opts *bind.WatchOpts, sink chan<- *PctBurn, _from []common.Address) (event.Subscription, error)

WatchBurn is a free log subscription operation binding the contract event 0xcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca5.

Solidity: event Burn(address indexed _from, uint256 _value)

func (*PctFilterer) WatchTransfer

func (_Pct *PctFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *PctTransfer, _from []common.Address, _to []common.Address) (event.Subscription, error)

WatchTransfer is a free log subscription operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed _from, address indexed _to, uint256 _value)

type PctRaw

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

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

func (*PctRaw) Call

func (_Pct *PctRaw) 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 (*PctRaw) Transact

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

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

func (*PctRaw) Transfer

func (_Pct *PctRaw) 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 PctSession

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

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

func (*PctSession) BalanceOf

func (_Pct *PctSession) BalanceOf(_owner common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

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

func (*PctSession) Balances

func (_Pct *PctSession) Balances(arg0 common.Address) (*big.Int, error)

Balances is a free data retrieval call binding the contract method 0x6ebcf607.

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

func (*PctSession) Decimals

func (_Pct *PctSession) Decimals() (uint8, error)

Decimals is a free data retrieval call binding the contract method 0x313ce567.

Solidity: function decimals() constant returns(uint8)

func (*PctSession) Name

func (_Pct *PctSession) Name() (string, error)

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

Solidity: function name() constant returns(string)

func (*PctSession) Symbol

func (_Pct *PctSession) Symbol() (string, error)

Symbol is a free data retrieval call binding the contract method 0x95d89b41.

Solidity: function symbol() constant returns(string)

func (*PctSession) Transfer

func (_Pct *PctSession) Transfer(_to common.Address, _value *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(address _to, uint256 _value) returns(bool success)

type PctTransactor

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

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

func NewPctTransactor

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

NewPctTransactor creates a new write-only instance of Pct, bound to a specific deployed contract.

func (*PctTransactor) Transfer

func (_Pct *PctTransactor) Transfer(opts *bind.TransactOpts, _to common.Address, _value *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(address _to, uint256 _value) returns(bool success)

type PctTransactorRaw

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

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

func (*PctTransactorRaw) Transact

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

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

func (*PctTransactorRaw) Transfer

func (_Pct *PctTransactorRaw) 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 PctTransactorSession

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

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

func (*PctTransactorSession) Transfer

func (_Pct *PctTransactorSession) Transfer(_to common.Address, _value *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(address _to, uint256 _value) returns(bool success)

type PctTransfer

type PctTransfer struct {
	From  common.Address
	To    common.Address
	Value *big.Int
	Raw   types.Log // Blockchain specific contextual infos
}

PctTransfer represents a Transfer event raised by the Pct contract.

type PctTransferIterator

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

PctTransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the Pct contract.

func (*PctTransferIterator) Close

func (it *PctTransferIterator) Close() error

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

func (*PctTransferIterator) Error

func (it *PctTransferIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*PctTransferIterator) Next

func (it *PctTransferIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

Jump to

Keyboard shortcuts

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