datatrust

package
v0.0.0-...-2a5f981 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2019 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const DatatrustABI = "" /* 5433-byte string literal not displayed */

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

View Source
const DatatrustBin = `` /* 11598-byte string literal not displayed */

DatatrustBin is the compiled bytecode used for deploying new contracts.

Variables

This section is empty.

Functions

This section is empty.

Types

type Datatrust

type Datatrust struct {
	DatatrustCaller     // Read-only binding to the contract
	DatatrustTransactor // Write-only binding to the contract
	DatatrustFilterer   // Log filterer for contract events
}

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

func DeployDatatrust

func DeployDatatrust(auth *bind.TransactOpts, backend bind.ContractBackend, ether_token_addr common.Address, voting_addr common.Address, p11r_addr common.Address, res_addr common.Address) (common.Address, *types.Transaction, *Datatrust, error)

DeployDatatrust deploys a new Ethereum contract, binding an instance of Datatrust to it.

func NewDatatrust

func NewDatatrust(address common.Address, backend bind.ContractBackend) (*Datatrust, error)

NewDatatrust creates a new instance of Datatrust, bound to a specific deployed contract.

type DatatrustCaller

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

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

func NewDatatrustCaller

func NewDatatrustCaller(address common.Address, caller bind.ContractCaller) (*DatatrustCaller, error)

NewDatatrustCaller creates a new read-only instance of Datatrust, bound to a specific deployed contract.

func (*DatatrustCaller) GetAccessRewardEarned

func (_Datatrust *DatatrustCaller) GetAccessRewardEarned(opts *bind.CallOpts, hash [32]byte) (*big.Int, error)

GetAccessRewardEarned is a free data retrieval call binding the contract method 0xea5450d0.

Solidity: function getAccessRewardEarned(bytes32 hash) constant returns(uint256 out)

func (*DatatrustCaller) GetBackendAddress

func (_Datatrust *DatatrustCaller) GetBackendAddress(opts *bind.CallOpts) (common.Address, error)

GetBackendAddress is a free data retrieval call binding the contract method 0xedb39a40.

Solidity: function getBackendAddress() constant returns(address out)

func (*DatatrustCaller) GetBackendUrl

func (_Datatrust *DatatrustCaller) GetBackendUrl(opts *bind.CallOpts) (string, error)

GetBackendUrl is a free data retrieval call binding the contract method 0x76e12635.

Solidity: function getBackendUrl() constant returns(string out)

func (*DatatrustCaller) GetBytesPurchased

func (_Datatrust *DatatrustCaller) GetBytesPurchased(opts *bind.CallOpts, addr common.Address) (*big.Int, error)

GetBytesPurchased is a free data retrieval call binding the contract method 0xf2cbc3fe.

Solidity: function getBytesPurchased(address addr) constant returns(uint256 out)

func (*DatatrustCaller) GetDataHash

func (_Datatrust *DatatrustCaller) GetDataHash(opts *bind.CallOpts, hash [32]byte) ([32]byte, error)

GetDataHash is a free data retrieval call binding the contract method 0x7a639f6e.

Solidity: function getDataHash(bytes32 hash) constant returns(bytes32 out)

func (*DatatrustCaller) GetDelivery

func (_Datatrust *DatatrustCaller) GetDelivery(opts *bind.CallOpts, hash [32]byte) (common.Address, *big.Int, *big.Int, error)

GetDelivery is a free data retrieval call binding the contract method 0xedab743e.

Solidity: function getDelivery(bytes32 hash) constant returns(address out, uint256 out, uint256 out)

func (*DatatrustCaller) GetHash

func (_Datatrust *DatatrustCaller) GetHash(opts *bind.CallOpts, url string) ([32]byte, error)

GetHash is a free data retrieval call binding the contract method 0x5b6beeb9.

Solidity: function getHash(string url) constant returns(bytes32 out)

func (*DatatrustCaller) GetPrivileged

func (_Datatrust *DatatrustCaller) GetPrivileged(opts *bind.CallOpts) (common.Address, error)

GetPrivileged is a free data retrieval call binding the contract method 0xd4c17539.

