quorum

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2024 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Precision int32 = 18
	EthAsset        = "43d61dcd-e413-450d-80b8-101d5e903357"
)
View Source
const QuorumABI = "" /* 2215-byte string literal not displayed */

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

Variables

This section is empty.

Functions

func MixinAssetID

func MixinAssetID(assetKey string) string

Types

type FTokenFactoryToken added in v0.1.8

type FTokenFactoryToken struct {
	Name   string
	Symbol string
	Cap    *big.Int
	Trace  *big.Int
	Minter common.Address
}

FTokenFactoryToken is an auto generated low-level Go binding around an user-defined struct.

type Factory

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

func New

func New(ethurl, priv, factoryContract string, maxGasPrice big.Int) *Factory

func (*Factory) CreateTransaction

func (f *Factory) CreateTransaction(ctx context.Context, tokens core.TokenItems, trace string) (*core.Transaction, error)

func (*Factory) GasAsset

func (*Factory) GasAsset() string

func (*Factory) Platform

func (*Factory) Platform() string

func (*Factory) ReadTransaction

func (f *Factory) ReadTransaction(ctx context.Context, hash string) (*core.Transaction, error)

func (*Factory) SendTransaction

func (f *Factory) SendTransaction(ctx context.Context, tx *core.Transaction) error

type Quorum

type Quorum struct {
	QuorumCaller     // Read-only binding to the contract
	QuorumTransactor // Write-only binding to the contract
	QuorumFilterer   // Log filterer for contract events
}

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

func NewQuorum

func NewQuorum(address common.Address, backend bind.ContractBackend) (*Quorum, error)

NewQuorum creates a new instance of Quorum, bound to a specific deployed contract.

type QuorumCaller

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

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

func NewQuorumCaller

func NewQuorumCaller(address common.Address, caller bind.ContractCaller) (*QuorumCaller, error)

NewQuorumCaller creates a new read-only instance of Quorum, bound to a specific deployed contract.

func (*QuorumCaller) Owner added in v0.1.8

func (_Quorum *QuorumCaller) Owner(opts *bind.CallOpts) (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*QuorumCaller) ReadToken added in v0.1.8

func (_Quorum *QuorumCaller) ReadToken(opts *bind.CallOpts, _address common.Address) (FTokenFactoryToken, error)

ReadToken is a free data retrieval call binding the contract method 0x8fddced8.

Solidity: function readToken(address _address) view returns((string,string,uint256,uint128,address))

func (*QuorumCaller) Receiver added in v0.1.8

func (_Quorum *QuorumCaller) Receiver(opts *bind.CallOpts) (common.Address, error)

Receiver is a free data retrieval call binding the contract method 0xf7260d3e.

Solidity: function receiver() view returns(address)

type QuorumCallerRaw

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

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

func (*QuorumCallerRaw) Call

func (_Quorum *QuorumCallerRaw) 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 QuorumCallerSession

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

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

func (*QuorumCallerSession) Owner added in v0.1.8

func (_Quorum *QuorumCallerSession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*QuorumCallerSession) ReadToken added in v0.1.8

func (_Quorum *QuorumCallerSession) ReadToken(_address common.Address) (FTokenFactoryToken, error)

ReadToken is a free data retrieval call binding the contract method 0x8fddced8.

Solidity: function readToken(address _address) view returns((string,string,uint256,uint128,address))

func (*QuorumCallerSession) Receiver added in v0.1.8

func (_Quorum *QuorumCallerSession) Receiver() (common.Address, error)

Receiver is a free data retrieval call binding the contract method 0xf7260d3e.

Solidity: function receiver() view returns(address)

type QuorumFilterer

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

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

func NewQuorumFilterer

func NewQuorumFilterer(address common.Address, filterer bind.ContractFilterer) (*QuorumFilterer, error)

NewQuorumFilterer creates a new log filterer instance of Quorum, bound to a specific deployed contract.

type QuorumRaw

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

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

func (*QuorumRaw) Call

func (_Quorum *QuorumRaw) 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 (*QuorumRaw) Transact

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

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

func (*QuorumRaw) Transfer

func (_Quorum *QuorumRaw) 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 QuorumSession

type QuorumSession struct {
	Contract     *Quorum           // 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
}

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

func (*QuorumSession) CreateContract

func (_Quorum *QuorumSession) CreateContract(name string, symbol string, cap *big.Int, trace *big.Int) (*types.Transaction, error)

CreateContract is a paid mutator transaction binding the contract method 0x6adb3a13.

Solidity: function createContract(string name, string symbol, uint256 cap, uint128 trace) returns()

func (*QuorumSession) CreateContractRaw added in v0.1.8

