Documentation ¶
Index ¶
- func ApproveTransfer(txParams *op.TransactParams, spender common.Address, value *big.Int) error
- func BuyData(txParams *op.TransactParams, txId *big.Int) error
- func Bytes32ToIpfsHash(value [32]byte) (string, error)
- func CancelTransaction(txParams *op.TransactParams, txId *big.Int) error
- func ConfirmDataTruth(txParams *op.TransactParams, txId *big.Int, truth bool) error
- func CreditsToVerifier(txParams *op.TransactParams, txId *big.Int, index uint8, credit uint8) error
- func GetEthBalance(owner common.Address) (*big.Int, error)
- func GetTokenBalance(txParams *op.TransactParams, owner common.Address) (*big.Int, error)
- func Initialize(protocolContractAddress common.Address, tokenContractAddress common.Address, ...) error
- func PrepareToBuy(txParams *op.TransactParams, publishId string, startVerify bool) error
- func Publish(txParams *op.TransactParams, price *big.Int, metaDataID []byte, ...) (string, error)
- func RegisterAsVerifier(txParams *op.TransactParams) error
- func SubmitMetaDataIdEncWithBuyer(txParams *op.TransactParams, txId *big.Int, encyptedMetaDataId []byte) error
- func TransferEth(from common.Address, password string, to common.Address, value *big.Int) (*types.Transaction, error)
- func TransferTokens(txParams *op.TransactParams, to common.Address, value *big.Int) error
- func Vote(txParams *op.TransactParams, txId *big.Int, judge bool, comments string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ApproveTransfer ¶
func Bytes32ToIpfsHash ¶
func CancelTransaction ¶
func CancelTransaction(txParams *op.TransactParams, txId *big.Int) error
func ConfirmDataTruth ¶
func CreditsToVerifier ¶
func GetTokenBalance ¶
func Initialize ¶
func PrepareToBuy ¶
func PrepareToBuy(txParams *op.TransactParams, publishId string, startVerify bool) error
func RegisterAsVerifier ¶
func RegisterAsVerifier(txParams *op.TransactParams) error
func TransferEth ¶
func TransferTokens ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.