pdash_contract

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2019 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const PdashABI = "" /* 9381-byte string literal not displayed */

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

View Source
const PdashBin = `` /* 20742-byte string literal not displayed */

PdashBin is the compiled bytecode used for deploying new contracts.

View Source
const PdashProxyABI = "" /* 1893-byte string literal not displayed */

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

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

PdashProxyBin is the compiled bytecode used for deploying new contracts.

View Source
const ProxyContractInterfaceABI = "" /* 225-byte string literal not displayed */

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

View Source
const ProxyContractInterfaceBin = `0x`

ProxyContractInterfaceBin is the compiled bytecode used for deploying new contracts.

View Source
const ProxyInterfaceABI = "" /* 225-byte string literal not displayed */

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

View Source
const ProxyInterfaceBin = `0x`

ProxyInterfaceBin is the compiled bytecode used for deploying new contracts.

View Source
const RegisterABI = "" /* 1711-byte string literal not displayed */

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

View Source
const RegisterBin = `` /* 3702-byte string literal not displayed */

RegisterBin is the compiled bytecode used for deploying new contracts.

View Source
const SafeMathABI = "[]"

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

View Source
const SafeMathBin = `` /* 242-byte string literal not displayed */

SafeMathBin is the compiled bytecode used for deploying new contracts.

Variables

This section is empty.

Functions

This section is empty.

Types

type Pdash

type Pdash struct {
	PdashCaller     // Read-only binding to the contract
	PdashTransactor // Write-only binding to the contract
	PdashFilterer   // Log filterer for contract events
}

Pdash is an auto generated Go binding around an cpchain contract.

func DeployPdash

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

DeployPdash deploys a new cpchain contract, binding an instance of Pdash to it.

func NewPdash

func NewPdash(address common.Address, backend bind.ContractBackend) (*Pdash, error)

NewPdash creates a new instance of Pdash, bound to a specific deployed contract.

type PdashBuyerConfirmed

type PdashBuyerConfirmed struct {
	OrderId *big.Int
	Time    *big.Int
	Raw     types.Log // Blockchain specific contextual infos
}

PdashBuyerConfirmed represents a BuyerConfirmed event raised by the Pdash contract.

type PdashBuyerConfirmedIterator

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

PdashBuyerConfirmedIterator is returned from FilterBuyerConfirmed and is used to iterate over the raw logs and unpacked data for BuyerConfirmed events raised by the Pdash contract.

func (*PdashBuyerConfirmedIterator) Close

func (it *PdashBuyerConfirmedIterator) Close() error

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

func (*PdashBuyerConfirmedIterator) Error

func (it *PdashBuyerConfirmedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*PdashBuyerConfirmedIterator) Next

func (it *PdashBuyerConfirmedIterator) 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 PdashBuyerDisputed

type PdashBuyerDisputed struct {
	OrderId *big.Int
	Time    *big.Int
	Raw     types.Log // Blockchain specific contextual infos
}

PdashBuyerDisputed represents a BuyerDisputed event raised by the Pdash contract.

type PdashBuyerDisputedIterator

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

PdashBuyerDisputedIterator is returned from FilterBuyerDisputed and is used to iterate over the raw logs and unpacked data for BuyerDisputed events raised by the Pdash contract.

func (*PdashBuyerDisputedIterator) Close

func (it *PdashBuyerDisputedIterator) Close() error

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

func (*PdashBuyerDisputedIterator) Error

func (it *PdashBuyerDisputedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*PdashBuyerDisputedIterator) Next

func (it *PdashBuyerDisputedIterator) 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 PdashCaller

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

PdashCaller is an auto generated read-only Go binding around an cpchain contract.

func NewPdashCaller

func NewPdashCaller(address common.Address, caller bind.ContractCaller) (*PdashCaller, error)

NewPdashCaller creates a new read-only instance of Pdash, bound to a specific deployed contract.

func (*PdashCaller) BlockOrders

func (_Pdash *PdashCaller) BlockOrders(opts *bind.CallOpts, arg0 *big.Int, arg1 *big.Int) (*big.Int, error)

BlockOrders is a free data retrieval call binding the contract method 0x7478d485.

Solidity: function blockOrders( uint256, uint256) constant returns(uint256)

func (*PdashCaller) BlockOrdersLength

func (_Pdash *PdashCaller) BlockOrdersLength(opts *bind.CallOpts, arg0 *big.Int) (*big.Int, error)

BlockOrdersLength is a free data retrieval call binding the contract method 0xdf6c559f.

Solidity: function blockOrdersLength( uint256) constant returns(uint256)

func (*PdashCaller) DisputeRecords

func (_Pdash *PdashCaller) DisputeRecords(opts *bind.CallOpts, arg0 *big.Int) (struct {
	OrderId      *big.Int
	BadBuyer     bool
	BadSeller    bool
	BadProxy     bool
	BuyerAgree   bool
	SellerAgree  bool
	EndTime      *big.Int
	DisputeState uint8
}, error)

DisputeRecords is a free data retrieval call binding the contract method 0x7f0ca367.

Solidity: function disputeRecords( uint256) constant returns(orderId uint256, badBuyer bool, badSeller bool, badProxy bool, buyerAgree bool, sellerAgree bool, endTime uint256, disputeState uint8)

func (*PdashCaller) NumDisputes

func (_Pdash *PdashCaller) NumDisputes(opts *bind.CallOpts) (*big.Int, error)

NumDisputes is a free data retrieval call binding the contract method 0x90089ba0.

Solidity: function numDisputes() constant returns(uint256)

func (*PdashCaller) NumOrders

func (_Pdash *PdashCaller) NumOrders(opts *bind.CallOpts) (*big.Int, error)

NumOrders is a free data retrieval call binding the contract method 0x45d53788.

Solidity: function numOrders() constant returns(uint256)

func (*PdashCaller) OrderRecords

func (_Pdash *PdashCaller) OrderRecords(opts *bind.CallOpts, arg0 *big.Int) (struct {
	DescHash              [32]byte
	BuyerRSAPubkey        []byte
	BuyerAddress          common.Address
	SellerAddress         common.Address
	ProxyAddress          common.Address
	SecondaryProxyAddress common.Address
	OfferedPrice          *big.Int
	ProxyFee              *big.Int
	DeliverHash           [32]byte
	EndTime               *big.Int
	State                 uint8
	DisputeId             *big.Int
}, error)

OrderRecords is a free data retrieval call binding the contract method 0xe0f29cec.

Solidity: function orderRecords( uint256) constant returns(descHash bytes32, buyerRSAPubkey bytes, buyerAddress address, sellerAddress address, proxyAddress address, secondaryProxyAddress address, offeredPrice uint256, proxyFee uint256, deliverHash bytes32, endTime uint256, state uint8, disputeId uint256)

func (*PdashCaller) Owner

func (_Pdash *PdashCaller) Owner(opts *bind.CallOpts) (common.Address, error)

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

Solidity: function owner() constant returns(address)

func (*PdashCaller) ProxyCredits

func (_Pdash *PdashCaller) ProxyCredits(opts *bind.CallOpts, arg0 common.Address) (struct {
	Count  *big.Int
	Amount *big.Int
	Rate   *big.Int
}, error)

ProxyCredits is a free data retrieval call binding the contract method 0xa8dc7e63.

Solidity: function proxyCredits( address) constant returns(count uint256, amount uint256, rate uint256)

func (*PdashCaller) ProxyDeposits

