SafeCaster

package
Version: v1.2.2 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2021 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const SafeCasterABI = "" /* 241-byte string literal not displayed */

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

Variables

View Source
var SafeCasterBin = "" /* 588-byte string literal not displayed */

SafeCasterBin is the compiled bytecode used for deploying new contracts.

Functions

This section is empty.

Types

type SafeCaster

type SafeCaster struct {
	SafeCasterCaller     // Read-only binding to the contract
	SafeCasterTransactor // Write-only binding to the contract
	SafeCasterFilterer   // Log filterer for contract events
}

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

func DeploySafeCaster

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

DeploySafeCaster deploys a new Ethereum contract, binding an instance of SafeCaster to it.

func NewSafeCaster

func NewSafeCaster(address common.Address, backend bind.ContractBackend) (*SafeCaster, error)

NewSafeCaster creates a new instance of SafeCaster, bound to a specific deployed contract.

type SafeCasterCaller

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

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

func NewSafeCasterCaller

func NewSafeCasterCaller(address common.Address, caller bind.ContractCaller) (*SafeCasterCaller, error)

NewSafeCasterCaller creates a new read-only instance of SafeCaster, bound to a specific deployed contract.

func (*SafeCasterCaller) ToUint200

func (_SafeCaster *SafeCasterCaller) ToUint200(opts *bind.CallOpts, input *big.Int) (*big.Int, error)

ToUint200 is a free data retrieval call binding the contract method 0x720ad674.

Solidity: function toUint200(uint256 input) pure returns(uint200)

type SafeCasterCallerRaw

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

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

func (*SafeCasterCallerRaw) Call

func (_SafeCaster *SafeCasterCallerRaw) 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 SafeCasterCallerSession

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

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

func (*SafeCasterCallerSession) ToUint200

func (_SafeCaster *SafeCasterCallerSession) ToUint200(input *big.Int) (*big.Int, error)

ToUint200 is a free data retrieval call binding the contract method 0x720ad674.

Solidity: function toUint200(uint256 input) pure returns(uint200)

type SafeCasterFilterer

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

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

func NewSafeCasterFilterer

func NewSafeCasterFilterer(address common.Address, filterer bind.ContractFilterer) (*SafeCasterFilterer, error)

NewSafeCasterFilterer creates a new log filterer instance of SafeCaster, bound to a specific deployed contract.

type SafeCasterRaw

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

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

func (*SafeCasterRaw) Call

func (_SafeCaster *SafeCasterRaw) 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 (*SafeCasterRaw) Transact

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

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

func (*SafeCasterRaw) Transfer

func (_SafeCaster *SafeCasterRaw) 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 SafeCasterSession

type SafeCasterSession struct {
	Contract     *SafeCaster       // 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
}

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

func (*SafeCasterSession) ToUint200

func (_SafeCaster *SafeCasterSession) ToUint200(input *big.Int) (*big.Int, error)

ToUint200 is a free data retrieval call binding the contract method 0x720ad674.

Solidity: function toUint200(uint256 input) pure returns(uint200)

type SafeCasterTransactor

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

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

func NewSafeCasterTransactor

func NewSafeCasterTransactor(address common.Address, transactor bind.ContractTransactor) (*SafeCasterTransactor, error)

NewSafeCasterTransactor creates a new write-only instance of SafeCaster, bound to a specific deployed contract.

type SafeCasterTransactorRaw

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

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

func (*SafeCasterTransactorRaw) Transact

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

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

func (*SafeCasterTransactorRaw) Transfer

func (_SafeCaster *SafeCasterTransactorRaw) 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 SafeCasterTransactorSession

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

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

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL