userStorageTC

package
v1.9.0-tc.3 Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2022 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

View Source
const Name = "userStorageTC"
View Source
const UserStorageABI = "" /* 570-byte string literal not displayed */

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

View Source
const UserStorageBin = `` /* 712-byte string literal not displayed */

UserStorageBin is the compiled bytecode used for deploying new contracts.

View Source
const UserStorageBinRuntime = `` /* 648-byte string literal not displayed */

UserStorageBinRuntime is the compiled bytecode used for adding genesis block without deploying code.

Variables

This section is empty.

Functions

func Init

func Init(accs []*account.Account, endpoint string, gp *big.Int)

func RunSet

func RunSet()

func RunSetGet

func RunSetGet()

func RunSetGetSingle

func RunSetGetSingle() (err error)

func RunSetSingle

func RunSetSingle() (tx *types.Transaction, err error)

Types

type UserStorage

type UserStorage struct {
	UserStorageCaller     // Read-only binding to the contract
	UserStorageTransactor // Write-only binding to the contract
	UserStorageFilterer   // Log filterer for contract events
}

UserStorage is an auto generated Go binding around an GXP contract.

func DeployUserStorage

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

DeployUserStorage deploys a new GXP contract, binding an instance of UserStorage to it.

func NewUserStorage

func NewUserStorage(address common.Address, backend bind.ContractBackend) (*UserStorage, error)

NewUserStorage creates a new instance of UserStorage, bound to a specific deployed contract.

type UserStorageCaller

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

UserStorageCaller is an auto generated read-only Go binding around an GXP contract.

func NewUserStorageCaller

func NewUserStorageCaller(address common.Address, caller bind.ContractCaller) (*UserStorageCaller, error)

NewUserStorageCaller creates a new read-only instance of UserStorage, bound to a specific deployed contract.

func (*UserStorageCaller) Get

func (_UserStorage *UserStorageCaller) Get(opts *bind.CallOpts) (*big.Int, error)

Get is a free data retrieval call binding the contract method 0x6d4ce63c.

Solidity: function get() constant returns(uint256)

func (*UserStorageCaller) GetUserData

func (_UserStorage *UserStorageCaller) GetUserData(opts *bind.CallOpts, user common.Address) (*big.Int, error)

GetUserData is a free data retrieval call binding the contract method 0xffc9896b.

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

type UserStorageCallerRaw

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

UserStorageCallerRaw is an auto generated low-level read-only Go binding around an GXP contract.

func (*UserStorageCallerRaw) Call

func (_UserStorage *UserStorageCallerRaw) 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 UserStorageCallerSession

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

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

func (*UserStorageCallerSession) Get

func (_UserStorage *UserStorageCallerSession) Get() (*big.Int, error)

Get is a free data retrieval call binding the contract method 0x6d4ce63c.

Solidity: function get() constant returns(uint256)

func (*UserStorageCallerSession) GetUserData

func (_UserStorage *UserStorageCallerSession) GetUserData(user common.Address) (*big.Int, error)

GetUserData is a free data retrieval call binding the contract method 0xffc9896b.

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

type UserStorageFilterer

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

UserStorageFilterer is an auto generated log filtering Go binding around an GXP contract events.

func NewUserStorageFilterer

func NewUserStorageFilterer(address common.Address, filterer bind.ContractFilterer) (*UserStorageFilterer, error)

NewUserStorageFilterer creates a new log filterer instance of UserStorage, bound to a specific deployed contract.

type UserStorageRaw

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

UserStorageRaw is an auto generated low-level Go binding around an GXP contract.

func (*UserStorageRaw) Call

func (_UserStorage *UserStorageRaw) 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 (*UserStorageRaw) Transact

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

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

func (*UserStorageRaw) Transfer

func (_UserStorage *UserStorageRaw) 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 UserStorageSession

type UserStorageSession struct {
	Contract     *UserStorage      // 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
}

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

func (*UserStorageSession) Get

func (_UserStorage *UserStorageSession) Get() (*big.Int, error)

Get is a free data retrieval call binding the contract method 0x6d4ce63c.

Solidity: function get() constant returns(uint256)

func (*UserStorageSession) GetUserData

func (_UserStorage *UserStorageSession) GetUserData(user common.Address) (*big.Int, error)

GetUserData is a free data retrieval call binding the contract method 0xffc9896b.

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

func (*UserStorageSession) Set

func (_UserStorage *UserStorageSession) Set(x *big.Int) (*types.Transaction, error)

Set is a paid mutator transaction binding the contract method 0x60fe47b1.

Solidity: function set(x uint256) returns()

type UserStorageTransactor

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

UserStorageTransactor is an auto generated write-only Go binding around an GXP contract.

func NewUserStorageTransactor

func NewUserStorageTransactor(address common.Address, transactor bind.ContractTransactor) (*UserStorageTransactor, error)

NewUserStorageTransactor creates a new write-only instance of UserStorage, bound to a specific deployed contract.

func (*UserStorageTransactor) Set

func (_UserStorage *UserStorageTransactor) Set(opts *bind.TransactOpts, x *big.Int) (*types.Transaction, error)

Set is a paid mutator transaction binding the contract method 0x60fe47b1.

Solidity: function set(x uint256) returns()

type UserStorageTransactorRaw

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

UserStorageTransactorRaw is an auto generated low-level write-only Go binding around an GXP contract.

func (*UserStorageTransactorRaw) Transact

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

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

func (*UserStorageTransactorRaw) Transfer

func (_UserStorage *UserStorageTransactorRaw) 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 UserStorageTransactorSession

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

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

func (*UserStorageTransactorSession) Set

func (_UserStorage *UserStorageTransactorSession) Set(x *big.Int) (*types.Transaction, error)

Set is a paid mutator transaction binding the contract method 0x60fe47b1.

Solidity: function set(x uint256) returns()

Jump to

Keyboard shortcuts

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