Solidity: function getPrivileged() constant returns(address out)

func (*DatatrustCaller) GetReserve

func (_Datatrust *DatatrustCaller) GetReserve(opts *bind.CallOpts) (common.Address, error)

GetReserve is a free data retrieval call binding the contract method 0x59bf5d39.

Solidity: function getReserve() constant returns(address out)

type DatatrustCallerRaw

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

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

func (*DatatrustCallerRaw) Call

func (_Datatrust *DatatrustCallerRaw) 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 DatatrustCallerSession

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

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

func (*DatatrustCallerSession) GetAccessRewardEarned

func (_Datatrust *DatatrustCallerSession) GetAccessRewardEarned(hash [32]byte) (*big.Int, error)

GetAccessRewardEarned is a free data retrieval call binding the contract method 0xea5450d0.

Solidity: function getAccessRewardEarned(bytes32 hash) constant returns(uint256 out)

func (*DatatrustCallerSession) GetBackendAddress

func (_Datatrust *DatatrustCallerSession) GetBackendAddress() (common.Address, error)

GetBackendAddress is a free data retrieval call binding the contract method 0xedb39a40.

Solidity: function getBackendAddress() constant returns(address out)

func (*DatatrustCallerSession) GetBackendUrl

func (_Datatrust *DatatrustCallerSession) GetBackendUrl() (string, error)

GetBackendUrl is a free data retrieval call binding the contract method 0x76e12635.

Solidity: function getBackendUrl() constant returns(string out)

func (*DatatrustCallerSession) GetBytesPurchased

func (_Datatrust *DatatrustCallerSession) GetBytesPurchased(addr common.Address) (*big.Int, error)

GetBytesPurchased is a free data retrieval call binding the contract method 0xf2cbc3fe.

Solidity: function getBytesPurchased(address addr) constant returns(uint256 out)

func (*DatatrustCallerSession) GetDataHash

func (_Datatrust *DatatrustCallerSession) GetDataHash(hash [32]byte) ([32]byte, error)

GetDataHash is a free data retrieval call binding the contract method 0x7a639f6e.

Solidity: function getDataHash(bytes32 hash) constant returns(bytes32 out)

func (*DatatrustCallerSession) GetDelivery

func (_Datatrust *DatatrustCallerSession) GetDelivery(hash [32]byte) (common.Address, *big.Int, *big.Int, error)

GetDelivery is a free data retrieval call binding the contract method 0xedab743e.

Solidity: function getDelivery(bytes32 hash) constant returns(address out, uint256 out, uint256 out)

func (*DatatrustCallerSession) GetHash

func (_Datatrust *DatatrustCallerSession) GetHash(url string) ([32]byte, error)

GetHash is a free data retrieval call binding the contract method 0x5b6beeb9.

Solidity: function getHash(string url) constant returns(bytes32 out)

func (*DatatrustCallerSession) GetPrivileged

func (_Datatrust *DatatrustCallerSession) GetPrivileged() (common.Address, error)

GetPrivileged is a free data retrieval call binding the contract method 0xd4c17539.

Solidity: function getPrivileged() constant returns(address out)

func (*DatatrustCallerSession) GetReserve

func (_Datatrust *DatatrustCallerSession) GetReserve() (common.Address, error)

GetReserve is a free data retrieval call binding the contract method 0x59bf5d39.

Solidity: function getReserve() constant returns(address out)

type DatatrustDelivered

type DatatrustDelivered struct {
	Hash  [32]byte
	Owner common.Address
	Url   [32]byte
	Raw   types.Log // Blockchain specific contextual infos
}

DatatrustDelivered represents a Delivered event raised by the Datatrust contract.

type DatatrustDeliveredIterator

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

DatatrustDeliveredIterator is returned from FilterDelivered and is used to iterate over the raw logs and unpacked data for Delivered events raised by the Datatrust contract.

func (*DatatrustDeliveredIterator) Close

func (it *DatatrustDeliveredIterator) Close() error

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

func (*DatatrustDeliveredIterator) Error

