Documentation
¶
Index ¶
- Constants
- type TweetAccount
- type TweetAccountCaller
- func (_TweetAccount *TweetAccountCaller) GetLatestTweet(opts *bind.CallOpts) (struct{ ... }, error)
- func (_TweetAccount *TweetAccountCaller) GetNumberOfTweets(opts *bind.CallOpts) (*big.Int, error)
- func (_TweetAccount *TweetAccountCaller) GetOwnerAddress(opts *bind.CallOpts) (common.Address, error)
- func (_TweetAccount *TweetAccountCaller) GetTweet(opts *bind.CallOpts, tweetId *big.Int) (struct{ ... }, error)
- func (_TweetAccount *TweetAccountCaller) IsAdmin(opts *bind.CallOpts) (bool, error)
- type TweetAccountCallerRaw
- type TweetAccountCallerSession
- func (_TweetAccount *TweetAccountCallerSession) GetLatestTweet() (struct{ ... }, error)
- func (_TweetAccount *TweetAccountCallerSession) GetNumberOfTweets() (*big.Int, error)
- func (_TweetAccount *TweetAccountCallerSession) GetOwnerAddress() (common.Address, error)
- func (_TweetAccount *TweetAccountCallerSession) GetTweet(tweetId *big.Int) (struct{ ... }, error)
- func (_TweetAccount *TweetAccountCallerSession) IsAdmin() (bool, error)
- type TweetAccountRaw
- func (_TweetAccount *TweetAccountRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
- func (_TweetAccount *TweetAccountRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_TweetAccount *TweetAccountRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type TweetAccountSession
- func (_TweetAccount *TweetAccountSession) AdminDeleteAccount() (*types.Transaction, error)
- func (_TweetAccount *TweetAccountSession) AdminRetrieveDonations(receiver common.Address) (*types.Transaction, error)
- func (_TweetAccount *TweetAccountSession) GetLatestTweet() (struct{ ... }, error)
- func (_TweetAccount *TweetAccountSession) GetNumberOfTweets() (*big.Int, error)
- func (_TweetAccount *TweetAccountSession) GetOwnerAddress() (common.Address, error)
- func (_TweetAccount *TweetAccountSession) GetTweet(tweetId *big.Int) (struct{ ... }, error)
- func (_TweetAccount *TweetAccountSession) IsAdmin() (bool, error)
- func (_TweetAccount *TweetAccountSession) Tweet(tweetString string) (*types.Transaction, error)
- type TweetAccountTransactor
- func (_TweetAccount *TweetAccountTransactor) AdminDeleteAccount(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_TweetAccount *TweetAccountTransactor) AdminRetrieveDonations(opts *bind.TransactOpts, receiver common.Address) (*types.Transaction, error)
- func (_TweetAccount *TweetAccountTransactor) Tweet(opts *bind.TransactOpts, tweetString string) (*types.Transaction, error)
- type TweetAccountTransactorRaw
- type TweetAccountTransactorSession
- func (_TweetAccount *TweetAccountTransactorSession) AdminDeleteAccount() (*types.Transaction, error)
- func (_TweetAccount *TweetAccountTransactorSession) AdminRetrieveDonations(receiver common.Address) (*types.Transaction, error)
- func (_TweetAccount *TweetAccountTransactorSession) Tweet(tweetString string) (*types.Transaction, error)
- type TweetRegistry
- type TweetRegistryCaller
- func (_TweetRegistry *TweetRegistryCaller) GetAddressOfId(opts *bind.CallOpts, id *big.Int) (common.Address, error)
- func (_TweetRegistry *TweetRegistryCaller) GetAddressOfName(opts *bind.CallOpts, name string) (common.Address, error)
- func (_TweetRegistry *TweetRegistryCaller) GetNameOfAddress(opts *bind.CallOpts, addr common.Address) (string, error)
- func (_TweetRegistry *TweetRegistryCaller) GetNumberOfAccounts(opts *bind.CallOpts) (*big.Int, error)
- type TweetRegistryCallerRaw
- type TweetRegistryCallerSession
- func (_TweetRegistry *TweetRegistryCallerSession) GetAddressOfId(id *big.Int) (common.Address, error)
- func (_TweetRegistry *TweetRegistryCallerSession) GetAddressOfName(name string) (common.Address, error)
- func (_TweetRegistry *TweetRegistryCallerSession) GetNameOfAddress(addr common.Address) (string, error)
- func (_TweetRegistry *TweetRegistryCallerSession) GetNumberOfAccounts() (*big.Int, error)
- type TweetRegistryRaw
- func (_TweetRegistry *TweetRegistryRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
- func (_TweetRegistry *TweetRegistryRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_TweetRegistry *TweetRegistryRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type TweetRegistrySession
- func (_TweetRegistry *TweetRegistrySession) AdminDeleteRegistry() (*types.Transaction, error)
- func (_TweetRegistry *TweetRegistrySession) AdminRetrieveDonations() (*types.Transaction, error)
- func (_TweetRegistry *TweetRegistrySession) AdminSetAccountAdministrator(accountAdmin common.Address) (*types.Transaction, error)
- func (_TweetRegistry *TweetRegistrySession) AdminSetRegistrationDisabled(registrationDisabled bool) (*types.Transaction, error)
- func (_TweetRegistry *TweetRegistrySession) AdminUnregister(name string) (*types.Transaction, error)
- func (_TweetRegistry *TweetRegistrySession) GetAddressOfId(id *big.Int) (common.Address, error)
- func (_TweetRegistry *TweetRegistrySession) GetAddressOfName(name string) (common.Address, error)
- func (_TweetRegistry *TweetRegistrySession) GetNameOfAddress(addr common.Address) (string, error)
- func (_TweetRegistry *TweetRegistrySession) GetNumberOfAccounts() (*big.Int, error)
- func (_TweetRegistry *TweetRegistrySession) Register(name string, accountAddress common.Address) (*types.Transaction, error)
- func (_TweetRegistry *TweetRegistrySession) Unregister() (*types.Transaction, error)
- type TweetRegistryTransactor
- func (_TweetRegistry *TweetRegistryTransactor) AdminDeleteRegistry(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_TweetRegistry *TweetRegistryTransactor) AdminRetrieveDonations(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_TweetRegistry *TweetRegistryTransactor) AdminSetAccountAdministrator(opts *bind.TransactOpts, accountAdmin common.Address) (*types.Transaction, error)
- func (_TweetRegistry *TweetRegistryTransactor) AdminSetRegistrationDisabled(opts *bind.TransactOpts, registrationDisabled bool) (*types.Transaction, error)
- func (_TweetRegistry *TweetRegistryTransactor) AdminUnregister(opts *bind.TransactOpts, name string) (*types.Transaction, error)
- func (_TweetRegistry *TweetRegistryTransactor) Register(opts *bind.TransactOpts, name string, accountAddress common.Address) (*types.Transaction, error)
- func (_TweetRegistry *TweetRegistryTransactor) Unregister(opts *bind.TransactOpts) (*types.Transaction, error)
- type TweetRegistryTransactorRaw
- type TweetRegistryTransactorSession
- func (_TweetRegistry *TweetRegistryTransactorSession) AdminDeleteRegistry() (*types.Transaction, error)
- func (_TweetRegistry *TweetRegistryTransactorSession) AdminRetrieveDonations() (*types.Transaction, error)
- func (_TweetRegistry *TweetRegistryTransactorSession) AdminSetAccountAdministrator(accountAdmin common.Address) (*types.Transaction, error)
- func (_TweetRegistry *TweetRegistryTransactorSession) AdminSetRegistrationDisabled(registrationDisabled bool) (*types.Transaction, error)
- func (_TweetRegistry *TweetRegistryTransactorSession) AdminUnregister(name string) (*types.Transaction, error)
- func (_TweetRegistry *TweetRegistryTransactorSession) Register(name string, accountAddress common.Address) (*types.Transaction, error)
- func (_TweetRegistry *TweetRegistryTransactorSession) Unregister() (*types.Transaction, error)
Constants ¶
const TweetAccountABI = `` /* 1164-byte string literal not displayed */
TweetAccountABI is the input ABI used to generate the binding from.
const TweetAccountBin = `` /* 2608-byte string literal not displayed */
TweetAccountBin is the compiled bytecode used for deploying new contracts.
const TweetRegistryABI = `` /* 1524-byte string literal not displayed */
TweetRegistryABI is the input ABI used to generate the binding from.
const TweetRegistryBin = `` /* 5126-byte string literal not displayed */
TweetRegistryBin is the compiled bytecode used for deploying new contracts.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TweetAccount ¶
type TweetAccount struct { TweetAccountCaller // Read-only binding to the contract TweetAccountTransactor // Write-only binding to the contract }
TweetAccount is an auto generated Go binding around an Ethereum contract.
func DeployTweetAccount ¶
func DeployTweetAccount(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *TweetAccount, error)
DeployTweetAccount deploys a new Ethereum contract, binding an instance of TweetAccount to it.
func NewTweetAccount ¶
func NewTweetAccount(address common.Address, backend bind.ContractBackend) (*TweetAccount, error)
NewTweetAccount creates a new instance of TweetAccount, bound to a specific deployed contract.
type TweetAccountCaller ¶
type TweetAccountCaller struct {
// contains filtered or unexported fields
}
TweetAccountCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewTweetAccountCaller ¶
func NewTweetAccountCaller(address common.Address, caller bind.ContractCaller) (*TweetAccountCaller, error)
NewTweetAccountCaller creates a new read-only instance of TweetAccount, bound to a specific deployed contract.
func (*TweetAccountCaller) GetLatestTweet ¶
func (_TweetAccount *TweetAccountCaller) GetLatestTweet(opts *bind.CallOpts) (struct { TweetString string Timestamp *big.Int NumberOfTweets *big.Int }, error)
GetLatestTweet is a free data retrieval call binding the contract method 0xae978f08.
Solidity: function getLatestTweet() constant returns(tweetString string, timestamp uint256, numberOfTweets uint256)
func (*TweetAccountCaller) GetNumberOfTweets ¶
GetNumberOfTweets is a free data retrieval call binding the contract method 0xca7dc5b1.
Solidity: function getNumberOfTweets() constant returns(numberOfTweets uint256)
func (*TweetAccountCaller) GetOwnerAddress ¶
func (_TweetAccount *TweetAccountCaller) GetOwnerAddress(opts *bind.CallOpts) (common.Address, error)
GetOwnerAddress is a free data retrieval call binding the contract method 0x0c4f65bd.
Solidity: function getOwnerAddress() constant returns(adminAddress address)
func (*TweetAccountCaller) GetTweet ¶
func (_TweetAccount *TweetAccountCaller) GetTweet(opts *bind.CallOpts, tweetId *big.Int) (struct { TweetString string Timestamp *big.Int }, error)
GetTweet is a free data retrieval call binding the contract method 0xc3ad5ecb.
Solidity: function getTweet(tweetId uint256) constant returns(tweetString string, timestamp uint256)
type TweetAccountCallerRaw ¶
type TweetAccountCallerRaw struct {
Contract *TweetAccountCaller // Generic read-only contract binding to access the raw methods on
}
TweetAccountCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*TweetAccountCallerRaw) Call ¶
func (_TweetAccount *TweetAccountCallerRaw) 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 TweetAccountCallerSession ¶
type TweetAccountCallerSession struct { Contract *TweetAccountCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
TweetAccountCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*TweetAccountCallerSession) GetLatestTweet ¶
func (_TweetAccount *TweetAccountCallerSession) GetLatestTweet() (struct { TweetString string Timestamp *big.Int NumberOfTweets *big.Int }, error)
GetLatestTweet is a free data retrieval call binding the contract method 0xae978f08.
Solidity: function getLatestTweet() constant returns(tweetString string, timestamp uint256, numberOfTweets uint256)
func (*TweetAccountCallerSession) GetNumberOfTweets ¶
func (_TweetAccount *TweetAccountCallerSession) GetNumberOfTweets() (*big.Int, error)
GetNumberOfTweets is a free data retrieval call binding the contract method 0xca7dc5b1.
Solidity: function getNumberOfTweets() constant returns(numberOfTweets uint256)
func (*TweetAccountCallerSession) GetOwnerAddress ¶
func (_TweetAccount *TweetAccountCallerSession) GetOwnerAddress() (common.Address, error)
GetOwnerAddress is a free data retrieval call binding the contract method 0x0c4f65bd.
Solidity: function getOwnerAddress() constant returns(adminAddress address)
func (*TweetAccountCallerSession) GetTweet ¶
func (_TweetAccount *TweetAccountCallerSession) GetTweet(tweetId *big.Int) (struct { TweetString string Timestamp *big.Int }, error)
GetTweet is a free data retrieval call binding the contract method 0xc3ad5ecb.
Solidity: function getTweet(tweetId uint256) constant returns(tweetString string, timestamp uint256)
func (*TweetAccountCallerSession) IsAdmin ¶
func (_TweetAccount *TweetAccountCallerSession) IsAdmin() (bool, error)
IsAdmin is a free data retrieval call binding the contract method 0xb6db75a0.
Solidity: function isAdmin() constant returns(isAdmin bool)
type TweetAccountRaw ¶
type TweetAccountRaw struct {
Contract *TweetAccount // Generic contract binding to access the raw methods on
}
TweetAccountRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*TweetAccountRaw) Call ¶
func (_TweetAccount *TweetAccountRaw) 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 (*TweetAccountRaw) Transact ¶
func (_TweetAccount *TweetAccountRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*TweetAccountRaw) Transfer ¶
func (_TweetAccount *TweetAccountRaw) 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 TweetAccountSession ¶
type TweetAccountSession struct { Contract *TweetAccount // 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 }
TweetAccountSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*TweetAccountSession) AdminDeleteAccount ¶
func (_TweetAccount *TweetAccountSession) AdminDeleteAccount() (*types.Transaction, error)
AdminDeleteAccount is a paid mutator transaction binding the contract method 0x3e450fff.
Solidity: function adminDeleteAccount() returns()
func (*TweetAccountSession) AdminRetrieveDonations ¶
func (_TweetAccount *TweetAccountSession) AdminRetrieveDonations(receiver common.Address) (*types.Transaction, error)
AdminRetrieveDonations is a paid mutator transaction binding the contract method 0x5c3e426c.
Solidity: function adminRetrieveDonations(receiver address) returns()
func (*TweetAccountSession) GetLatestTweet ¶
func (_TweetAccount *TweetAccountSession) GetLatestTweet() (struct { TweetString string Timestamp *big.Int NumberOfTweets *big.Int }, error)
GetLatestTweet is a free data retrieval call binding the contract method 0xae978f08.
Solidity: function getLatestTweet() constant returns(tweetString string, timestamp uint256, numberOfTweets uint256)
func (*TweetAccountSession) GetNumberOfTweets ¶
func (_TweetAccount *TweetAccountSession) GetNumberOfTweets() (*big.Int, error)
GetNumberOfTweets is a free data retrieval call binding the contract method 0xca7dc5b1.
Solidity: function getNumberOfTweets() constant returns(numberOfTweets uint256)
func (*TweetAccountSession) GetOwnerAddress ¶
func (_TweetAccount *TweetAccountSession) GetOwnerAddress() (common.Address, error)
GetOwnerAddress is a free data retrieval call binding the contract method 0x0c4f65bd.
Solidity: function getOwnerAddress() constant returns(adminAddress address)
func (*TweetAccountSession) GetTweet ¶
func (_TweetAccount *TweetAccountSession) GetTweet(tweetId *big.Int) (struct { TweetString string Timestamp *big.Int }, error)
GetTweet is a free data retrieval call binding the contract method 0xc3ad5ecb.
Solidity: function getTweet(tweetId uint256) constant returns(tweetString string, timestamp uint256)
func (*TweetAccountSession) IsAdmin ¶
func (_TweetAccount *TweetAccountSession) IsAdmin() (bool, error)
IsAdmin is a free data retrieval call binding the contract method 0xb6db75a0.
Solidity: function isAdmin() constant returns(isAdmin bool)
func (*TweetAccountSession) Tweet ¶
func (_TweetAccount *TweetAccountSession) Tweet(tweetString string) (*types.Transaction, error)
Tweet is a paid mutator transaction binding the contract method 0xfb46d4c5.
Solidity: function tweet(tweetString string) returns(result int256)
type TweetAccountTransactor ¶
type TweetAccountTransactor struct {
// contains filtered or unexported fields
}
TweetAccountTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewTweetAccountTransactor ¶
func NewTweetAccountTransactor(address common.Address, transactor bind.ContractTransactor) (*TweetAccountTransactor, error)
NewTweetAccountTransactor creates a new write-only instance of TweetAccount, bound to a specific deployed contract.
func (*TweetAccountTransactor) AdminDeleteAccount ¶
func (_TweetAccount *TweetAccountTransactor) AdminDeleteAccount(opts *bind.TransactOpts) (*types.Transaction, error)
AdminDeleteAccount is a paid mutator transaction binding the contract method 0x3e450fff.
Solidity: function adminDeleteAccount() returns()
func (*TweetAccountTransactor) AdminRetrieveDonations ¶
func (_TweetAccount *TweetAccountTransactor) AdminRetrieveDonations(opts *bind.TransactOpts, receiver common.Address) (*types.Transaction, error)
AdminRetrieveDonations is a paid mutator transaction binding the contract method 0x5c3e426c.
Solidity: function adminRetrieveDonations(receiver address) returns()
func (*TweetAccountTransactor) Tweet ¶
func (_TweetAccount *TweetAccountTransactor) Tweet(opts *bind.TransactOpts, tweetString string) (*types.Transaction, error)
Tweet is a paid mutator transaction binding the contract method 0xfb46d4c5.
Solidity: function tweet(tweetString string) returns(result int256)
type TweetAccountTransactorRaw ¶
type TweetAccountTransactorRaw struct {
Contract *TweetAccountTransactor // Generic write-only contract binding to access the raw methods on
}
TweetAccountTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*TweetAccountTransactorRaw) Transact ¶
func (_TweetAccount *TweetAccountTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*TweetAccountTransactorRaw) Transfer ¶
func (_TweetAccount *TweetAccountTransactorRaw) 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 TweetAccountTransactorSession ¶
type TweetAccountTransactorSession struct { Contract *TweetAccountTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
TweetAccountTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*TweetAccountTransactorSession) AdminDeleteAccount ¶
func (_TweetAccount *TweetAccountTransactorSession) AdminDeleteAccount() (*types.Transaction, error)
AdminDeleteAccount is a paid mutator transaction binding the contract method 0x3e450fff.
Solidity: function adminDeleteAccount() returns()
func (*TweetAccountTransactorSession) AdminRetrieveDonations ¶
func (_TweetAccount *TweetAccountTransactorSession) AdminRetrieveDonations(receiver common.Address) (*types.Transaction, error)
AdminRetrieveDonations is a paid mutator transaction binding the contract method 0x5c3e426c.
Solidity: function adminRetrieveDonations(receiver address) returns()
func (*TweetAccountTransactorSession) Tweet ¶
func (_TweetAccount *TweetAccountTransactorSession) Tweet(tweetString string) (*types.Transaction, error)
Tweet is a paid mutator transaction binding the contract method 0xfb46d4c5.
Solidity: function tweet(tweetString string) returns(result int256)
type TweetRegistry ¶
type TweetRegistry struct { TweetRegistryCaller // Read-only binding to the contract TweetRegistryTransactor // Write-only binding to the contract }
TweetRegistry is an auto generated Go binding around an Ethereum contract.
func DeployTweetRegistry ¶
func DeployTweetRegistry(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *TweetRegistry, error)
DeployTweetRegistry deploys a new Ethereum contract, binding an instance of TweetRegistry to it.
func NewTweetRegistry ¶
func NewTweetRegistry(address common.Address, backend bind.ContractBackend) (*TweetRegistry, error)
NewTweetRegistry creates a new instance of TweetRegistry, bound to a specific deployed contract.
type TweetRegistryCaller ¶
type TweetRegistryCaller struct {
// contains filtered or unexported fields
}
TweetRegistryCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewTweetRegistryCaller ¶
func NewTweetRegistryCaller(address common.Address, caller bind.ContractCaller) (*TweetRegistryCaller, error)
NewTweetRegistryCaller creates a new read-only instance of TweetRegistry, bound to a specific deployed contract.
func (*TweetRegistryCaller) GetAddressOfId ¶
func (_TweetRegistry *TweetRegistryCaller) GetAddressOfId(opts *bind.CallOpts, id *big.Int) (common.Address, error)
GetAddressOfId is a free data retrieval call binding the contract method 0xec43eeb6.
Solidity: function getAddressOfId(id uint256) constant returns(addr address)
func (*TweetRegistryCaller) GetAddressOfName ¶
func (_TweetRegistry *TweetRegistryCaller) GetAddressOfName(opts *bind.CallOpts, name string) (common.Address, error)
GetAddressOfName is a free data retrieval call binding the contract method 0x38ec6ba8.
Solidity: function getAddressOfName(name string) constant returns(addr address)
func (*TweetRegistryCaller) GetNameOfAddress ¶
func (_TweetRegistry *TweetRegistryCaller) GetNameOfAddress(opts *bind.CallOpts, addr common.Address) (string, error)
GetNameOfAddress is a free data retrieval call binding the contract method 0xb2dad25d.
Solidity: function getNameOfAddress(addr address) constant returns(name string)
func (*TweetRegistryCaller) GetNumberOfAccounts ¶
func (_TweetRegistry *TweetRegistryCaller) GetNumberOfAccounts(opts *bind.CallOpts) (*big.Int, error)
GetNumberOfAccounts is a free data retrieval call binding the contract method 0x309e36ef.
Solidity: function getNumberOfAccounts() constant returns(numberOfAccounts uint256)
type TweetRegistryCallerRaw ¶
type TweetRegistryCallerRaw struct {
Contract *TweetRegistryCaller // Generic read-only contract binding to access the raw methods on
}
TweetRegistryCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*TweetRegistryCallerRaw) Call ¶
func (_TweetRegistry *TweetRegistryCallerRaw) 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 TweetRegistryCallerSession ¶
type TweetRegistryCallerSession struct { Contract *TweetRegistryCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
TweetRegistryCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*TweetRegistryCallerSession) GetAddressOfId ¶
func (_TweetRegistry *TweetRegistryCallerSession) GetAddressOfId(id *big.Int) (common.Address, error)
GetAddressOfId is a free data retrieval call binding the contract method 0xec43eeb6.
Solidity: function getAddressOfId(id uint256) constant returns(addr address)
func (*TweetRegistryCallerSession) GetAddressOfName ¶
func (_TweetRegistry *TweetRegistryCallerSession) GetAddressOfName(name string) (common.Address, error)
GetAddressOfName is a free data retrieval call binding the contract method 0x38ec6ba8.
Solidity: function getAddressOfName(name string) constant returns(addr address)
func (*TweetRegistryCallerSession) GetNameOfAddress ¶
func (_TweetRegistry *TweetRegistryCallerSession) GetNameOfAddress(addr common.Address) (string, error)
GetNameOfAddress is a free data retrieval call binding the contract method 0xb2dad25d.
Solidity: function getNameOfAddress(addr address) constant returns(name string)
func (*TweetRegistryCallerSession) GetNumberOfAccounts ¶
func (_TweetRegistry *TweetRegistryCallerSession) GetNumberOfAccounts() (*big.Int, error)
GetNumberOfAccounts is a free data retrieval call binding the contract method 0x309e36ef.
Solidity: function getNumberOfAccounts() constant returns(numberOfAccounts uint256)
type TweetRegistryRaw ¶
type TweetRegistryRaw struct {
Contract *TweetRegistry // Generic contract binding to access the raw methods on
}
TweetRegistryRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*TweetRegistryRaw) Call ¶
func (_TweetRegistry *TweetRegistryRaw) 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 (*TweetRegistryRaw) Transact ¶
func (_TweetRegistry *TweetRegistryRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*TweetRegistryRaw) Transfer ¶
func (_TweetRegistry *TweetRegistryRaw) 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 TweetRegistrySession ¶
type TweetRegistrySession struct { Contract *TweetRegistry // 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 }
TweetRegistrySession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*TweetRegistrySession) AdminDeleteRegistry ¶
func (_TweetRegistry *TweetRegistrySession) AdminDeleteRegistry() (*types.Transaction, error)
AdminDeleteRegistry is a paid mutator transaction binding the contract method 0x3af41dc2.
Solidity: function adminDeleteRegistry() returns()
func (*TweetRegistrySession) AdminRetrieveDonations ¶
func (_TweetRegistry *TweetRegistrySession) AdminRetrieveDonations() (*types.Transaction, error)
AdminRetrieveDonations is a paid mutator transaction binding the contract method 0x345e3416.
Solidity: function adminRetrieveDonations() returns()
func (*TweetRegistrySession) AdminSetAccountAdministrator ¶
func (_TweetRegistry *TweetRegistrySession) AdminSetAccountAdministrator(accountAdmin common.Address) (*types.Transaction, error)
AdminSetAccountAdministrator is a paid mutator transaction binding the contract method 0x49f0c90d.
Solidity: function adminSetAccountAdministrator(accountAdmin address) returns()
func (*TweetRegistrySession) AdminSetRegistrationDisabled ¶
func (_TweetRegistry *TweetRegistrySession) AdminSetRegistrationDisabled(registrationDisabled bool) (*types.Transaction, error)
AdminSetRegistrationDisabled is a paid mutator transaction binding the contract method 0x9b6d86d6.
Solidity: function adminSetRegistrationDisabled(registrationDisabled bool) returns()
func (*TweetRegistrySession) AdminUnregister ¶
func (_TweetRegistry *TweetRegistrySession) AdminUnregister(name string) (*types.Transaction, error)
AdminUnregister is a paid mutator transaction binding the contract method 0x0cc04b55.
Solidity: function adminUnregister(name string) returns()
func (*TweetRegistrySession) GetAddressOfId ¶
GetAddressOfId is a free data retrieval call binding the contract method 0xec43eeb6.
Solidity: function getAddressOfId(id uint256) constant returns(addr address)
func (*TweetRegistrySession) GetAddressOfName ¶
func (_TweetRegistry *TweetRegistrySession) GetAddressOfName(name string) (common.Address, error)
GetAddressOfName is a free data retrieval call binding the contract method 0x38ec6ba8.
Solidity: function getAddressOfName(name string) constant returns(addr address)
func (*TweetRegistrySession) GetNameOfAddress ¶
func (_TweetRegistry *TweetRegistrySession) GetNameOfAddress(addr common.Address) (string, error)
GetNameOfAddress is a free data retrieval call binding the contract method 0xb2dad25d.
Solidity: function getNameOfAddress(addr address) constant returns(name string)
func (*TweetRegistrySession) GetNumberOfAccounts ¶
func (_TweetRegistry *TweetRegistrySession) GetNumberOfAccounts() (*big.Int, error)
GetNumberOfAccounts is a free data retrieval call binding the contract method 0x309e36ef.
Solidity: function getNumberOfAccounts() constant returns(numberOfAccounts uint256)
func (*TweetRegistrySession) Register ¶
func (_TweetRegistry *TweetRegistrySession) Register(name string, accountAddress common.Address) (*types.Transaction, error)
Register is a paid mutator transaction binding the contract method 0x1e59c529.
Solidity: function register(name string, accountAddress address) returns(result int256)
func (*TweetRegistrySession) Unregister ¶
func (_TweetRegistry *TweetRegistrySession) Unregister() (*types.Transaction, error)
Unregister is a paid mutator transaction binding the contract method 0xe79a198f.
Solidity: function unregister() returns(unregisteredAccountName string)
type TweetRegistryTransactor ¶
type TweetRegistryTransactor struct {
// contains filtered or unexported fields
}
TweetRegistryTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewTweetRegistryTransactor ¶
func NewTweetRegistryTransactor(address common.Address, transactor bind.ContractTransactor) (*TweetRegistryTransactor, error)
NewTweetRegistryTransactor creates a new write-only instance of TweetRegistry, bound to a specific deployed contract.
func (*TweetRegistryTransactor) AdminDeleteRegistry ¶
func (_TweetRegistry *TweetRegistryTransactor) AdminDeleteRegistry(opts *bind.TransactOpts) (*types.Transaction, error)
AdminDeleteRegistry is a paid mutator transaction binding the contract method 0x3af41dc2.
Solidity: function adminDeleteRegistry() returns()
func (*TweetRegistryTransactor) AdminRetrieveDonations ¶
func (_TweetRegistry *TweetRegistryTransactor) AdminRetrieveDonations(opts *bind.TransactOpts) (*types.Transaction, error)
AdminRetrieveDonations is a paid mutator transaction binding the contract method 0x345e3416.
Solidity: function adminRetrieveDonations() returns()
func (*TweetRegistryTransactor) AdminSetAccountAdministrator ¶
func (_TweetRegistry *TweetRegistryTransactor) AdminSetAccountAdministrator(opts *bind.TransactOpts, accountAdmin common.Address) (*types.Transaction, error)
AdminSetAccountAdministrator is a paid mutator transaction binding the contract method 0x49f0c90d.
Solidity: function adminSetAccountAdministrator(accountAdmin address) returns()
func (*TweetRegistryTransactor) AdminSetRegistrationDisabled ¶
func (_TweetRegistry *TweetRegistryTransactor) AdminSetRegistrationDisabled(opts *bind.TransactOpts, registrationDisabled bool) (*types.Transaction, error)
AdminSetRegistrationDisabled is a paid mutator transaction binding the contract method 0x9b6d86d6.
Solidity: function adminSetRegistrationDisabled(registrationDisabled bool) returns()
func (*TweetRegistryTransactor) AdminUnregister ¶
func (_TweetRegistry *TweetRegistryTransactor) AdminUnregister(opts *bind.TransactOpts, name string) (*types.Transaction, error)
AdminUnregister is a paid mutator transaction binding the contract method 0x0cc04b55.
Solidity: function adminUnregister(name string) returns()
func (*TweetRegistryTransactor) Register ¶
func (_TweetRegistry *TweetRegistryTransactor) Register(opts *bind.TransactOpts, name string, accountAddress common.Address) (*types.Transaction, error)
Register is a paid mutator transaction binding the contract method 0x1e59c529.
Solidity: function register(name string, accountAddress address) returns(result int256)
func (*TweetRegistryTransactor) Unregister ¶
func (_TweetRegistry *TweetRegistryTransactor) Unregister(opts *bind.TransactOpts) (*types.Transaction, error)
Unregister is a paid mutator transaction binding the contract method 0xe79a198f.
Solidity: function unregister() returns(unregisteredAccountName string)
type TweetRegistryTransactorRaw ¶
type TweetRegistryTransactorRaw struct {
Contract *TweetRegistryTransactor // Generic write-only contract binding to access the raw methods on
}
TweetRegistryTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*TweetRegistryTransactorRaw) Transact ¶
func (_TweetRegistry *TweetRegistryTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*TweetRegistryTransactorRaw) Transfer ¶
func (_TweetRegistry *TweetRegistryTransactorRaw) 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 TweetRegistryTransactorSession ¶
type TweetRegistryTransactorSession struct { Contract *TweetRegistryTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
TweetRegistryTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*TweetRegistryTransactorSession) AdminDeleteRegistry ¶
func (_TweetRegistry *TweetRegistryTransactorSession) AdminDeleteRegistry() (*types.Transaction, error)
AdminDeleteRegistry is a paid mutator transaction binding the contract method 0x3af41dc2.
Solidity: function adminDeleteRegistry() returns()
func (*TweetRegistryTransactorSession) AdminRetrieveDonations ¶
func (_TweetRegistry *TweetRegistryTransactorSession) AdminRetrieveDonations() (*types.Transaction, error)
AdminRetrieveDonations is a paid mutator transaction binding the contract method 0x345e3416.
Solidity: function adminRetrieveDonations() returns()
func (*TweetRegistryTransactorSession) AdminSetAccountAdministrator ¶
func (_TweetRegistry *TweetRegistryTransactorSession) AdminSetAccountAdministrator(accountAdmin common.Address) (*types.Transaction, error)
AdminSetAccountAdministrator is a paid mutator transaction binding the contract method 0x49f0c90d.
Solidity: function adminSetAccountAdministrator(accountAdmin address) returns()
func (*TweetRegistryTransactorSession) AdminSetRegistrationDisabled ¶
func (_TweetRegistry *TweetRegistryTransactorSession) AdminSetRegistrationDisabled(registrationDisabled bool) (*types.Transaction, error)
AdminSetRegistrationDisabled is a paid mutator transaction binding the contract method 0x9b6d86d6.
Solidity: function adminSetRegistrationDisabled(registrationDisabled bool) returns()
func (*TweetRegistryTransactorSession) AdminUnregister ¶
func (_TweetRegistry *TweetRegistryTransactorSession) AdminUnregister(name string) (*types.Transaction, error)
AdminUnregister is a paid mutator transaction binding the contract method 0x0cc04b55.
Solidity: function adminUnregister(name string) returns()
func (*TweetRegistryTransactorSession) Register ¶
func (_TweetRegistry *TweetRegistryTransactorSession) Register(name string, accountAddress common.Address) (*types.Transaction, error)
Register is a paid mutator transaction binding the contract method 0x1e59c529.
Solidity: function register(name string, accountAddress address) returns(result int256)
func (*TweetRegistryTransactorSession) Unregister ¶
func (_TweetRegistry *TweetRegistryTransactorSession) Unregister() (*types.Transaction, error)
Unregister is a paid mutator transaction binding the contract method 0xe79a198f.
Solidity: function unregister() returns(unregisteredAccountName string)