func (_Pdash *PdashCaller) ProxyDeposits(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

ProxyDeposits is a free data retrieval call binding the contract method 0x04e1b52e.

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

type PdashCallerRaw

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

PdashCallerRaw is an auto generated low-level read-only Go binding around an cpchain contract.

func (*PdashCallerRaw) Call

func (_Pdash *PdashCallerRaw) 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 PdashCallerSession

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

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

func (*PdashCallerSession) BlockOrders

func (_Pdash *PdashCallerSession) BlockOrders(arg0 *big.Int, arg1 *big.Int) (*big.Int, error)

BlockOrders is a free data retrieval call binding the contract method 0x7478d485.

Solidity: function blockOrders( uint256, uint256) constant returns(uint256)

func (*PdashCallerSession) BlockOrdersLength

func (_Pdash *PdashCallerSession) BlockOrdersLength(arg0 *big.Int) (*big.Int, error)

BlockOrdersLength is a free data retrieval call binding the contract method 0xdf6c559f.

Solidity: function blockOrdersLength( uint256) constant returns(uint256)

func (*PdashCallerSession) DisputeRecords

func (_Pdash *PdashCallerSession) DisputeRecords(arg0 *big.Int) (struct {
	OrderId      *big.Int
	BadBuyer     bool
	BadSeller    bool
	BadProxy     bool
	BuyerAgree   bool
	SellerAgree  bool
	EndTime      *big.Int
	DisputeState uint8
}, error)

DisputeRecords is a free data retrieval call binding the contract method 0x7f0ca367.

Solidity: function disputeRecords( uint256) constant returns(orderId uint256, badBuyer bool, badSeller bool, badProxy bool, buyerAgree bool, sellerAgree bool, endTime uint256, disputeState uint8)

func (*PdashCallerSession) NumDisputes

func (_Pdash *PdashCallerSession) NumDisputes() (*big.Int, error)

NumDisputes is a free data retrieval call binding the contract method 0x90089ba0.

Solidity: function numDisputes() constant returns(uint256)

func (*PdashCallerSession) NumOrders

func (_Pdash *PdashCallerSession) NumOrders() (*big.Int, error)

NumOrders is a free data retrieval call binding the contract method 0x45d53788.

Solidity: function numOrders() constant returns(uint256)

func (*PdashCallerSession) OrderRecords

func (_Pdash *PdashCallerSession) OrderRecords(arg0 *big.Int) (struct {
	DescHash              [32]byte
	BuyerRSAPubkey        []byte
	BuyerAddress          common.Address
	SellerAddress         common.Address
	ProxyAddress          common.Address
	SecondaryProxyAddress common.Address
	OfferedPrice          *big.Int
	ProxyFee              *big.Int
	DeliverHash           [32]byte
	EndTime               *big.Int
	State                 uint8
	DisputeId             *big.Int
}, error)

OrderRecords is a free data retrieval call binding the contract method 0xe0f29cec.

Solidity: function orderRecords( uint256) constant returns(descHash bytes32, buyerRSAPubkey bytes, buyerAddress address, sellerAddress address, proxyAddress address, secondaryProxyAddress address, offeredPrice uint256, proxyFee uint256, deliverHash bytes32, endTime uint256, state uint8, disputeId uint256)

func (*PdashCallerSession) Owner

func (_Pdash *PdashCallerSession) Owner() (common.Address, error)

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

Solidity: function owner() constant returns(address)

func (*PdashCallerSession) ProxyCredits

func (_Pdash *PdashCallerSession) ProxyCredits(arg0 common.Address) (struct {
	Count  *big.Int
	Amount *big.Int
	Rate   *big.Int
}, error)

ProxyCredits is a free data retrieval call binding the contract method 0xa8dc7e63.

Solidity: function proxyCredits( address) constant returns(count uint256, amount uint256, rate uint256)

func (*PdashCallerSession) ProxyDeposits

func (_Pdash *PdashCallerSession) ProxyDeposits(arg0 common.Address) (*big.Int, error)

ProxyDeposits is a free data retrieval call binding the contract method 0x04e1b52e.

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

type PdashFilterer

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

PdashFilterer is an auto generated log filtering Go binding around an cpchain contract events.

func NewPdashFilterer

func NewPdashFilterer(address common.Address, filterer bind.ContractFilterer) (*PdashFilterer, error)

NewPdashFilterer creates a new log filterer instance of Pdash, bound to a specific deployed contract.

func (*PdashFilterer) FilterBuyerConfirmed

func (_Pdash *PdashFilterer) FilterBuyerConfirmed(opts *bind.FilterOpts) (*PdashBuyerConfirmedIterator, error)

FilterBuyerConfirmed is a free log retrieval operation binding the contract event 0xd87dd92b1de3627ad322286c5c45566583bef03d0334ca6f0c9a9db7f7c0f16b.

Solidity: e BuyerConfirmed(orderId uint256, time uint256)

func (*PdashFilterer) FilterBuyerDisputed

func (_Pdash *PdashFilterer) FilterBuyerDisputed(opts *bind.FilterOpts) (*PdashBuyerDisputedIterator, error)

FilterBuyerDisputed is a free log retrieval operation binding the contract event 0xa6c88e175a49cd3945a40a26a490ae07ede7d4eb825c4f26a7ff37a464d05d35.

Solidity: e BuyerDisputed(orderId uint256, time uint256)

func (*PdashFilterer) FilterOrderFinished

func (_Pdash *PdashFilterer) FilterOrderFinished(opts *bind.FilterOpts) (*PdashOrderFinishedIterator, error)

FilterOrderFinished is a free log retrieval operation binding the contract event 0x581a6384d4701bb245eaf6ebd9afd551a8c4f9d4e4ec70b1dfbab15569272bba.

Solidity: e OrderFinished(orderId uint256, time uint256)

func (*PdashFilterer) FilterOrderInitiated

func (_Pdash *PdashFilterer) FilterOrderInitiated(opts *bind.FilterOpts) (*PdashOrderInitiatedIterator, error)

FilterOrderInitiated is a free log retrieval operation binding the contract event 0xca46e2845b8de28445b9ac838c4fe91c25ecde13a4d5661c14acf05fcc89d7d9.

Solidity: e OrderInitiated(from address, orderId uint256, value uint256, time uint256)

func (*PdashFilterer) FilterOrderWithdrawn

func (_Pdash *PdashFilterer) FilterOrderWithdrawn(opts *bind.FilterOpts) (*PdashOrderWithdrawnIterator, error)

FilterOrderWithdrawn is a free log retrieval operation binding the contract event 0x01e7164b56bfdcd76ac7df9a68a09f177aed22f0b3ef728d56f452745418ebb0.

Solidity: e OrderWithdrawn(orderId uint256, time uint256)

func (*PdashFilterer) FilterProxyDelivered

func (_Pdash *PdashFilterer) FilterProxyDelivered(opts *bind.FilterOpts) (*PdashProxyDeliveredIterator, error)

FilterProxyDelivered is a free log retrieval operation binding the contract event 0xee6a57b211b9b5284bd6650f9cca90a9ecbc0236e1610fe97c468faa0fc68287.

Solidity: e ProxyDelivered(orderId uint256, time uint256)

func (*PdashFilterer) FilterProxyDeposited

func (_Pdash *PdashFilterer) FilterProxyDeposited(opts *bind.FilterOpts) (*PdashProxyDepositedIterator, error)

FilterProxyDeposited is a free log retrieval operation binding the contract event 0xe485b77aa65aed2e79b44431303e4512f39e8d8d6bb557ba6273ff499f6c4cec.

Solidity: e ProxyDeposited(from address, value uint256, time uint256)

func (*PdashFilterer) FilterProxyFetched

func (_Pdash *PdashFilterer) FilterProxyFetched(opts *bind.FilterOpts) (*PdashProxyFetchedIterator, error)

FilterProxyFetched is a free log retrieval operation binding the contract event 0xf432f8d0b15f3b091c000b649a96bedc45f97d6f5361ff4cfd391f16a581fe8f.

Solidity: e ProxyFetched(orderId uint256, time uint256)

func (*PdashFilterer) FilterProxyWithdrawn

func (_Pdash *PdashFilterer) FilterProxyWithdrawn(opts *bind.FilterOpts) (*PdashProxyWithdrawnIterator, error)

FilterProxyWithdrawn is a free log retrieval operation binding the contract event 0xc6311a7ead0ac41d26e6a97e6c05f885c84fa52336b5fc201c83451f05b08b7d.

Solidity: e ProxyWithdrawn(from address, value uint256, time uint256)

func (*PdashFilterer) FilterSellerClaimTimeout

func (_Pdash *PdashFilterer) FilterSellerClaimTimeout(opts *bind.FilterOpts) (*PdashSellerClaimTimeoutIterator, error)

FilterSellerClaimTimeout is a free log retrieval operation binding the contract event 0x34ce961a05a1558f29e54cc2618b644ec6d298fda6c1eda6395c910d04c63f21.

Solidity: e SellerClaimTimeout(orderId uint256, time uint256)

func (*PdashFilterer) FilterSellerConfirmed

func (_Pdash *PdashFilterer) FilterSellerConfirmed(opts *bind.FilterOpts) (*PdashSellerConfirmedIterator, error)

FilterSellerConfirmed is a free log retrieval operation binding the contract event 0x76408f7d8666ddeb495564b182efc9e10ee49e1caa750fc79568b86ae940e42b.

Solidity: e SellerConfirmed(orderId uint256, value uint256, time uint256)

func (*PdashFilterer) WatchBuyerConfirmed

func (_Pdash *PdashFilterer) WatchBuyerConfirmed(opts *bind.WatchOpts, sink chan<- *PdashBuyerConfirmed) (event.Subscription, error)

WatchBuyerConfirmed is a free log subscription operation binding the contract event 0xd87dd92b1de3627ad322286c5c45566583bef03d0334ca6f0c9a9db7f7c0f16b.

Solidity: e BuyerConfirmed(orderId uint256, time uint256)

func (*PdashFilterer) WatchBuyerDisputed

func (_Pdash *PdashFilterer) WatchBuyerDisputed(opts *bind.WatchOpts, sink chan<- *PdashBuyerDisputed) (event.Subscription, error)

WatchBuyerDisputed is a free log subscription operation binding the contract event 0xa6c88e175a49cd3945a40a26a490ae07ede7d4eb825c4f26a7ff37a464d05d35.

Solidity: e BuyerDisputed(orderId uint256, time uint256)

func (*PdashFilterer) WatchOrderFinished

func (_Pdash *PdashFilterer) WatchOrderFinished(opts *bind.WatchOpts, sink chan<- *PdashOrderFinished) (event.Subscription, error)

WatchOrderFinished is a free log subscription operation binding the contract event 0x581a6384d4701bb245eaf6ebd9afd551a8c4f9d4e4ec70b1dfbab15569272bba.

Solidity: e OrderFinished(orderId uint256, time uint256)

func (*PdashFilterer) WatchOrderInitiated

func (_Pdash *PdashFilterer) WatchOrderInitiated(opts *bind.WatchOpts, sink chan<- *PdashOrderInitiated) (event.Subscription, error)

WatchOrderInitiated is a free log subscription operation binding the contract event 0xca46e2845b8de28445b9ac838c4fe91c25ecde13a4d5661c14acf05fcc89d7d9.

Solidity: e OrderInitiated(from address, orderId uint256, value uint256, time uint256)

func (*PdashFilterer) WatchOrderWithdrawn

func (_Pdash *PdashFilterer) WatchOrderWithdrawn(opts *bind.WatchOpts, sink chan<- *PdashOrderWithdrawn) (event.Subscription, error)

WatchOrderWithdrawn is a free log subscription operation binding the contract event 0x01e7164b56bfdcd76ac7df9a68a09f177aed22f0b3ef728d56f452745418ebb0.

Solidity: e OrderWithdrawn(orderId uint256, time uint256)

func (*PdashFilterer) WatchProxyDelivered

func (_Pdash *PdashFilterer) WatchProxyDelivered(opts *bind.WatchOpts, sink chan<- *PdashProxyDelivered) (event.Subscription, error)

WatchProxyDelivered is a free log subscription operation binding the contract event 0xee6a57b211b9b5284bd6650f9cca90a9ecbc0236e1610fe97c468faa0fc68287.

Solidity: e ProxyDelivered(orderId uint256, time uint256)

func (*PdashFilterer) WatchProxyDeposited

func (_Pdash *PdashFilterer) WatchProxyDeposited(opts *bind.WatchOpts, sink chan<- *PdashProxyDeposited) (event.Subscription, error)

WatchProxyDeposited is a free log subscription operation binding the contract event 0xe485b77aa65aed2e79b44431303e4512f39e8d8d6bb557ba6273ff499f6c4cec.

Solidity: e ProxyDeposited(from address, value uint256, time uint256)

func (*PdashFilterer) WatchProxyFetched

func (_Pdash *PdashFilterer) WatchProxyFetched(opts *bind.WatchOpts, sink chan<- *PdashProxyFetched) (event.Subscription, error)

WatchProxyFetched is a free log subscription operation binding the contract event 0xf432f8d0b15f3b091c000b649a96bedc45f97d6f5361ff4cfd391f16a581fe8f.

Solidity: e ProxyFetched(orderId uint256, time uint256)

func (*PdashFilterer) WatchProxyWithdrawn

func (_Pdash *PdashFilterer) WatchProxyWithdrawn(opts *bind.WatchOpts, sink chan<- *PdashProxyWithdrawn) (event.Subscription, error)

WatchProxyWithdrawn is a free log subscription operation binding the contract event 0xc6311a7ead0ac41d26e6a97e6c05f885c84fa52336b5fc201c83451f05b08b7d.

Solidity: e ProxyWithdrawn(from address, value uint256, time uint256)

func (*PdashFilterer) WatchSellerClaimTimeout

func (_Pdash *PdashFilterer) WatchSellerClaimTimeout(opts *bind.WatchOpts, sink chan<- *PdashSellerClaimTimeout) (event.Subscription, error)

WatchSellerClaimTimeout is a free log subscription operation binding the contract event 0x34ce961a05a1558f29e54cc2618b644ec6d298fda6c1eda6395c910d04c63f21.

Solidity: e SellerClaimTimeout(orderId uint256, time uint256)

func (*PdashFilterer) WatchSellerConfirmed

func (_Pdash *PdashFilterer) WatchSellerConfirmed(opts *bind.WatchOpts, sink chan<- *PdashSellerConfirmed) (event.Subscription, error)

WatchSellerConfirmed is a free log subscription operation binding the contract event 0x76408f7d8666ddeb495564b182efc9e10ee49e1caa750fc79568b86ae940e42b.

Solidity: e SellerConfirmed(orderId uint256, value uint256, time uint256)

type PdashOrderFinished

type PdashOrderFinished struct {
	OrderId *big.Int
	Time    *big.Int
	Raw     types.Log // Blockchain specific contextual infos
}

PdashOrderFinished represents a OrderFinished event raised by the Pdash contract.

type PdashOrderFinishedIterator

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

PdashOrderFinishedIterator is returned from FilterOrderFinished and is used to iterate over the raw logs and unpacked data for OrderFinished events raised by the Pdash contract.

func (*PdashOrderFinishedIterator) Close

func (it *PdashOrderFinishedIterator) Close() error

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

func (*PdashOrderFinishedIterator) Error

func (it *PdashOrderFinishedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*PdashOrderFinishedIterator) Next

func (it *PdashOrderFinishedIterator) 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 PdashOrderInitiated

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

PdashOrderInitiated represents a OrderInitiated event raised by the Pdash contract.

type PdashOrderInitiatedIterator

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

PdashOrderInitiatedIterator is returned from FilterOrderInitiated and is used to iterate over the raw logs and unpacked data for OrderInitiated events raised by the Pdash contract.

func (*PdashOrderInitiatedIterator) Close

func (it *PdashOrderInitiatedIterator) Close() error

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

func (*PdashOrderInitiatedIterator) Error

func (it *PdashOrderInitiatedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*PdashOrderInitiatedIterator) Next

func (it *PdashOrderInitiatedIterator) 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 PdashOrderWithdrawn

type PdashOrderWithdrawn struct {
	OrderId *big.Int
	Time    *big.Int
	Raw     types.Log // Blockchain specific contextual infos
}

PdashOrderWithdrawn represents a OrderWithdrawn event raised by the Pdash contract.

type PdashOrderWithdrawnIterator

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

PdashOrderWithdrawnIterator is returned from FilterOrderWithdrawn and is used to iterate over the raw logs and unpacked data for OrderWithdrawn events raised by the Pdash contract.

func (*PdashOrderWithdrawnIterator) Close

func (it *PdashOrderWithdrawnIterator) Close() error

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

func (*PdashOrderWithdrawnIterator) Error

func (it *PdashOrderWithdrawnIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*PdashOrderWithdrawnIterator) Next

func (it *PdashOrderWithdrawnIterator) 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 PdashProxy

type PdashProxy struct {
	PdashProxyCaller     // Read-only binding to the contract
	PdashProxyTransactor // Write-only binding to the contract
	PdashProxyFilterer   // Log filterer for contract events
}

PdashProxy is an auto generated Go binding around an cpchain contract.

func DeployPdashProxy

func DeployPdashProxy(auth *bind.TransactOpts, backend bind.ContractBackend, _addr common.Address) (common.Address, *types.Transaction, *PdashProxy, error)

DeployPdashProxy deploys a new cpchain contract, binding an instance of PdashProxy to it.

func NewPdashProxy

func NewPdashProxy(address common.Address, backend bind.ContractBackend) (*PdashProxy, error)

NewPdashProxy creates a new instance of PdashProxy, bound to a specific deployed contract.

type PdashProxyCaller

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

PdashProxyCaller is an auto generated read-only Go binding around an cpchain contract.

func NewPdashProxyCaller

func NewPdashProxyCaller(address common.Address, caller bind.ContractCaller) (*PdashProxyCaller, error)

NewPdashProxyCaller creates a new read-only instance of PdashProxy, bound to a specific deployed contract.

func (*PdashProxyCaller) GetProxyFileNumber

func (_PdashProxy *PdashProxyCaller) GetProxyFileNumber(opts *bind.CallOpts, proxy common.Address) (*big.Int, error)

GetProxyFileNumber is a free data retrieval call binding the contract method 0x122de578.

Solidity: function getProxyFileNumber(proxy address) constant returns(uint256)

func (*PdashProxyCaller) GetProxyFileNumberInBlock

func (_PdashProxy *PdashProxyCaller) GetProxyFileNumberInBlock(opts *bind.CallOpts, user common.Address, block_num *big.Int) (*big.Int, error)

GetProxyFileNumberInBlock is a free data retrieval call binding the contract method 0x55a20afc.

Solidity: function getProxyFileNumberInBlock(user address, block_num uint256) constant returns(uint256)

func (*PdashProxyCaller) Pdash

func (_PdashProxy *PdashProxyCaller) Pdash(opts *bind.CallOpts) (common.Address, error)

Pdash is a free data retrieval call binding the contract method 0xc946286d.

Solidity: function pdash() constant returns(address)

func (*PdashProxyCaller) ProxyHistory

func (_PdashProxy *PdashProxyCaller) ProxyHistory(opts *bind.CallOpts, arg0 common.Address, arg1 *big.Int) (struct {
	FileName  string
	FileHash  [32]byte
	FileSize  *big.Int
	TimeStamp *big.Int
}, error)

ProxyHistory is a free data retrieval call binding the contract method 0xc642648d.

Solidity: function proxyHistory( address, uint256) constant returns(fileName string, fileHash bytes32, fileSize uint256, timeStamp uint256)

type PdashProxyCallerRaw

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

PdashProxyCallerRaw is an auto generated low-level read-only Go binding around an cpchain contract.

func (*PdashProxyCallerRaw) Call

func (_PdashProxy *PdashProxyCallerRaw) 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 PdashProxyCallerSession

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

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

func (*PdashProxyCallerSession) GetProxyFileNumber

func (_PdashProxy *PdashProxyCallerSession) GetProxyFileNumber(proxy common.Address) (*big.Int, error)

GetProxyFileNumber is a free data retrieval call binding the contract method 0x122de578.

Solidity: function getProxyFileNumber(proxy address) constant returns(uint256)

func (*PdashProxyCallerSession) GetProxyFileNumberInBlock

func (_PdashProxy *PdashProxyCallerSession) GetProxyFileNumberInBlock(user common.Address, block_num *big.Int) (*big.Int, error)

GetProxyFileNumberInBlock is a free data retrieval call binding the contract method 0x55a20afc.

Solidity: function getProxyFileNumberInBlock(user address, block_num uint256) constant returns(uint256)

func (*PdashProxyCallerSession) Pdash

func (_PdashProxy *PdashProxyCallerSession) Pdash() (common.Address, error)

Pdash is a free data retrieval call binding the contract method 0xc946286d.

Solidity: function pdash() constant returns(address)

func (*PdashProxyCallerSession) ProxyHistory

func (_PdashProxy *PdashProxyCallerSession) ProxyHistory(arg0 common.Address, arg1 *big.Int) (struct {
	FileName  string
	FileHash  [32]byte
	FileSize  *big.Int
	TimeStamp *big.Int
}, error)

ProxyHistory is a free data retrieval call binding the contract method 0xc642648d.

Solidity: function proxyHistory( address, uint256) constant returns(fileName string, fileHash bytes32, fileSize uint256, timeStamp uint256)

type PdashProxyDelivered

type PdashProxyDelivered struct {
	OrderId *big.Int
	Time    *big.Int
	Raw     types.Log // Blockchain specific contextual infos
}

PdashProxyDelivered represents a ProxyDelivered event raised by the Pdash contract.

type PdashProxyDeliveredIterator

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

PdashProxyDeliveredIterator is returned from FilterProxyDelivered and is used to iterate over the raw logs and unpacked data for ProxyDelivered events raised by the Pdash contract.

func (*PdashProxyDeliveredIterator) Close

func (it *PdashProxyDeliveredIterator) Close() error

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

func (*PdashProxyDeliveredIterator) Error

func (it *PdashProxyDeliveredIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*PdashProxyDeliveredIterator) Next

func (it *PdashProxyDeliveredIterator) 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 PdashProxyDeposited

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

PdashProxyDeposited represents a ProxyDeposited event raised by the Pdash contract.

type PdashProxyDepositedIterator

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

PdashProxyDepositedIterator is returned from FilterProxyDeposited and is used to iterate over the raw logs and unpacked data for ProxyDeposited events raised by the Pdash contract.

func (*PdashProxyDepositedIterator) Close

func (it *PdashProxyDepositedIterator) Close() error

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

func (*PdashProxyDepositedIterator) Error

func (it *PdashProxyDepositedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*PdashProxyDepositedIterator) Next

func (it *PdashProxyDepositedIterator) 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 PdashProxyFetched

type PdashProxyFetched struct {
	OrderId *big.Int
	Time    *big.Int
	Raw     types.Log // Blockchain specific contextual infos
}

PdashProxyFetched represents a ProxyFetched event raised by the Pdash contract.

type PdashProxyFetchedIterator

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

PdashProxyFetchedIterator is returned from FilterProxyFetched and is used to iterate over the raw logs and unpacked data for ProxyFetched events raised by the Pdash contract.

func (*PdashProxyFetchedIterator) Close

func (it *PdashProxyFetchedIterator) Close() error

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

func (*PdashProxyFetchedIterator) Error

func (it *PdashProxyFetchedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*PdashProxyFetchedIterator) Next

func (it *PdashProxyFetchedIterator) 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 PdashProxyFilterer

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

PdashProxyFilterer is an auto generated log filtering Go binding around an cpchain contract events.

func NewPdashProxyFilterer

func NewPdashProxyFilterer(address common.Address, filterer bind.ContractFilterer) (*PdashProxyFilterer, error)

NewPdashProxyFilterer creates a new log filterer instance of PdashProxy, bound to a specific deployed contract.

type PdashProxyRaw

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

PdashProxyRaw is an auto generated low-level Go binding around an cpchain contract.

func (*PdashProxyRaw) Call

func (_PdashProxy *PdashProxyRaw) 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 (*PdashProxyRaw) Transact

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

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

func (*PdashProxyRaw) Transfer

func (_PdashProxy *PdashProxyRaw) 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 PdashProxySession

type PdashProxySession struct {
	Contract     *PdashProxy       // 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
}

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

func (*PdashProxySession) GetProxyFileNumber

func (_PdashProxy *PdashProxySession) GetProxyFileNumber(proxy common.Address) (*big.Int, error)

GetProxyFileNumber is a free data retrieval call binding the contract method 0x122de578.

Solidity: function getProxyFileNumber(proxy address) constant returns(uint256)

func (*PdashProxySession) GetProxyFileNumberInBlock

func (_PdashProxy *PdashProxySession) GetProxyFileNumberInBlock(user common.Address, block_num *big.Int) (*big.Int, error)

GetProxyFileNumberInBlock is a free data retrieval call binding the contract method 0x55a20afc.

Solidity: function getProxyFileNumberInBlock(user address, block_num uint256) constant returns(uint256)

func (*PdashProxySession) Pdash

func (_PdashProxy *PdashProxySession) Pdash() (common.Address, error)

Pdash is a free data retrieval call binding the contract method 0xc946286d.

Solidity: function pdash() constant returns(address)

func (*PdashProxySession) ProxyHistory

func (_PdashProxy *PdashProxySession) ProxyHistory(arg0 common.Address, arg1 *big.Int) (struct {
	FileName  string
	FileHash  [32]byte
	FileSize  *big.Int
	TimeStamp *big.Int
}, error)

ProxyHistory is a free data retrieval call binding the contract method 0xc642648d.

Solidity: function proxyHistory( address, uint256) constant returns(fileName string, fileHash bytes32, fileSize uint256, timeStamp uint256)

func (*PdashProxySession) ProxyRegister

func (_PdashProxy *PdashProxySession) ProxyRegister(fileName string, fileHash [32]byte, fileSize *big.Int) (*types.Transaction, error)

ProxyRegister is a paid mutator transaction binding the contract method 0xac50f815.

Solidity: function proxyRegister(fileName string, fileHash bytes32, fileSize uint256) returns()

func (*PdashProxySession) SetProxyContractAddr

func (_PdashProxy *PdashProxySession) SetProxyContractAddr(_addr common.Address) (*types.Transaction, error)

SetProxyContractAddr is a paid mutator transaction binding the contract method 0x29cc96a3.

Solidity: function setProxyContractAddr(_addr address) returns()

func (*PdashProxySession) UpdatePdashAddress

func (_PdashProxy *PdashProxySession) UpdatePdashAddress(addr common.Address) (*types.Transaction, error)

UpdatePdashAddress is a paid mutator transaction binding the contract method 0x84b0c302.

Solidity: function updatePdashAddress(addr address) returns()

type PdashProxyTransactor

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

PdashProxyTransactor is an auto generated write-only Go binding around an cpchain contract.

func NewPdashProxyTransactor

func NewPdashProxyTransactor(address common.Address, transactor bind.ContractTransactor) (*PdashProxyTransactor, error)

NewPdashProxyTransactor creates a new write-only instance of PdashProxy, bound to a specific deployed contract.

func (*PdashProxyTransactor) ProxyRegister

func (_PdashProxy *PdashProxyTransactor) ProxyRegister(opts *bind.TransactOpts, fileName string, fileHash [32]byte, fileSize *big.Int) (*types.Transaction, error)

ProxyRegister is a paid mutator transaction binding the contract method 0xac50f815.

Solidity: function proxyRegister(fileName string, fileHash bytes32, fileSize uint256) returns()

func (*PdashProxyTransactor) SetProxyContractAddr

func (_PdashProxy *PdashProxyTransactor) SetProxyContractAddr(opts *bind.TransactOpts, _addr common.Address) (*types.Transaction, error)

SetProxyContractAddr is a paid mutator transaction binding the contract method 0x29cc96a3.

Solidity: function setProxyContractAddr(_addr address) returns()

func (*PdashProxyTransactor) UpdatePdashAddress

func (_PdashProxy *PdashProxyTransactor) UpdatePdashAddress(opts *bind.TransactOpts, addr common.Address) (*types.Transaction, error)

UpdatePdashAddress is a paid mutator transaction binding the contract method 0x84b0c302.

Solidity: function updatePdashAddress(addr address) returns()

type PdashProxyTransactorRaw

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

PdashProxyTransactorRaw is an auto generated low-level write-only Go binding around an cpchain contract.

func (*PdashProxyTransactorRaw) Transact

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

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

func (*PdashProxyTransactorRaw) Transfer

func (_PdashProxy *PdashProxyTransactorRaw) 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 PdashProxyTransactorSession

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

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

func (*PdashProxyTransactorSession) ProxyRegister

func (_PdashProxy *PdashProxyTransactorSession) ProxyRegister(fileName string, fileHash [32]byte, fileSize *big.Int) (*types.Transaction, error)

ProxyRegister is a paid mutator transaction binding the contract method 0xac50f815.

Solidity: function proxyRegister(fileName string, fileHash bytes32, fileSize uint256) returns()

func (*PdashProxyTransactorSession) SetProxyContractAddr

func (_PdashProxy *PdashProxyTransactorSession) SetProxyContractAddr(_addr common.Address) (*types.Transaction, error)

SetProxyContractAddr is a paid mutator transaction binding the contract method 0x29cc96a3.

Solidity: function setProxyContractAddr(_addr address) returns()

func (*PdashProxyTransactorSession) UpdatePdashAddress

func (_PdashProxy *PdashProxyTransactorSession) UpdatePdashAddress(addr common.Address) (*types.Transaction, error)

UpdatePdashAddress is a paid mutator transaction binding the contract method 0x84b0c302.

Solidity: function updatePdashAddress(addr address) returns()

type PdashProxyWithdrawn

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

PdashProxyWithdrawn represents a ProxyWithdrawn event raised by the Pdash contract.

type PdashProxyWithdrawnIterator

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

PdashProxyWithdrawnIterator is returned from FilterProxyWithdrawn and is used to iterate over the raw logs and unpacked data for ProxyWithdrawn events raised by the Pdash contract.

func (*PdashProxyWithdrawnIterator) Close

func (it *PdashProxyWithdrawnIterator) Close() error

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

func (*PdashProxyWithdrawnIterator) Error

func (it *PdashProxyWithdrawnIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*PdashProxyWithdrawnIterator) Next

func (it *PdashProxyWithdrawnIterator) 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 PdashRaw

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

PdashRaw is an auto generated low-level Go binding around an cpchain contract.

func (*PdashRaw) Call

func (_Pdash *PdashRaw) 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 (*PdashRaw) Transact

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

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

func (*PdashRaw) Transfer

func (_Pdash *PdashRaw) 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 PdashSellerClaimTimeout

type PdashSellerClaimTimeout struct {
	OrderId *big.Int
	Time    *big.Int
	Raw     types.Log // Blockchain specific contextual infos
}

PdashSellerClaimTimeout represents a SellerClaimTimeout event raised by the Pdash contract.

type PdashSellerClaimTimeoutIterator

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

PdashSellerClaimTimeoutIterator is returned from FilterSellerClaimTimeout and is used to iterate over the raw logs and unpacked data for SellerClaimTimeout events raised by the Pdash contract.

func (*PdashSellerClaimTimeoutIterator) Close

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

func (*PdashSellerClaimTimeoutIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*PdashSellerClaimTimeoutIterator) 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 PdashSellerConfirmed

type PdashSellerConfirmed struct {
	OrderId *big.Int
	Value   *big.Int
	Time    *big.Int
	Raw     types.Log // Blockchain specific contextual infos
}

PdashSellerConfirmed represents a SellerConfirmed event raised by the Pdash contract.

type PdashSellerConfirmedIterator

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

PdashSellerConfirmedIterator is returned from FilterSellerConfirmed and is used to iterate over the raw logs and unpacked data for SellerConfirmed events raised by the Pdash contract.

func (*PdashSellerConfirmedIterator) Close

func (it *PdashSellerConfirmedIterator) Close() error

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

func (*PdashSellerConfirmedIterator) Error

func (it *PdashSellerConfirmedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*PdashSellerConfirmedIterator) 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 PdashSession

type PdashSession struct {
	Contract     *Pdash            // 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
}

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

func (*PdashSession) BlockOrders

func (_Pdash *PdashSession) BlockOrders(arg0 *big.Int, arg1 *big.Int) (*big.Int, error)

BlockOrders is a free data retrieval call binding the contract method 0x7478d485.

Solidity: function blockOrders( uint256, uint256) constant returns(uint256)

func (*PdashSession) BlockOrdersLength

func (_Pdash *PdashSession) BlockOrdersLength(arg0 *big.Int) (*big.Int, error)

BlockOrdersLength is a free data retrieval call binding the contract method 0xdf6c559f.

Solidity: function blockOrdersLength( uint256) constant returns(uint256)

func (*PdashSession) BuyerAgreeOrNot

func (_Pdash *PdashSession) BuyerAgreeOrNot(id *big.Int, if_agree bool) (*types.Transaction, error)

BuyerAgreeOrNot is a paid mutator transaction binding the contract method 0xfed7ef34.

Solidity: function buyerAgreeOrNot(id uint256, if_agree bool) returns()

func (*PdashSession) BuyerClaimTimeOut

func (_Pdash *PdashSession) BuyerClaimTimeOut(id *big.Int) (*types.Transaction, error)

BuyerClaimTimeOut is a paid mutator transaction binding the contract method 0xe27e6a7f.

Solidity: function buyerClaimTimeOut(id uint256) returns()

func (*PdashSession) BuyerConfirmDeliver

func (_Pdash *PdashSession) BuyerConfirmDeliver(id *big.Int) (*types.Transaction, error)

BuyerConfirmDeliver is a paid mutator transaction binding the contract method 0x370f3c59.

Solidity: function buyerConfirmDeliver(id uint256) returns()

func (*PdashSession) BuyerDispute

func (_Pdash *PdashSession) BuyerDispute(id *big.Int) (*types.Transaction, error)

BuyerDispute is a paid mutator transaction binding the contract method 0x516cb027.

Solidity: function buyerDispute(id uint256) returns()

func (*PdashSession) BuyerRateProxy

func (_Pdash *PdashSession) BuyerRateProxy(id *big.Int, rate *big.Int) (*types.Transaction, error)

BuyerRateProxy is a paid mutator transaction binding the contract method 0xa40479f1.

Solidity: function buyerRateProxy(id uint256, rate uint256) returns()

func (*PdashSession) BuyerWithdraw

func (_Pdash *PdashSession) BuyerWithdraw(id *big.Int) (*types.Transaction, error)

BuyerWithdraw is a paid mutator transaction binding the contract method 0xb03fd85a.

Solidity: function buyerWithdraw(id uint256) returns()

func (*PdashSession) DisputeRecords

func (_Pdash *PdashSession) DisputeRecords(arg0 *big.Int) (struct {
	OrderId      *big.Int
	BadBuyer     bool
	BadSeller    bool
	BadProxy     bool
	BuyerAgree   bool
	SellerAgree  bool
	EndTime      *big.Int
	DisputeState uint8
}, error)

DisputeRecords is a free data retrieval call binding the contract method 0x7f0ca367.

Solidity: function disputeRecords( uint256) constant returns(orderId uint256, badBuyer bool, badSeller bool, badProxy bool, buyerAgree bool, sellerAgree bool, endTime uint256, disputeState uint8)

func (*PdashSession) NumDisputes

func (_Pdash *PdashSession) NumDisputes() (*big.Int, error)

NumDisputes is a free data retrieval call binding the contract method 0x90089ba0.

Solidity: function numDisputes() constant returns(uint256)

func (*PdashSession) NumOrders

func (_Pdash *PdashSession) NumOrders() (*big.Int, error)

NumOrders is a free data retrieval call binding the contract method 0x45d53788.

Solidity: function numOrders() constant returns(uint256)

func (*PdashSession) OrderRecords

func (_Pdash *PdashSession) OrderRecords(arg0 *big.Int) (struct {
	DescHash              [32]byte
	BuyerRSAPubkey        []byte
	BuyerAddress          common.Address
	SellerAddress         common.Address
	ProxyAddress          common.Address
	SecondaryProxyAddress common.Address
	OfferedPrice          *big.Int
	ProxyFee              *big.Int
	DeliverHash           [32]byte
	EndTime               *big.Int
	State                 uint8
	DisputeId             *big.Int
}, error)

OrderRecords is a free data retrieval call binding the contract method 0xe0f29cec.

Solidity: function orderRecords( uint256) constant returns(descHash bytes32, buyerRSAPubkey bytes, buyerAddress address, sellerAddress address, proxyAddress address, secondaryProxyAddress address, offeredPrice uint256, proxyFee uint256, deliverHash bytes32, endTime uint256, state uint8, disputeId uint256)

func (*PdashSession) Owner

func (_Pdash *PdashSession) Owner() (common.Address, error)

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

Solidity: function owner() constant returns(address)

func (*PdashSession) PlaceOrder

func (_Pdash *PdashSession) PlaceOrder(descHash [32]byte, buyerRSAPubkey []byte, seller common.Address, proxy common.Address, secondaryProxy common.Address, proxyFee *big.Int, timeAllowed *big.Int) (*types.Transaction, error)

PlaceOrder is a paid mutator transaction binding the contract method 0xa4ab7beb.

Solidity: function placeOrder(descHash bytes32, buyerRSAPubkey bytes, seller address, proxy address, secondaryProxy address, proxyFee uint256, timeAllowed uint256) returns()

func (*PdashSession) ProxyCredits

func (_Pdash *PdashSession) ProxyCredits(arg0 common.Address) (struct {
	Count  *big.Int
	Amount *big.Int
	Rate   *big.Int
}, error)

ProxyCredits is a free data retrieval call binding the contract method 0xa8dc7e63.

Solidity: function proxyCredits( address) constant returns(count uint256, amount uint256, rate uint256)

func (*PdashSession) ProxyDelivered

func (_Pdash *PdashSession) ProxyDelivered(deliverHash [32]byte, id *big.Int) (*types.Transaction, error)

ProxyDelivered is a paid mutator transaction binding the contract method 0x61d4df36.

Solidity: function proxyDelivered(deliverHash bytes32, id uint256) returns()

func (*PdashSession) ProxyDeposit

func (_Pdash *PdashSession) ProxyDeposit() (*types.Transaction, error)

ProxyDeposit is a paid mutator transaction binding the contract method 0xb3f03d0d.

Solidity: function proxyDeposit() returns()

func (*PdashSession) ProxyDeposits

func (_Pdash *PdashSession) ProxyDeposits(arg0 common.Address) (*big.Int, error)

ProxyDeposits is a free data retrieval call binding the contract method 0x04e1b52e.

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

func (*PdashSession) ProxyFetched

func (_Pdash *PdashSession) ProxyFetched(id *big.Int) (*types.Transaction, error)

ProxyFetched is a paid mutator transaction binding the contract method 0xfc9bcb72.

Solidity: function proxyFetched(id uint256) returns()

func (*PdashSession) ProxyProcessDispute

func (_Pdash *PdashSession) ProxyProcessDispute(id *big.Int, decision bool) (*types.Transaction, error)

ProxyProcessDispute is a paid mutator transaction binding the contract method 0x12344135.

Solidity: function proxyProcessDispute(id uint256, decision bool) returns()

func (*PdashSession) ProxyWithdraw

func (_Pdash *PdashSession) ProxyWithdraw(value *big.Int) (*types.Transaction, error)

ProxyWithdraw is a paid mutator transaction binding the contract method 0x45302c19.

Solidity: function proxyWithdraw(value uint256) returns()

func (*PdashSession) SellerAgreeOrNot

func (_Pdash *PdashSession) SellerAgreeOrNot(id *big.Int, if_agree bool) (*types.Transaction, error)

SellerAgreeOrNot is a paid mutator transaction binding the contract method 0xd7c16641.

Solidity: function sellerAgreeOrNot(id uint256, if_agree bool) returns()

func (*PdashSession) SellerClaimTimeOut

func (_Pdash *PdashSession) SellerClaimTimeOut(id *big.Int) (*types.Transaction, error)

SellerClaimTimeOut is a paid mutator transaction binding the contract method 0x16d86082.

Solidity: function sellerClaimTimeOut(id uint256) returns()

func (*PdashSession) SellerConfirm

func (_Pdash *PdashSession) SellerConfirm(id *big.Int) (*types.Transaction, error)

SellerConfirm is a paid mutator transaction binding the contract method 0x459934ec.

Solidity: function sellerConfirm(id uint256) returns()

func (*PdashSession) SellerRateProxy

func (_Pdash *PdashSession) SellerRateProxy(id *big.Int, rate *big.Int) (*types.Transaction, error)

SellerRateProxy is a paid mutator transaction binding the contract method 0xa50a6908.

Solidity: function sellerRateProxy(id uint256, rate uint256) returns()

func (*PdashSession) TrentHandleDispute

func (_Pdash *PdashSession) TrentHandleDispute(id *big.Int, badBuyer bool, badSeller bool, badProxy bool) (*types.Transaction, error)

TrentHandleDispute is a paid mutator transaction binding the contract method 0xf3ec4e35.

Solidity: function trentHandleDispute(id uint256, badBuyer bool, badSeller bool, badProxy bool) returns()

type PdashTransactor

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

PdashTransactor is an auto generated write-only Go binding around an cpchain contract.

func NewPdashTransactor

func NewPdashTransactor(address common.Address, transactor bind.ContractTransactor) (*PdashTransactor, error)

NewPdashTransactor creates a new write-only instance of Pdash, bound to a specific deployed contract.

func (*PdashTransactor) BuyerAgreeOrNot

func (_Pdash *PdashTransactor) BuyerAgreeOrNot(opts *bind.TransactOpts, id *big.Int, if_agree bool) (*types.Transaction, error)

BuyerAgreeOrNot is a paid mutator transaction binding the contract method 0xfed7ef34.

Solidity: function buyerAgreeOrNot(id uint256, if_agree bool) returns()

func (*PdashTransactor) BuyerClaimTimeOut

func (_Pdash *PdashTransactor) BuyerClaimTimeOut(opts *bind.TransactOpts, id *big.Int) (*types.Transaction, error)

BuyerClaimTimeOut is a paid mutator transaction binding the contract method 0xe27e6a7f.

Solidity: function buyerClaimTimeOut(id uint256) returns()

func (*PdashTransactor) BuyerConfirmDeliver

func (_Pdash *PdashTransactor) BuyerConfirmDeliver(opts *bind.TransactOpts, id *big.Int) (*types.Transaction, error)

BuyerConfirmDeliver is a paid mutator transaction binding the contract method 0x370f3c59.

Solidity: function buyerConfirmDeliver(id uint256) returns()

func (*PdashTransactor) BuyerDispute

func (_Pdash *PdashTransactor) BuyerDispute(opts *bind.TransactOpts, id *big.Int) (*types.Transaction, error)

BuyerDispute is a paid mutator transaction binding the contract method 0x516cb027.

Solidity: function buyerDispute(id uint256) returns()

func (*PdashTransactor) BuyerRateProxy

func (_Pdash *PdashTransactor) BuyerRateProxy(opts *bind.TransactOpts, id *big.Int, rate *big.Int) (*types.Transaction, error)

BuyerRateProxy is a paid mutator transaction binding the contract method 0xa40479f1.

Solidity: function buyerRateProxy(id uint256, rate uint256) returns()

func (*PdashTransactor) BuyerWithdraw

func (_Pdash *PdashTransactor) BuyerWithdraw(opts *bind.TransactOpts, id *big.Int) (*types.Transaction, error)

BuyerWithdraw is a paid mutator transaction binding the contract method 0xb03fd85a.

Solidity: function buyerWithdraw(id uint256) returns()

func (*PdashTransactor) PlaceOrder

func (_Pdash *PdashTransactor) PlaceOrder(opts *bind.TransactOpts, descHash [32]byte, buyerRSAPubkey []byte, seller common.Address, proxy common.Address, secondaryProxy common.Address, proxyFee *big.Int, timeAllowed *big.Int) (*types.Transaction, error)

PlaceOrder is a paid mutator transaction binding the contract method 0xa4ab7beb.

Solidity: function placeOrder(descHash bytes32, buyerRSAPubkey bytes, seller address, proxy address, secondaryProxy address, proxyFee uint256, timeAllowed uint256) returns()

func (*PdashTransactor) ProxyDelivered

func (_Pdash *PdashTransactor) ProxyDelivered(opts *bind.TransactOpts, deliverHash [32]byte, id *big.Int) (*types.Transaction, error)

ProxyDelivered is a paid mutator transaction binding the contract method 0x61d4df36.

Solidity: function proxyDelivered(deliverHash bytes32, id uint256) returns()

func (*PdashTransactor) ProxyDeposit

func (_Pdash *PdashTransactor) ProxyDeposit(opts *bind.TransactOpts) (*types.Transaction, error)

ProxyDeposit is a paid mutator transaction binding the contract method 0xb3f03d0d.

Solidity: function proxyDeposit() returns()

func (*PdashTransactor) ProxyFetched

func (_Pdash *PdashTransactor) ProxyFetched(opts *bind.TransactOpts, id *big.Int) (*types.Transaction, error)

ProxyFetched is a paid mutator transaction binding the contract method 0xfc9bcb72.

Solidity: function proxyFetched(id uint256) returns()

func (*PdashTransactor) ProxyProcessDispute

func (_Pdash *PdashTransactor) ProxyProcessDispute(opts *bind.TransactOpts, id *big.Int, decision bool) (*types.Transaction, error)

ProxyProcessDispute is a paid mutator transaction binding the contract method 0x12344135.

Solidity: function proxyProcessDispute(id uint256, decision bool) returns()

func (*PdashTransactor) ProxyWithdraw

func (_Pdash *PdashTransactor) ProxyWithdraw(opts *bind.TransactOpts, value *big.Int) (*types.Transaction, error)

ProxyWithdraw is a paid mutator transaction binding the contract method 0x45302c19.

Solidity: function proxyWithdraw(value uint256) returns()

func (*PdashTransactor) SellerAgreeOrNot

func (_Pdash *PdashTransactor) SellerAgreeOrNot(opts *bind.TransactOpts, id *big.Int, if_agree bool) (*types.Transaction, error)

SellerAgreeOrNot is a paid mutator transaction binding the contract method 0xd7c16641.

Solidity: function sellerAgreeOrNot(id uint256, if_agree bool) returns()

func (*PdashTransactor) SellerClaimTimeOut

func (_Pdash *PdashTransactor) SellerClaimTimeOut(opts *bind.TransactOpts, id *big.Int) (*types.Transaction, error)

SellerClaimTimeOut is a paid mutator transaction binding the contract method 0x16d86082.

Solidity: function sellerClaimTimeOut(id uint256) returns()

func (*PdashTransactor) SellerConfirm

func (_Pdash *PdashTransactor) SellerConfirm(opts *bind.TransactOpts, id *big.Int) (*types.Transaction, error)

SellerConfirm is a paid mutator transaction binding the contract method 0x459934ec.

Solidity: function sellerConfirm(id uint256) returns()

func (*PdashTransactor) SellerRateProxy

func (_Pdash *PdashTransactor) SellerRateProxy(opts *bind.TransactOpts, id *big.Int, rate *big.Int) (*types.Transaction, error)

SellerRateProxy is a paid mutator transaction binding the contract method 0xa50a6908.

Solidity: function sellerRateProxy(id uint256, rate uint256) returns()

func (*PdashTransactor) TrentHandleDispute

func (_Pdash *PdashTransactor) TrentHandleDispute(opts *bind.TransactOpts, id *big.Int, badBuyer bool, badSeller bool, badProxy bool) (*types.Transaction, error)

TrentHandleDispute is a paid mutator transaction binding the contract method 0xf3ec4e35.

Solidity: function trentHandleDispute(id uint256, badBuyer bool, badSeller bool, badProxy bool) returns()

type PdashTransactorRaw

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

PdashTransactorRaw is an auto generated low-level write-only Go binding around an cpchain contract.

func (*PdashTransactorRaw) Transact

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

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

func (*PdashTransactorRaw) Transfer

func (_Pdash *PdashTransactorRaw) 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 PdashTransactorSession

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

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

func (*PdashTransactorSession) BuyerAgreeOrNot

func (_Pdash *PdashTransactorSession) BuyerAgreeOrNot(id *big.Int, if_agree bool) (*types.Transaction, error)

BuyerAgreeOrNot is a paid mutator transaction binding the contract method 0xfed7ef34.

Solidity: function buyerAgreeOrNot(id uint256, if_agree bool) returns()

func (*PdashTransactorSession) BuyerClaimTimeOut

func (_Pdash *PdashTransactorSession) BuyerClaimTimeOut(id *big.Int) (*types.Transaction, error)

BuyerClaimTimeOut is a paid mutator transaction binding the contract method 0xe27e6a7f.

Solidity: function buyerClaimTimeOut(id uint256) returns()

func (*PdashTransactorSession) BuyerConfirmDeliver

func (_Pdash *PdashTransactorSession) BuyerConfirmDeliver(id *big.Int) (*types.Transaction, error)

BuyerConfirmDeliver is a paid mutator transaction binding the contract method 0x370f3c59.

Solidity: function buyerConfirmDeliver(id uint256) returns()

func (*PdashTransactorSession) BuyerDispute

func (_Pdash *PdashTransactorSession) BuyerDispute(id *big.Int) (*types.Transaction, error)

BuyerDispute is a paid mutator transaction binding the contract method 0x516cb027.

Solidity: function buyerDispute(id uint256) returns()

func (*PdashTransactorSession) BuyerRateProxy

func (_Pdash *PdashTransactorSession) BuyerRateProxy(id *big.Int, rate *big.Int) (*types.Transaction, error)

BuyerRateProxy is a paid mutator transaction binding the contract method 0xa40479f1.

Solidity: function buyerRateProxy(id uint256, rate uint256) returns()

func (*PdashTransactorSession) BuyerWithdraw

func (_Pdash *PdashTransactorSession) BuyerWithdraw(id *big.Int) (*types.Transaction, error)

BuyerWithdraw is a paid mutator transaction binding the contract method 0xb03fd85a.

Solidity: function buyerWithdraw(id uint256) returns()

func (*PdashTransactorSession) PlaceOrder

func (_Pdash *PdashTransactorSession) PlaceOrder(descHash [32]byte, buyerRSAPubkey []byte, seller common.Address, proxy common.Address, secondaryProxy common.Address, proxyFee *big.Int, timeAllowed *big.Int) (*types.Transaction, error)

PlaceOrder is a paid mutator transaction binding the contract method 0xa4ab7beb.

Solidity: function placeOrder(descHash bytes32, buyerRSAPubkey bytes, seller address, proxy address, secondaryProxy address, proxyFee uint256, timeAllowed uint256) returns()

func (*PdashTransactorSession) ProxyDelivered

func (_Pdash *PdashTransactorSession) ProxyDelivered(deliverHash [32]byte, id *big.Int) (*types.Transaction, error)

ProxyDelivered is a paid mutator transaction binding the contract method 0x61d4df36.

Solidity: function proxyDelivered(deliverHash bytes32, id uint256) returns()

func (*PdashTransactorSession) ProxyDeposit

func (_Pdash *PdashTransactorSession) ProxyDeposit() (*types.Transaction, error)

ProxyDeposit is a paid mutator transaction binding the contract method 0xb3f03d0d.

Solidity: function proxyDeposit() returns()

func (*PdashTransactorSession) ProxyFetched

func (_Pdash *PdashTransactorSession) ProxyFetched(id *big.Int) (*types.Transaction, error)

ProxyFetched is a paid mutator transaction binding the contract method 0xfc9bcb72.

Solidity: function proxyFetched(id uint256) returns()

func (*PdashTransactorSession) ProxyProcessDispute

func (_Pdash *PdashTransactorSession) ProxyProcessDispute(id *big.Int, decision bool) (*types.Transaction, error)

ProxyProcessDispute is a paid mutator transaction binding the contract method 0x12344135.

Solidity: function proxyProcessDispute(id uint256, decision bool) returns()

func (*PdashTransactorSession) ProxyWithdraw

func (_Pdash *PdashTransactorSession) ProxyWithdraw(value *big.Int) (*types.Transaction, error)

ProxyWithdraw is a paid mutator transaction binding the contract method 0x45302c19.

Solidity: function proxyWithdraw(value uint256) returns()

func (*PdashTransactorSession) SellerAgreeOrNot

func (_Pdash *PdashTransactorSession) SellerAgreeOrNot(id *big.Int, if_agree bool) (*types.Transaction, error)

SellerAgreeOrNot is a paid mutator transaction binding the contract method 0xd7c16641.

Solidity: function sellerAgreeOrNot(id uint256, if_agree bool) returns()

func (*PdashTransactorSession) SellerClaimTimeOut

func (_Pdash *PdashTransactorSession) SellerClaimTimeOut(id *big.Int) (*types.Transaction, error)

SellerClaimTimeOut is a paid mutator transaction binding the contract method 0x16d86082.

Solidity: function sellerClaimTimeOut(id uint256) returns()

func (*PdashTransactorSession) SellerConfirm

func (_Pdash *PdashTransactorSession) SellerConfirm(id *big.Int) (*types.Transaction, error)

SellerConfirm is a paid mutator transaction binding the contract method 0x459934ec.

Solidity: function sellerConfirm(id uint256) returns()

func (*PdashTransactorSession) SellerRateProxy

func (_Pdash *PdashTransactorSession) SellerRateProxy(id *big.Int, rate *big.Int) (*types.Transaction, error)

SellerRateProxy is a paid mutator transaction binding the contract method 0xa50a6908.

Solidity: function sellerRateProxy(id uint256, rate uint256) returns()

func (*PdashTransactorSession) TrentHandleDispute

func (_Pdash *PdashTransactorSession) TrentHandleDispute(id *big.Int, badBuyer bool, badSeller bool, badProxy bool) (*types.Transaction, error)

TrentHandleDispute is a paid mutator transaction binding the contract method 0xf3ec4e35.

Solidity: function trentHandleDispute(id uint256, badBuyer bool, badSeller bool, badProxy bool) returns()

type ProxyContractInterface

type ProxyContractInterface struct {
	ProxyContractInterfaceCaller     // Read-only binding to the contract
	ProxyContractInterfaceTransactor // Write-only binding to the contract
	ProxyContractInterfaceFilterer   // Log filterer for contract events
}

ProxyContractInterface is an auto generated Go binding around an cpchain contract.

func DeployProxyContractInterface

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

DeployProxyContractInterface deploys a new cpchain contract, binding an instance of ProxyContractInterface to it.

func NewProxyContractInterface

func NewProxyContractInterface(address common.Address, backend bind.ContractBackend) (*ProxyContractInterface, error)

NewProxyContractInterface creates a new instance of ProxyContractInterface, bound to a specific deployed contract.

type ProxyContractInterfaceCaller

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

ProxyContractInterfaceCaller is an auto generated read-only Go binding around an cpchain contract.

func NewProxyContractInterfaceCaller

func NewProxyContractInterfaceCaller(address common.Address, caller bind.ContractCaller) (*ProxyContractInterfaceCaller, error)

NewProxyContractInterfaceCaller creates a new read-only instance of ProxyContractInterface, bound to a specific deployed contract.

func (*ProxyContractInterfaceCaller) GetProxyContract

func (_ProxyContractInterface *ProxyContractInterfaceCaller) GetProxyContract(opts *bind.CallOpts, addr common.Address) (common.Address, error)

GetProxyContract is a free data retrieval call binding the contract method 0xfc4fdd3d.

Solidity: function getProxyContract(addr address) constant returns(address)

type ProxyContractInterfaceCallerRaw

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

ProxyContractInterfaceCallerRaw is an auto generated low-level read-only Go binding around an cpchain contract.

func (*ProxyContractInterfaceCallerRaw) Call

func (_ProxyContractInterface *ProxyContractInterfaceCallerRaw) 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 ProxyContractInterfaceCallerSession

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

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

func (*ProxyContractInterfaceCallerSession) GetProxyContract

func (_ProxyContractInterface *ProxyContractInterfaceCallerSession) GetProxyContract(addr common.Address) (common.Address, error)

GetProxyContract is a free data retrieval call binding the contract method 0xfc4fdd3d.

Solidity: function getProxyContract(addr address) constant returns(address)

type ProxyContractInterfaceFilterer

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

ProxyContractInterfaceFilterer is an auto generated log filtering Go binding around an cpchain contract events.

func NewProxyContractInterfaceFilterer

func NewProxyContractInterfaceFilterer(address common.Address, filterer bind.ContractFilterer) (*ProxyContractInterfaceFilterer, error)

NewProxyContractInterfaceFilterer creates a new log filterer instance of ProxyContractInterface, bound to a specific deployed contract.

type ProxyContractInterfaceRaw

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

ProxyContractInterfaceRaw is an auto generated low-level Go binding around an cpchain contract.

func (*ProxyContractInterfaceRaw) Call

func (_ProxyContractInterface *ProxyContractInterfaceRaw) 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 (*ProxyContractInterfaceRaw) Transact

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

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

func (*ProxyContractInterfaceRaw) Transfer

func (_ProxyContractInterface *ProxyContractInterfaceRaw) 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 ProxyContractInterfaceSession

type ProxyContractInterfaceSession struct {
	Contract     *ProxyContractInterface // 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
}

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

func (*ProxyContractInterfaceSession) GetProxyContract

func (_ProxyContractInterface *ProxyContractInterfaceSession) GetProxyContract(addr common.Address) (common.Address, error)

GetProxyContract is a free data retrieval call binding the contract method 0xfc4fdd3d.

Solidity: function getProxyContract(addr address) constant returns(address)

type ProxyContractInterfaceTransactor

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

ProxyContractInterfaceTransactor is an auto generated write-only Go binding around an cpchain contract.

func NewProxyContractInterfaceTransactor

func NewProxyContractInterfaceTransactor(address common.Address, transactor bind.ContractTransactor) (*ProxyContractInterfaceTransactor, error)

NewProxyContractInterfaceTransactor creates a new write-only instance of ProxyContractInterface, bound to a specific deployed contract.

type ProxyContractInterfaceTransactorRaw

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

ProxyContractInterfaceTransactorRaw is an auto generated low-level write-only Go binding around an cpchain contract.

func (*ProxyContractInterfaceTransactorRaw) Transact

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

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

func (*ProxyContractInterfaceTransactorRaw) Transfer

func (_ProxyContractInterface *ProxyContractInterfaceTransactorRaw) 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 ProxyContractInterfaceTransactorSession

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

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

type ProxyInterface

type ProxyInterface struct {
	ProxyInterfaceCaller     // Read-only binding to the contract
	ProxyInterfaceTransactor // Write-only binding to the contract
	ProxyInterfaceFilterer   // Log filterer for contract events
}

ProxyInterface is an auto generated Go binding around an cpchain contract.

func DeployProxyInterface

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

DeployProxyInterface deploys a new cpchain contract, binding an instance of ProxyInterface to it.

func NewProxyInterface

func NewProxyInterface(address common.Address, backend bind.ContractBackend) (*ProxyInterface, error)

NewProxyInterface creates a new instance of ProxyInterface, bound to a specific deployed contract.

type ProxyInterfaceCaller

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

ProxyInterfaceCaller is an auto generated read-only Go binding around an cpchain contract.

func NewProxyInterfaceCaller

func NewProxyInterfaceCaller(address common.Address, caller bind.ContractCaller) (*ProxyInterfaceCaller, error)

NewProxyInterfaceCaller creates a new read-only instance of ProxyInterface, bound to a specific deployed contract.

func (*ProxyInterfaceCaller) GetProxyContract

func (_ProxyInterface *ProxyInterfaceCaller) GetProxyContract(opts *bind.CallOpts, addr common.Address) (common.Address, error)

GetProxyContract is a free data retrieval call binding the contract method 0xfc4fdd3d.

Solidity: function getProxyContract(addr address) constant returns(address)

type ProxyInterfaceCallerRaw

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

ProxyInterfaceCallerRaw is an auto generated low-level read-only Go binding around an cpchain contract.

func (*ProxyInterfaceCallerRaw) Call

func (_ProxyInterface *ProxyInterfaceCallerRaw) 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 ProxyInterfaceCallerSession

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

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

func (*ProxyInterfaceCallerSession) GetProxyContract

func (_ProxyInterface *ProxyInterfaceCallerSession) GetProxyContract(addr common.Address) (common.Address, error)

GetProxyContract is a free data retrieval call binding the contract method 0xfc4fdd3d.

Solidity: function getProxyContract(addr address) constant returns(address)

type ProxyInterfaceFilterer

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

ProxyInterfaceFilterer is an auto generated log filtering Go binding around an cpchain contract events.

func NewProxyInterfaceFilterer

func NewProxyInterfaceFilterer(address common.Address, filterer bind.ContractFilterer) (*ProxyInterfaceFilterer, error)

NewProxyInterfaceFilterer creates a new log filterer instance of ProxyInterface, bound to a specific deployed contract.

type ProxyInterfaceRaw

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

ProxyInterfaceRaw is an auto generated low-level Go binding around an cpchain contract.

func (*ProxyInterfaceRaw) Call

func (_ProxyInterface *ProxyInterfaceRaw) 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 (*ProxyInterfaceRaw) Transact

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

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

func (*ProxyInterfaceRaw) Transfer

func (_ProxyInterface *ProxyInterfaceRaw) 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 ProxyInterfaceSession

type ProxyInterfaceSession struct {
	Contract     *ProxyInterface   // 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
}

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

func (*ProxyInterfaceSession) GetProxyContract

func (_ProxyInterface *ProxyInterfaceSession) GetProxyContract(addr common.Address) (common.Address, error)

GetProxyContract is a free data retrieval call binding the contract method 0xfc4fdd3d.

Solidity: function getProxyContract(addr address) constant returns(address)

type ProxyInterfaceTransactor

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

ProxyInterfaceTransactor is an auto generated write-only Go binding around an cpchain contract.

func NewProxyInterfaceTransactor

func NewProxyInterfaceTransactor(address common.Address, transactor bind.ContractTransactor) (*ProxyInterfaceTransactor, error)

NewProxyInterfaceTransactor creates a new write-only instance of ProxyInterface, bound to a specific deployed contract.

type ProxyInterfaceTransactorRaw

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

ProxyInterfaceTransactorRaw is an auto generated low-level write-only Go binding around an cpchain contract.

func (*ProxyInterfaceTransactorRaw) Transact

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

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

func (*ProxyInterfaceTransactorRaw) Transfer

func (_ProxyInterface *ProxyInterfaceTransactorRaw) 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 ProxyInterfaceTransactorSession

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

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

type Register

type Register struct {
	RegisterCaller     // Read-only binding to the contract
	RegisterTransactor // Write-only binding to the contract
	RegisterFilterer   // Log filterer for contract events
}

Register is an auto generated Go binding around an cpchain contract.

func DeployRegister

func DeployRegister(auth *bind.TransactOpts, backend bind.ContractBackend, _addr common.Address) (common.Address, *types.Transaction, *Register, error)

DeployRegister deploys a new cpchain contract, binding an instance of Register to it.

func NewRegister

func NewRegister(address common.Address, backend bind.ContractBackend) (*Register, error)

NewRegister creates a new instance of Register, bound to a specific deployed contract.

type RegisterCaller

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

RegisterCaller is an auto generated read-only Go binding around an cpchain contract.

func NewRegisterCaller

func NewRegisterCaller(address common.Address, caller bind.ContractCaller) (*RegisterCaller, error)

NewRegisterCaller creates a new read-only instance of Register, bound to a specific deployed contract.

func (*RegisterCaller) GetUploadCount

func (_Register *RegisterCaller) GetUploadCount(opts *bind.CallOpts, user common.Address) (*big.Int, error)

GetUploadCount is a free data retrieval call binding the contract method 0xf1227d36.

Solidity: function getUploadCount(user address) constant returns(uint256)

func (*RegisterCaller) GetUploadCountAfterBlock

func (_Register *RegisterCaller) GetUploadCountAfterBlock(opts *bind.CallOpts, user common.Address, block_num *big.Int) (*big.Int, error)

GetUploadCountAfterBlock is a free data retrieval call binding the contract method 0xfcf197b2.

Solidity: function getUploadCountAfterBlock(user address, block_num uint256) constant returns(uint256)

func (*RegisterCaller) UploadHistory

func (_Register *RegisterCaller) UploadHistory(opts *bind.CallOpts, arg0 common.Address, arg1 *big.Int) (struct {
	FileName  string
	FileHash  [32]byte
	FileSize  *big.Int
	TimeStamp *big.Int
}, error)

UploadHistory is a free data retrieval call binding the contract method 0x26cea737.

Solidity: function uploadHistory( address, uint256) constant returns(fileName string, fileHash bytes32, fileSize uint256, timeStamp uint256)

type RegisterCallerRaw

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

RegisterCallerRaw is an auto generated low-level read-only Go binding around an cpchain contract.

func (*RegisterCallerRaw) Call

func (_Register *RegisterCallerRaw) 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 RegisterCallerSession

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

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

func (*RegisterCallerSession) GetUploadCount

func (_Register *RegisterCallerSession) GetUploadCount(user common.Address) (*big.Int, error)

GetUploadCount is a free data retrieval call binding the contract method 0xf1227d36.

Solidity: function getUploadCount(user address) constant returns(uint256)

func (*RegisterCallerSession) GetUploadCountAfterBlock

func (_Register *RegisterCallerSession) GetUploadCountAfterBlock(user common.Address, block_num *big.Int) (*big.Int, error)

GetUploadCountAfterBlock is a free data retrieval call binding the contract method 0xfcf197b2.

Solidity: function getUploadCountAfterBlock(user address, block_num uint256) constant returns(uint256)

func (*RegisterCallerSession) UploadHistory

func (_Register *RegisterCallerSession) UploadHistory(arg0 common.Address, arg1 *big.Int) (struct {
	FileName  string
	FileHash  [32]byte
	FileSize  *big.Int
	TimeStamp *big.Int
}, error)

UploadHistory is a free data retrieval call binding the contract method 0x26cea737.

Solidity: function uploadHistory( address, uint256) constant returns(fileName string, fileHash bytes32, fileSize uint256, timeStamp uint256)

type RegisterFilterer

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

RegisterFilterer is an auto generated log filtering Go binding around an cpchain contract events.

func NewRegisterFilterer

func NewRegisterFilterer(address common.Address, filterer bind.ContractFilterer) (*RegisterFilterer, error)

NewRegisterFilterer creates a new log filterer instance of Register, bound to a specific deployed contract.

type RegisterRaw

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

RegisterRaw is an auto generated low-level Go binding around an cpchain contract.

func (*RegisterRaw) Call

func (_Register *RegisterRaw) 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 (*RegisterRaw) Transact

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

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

func (*RegisterRaw) Transfer

func (_Register *RegisterRaw) 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 RegisterSession

type RegisterSession struct {
	Contract     *Register         // 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
}

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

func (*RegisterSession) ClaimRegister

func (_Register *RegisterSession) ClaimRegister(fileName string, fileHash [32]byte, fileSize *big.Int) (*types.Transaction, error)

ClaimRegister is a paid mutator transaction binding the contract method 0xd44fd261.

Solidity: function claimRegister(fileName string, fileHash bytes32, fileSize uint256) returns()

func (*RegisterSession) GetUploadCount

func (_Register *RegisterSession) GetUploadCount(user common.Address) (*big.Int, error)

GetUploadCount is a free data retrieval call binding the contract method 0xf1227d36.

Solidity: function getUploadCount(user address) constant returns(uint256)

func (*RegisterSession) GetUploadCountAfterBlock

func (_Register *RegisterSession) GetUploadCountAfterBlock(user common.Address, block_num *big.Int) (*big.Int, error)

GetUploadCountAfterBlock is a free data retrieval call binding the contract method 0xfcf197b2.

Solidity: function getUploadCountAfterBlock(user address, block_num uint256) constant returns(uint256)

func (*RegisterSession) SetAdmissionAddr

func (_Register *RegisterSession) SetAdmissionAddr(_addr common.Address) (*types.Transaction, error)

SetAdmissionAddr is a paid mutator transaction binding the contract method 0xc0e9e35e.

Solidity: function setAdmissionAddr(_addr address) returns()

func (*RegisterSession) UpdatePdashAddress

func (_Register *RegisterSession) UpdatePdashAddress(addr common.Address) (*types.Transaction, error)

UpdatePdashAddress is a paid mutator transaction binding the contract method 0x84b0c302.

Solidity: function updatePdashAddress(addr address) returns()

func (*RegisterSession) UploadHistory

func (_Register *RegisterSession) UploadHistory(arg0 common.Address, arg1 *big.Int) (struct {
	FileName  string
	FileHash  [32]byte
	FileSize  *big.Int
	TimeStamp *big.Int
}, error)

UploadHistory is a free data retrieval call binding the contract method 0x26cea737.

Solidity: function uploadHistory( address, uint256) constant returns(fileName string, fileHash bytes32, fileSize uint256, timeStamp uint256)

type RegisterTransactor

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

RegisterTransactor is an auto generated write-only Go binding around an cpchain contract.

func NewRegisterTransactor

func NewRegisterTransactor(address common.Address, transactor bind.ContractTransactor) (*RegisterTransactor, error)

NewRegisterTransactor creates a new write-only instance of Register, bound to a specific deployed contract.

func (*RegisterTransactor) ClaimRegister

func (_Register *RegisterTransactor) ClaimRegister(opts *bind.TransactOpts, fileName string, fileHash [32]byte, fileSize *big.Int) (*types.Transaction, error)

ClaimRegister is a paid mutator transaction binding the contract method 0xd44fd261.

Solidity: function claimRegister(fileName string, fileHash bytes32, fileSize uint256) returns()

func (*RegisterTransactor) SetAdmissionAddr

func (_Register *RegisterTransactor) SetAdmissionAddr(opts *bind.TransactOpts, _addr common.Address) (*types.Transaction, error)

SetAdmissionAddr is a paid mutator transaction binding the contract method 0xc0e9e35e.

Solidity: function setAdmissionAddr(_addr address) returns()

func (*RegisterTransactor) UpdatePdashAddress

func (_Register *RegisterTransactor) UpdatePdashAddress(opts *bind.TransactOpts, addr common.Address) (*types.Transaction, error)

UpdatePdashAddress is a paid mutator transaction binding the contract method 0x84b0c302.

Solidity: function updatePdashAddress(addr address) returns()

type RegisterTransactorRaw

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

RegisterTransactorRaw is an auto generated low-level write-only Go binding around an cpchain contract.

func (*RegisterTransactorRaw) Transact

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

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

func (*RegisterTransactorRaw) Transfer

func (_Register *RegisterTransactorRaw) 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 RegisterTransactorSession

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

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

func (*RegisterTransactorSession) ClaimRegister

func (_Register *RegisterTransactorSession) ClaimRegister(fileName string, fileHash [32]byte, fileSize *big.Int) (*types.Transaction, error)

ClaimRegister is a paid mutator transaction binding the contract method 0xd44fd261.

Solidity: function claimRegister(fileName string, fileHash bytes32, fileSize uint256) returns()

func (*RegisterTransactorSession) SetAdmissionAddr

func (_Register *RegisterTransactorSession) SetAdmissionAddr(_addr common.Address) (*types.Transaction, error)

SetAdmissionAddr is a paid mutator transaction binding the contract method 0xc0e9e35e.

Solidity: function setAdmissionAddr(_addr address) returns()

func (*RegisterTransactorSession) UpdatePdashAddress

func (_Register *RegisterTransactorSession) UpdatePdashAddress(addr common.Address) (*types.Transaction, error)

UpdatePdashAddress is a paid mutator transaction binding the contract method 0x84b0c302.

Solidity: function updatePdashAddress(addr address) returns()

type SafeMath

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

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

func DeploySafeMath

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

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

func NewSafeMath

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

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

type SafeMathCaller

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

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

func NewSafeMathCaller

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

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

type SafeMathCallerRaw

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

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

func (*SafeMathCallerRaw) Call

func (_SafeMath *SafeMathCallerRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

type SafeMathCallerSession

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

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

type SafeMathFilterer

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

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

func NewSafeMathFilterer

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

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

type SafeMathRaw

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

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

func (*SafeMathRaw) Call

func (_SafeMath *SafeMathRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

func (*SafeMathRaw) Transact

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

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

func (*SafeMathRaw) Transfer

func (_SafeMath *SafeMathRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type SafeMathSession

type SafeMathSession struct {
	Contract     *SafeMath         // Generic contract binding to set the session for
	CallOpts     bind.CallOpts     // Call options to use throughout this session
	TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
}

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

type SafeMathTransactor

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

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

func NewSafeMathTransactor

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

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

type SafeMathTransactorRaw

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

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

func (*SafeMathTransactorRaw) Transact

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

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

func (*SafeMathTransactorRaw) Transfer

func (_SafeMath *SafeMathTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type SafeMathTransactorSession

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

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

Jump to

Keyboard shortcuts

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