func (it *DatatrustDeliveredIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*DatatrustDeliveredIterator) Next

func (it *DatatrustDeliveredIterator) 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 DatatrustDeliveryRequested

type DatatrustDeliveryRequested struct {
	Hash      [32]byte
	Requester common.Address
	Amount    *big.Int
	Raw       types.Log // Blockchain specific contextual infos
}

DatatrustDeliveryRequested represents a DeliveryRequested event raised by the Datatrust contract.

type DatatrustDeliveryRequestedIterator

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

DatatrustDeliveryRequestedIterator is returned from FilterDeliveryRequested and is used to iterate over the raw logs and unpacked data for DeliveryRequested events raised by the Datatrust contract.

func (*DatatrustDeliveryRequestedIterator) Close

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

func (*DatatrustDeliveryRequestedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*DatatrustDeliveryRequestedIterator) 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 DatatrustFilterer

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

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

func NewDatatrustFilterer

func NewDatatrustFilterer(address common.Address, filterer bind.ContractFilterer) (*DatatrustFilterer, error)

NewDatatrustFilterer creates a new log filterer instance of Datatrust, bound to a specific deployed contract.

func (*DatatrustFilterer) FilterDelivered

func (_Datatrust *DatatrustFilterer) FilterDelivered(opts *bind.FilterOpts, hash [][32]byte, owner []common.Address) (*DatatrustDeliveredIterator, error)

FilterDelivered is a free log retrieval operation binding the contract event 0xa6bd58fcd4da90af9fea785d8cf919f762887f0f05b0656fb2ac5f7227183d5a.

Solidity: event Delivered(bytes32 indexed hash, address indexed owner, bytes32 url)

func (*DatatrustFilterer) FilterDeliveryRequested

func (_Datatrust *DatatrustFilterer) FilterDeliveryRequested(opts *bind.FilterOpts, hash [][32]byte, requester []common.Address) (*DatatrustDeliveryRequestedIterator, error)

FilterDeliveryRequested is a free log retrieval operation binding the contract event 0x898564ce29843afc6dc09bcabe85faaec3c18c45244d2c42e811a25bc0fd82c1.

Solidity: event DeliveryRequested(bytes32 indexed hash, address indexed requester, uint256 amount)

func (*DatatrustFilterer) FilterListingAccessed

func (_Datatrust *DatatrustFilterer) FilterListingAccessed(opts *bind.FilterOpts, hash [][32]byte, delivery [][32]byte) (*DatatrustListingAccessedIterator, error)

FilterListingAccessed is a free log retrieval operation binding the contract event 0x43bab07295538e531559fd23ac7cd44b6f236590ce18919de563b56d474f4aa5.

Solidity: event ListingAccessed(bytes32 indexed hash, bytes32 indexed delivery, uint256 amount)

func (*DatatrustFilterer) FilterRegistered

func (_Datatrust *DatatrustFilterer) FilterRegistered(opts *bind.FilterOpts, hash [][32]byte, registrant []common.Address) (*DatatrustRegisteredIterator, error)

FilterRegistered is a free log retrieval operation binding the contract event 0x7d917fcbc9a29a9705ff9936ffa599500e4fd902e4486bae317414fe967b307c.

Solidity: event Registered(bytes32 indexed hash, address indexed registrant)

func (*DatatrustFilterer) FilterRegistrationFailed

func (_Datatrust *DatatrustFilterer) FilterRegistrationFailed(opts *bind.FilterOpts, hash [][32]byte, registrant []common.Address) (*DatatrustRegistrationFailedIterator, error)

FilterRegistrationFailed is a free log retrieval operation binding the contract event 0xf83db24154eb020b1b0c94c9566e464732758c2c6bc070062458777d038baa3c.

Solidity: event RegistrationFailed(bytes32 indexed hash, address indexed registrant)

func (*DatatrustFilterer) FilterRegistrationSucceeded

func (_Datatrust *DatatrustFilterer) FilterRegistrationSucceeded(opts *bind.FilterOpts, hash [][32]byte, registrant []common.Address) (*DatatrustRegistrationSucceededIterator, error)

