quorum

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2022 License: MIT Imports: 19 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Precision int32 = 18
	EthAsset        = "43d61dcd-e413-450d-80b8-101d5e903357"
)
View Source
const QuorumABI = "" /* 817-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 FTokenFactoryContract

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

FTokenFactoryContract 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) *Factory

func (*Factory) CreateTransaction

func (f *Factory) CreateTransaction(ctx context.Context, tokens []*core.Token, receiver *core.Address) (*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) ReadContract

func (_Quorum *QuorumCaller) ReadContract(opts *bind.CallOpts, _contract common.Address) (FTokenFactoryContract, error)

ReadContract is a free data retrieval call binding the contract method 0xdf58812f.

Solidity: function readContract(address _contract) view returns((string,string,uint256,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) ReadContract

func (_Quorum *QuorumCallerSession) ReadContract(_contract common.Address) (FTokenFactoryContract, error)

ReadContract is a free data retrieval call binding the contract method 0xdf58812f.

Solidity: function readContract(address _contract) view returns((string,string,uint256,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(raw []byte, receiver common.Address) (*types.Transaction, error)

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

Solidity: function createContract(bytes raw, address receiver) returns()

func (*QuorumSession) ReadContract

func (_Quorum *QuorumSession) ReadContract(_contract common.Address) (FTokenFactoryContract, error)

ReadContract is a free data retrieval call binding the contract method 0xdf58812f.

Solidity: function readContract(address _contract) view returns((string,string,uint256,address))

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, raw []byte, receiver common.Address) (*types.Transaction, error)

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

Solidity: function createContract(bytes raw, address receiver) 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(raw []byte, receiver common.Address) (*types.Transaction, error)

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

Solidity: function createContract(bytes raw, address receiver) returns()

Jump to

Keyboard shortcuts

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