func (_Quorum *QuorumSession) CreateContractRaw(raw []byte, trace *big.Int) (*types.Transaction, error)

CreateContractRaw is a paid mutator transaction binding the contract method 0x990ac85d.

Solidity: function createContractRaw(bytes raw, uint128 trace) returns()

func (*QuorumSession) Owner added in v0.1.8

func (_Quorum *QuorumSession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*QuorumSession) ReadToken added in v0.1.8

func (_Quorum *QuorumSession) ReadToken(_address common.Address) (FTokenFactoryToken, error)

ReadToken is a free data retrieval call binding the contract method 0x8fddced8.

Solidity: function readToken(address _address) view returns((string,string,uint256,uint128,address))

func (*QuorumSession) Receiver added in v0.1.8

func (_Quorum *QuorumSession) Receiver() (common.Address, error)

Receiver is a free data retrieval call binding the contract method 0xf7260d3e.

Solidity: function receiver() view returns(address)

func (*QuorumSession) SetReceiverAddress added in v0.1.8

func (_Quorum *QuorumSession) SetReceiverAddress(_receiver common.Address) (*types.Transaction, error)

SetReceiverAddress is a paid mutator transaction binding the contract method 0x8279c7db.

Solidity: function setReceiverAddress(address _receiver) returns()

func (*QuorumSession) TransferOwnership added in v0.1.8

func (_Quorum *QuorumSession) TransferOwnership(_owner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address _owner) returns()

type QuorumTransactor

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

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

func NewQuorumTransactor

func NewQuorumTransactor(address common.Address, transactor bind.ContractTransactor) (*QuorumTransactor, error)

NewQuorumTransactor creates a new write-only instance of Quorum, bound to a specific deployed contract.

func (*QuorumTransactor) CreateContract

func (_Quorum *QuorumTransactor) CreateContract(opts *bind.TransactOpts, name string, symbol string, cap *big.Int, trace *big.Int) (*types.Transaction, error)

CreateContract is a paid mutator transaction binding the contract method 0x6adb3a13.

Solidity: function createContract(string name, string symbol, uint256 cap, uint128 trace) returns()

func (*QuorumTransactor) CreateContractRaw added in v0.1.8

func (_Quorum *QuorumTransactor) CreateContractRaw(opts *bind.TransactOpts, raw []byte, trace *big.Int) (*types.Transaction, error)

CreateContractRaw is a paid mutator transaction binding the contract method 0x990ac85d.

Solidity: function createContractRaw(bytes raw, uint128 trace) returns()

func (*QuorumTransactor) SetReceiverAddress added in v0.1.8

func (_Quorum *QuorumTransactor) SetReceiverAddress(opts *bind.TransactOpts, _receiver common.Address) (*types.Transaction, error)

SetReceiverAddress is a paid mutator transaction binding the contract method 0x8279c7db.

Solidity: function setReceiverAddress(address _receiver) returns()

func (*QuorumTransactor) TransferOwnership added in v0.1.8

func (_Quorum *QuorumTransactor) TransferOwnership(opts *bind.TransactOpts, _owner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address _owner) returns()

type QuorumTransactorRaw

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

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

func (*QuorumTransactorRaw) Transact

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

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

func (*QuorumTransactorRaw) Transfer

func (_Quorum *QuorumTransactorRaw) 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 QuorumTransactorSession

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

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

func (*QuorumTransactorSession) CreateContract

func (_Quorum *QuorumTransactorSession) CreateContract(name string, symbol string, cap *big.Int, trace *big.Int) (*types.Transaction, error)

CreateContract is a paid mutator transaction binding the contract method 0x6adb3a13.

Solidity: function createContract(string name, string symbol, uint256 cap, uint128 trace) returns()

func (*QuorumTransactorSession) CreateContractRaw added in v0.1.8

func (_Quorum *QuorumTransactorSession) CreateContractRaw(raw []byte, trace *big.Int) (*types.Transaction, error)

CreateContractRaw is a paid mutator transaction binding the contract method 0x990ac85d.

Solidity: function createContractRaw(bytes raw, uint128 trace) returns()

func (*QuorumTransactorSession) SetReceiverAddress added in v0.1.8

func (_Quorum *QuorumTransactorSession) SetReceiverAddress(_receiver common.Address) (*types.Transaction, error)

SetReceiverAddress is a paid mutator transaction binding the contract method 0x8279c7db.

Solidity: function setReceiverAddress(address _receiver) returns()

func (*QuorumTransactorSession) TransferOwnership added in v0.1.8

func (_Quorum *QuorumTransactorSession) TransferOwnership(_owner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address _owner) returns()

Jump to

Keyboard shortcuts

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