FilterRegistrationSucceeded is a free log retrieval operation binding the contract event 0xf9749f013eb1a881b147fd6da901e63089fadfb6fb375d6e56babcbcb5e0be4e.

Solidity: event RegistrationSucceeded(bytes32 indexed hash, address indexed registrant)

func (*DatatrustFilterer) WatchDelivered

func (_Datatrust *DatatrustFilterer) WatchDelivered(opts *bind.WatchOpts, sink chan<- *DatatrustDelivered, hash [][32]byte, owner []common.Address) (event.Subscription, error)

WatchDelivered is a free log subscription operation binding the contract event 0xa6bd58fcd4da90af9fea785d8cf919f762887f0f05b0656fb2ac5f7227183d5a.

Solidity: event Delivered(bytes32 indexed hash, address indexed owner, bytes32 url)

func (*DatatrustFilterer) WatchDeliveryRequested

func (_Datatrust *DatatrustFilterer) WatchDeliveryRequested(opts *bind.WatchOpts, sink chan<- *DatatrustDeliveryRequested, hash [][32]byte, requester []common.Address) (event.Subscription, error)

WatchDeliveryRequested is a free log subscription operation binding the contract event 0x898564ce29843afc6dc09bcabe85faaec3c18c45244d2c42e811a25bc0fd82c1.

Solidity: event DeliveryRequested(bytes32 indexed hash, address indexed requester, uint256 amount)

func (*DatatrustFilterer) WatchListingAccessed

func (_Datatrust *DatatrustFilterer) WatchListingAccessed(opts *bind.WatchOpts, sink chan<- *DatatrustListingAccessed, hash [][32]byte, delivery [][32]byte) (event.Subscription, error)

WatchListingAccessed is a free log subscription operation binding the contract event 0x43bab07295538e531559fd23ac7cd44b6f236590ce18919de563b56d474f4aa5.

Solidity: event ListingAccessed(bytes32 indexed hash, bytes32 indexed delivery, uint256 amount)

func (*DatatrustFilterer) WatchRegistered

func (_Datatrust *DatatrustFilterer) WatchRegistered(opts *bind.WatchOpts, sink chan<- *DatatrustRegistered, hash [][32]byte, registrant []common.Address) (event.Subscription, error)

WatchRegistered is a free log subscription operation binding the contract event 0x7d917fcbc9a29a9705ff9936ffa599500e4fd902e4486bae317414fe967b307c.

Solidity: event Registered(bytes32 indexed hash, address indexed registrant)

func (*DatatrustFilterer) WatchRegistrationFailed

func (_Datatrust *DatatrustFilterer) WatchRegistrationFailed(opts *bind.WatchOpts, sink chan<- *DatatrustRegistrationFailed, hash [][32]byte, registrant []common.Address) (event.Subscription, error)

WatchRegistrationFailed is a free log subscription operation binding the contract event 0xf83db24154eb020b1b0c94c9566e464732758c2c6bc070062458777d038baa3c.

Solidity: event RegistrationFailed(bytes32 indexed hash, address indexed registrant)

func (*DatatrustFilterer) WatchRegistrationSucceeded

func (_Datatrust *DatatrustFilterer) WatchRegistrationSucceeded(opts *bind.WatchOpts, sink chan<- *DatatrustRegistrationSucceeded, hash [][32]byte, registrant []common.Address) (event.Subscription, error)

WatchRegistrationSucceeded is a free log subscription operation binding the contract event 0xf9749f013eb1a881b147fd6da901e63089fadfb6fb375d6e56babcbcb5e0be4e.

Solidity: event RegistrationSucceeded(bytes32 indexed hash, address indexed registrant)

type DatatrustListingAccessed

type DatatrustListingAccessed struct {
	Hash     [32]byte
	Delivery [32]byte
	Amount   *big.Int
	Raw      types.Log // Blockchain specific contextual infos
}

DatatrustListingAccessed represents a ListingAccessed event raised by the Datatrust contract.

type DatatrustListingAccessedIterator

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

