Documentation
¶
Index ¶
- Constants
- type Pdash
- type PdashBuyerConfirmed
- type PdashBuyerConfirmedIterator
- type PdashBuyerDisputed
- type PdashBuyerDisputedIterator
- type PdashCaller
- func (_Pdash *PdashCaller) BlockOrders(opts *bind.CallOpts, arg0 *big.Int, arg1 *big.Int) (*big.Int, error)
- func (_Pdash *PdashCaller) BlockOrdersLength(opts *bind.CallOpts, arg0 *big.Int) (*big.Int, error)
- func (_Pdash *PdashCaller) DisputeRecords(opts *bind.CallOpts, arg0 *big.Int) (struct{ ... }, error)
- func (_Pdash *PdashCaller) NumDisputes(opts *bind.CallOpts) (*big.Int, error)
- func (_Pdash *PdashCaller) NumOrders(opts *bind.CallOpts) (*big.Int, error)
- func (_Pdash *PdashCaller) OrderRecords(opts *bind.CallOpts, arg0 *big.Int) (struct{ ... }, error)
- func (_Pdash *PdashCaller) Owner(opts *bind.CallOpts) (common.Address, error)
- func (_Pdash *PdashCaller) ProxyCredits(opts *bind.CallOpts, arg0 common.Address) (struct{ ... }, error)
- func (_Pdash *PdashCaller) ProxyDeposits(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)
- type PdashCallerRaw
- type PdashCallerSession
- func (_Pdash *PdashCallerSession) BlockOrders(arg0 *big.Int, arg1 *big.Int) (*big.Int, error)
- func (_Pdash *PdashCallerSession) BlockOrdersLength(arg0 *big.Int) (*big.Int, error)
- func (_Pdash *PdashCallerSession) DisputeRecords(arg0 *big.Int) (struct{ ... }, error)
- func (_Pdash *PdashCallerSession) NumDisputes() (*big.Int, error)
- func (_Pdash *PdashCallerSession) NumOrders() (*big.Int, error)
- func (_Pdash *PdashCallerSession) OrderRecords(arg0 *big.Int) (struct{ ... }, error)
- func (_Pdash *PdashCallerSession) Owner() (common.Address, error)
- func (_Pdash *PdashCallerSession) ProxyCredits(arg0 common.Address) (struct{ ... }, error)
- func (_Pdash *PdashCallerSession) ProxyDeposits(arg0 common.Address) (*big.Int, error)
- type PdashFilterer
- func (_Pdash *PdashFilterer) FilterBuyerConfirmed(opts *bind.FilterOpts) (*PdashBuyerConfirmedIterator, error)
- func (_Pdash *PdashFilterer) FilterBuyerDisputed(opts *bind.FilterOpts) (*PdashBuyerDisputedIterator, error)
- func (_Pdash *PdashFilterer) FilterOrderFinished(opts *bind.FilterOpts) (*PdashOrderFinishedIterator, error)
- func (_Pdash *PdashFilterer) FilterOrderInitiated(opts *bind.FilterOpts) (*PdashOrderInitiatedIterator, error)
- func (_Pdash *PdashFilterer) FilterOrderWithdrawn(opts *bind.FilterOpts) (*PdashOrderWithdrawnIterator, error)
- func (_Pdash *PdashFilterer) FilterProxyDelivered(opts *bind.FilterOpts) (*PdashProxyDeliveredIterator, error)
- func (_Pdash *PdashFilterer) FilterProxyDeposited(opts *bind.FilterOpts) (*PdashProxyDepositedIterator, error)
- func (_Pdash *PdashFilterer) FilterProxyFetched(opts *bind.FilterOpts) (*PdashProxyFetchedIterator, error)
- func (_Pdash *PdashFilterer) FilterProxyWithdrawn(opts *bind.FilterOpts) (*PdashProxyWithdrawnIterator, error)
- func (_Pdash *PdashFilterer) FilterSellerClaimTimeout(opts *bind.FilterOpts) (*PdashSellerClaimTimeoutIterator, error)
- func (_Pdash *PdashFilterer) FilterSellerConfirmed(opts *bind.FilterOpts) (*PdashSellerConfirmedIterator, error)
- func (_Pdash *PdashFilterer) WatchBuyerConfirmed(opts *bind.WatchOpts, sink chan<- *PdashBuyerConfirmed) (event.Subscription, error)
- func (_Pdash *PdashFilterer) WatchBuyerDisputed(opts *bind.WatchOpts, sink chan<- *PdashBuyerDisputed) (event.Subscription, error)
- func (_Pdash *PdashFilterer) WatchOrderFinished(opts *bind.WatchOpts, sink chan<- *PdashOrderFinished) (event.Subscription, error)
- func (_Pdash *PdashFilterer) WatchOrderInitiated(opts *bind.WatchOpts, sink chan<- *PdashOrderInitiated) (event.Subscription, error)
- func (_Pdash *PdashFilterer) WatchOrderWithdrawn(opts *bind.WatchOpts, sink chan<- *PdashOrderWithdrawn) (event.Subscription, error)
- func (_Pdash *PdashFilterer) WatchProxyDelivered(opts *bind.WatchOpts, sink chan<- *PdashProxyDelivered) (event.Subscription, error)
- func (_Pdash *PdashFilterer) WatchProxyDeposited(opts *bind.WatchOpts, sink chan<- *PdashProxyDeposited) (event.Subscription, error)
- func (_Pdash *PdashFilterer) WatchProxyFetched(opts *bind.WatchOpts, sink chan<- *PdashProxyFetched) (event.Subscription, error)
- func (_Pdash *PdashFilterer) WatchProxyWithdrawn(opts *bind.WatchOpts, sink chan<- *PdashProxyWithdrawn) (event.Subscription, error)
- func (_Pdash *PdashFilterer) WatchSellerClaimTimeout(opts *bind.WatchOpts, sink chan<- *PdashSellerClaimTimeout) (event.Subscription, error)
- func (_Pdash *PdashFilterer) WatchSellerConfirmed(opts *bind.WatchOpts, sink chan<- *PdashSellerConfirmed) (event.Subscription, error)
- type PdashOrderFinished
- type PdashOrderFinishedIterator
- type PdashOrderInitiated
- type PdashOrderInitiatedIterator
- type PdashOrderWithdrawn
- type PdashOrderWithdrawnIterator
- type PdashProxyDelivered
- type PdashProxyDeliveredIterator
- type PdashProxyDeposited
- type PdashProxyDepositedIterator
- type PdashProxyFetched
- type PdashProxyFetchedIterator
- type PdashProxyWithdrawn
- type PdashProxyWithdrawnIterator
- type PdashRaw
- func (_Pdash *PdashRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
- func (_Pdash *PdashRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Pdash *PdashRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type PdashSellerClaimTimeout
- type PdashSellerClaimTimeoutIterator
- type PdashSellerConfirmed
- type PdashSellerConfirmedIterator
- type PdashSession
- func (_Pdash *PdashSession) BlockOrders(arg0 *big.Int, arg1 *big.Int) (*big.Int, error)
- func (_Pdash *PdashSession) BlockOrdersLength(arg0 *big.Int) (*big.Int, error)
- func (_Pdash *PdashSession) BuyerAgreeOrNot(id *big.Int, if_agree bool) (*types.Transaction, error)
- func (_Pdash *PdashSession) BuyerClaimTimeOut(id *big.Int) (*types.Transaction, error)
- func (_Pdash *PdashSession) BuyerConfirmDeliver(id *big.Int) (*types.Transaction, error)
- func (_Pdash *PdashSession) BuyerDispute(id *big.Int) (*types.Transaction, error)
- func (_Pdash *PdashSession) BuyerRateProxy(id *big.Int, rate *big.Int) (*types.Transaction, error)
- func (_Pdash *PdashSession) BuyerWithdraw(id *big.Int) (*types.Transaction, error)
- func (_Pdash *PdashSession) DisputeRecords(arg0 *big.Int) (struct{ ... }, error)
- func (_Pdash *PdashSession) NumDisputes() (*big.Int, error)
- func (_Pdash *PdashSession) NumOrders() (*big.Int, error)
- func (_Pdash *PdashSession) OrderRecords(arg0 *big.Int) (struct{ ... }, error)
- func (_Pdash *PdashSession) Owner() (common.Address, error)
- func (_Pdash *PdashSession) PlaceOrder(descHash [32]byte, buyerRSAPubkey []byte, seller common.Address, ...) (*types.Transaction, error)
- func (_Pdash *PdashSession) ProxyCredits(arg0 common.Address) (struct{ ... }, error)
- func (_Pdash *PdashSession) ProxyDelivered(deliverHash [32]byte, id *big.Int) (*types.Transaction, error)
- func (_Pdash *PdashSession) ProxyDeposit() (*types.Transaction, error)
- func (_Pdash *PdashSession) ProxyDeposits(arg0 common.Address) (*big.Int, error)
- func (_Pdash *PdashSession) ProxyFetched(id *big.Int) (*types.Transaction, error)
- func (_Pdash *PdashSession) ProxyProcessDispute(id *big.Int, decision bool) (*types.Transaction, error)
- func (_Pdash *PdashSession) ProxyWithdraw(value *big.Int) (*types.Transaction, error)
- func (_Pdash *PdashSession) SellerAgreeOrNot(id *big.Int, if_agree bool) (*types.Transaction, error)
- func (_Pdash *PdashSession) SellerClaimTimeOut(id *big.Int) (*types.Transaction, error)
- func (_Pdash *PdashSession) SellerConfirm(id *big.Int) (*types.Transaction, error)
- func (_Pdash *PdashSession) SellerRateProxy(id *big.Int, rate *big.Int) (*types.Transaction, error)
- func (_Pdash *PdashSession) TrentHandleDispute(id *big.Int, badBuyer bool, badSeller bool, badProxy bool) (*types.Transaction, error)
- type PdashTransactor
- func (_Pdash *PdashTransactor) BuyerAgreeOrNot(opts *bind.TransactOpts, id *big.Int, if_agree bool) (*types.Transaction, error)
- func (_Pdash *PdashTransactor) BuyerClaimTimeOut(opts *bind.TransactOpts, id *big.Int) (*types.Transaction, error)
- func (_Pdash *PdashTransactor) BuyerConfirmDeliver(opts *bind.TransactOpts, id *big.Int) (*types.Transaction, error)
- func (_Pdash *PdashTransactor) BuyerDispute(opts *bind.TransactOpts, id *big.Int) (*types.Transaction, error)
- func (_Pdash *PdashTransactor) BuyerRateProxy(opts *bind.TransactOpts, id *big.Int, rate *big.Int) (*types.Transaction, error)
- func (_Pdash *PdashTransactor) BuyerWithdraw(opts *bind.TransactOpts, id *big.Int) (*types.Transaction, error)
- func (_Pdash *PdashTransactor) PlaceOrder(opts *bind.TransactOpts, descHash [32]byte, buyerRSAPubkey []byte, ...) (*types.Transaction, error)
- func (_Pdash *PdashTransactor) ProxyDelivered(opts *bind.TransactOpts, deliverHash [32]byte, id *big.Int) (*types.Transaction, error)
- func (_Pdash *PdashTransactor) ProxyDeposit(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_Pdash *PdashTransactor) ProxyFetched(opts *bind.TransactOpts, id *big.Int) (*types.Transaction, error)
- func (_Pdash *PdashTransactor) ProxyProcessDispute(opts *bind.TransactOpts, id *big.Int, decision bool) (*types.Transaction, error)
- func (_Pdash *PdashTransactor) ProxyWithdraw(opts *bind.TransactOpts, value *big.Int) (*types.Transaction, error)
- func (_Pdash *PdashTransactor) SellerAgreeOrNot(opts *bind.TransactOpts, id *big.Int, if_agree bool) (*types.Transaction, error)
- func (_Pdash *PdashTransactor) SellerClaimTimeOut(opts *bind.TransactOpts, id *big.Int) (*types.Transaction, error)
- func (_Pdash *PdashTransactor) SellerConfirm(opts *bind.TransactOpts, id *big.Int) (*types.Transaction, error)
- func (_Pdash *PdashTransactor) SellerRateProxy(opts *bind.TransactOpts, id *big.Int, rate *big.Int) (*types.Transaction, error)
- func (_Pdash *PdashTransactor) TrentHandleDispute(opts *bind.TransactOpts, id *big.Int, badBuyer bool, badSeller bool, ...) (*types.Transaction, error)
- type PdashTransactorRaw
- type PdashTransactorSession
- func (_Pdash *PdashTransactorSession) BuyerAgreeOrNot(id *big.Int, if_agree bool) (*types.Transaction, error)
- func (_Pdash *PdashTransactorSession) BuyerClaimTimeOut(id *big.Int) (*types.Transaction, error)
- func (_Pdash *PdashTransactorSession) BuyerConfirmDeliver(id *big.Int) (*types.Transaction, error)
- func (_Pdash *PdashTransactorSession) BuyerDispute(id *big.Int) (*types.Transaction, error)
- func (_Pdash *PdashTransactorSession) BuyerRateProxy(id *big.Int, rate *big.Int) (*types.Transaction, error)
- func (_Pdash *PdashTransactorSession) BuyerWithdraw(id *big.Int) (*types.Transaction, error)
- func (_Pdash *PdashTransactorSession) PlaceOrder(descHash [32]byte, buyerRSAPubkey []byte, seller common.Address, ...) (*types.Transaction, error)
- func (_Pdash *PdashTransactorSession) ProxyDelivered(deliverHash [32]byte, id *big.Int) (*types.Transaction, error)
- func (_Pdash *PdashTransactorSession) ProxyDeposit() (*types.Transaction, error)
- func (_Pdash *PdashTransactorSession) ProxyFetched(id *big.Int) (*types.Transaction, error)
- func (_Pdash *PdashTransactorSession) ProxyProcessDispute(id *big.Int, decision bool) (*types.Transaction, error)
- func (_Pdash *PdashTransactorSession) ProxyWithdraw(value *big.Int) (*types.Transaction, error)
- func (_Pdash *PdashTransactorSession) SellerAgreeOrNot(id *big.Int, if_agree bool) (*types.Transaction, error)
- func (_Pdash *PdashTransactorSession) SellerClaimTimeOut(id *big.Int) (*types.Transaction, error)
- func (_Pdash *PdashTransactorSession) SellerConfirm(id *big.Int) (*types.Transaction, error)
- func (_Pdash *PdashTransactorSession) SellerRateProxy(id *big.Int, rate *big.Int) (*types.Transaction, error)
- func (_Pdash *PdashTransactorSession) TrentHandleDispute(id *big.Int, badBuyer bool, badSeller bool, badProxy bool) (*types.Transaction, error)
- type Register
- type RegisterCaller
- func (_Register *RegisterCaller) GetUploadCount(opts *bind.CallOpts, user common.Address) (*big.Int, error)
- func (_Register *RegisterCaller) GetUploadCountAfterBlock(opts *bind.CallOpts, user common.Address, block_num *big.Int) (*big.Int, error)
- func (_Register *RegisterCaller) UploadHistory(opts *bind.CallOpts, arg0 common.Address, arg1 *big.Int) (struct{ ... }, error)
- type RegisterCallerRaw
- type RegisterCallerSession
- func (_Register *RegisterCallerSession) GetUploadCount(user common.Address) (*big.Int, error)
- func (_Register *RegisterCallerSession) GetUploadCountAfterBlock(user common.Address, block_num *big.Int) (*big.Int, error)
- func (_Register *RegisterCallerSession) UploadHistory(arg0 common.Address, arg1 *big.Int) (struct{ ... }, error)
- type RegisterFilterer
- type RegisterRaw
- func (_Register *RegisterRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
- func (_Register *RegisterRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Register *RegisterRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type RegisterSession
- func (_Register *RegisterSession) ClaimRegister(fileName string, fileHash [32]byte, fileSize *big.Int) (*types.Transaction, error)
- func (_Register *RegisterSession) GetUploadCount(user common.Address) (*big.Int, error)
- func (_Register *RegisterSession) GetUploadCountAfterBlock(user common.Address, block_num *big.Int) (*big.Int, error)
- func (_Register *RegisterSession) UploadHistory(arg0 common.Address, arg1 *big.Int) (struct{ ... }, error)
- type RegisterTransactor
- type RegisterTransactorRaw
- type RegisterTransactorSession
- type SafeMath
- type SafeMathCaller
- type SafeMathCallerRaw
- type SafeMathCallerSession
- type SafeMathFilterer
- type SafeMathRaw
- func (_SafeMath *SafeMathRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
- func (_SafeMath *SafeMathRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_SafeMath *SafeMathRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type SafeMathSession
- type SafeMathTransactor
- type SafeMathTransactorRaw
- type SafeMathTransactorSession
Constants ¶
const PdashABI = "" /* 9381-byte string literal not displayed */
PdashABI is the input ABI used to generate the binding from.
const PdashBin = `` /* 20742-byte string literal not displayed */
PdashBin is the compiled bytecode used for deploying new contracts.
const RegisterABI = "" /* 1277-byte string literal not displayed */
RegisterABI is the input ABI used to generate the binding from.
const RegisterBin = `` /* 2470-byte string literal not displayed */
RegisterBin is the compiled bytecode used for deploying new contracts.
const SafeMathABI = "[]"
SafeMathABI is the input ABI used to generate the binding from.
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.
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 ¶
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 ¶
NumDisputes is a free data retrieval call binding the contract method 0x90089ba0.
Solidity: function numDisputes() constant returns(uint256)
func (*PdashCaller) NumOrders ¶
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 ¶
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 ¶
BlockOrders is a free data retrieval call binding the contract method 0x7478d485.
Solidity: function blockOrders( uint256, uint256) constant returns(uint256)
func (*PdashCallerSession) BlockOrdersLength ¶
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 ¶
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 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 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 ¶
func (it *PdashSellerClaimTimeoutIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*PdashSellerClaimTimeoutIterator) Error ¶
func (it *PdashSellerClaimTimeoutIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*PdashSellerClaimTimeoutIterator) Next ¶
func (it *PdashSellerClaimTimeoutIterator) 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 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 ¶
func (it *PdashSellerConfirmedIterator) 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 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 ¶
BlockOrders is a free data retrieval call binding the contract method 0x7478d485.
Solidity: function blockOrders( uint256, uint256) constant returns(uint256)
func (*PdashSession) BlockOrdersLength ¶
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 ¶
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 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) (common.Address, *types.Transaction, *Register, error)
DeployRegister deploys a new cpchain contract, binding an instance of Register to it.
func NewRegister ¶
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 ¶
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 ¶
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) 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()
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()
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 ¶
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.