DatatrustListingAccessedIterator is returned from FilterListingAccessed and is used to iterate over the raw logs and unpacked data for ListingAccessed events raised by the Datatrust contract.

func (*DatatrustListingAccessedIterator) Close

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

func (*DatatrustListingAccessedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*DatatrustListingAccessedIterator) 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 DatatrustRaw

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

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

func (*DatatrustRaw) Call

func (_Datatrust *DatatrustRaw) 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 (*DatatrustRaw) Transact

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

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

func (*DatatrustRaw) Transfer

func (_Datatrust *DatatrustRaw) 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 DatatrustRegistered

type DatatrustRegistered struct {
	Hash       [32]byte
	Registrant common.Address
	Raw        types.Log // Blockchain specific contextual infos
}

DatatrustRegistered represents a Registered event raised by the Datatrust contract.

type DatatrustRegisteredIterator

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

DatatrustRegisteredIterator is returned from FilterRegistered and is used to iterate over the raw logs and unpacked data for Registered events raised by the Datatrust contract.

func (*DatatrustRegisteredIterator) Close

func (it *DatatrustRegisteredIterator) Close() error

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

func (*DatatrustRegisteredIterator) Error

func (it *DatatrustRegisteredIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*DatatrustRegisteredIterator) Next

func (it *DatatrustRegisteredIterator) 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 DatatrustRegistrationFailed

type DatatrustRegistrationFailed struct {
	Hash       [32]byte
	Registrant common.Address
	Raw        types.Log // Blockchain specific contextual infos
}

DatatrustRegistrationFailed represents a RegistrationFailed event raised by the Datatrust contract.

type DatatrustRegistrationFailedIterator

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

DatatrustRegistrationFailedIterator is returned from FilterRegistrationFailed and is used to iterate over the raw logs and unpacked data for RegistrationFailed events raised by the Datatrust contract.

func (*DatatrustRegistrationFailedIterator) Close

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

func (*DatatrustRegistrationFailedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*DatatrustRegistrationFailedIterator) 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 DatatrustRegistrationSucceeded

type DatatrustRegistrationSucceeded struct {
	Hash       [32]byte
	Registrant common.Address
	Raw        types.Log // Blockchain specific contextual infos
}

DatatrustRegistrationSucceeded represents a RegistrationSucceeded event raised by the Datatrust contract.

type DatatrustRegistrationSucceededIterator

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

DatatrustRegistrationSucceededIterator is returned from FilterRegistrationSucceeded and is used to iterate over the raw logs and unpacked data for RegistrationSucceeded events raised by the Datatrust contract.

func (*DatatrustRegistrationSucceededIterator) Close

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

func (*DatatrustRegistrationSucceededIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*DatatrustRegistrationSucceededIterator) 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 DatatrustSession

type DatatrustSession struct {
	Contract     *Datatrust        // 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
}

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

func (*DatatrustSession) AccessRewardClaimed

func (_Datatrust *DatatrustSession) AccessRewardClaimed(hash [32]byte) (*types.Transaction, error)

AccessRewardClaimed is a paid mutator transaction binding the contract method 0xfcefc458.

Solidity: function accessRewardClaimed(bytes32 hash) returns()

func (*DatatrustSession) Delivered

func (_Datatrust *DatatrustSession) Delivered(delivery [32]byte, url [32]byte) (*types.Transaction, error)

Delivered is a paid mutator transaction binding the contract method 0xd9680412.

Solidity: function delivered(bytes32 delivery, bytes32 url) returns()

func (*DatatrustSession) GetAccessRewardEarned

func (_Datatrust *DatatrustSession) GetAccessRewardEarned(hash [32]byte) (*big.Int, error)

GetAccessRewardEarned is a free data retrieval call binding the contract method 0xea5450d0.

Solidity: function getAccessRewardEarned(bytes32 hash) constant returns(uint256 out)

func (*DatatrustSession) GetBackendAddress

func (_Datatrust *DatatrustSession) GetBackendAddress() (common.Address, error)

GetBackendAddress is a free data retrieval call binding the contract method 0xedb39a40.

Solidity: function getBackendAddress() constant returns(address out)

func (*DatatrustSession) GetBackendUrl

func (_Datatrust *DatatrustSession) GetBackendUrl() (string, error)

GetBackendUrl is a free data retrieval call binding the contract method 0x76e12635.

Solidity: function getBackendUrl() constant returns(string out)

func (*DatatrustSession) GetBytesPurchased

func (_Datatrust *DatatrustSession) GetBytesPurchased(addr common.Address) (*big.Int, error)

GetBytesPurchased is a free data retrieval call binding the contract method 0xf2cbc3fe.

Solidity: function getBytesPurchased(address addr) constant returns(uint256 out)

func (*DatatrustSession) GetDataHash

func (_Datatrust *DatatrustSession) GetDataHash(hash [32]byte) ([32]byte, error)

GetDataHash is a free data retrieval call binding the contract method 0x7a639f6e.

Solidity: function getDataHash(bytes32 hash) constant returns(bytes32 out)

func (*DatatrustSession) GetDelivery

func (_Datatrust *DatatrustSession) GetDelivery(hash [32]byte) (common.Address, *big.Int, *big.Int, error)

GetDelivery is a free data retrieval call binding the contract method 0xedab743e.

Solidity: function getDelivery(bytes32 hash) constant returns(address out, uint256 out, uint256 out)

func (*DatatrustSession) GetHash

func (_Datatrust *DatatrustSession) GetHash(url string) ([32]byte, error)

GetHash is a free data retrieval call binding the contract method 0x5b6beeb9.

Solidity: function getHash(string url) constant returns(bytes32 out)

func (*DatatrustSession) GetPrivileged

func (_Datatrust *DatatrustSession) GetPrivileged() (common.Address, error)

GetPrivileged is a free data retrieval call binding the contract method 0xd4c17539.

Solidity: function getPrivileged() constant returns(address out)

func (*DatatrustSession) GetReserve

func (_Datatrust *DatatrustSession) GetReserve() (common.Address, error)

GetReserve is a free data retrieval call binding the contract method 0x59bf5d39.

Solidity: function getReserve() constant returns(address out)

func (*DatatrustSession) ListingAccessed

func (_Datatrust *DatatrustSession) ListingAccessed(listing [32]byte, delivery [32]byte, amount *big.Int) (*types.Transaction, error)

ListingAccessed is a paid mutator transaction binding the contract method 0x043b2166.

Solidity: function listingAccessed(bytes32 listing, bytes32 delivery, uint256 amount) returns()

func (*DatatrustSession) Register

func (_Datatrust *DatatrustSession) Register(url string) (*types.Transaction, error)

Register is a paid mutator transaction binding the contract method 0xf2c298be.

Solidity: function register(string url) returns()

func (*DatatrustSession) RemoveDataHash

func (_Datatrust *DatatrustSession) RemoveDataHash(hash [32]byte) (*types.Transaction, error)

RemoveDataHash is a paid mutator transaction binding the contract method 0xbd82badc.

Solidity: function removeDataHash(bytes32 hash) returns()

func (*DatatrustSession) RequestDelivery

func (_Datatrust *DatatrustSession) RequestDelivery(hash [32]byte, amount *big.Int) (*types.Transaction, error)

RequestDelivery is a paid mutator transaction binding the contract method 0x0ee206f5.

Solidity: function requestDelivery(bytes32 hash, uint256 amount) returns()

func (*DatatrustSession) ResolveRegistration

func (_Datatrust *DatatrustSession) ResolveRegistration(hash [32]byte) (*types.Transaction, error)

ResolveRegistration is a paid mutator transaction binding the contract method 0x84e1fe15.

Solidity: function resolveRegistration(bytes32 hash) returns()

func (*DatatrustSession) SetBackendUrl

func (_Datatrust *DatatrustSession) SetBackendUrl(url string) (*types.Transaction, error)

SetBackendUrl is a paid mutator transaction binding the contract method 0x41d28f90.

Solidity: function setBackendUrl(string url) returns()

func (*DatatrustSession) SetDataHash

func (_Datatrust *DatatrustSession) SetDataHash(listing [32]byte, data [32]byte) (*types.Transaction, error)

SetDataHash is a paid mutator transaction binding the contract method 0xb818bf02.

Solidity: function setDataHash(bytes32 listing, bytes32 data) returns()

func (*DatatrustSession) SetPrivileged

func (_Datatrust *DatatrustSession) SetPrivileged(listing common.Address) (*types.Transaction, error)

SetPrivileged is a paid mutator transaction binding the contract method 0x2ecace9c.

Solidity: function setPrivileged(address listing) returns()

type DatatrustTransactor

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

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

func NewDatatrustTransactor

func NewDatatrustTransactor(address common.Address, transactor bind.ContractTransactor) (*DatatrustTransactor, error)

NewDatatrustTransactor creates a new write-only instance of Datatrust, bound to a specific deployed contract.

func (*DatatrustTransactor) AccessRewardClaimed

func (_Datatrust *DatatrustTransactor) AccessRewardClaimed(opts *bind.TransactOpts, hash [32]byte) (*types.Transaction, error)

AccessRewardClaimed is a paid mutator transaction binding the contract method 0xfcefc458.

Solidity: function accessRewardClaimed(bytes32 hash) returns()

func (*DatatrustTransactor) Delivered

func (_Datatrust *DatatrustTransactor) Delivered(opts *bind.TransactOpts, delivery [32]byte, url [32]byte) (*types.Transaction, error)

Delivered is a paid mutator transaction binding the contract method 0xd9680412.

Solidity: function delivered(bytes32 delivery, bytes32 url) returns()

func (*DatatrustTransactor) ListingAccessed

func (_Datatrust *DatatrustTransactor) ListingAccessed(opts *bind.TransactOpts, listing [32]byte, delivery [32]byte, amount *big.Int) (*types.Transaction, error)

ListingAccessed is a paid mutator transaction binding the contract method 0x043b2166.

Solidity: function listingAccessed(bytes32 listing, bytes32 delivery, uint256 amount) returns()

func (*DatatrustTransactor) Register

func (_Datatrust *DatatrustTransactor) Register(opts *bind.TransactOpts, url string) (*types.Transaction, error)

Register is a paid mutator transaction binding the contract method 0xf2c298be.

Solidity: function register(string url) returns()

func (*DatatrustTransactor) RemoveDataHash

func (_Datatrust *DatatrustTransactor) RemoveDataHash(opts *bind.TransactOpts, hash [32]byte) (*types.Transaction, error)

RemoveDataHash is a paid mutator transaction binding the contract method 0xbd82badc.

Solidity: function removeDataHash(bytes32 hash) returns()

func (*DatatrustTransactor) RequestDelivery

func (_Datatrust *DatatrustTransactor) RequestDelivery(opts *bind.TransactOpts, hash [32]byte, amount *big.Int) (*types.Transaction, error)

RequestDelivery is a paid mutator transaction binding the contract method 0x0ee206f5.

Solidity: function requestDelivery(bytes32 hash, uint256 amount) returns()

func (*DatatrustTransactor) ResolveRegistration

func (_Datatrust *DatatrustTransactor) ResolveRegistration(opts *bind.TransactOpts, hash [32]byte) (*types.Transaction, error)

ResolveRegistration is a paid mutator transaction binding the contract method 0x84e1fe15.

Solidity: function resolveRegistration(bytes32 hash) returns()

func (*DatatrustTransactor) SetBackendUrl

func (_Datatrust *DatatrustTransactor) SetBackendUrl(opts *bind.TransactOpts, url string) (*types.Transaction, error)

SetBackendUrl is a paid mutator transaction binding the contract method 0x41d28f90.

Solidity: function setBackendUrl(string url) returns()

func (*DatatrustTransactor) SetDataHash

func (_Datatrust *DatatrustTransactor) SetDataHash(opts *bind.TransactOpts, listing [32]byte, data [32]byte) (*types.Transaction, error)

SetDataHash is a paid mutator transaction binding the contract method 0xb818bf02.

Solidity: function setDataHash(bytes32 listing, bytes32 data) returns()

func (*DatatrustTransactor) SetPrivileged

func (_Datatrust *DatatrustTransactor) SetPrivileged(opts *bind.TransactOpts, listing common.Address) (*types.Transaction, error)

SetPrivileged is a paid mutator transaction binding the contract method 0x2ecace9c.

Solidity: function setPrivileged(address listing) returns()

type DatatrustTransactorRaw

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

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

func (*DatatrustTransactorRaw) Transact

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

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

func (*DatatrustTransactorRaw) Transfer

func (_Datatrust *DatatrustTransactorRaw) 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 DatatrustTransactorSession

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

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

func (*DatatrustTransactorSession) AccessRewardClaimed

func (_Datatrust *DatatrustTransactorSession) AccessRewardClaimed(hash [32]byte) (*types.Transaction, error)

AccessRewardClaimed is a paid mutator transaction binding the contract method 0xfcefc458.

Solidity: function accessRewardClaimed(bytes32 hash) returns()

func (*DatatrustTransactorSession) Delivered

func (_Datatrust *DatatrustTransactorSession) Delivered(delivery [32]byte, url [32]byte) (*types.Transaction, error)

Delivered is a paid mutator transaction binding the contract method 0xd9680412.

Solidity: function delivered(bytes32 delivery, bytes32 url) returns()

func (*DatatrustTransactorSession) ListingAccessed

func (_Datatrust *DatatrustTransactorSession) ListingAccessed(listing [32]byte, delivery [32]byte, amount *big.Int) (*types.Transaction, error)

ListingAccessed is a paid mutator transaction binding the contract method 0x043b2166.

Solidity: function listingAccessed(bytes32 listing, bytes32 delivery, uint256 amount) returns()

func (*DatatrustTransactorSession) Register

func (_Datatrust *DatatrustTransactorSession) Register(url string) (*types.Transaction, error)

Register is a paid mutator transaction binding the contract method 0xf2c298be.

Solidity: function register(string url) returns()

func (*DatatrustTransactorSession) RemoveDataHash

func (_Datatrust *DatatrustTransactorSession) RemoveDataHash(hash [32]byte) (*types.Transaction, error)

RemoveDataHash is a paid mutator transaction binding the contract method 0xbd82badc.

Solidity: function removeDataHash(bytes32 hash) returns()

func (*DatatrustTransactorSession) RequestDelivery

func (_Datatrust *DatatrustTransactorSession) RequestDelivery(hash [32]byte, amount *big.Int) (*types.Transaction, error)

RequestDelivery is a paid mutator transaction binding the contract method 0x0ee206f5.

Solidity: function requestDelivery(bytes32 hash, uint256 amount) returns()

func (*DatatrustTransactorSession) ResolveRegistration

func (_Datatrust *DatatrustTransactorSession) ResolveRegistration(hash [32]byte) (*types.Transaction, error)

ResolveRegistration is a paid mutator transaction binding the contract method 0x84e1fe15.

Solidity: function resolveRegistration(bytes32 hash) returns()

func (*DatatrustTransactorSession) SetBackendUrl

func (_Datatrust *DatatrustTransactorSession) SetBackendUrl(url string) (*types.Transaction, error)

SetBackendUrl is a paid mutator transaction binding the contract method 0x41d28f90.

Solidity: function setBackendUrl(string url) returns()

func (*DatatrustTransactorSession) SetDataHash

func (_Datatrust *DatatrustTransactorSession) SetDataHash(listing [32]byte, data [32]byte) (*types.Transaction, error)

SetDataHash is a paid mutator transaction binding the contract method 0xb818bf02.

Solidity: function setDataHash(bytes32 listing, bytes32 data) returns()

func (*DatatrustTransactorSession) SetPrivileged

func (_Datatrust *DatatrustTransactorSession) SetPrivileged(listing common.Address) (*types.Transaction, error)

SetPrivileged is a paid mutator transaction binding the contract method 0x2ecace9c.

Solidity: function setPrivileged(address listing) returns()

Jump to

Keyboard shortcuts

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