platypusLp

package
v0.1.9 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2022 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var PlatypusLpABI = PlatypusLpMetaData.ABI

PlatypusLpABI is the input ABI used to generate the binding from. Deprecated: Use PlatypusLpMetaData.ABI instead.

View Source
var PlatypusLpMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"addCash\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"addLiability\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"aggregateAccount\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"}],\"name\":\"allowance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"burn\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"cash\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"decimals\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"subtractedValue\",\"type\":\"uint256\"}],\"name\":\"decreaseAllowance\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"addedValue\",\"type\":\"uint256\"}],\"name\":\"increaseAllowance\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"underlyingToken_\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"name_\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"symbol_\",\"type\":\"string\"},{\"internalType\":\"address\",\"name\":\"aggregateAccount_\",\"type\":\"address\"}],\"name\":\"initialize\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"liability\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"maxSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"mint\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"pool\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"removeCash\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"removeLiability\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"aggregateAccount_\",\"type\":\"address\"}],\"name\":\"setAggregateAccount\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"maxSupply_\",\"type\":\"uint256\"}],\"name\":\"setMaxSupply\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"pool_\",\"type\":\"address\"}],\"name\":\"setPool\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transferUnderlyingToken\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"underlyingToken\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"underlyingTokenBalance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]",
}

PlatypusLpMetaData contains all meta data concerning the PlatypusLp contract.

Functions

This section is empty.

Types

type PlatypusLp

type PlatypusLp struct {
	PlatypusLpCaller     // Read-only binding to the contract
	PlatypusLpTransactor // Write-only binding to the contract
	PlatypusLpFilterer   // Log filterer for contract events
}

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

func NewPlatypusLp

func NewPlatypusLp(address common.Address, backend bind.ContractBackend) (*PlatypusLp, error)

NewPlatypusLp creates a new instance of PlatypusLp, bound to a specific deployed contract.

type PlatypusLpCaller

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

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

func NewPlatypusLpCaller

func NewPlatypusLpCaller(address common.Address, caller bind.ContractCaller) (*PlatypusLpCaller, error)

NewPlatypusLpCaller creates a new read-only instance of PlatypusLp, bound to a specific deployed contract.

func (*PlatypusLpCaller) AggregateAccount

func (_PlatypusLp *PlatypusLpCaller) AggregateAccount(opts *bind.CallOpts) (common.Address, error)

AggregateAccount is a free data retrieval call binding the contract method 0x7e1317fa.

Solidity: function aggregateAccount() view returns(address)

func (*PlatypusLpCaller) Allowance

func (_PlatypusLp *PlatypusLpCaller) Allowance(opts *bind.CallOpts, owner common.Address, spender common.Address) (*big.Int, error)

Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.

Solidity: function allowance(address owner, address spender) view returns(uint256)

func (*PlatypusLpCaller) BalanceOf

func (_PlatypusLp *PlatypusLpCaller) BalanceOf(opts *bind.CallOpts, account common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(address account) view returns(uint256)

func (*PlatypusLpCaller) Cash

func (_PlatypusLp *PlatypusLpCaller) Cash(opts *bind.CallOpts) (*big.Int, error)

Cash is a free data retrieval call binding the contract method 0x961be391.

Solidity: function cash() view returns(uint256)

func (*PlatypusLpCaller) Decimals

func (_PlatypusLp *PlatypusLpCaller) Decimals(opts *bind.CallOpts) (uint8, error)

Decimals is a free data retrieval call binding the contract method 0x313ce567.

Solidity: function decimals() view returns(uint8)

func (*PlatypusLpCaller) Liability

func (_PlatypusLp *PlatypusLpCaller) Liability(opts *bind.CallOpts) (*big.Int, error)

Liability is a free data retrieval call binding the contract method 0x705727b5.

Solidity: function liability() view returns(uint256)

func (*PlatypusLpCaller) MaxSupply

func (_PlatypusLp *PlatypusLpCaller) MaxSupply(opts *bind.CallOpts) (*big.Int, error)

MaxSupply is a free data retrieval call binding the contract method 0xd5abeb01.

Solidity: function maxSupply() view returns(uint256)

func (*PlatypusLpCaller) Name

func (_PlatypusLp *PlatypusLpCaller) Name(opts *bind.CallOpts) (string, error)

Name is a free data retrieval call binding the contract method 0x06fdde03.

Solidity: function name() view returns(string)

func (*PlatypusLpCaller) Owner

func (_PlatypusLp *PlatypusLpCaller) 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 (*PlatypusLpCaller) Pool

func (_PlatypusLp *PlatypusLpCaller) Pool(opts *bind.CallOpts) (common.Address, error)

Pool is a free data retrieval call binding the contract method 0x16f0115b.

Solidity: function pool() view returns(address)

func (*PlatypusLpCaller) Symbol

func (_PlatypusLp *PlatypusLpCaller) Symbol(opts *bind.CallOpts) (string, error)

Symbol is a free data retrieval call binding the contract method 0x95d89b41.

Solidity: function symbol() view returns(string)

func (*PlatypusLpCaller) TotalSupply

func (_PlatypusLp *PlatypusLpCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() view returns(uint256)

func (*PlatypusLpCaller) UnderlyingToken

func (_PlatypusLp *PlatypusLpCaller) UnderlyingToken(opts *bind.CallOpts) (common.Address, error)

UnderlyingToken is a free data retrieval call binding the contract method 0x2495a599.

Solidity: function underlyingToken() view returns(address)

func (*PlatypusLpCaller) UnderlyingTokenBalance

func (_PlatypusLp *PlatypusLpCaller) UnderlyingTokenBalance(opts *bind.CallOpts) (*big.Int, error)

UnderlyingTokenBalance is a free data retrieval call binding the contract method 0x99c91a64.

Solidity: function underlyingTokenBalance() view returns(uint256)

type PlatypusLpCallerRaw

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

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

func (*PlatypusLpCallerRaw) Call

func (_PlatypusLp *PlatypusLpCallerRaw) 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 PlatypusLpCallerSession

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

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

func (*PlatypusLpCallerSession) AggregateAccount

func (_PlatypusLp *PlatypusLpCallerSession) AggregateAccount() (common.Address, error)

AggregateAccount is a free data retrieval call binding the contract method 0x7e1317fa.

Solidity: function aggregateAccount() view returns(address)

func (*PlatypusLpCallerSession) Allowance

func (_PlatypusLp *PlatypusLpCallerSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)

Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.

Solidity: function allowance(address owner, address spender) view returns(uint256)

func (*PlatypusLpCallerSession) BalanceOf

func (_PlatypusLp *PlatypusLpCallerSession) BalanceOf(account common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(address account) view returns(uint256)

func (*PlatypusLpCallerSession) Cash

func (_PlatypusLp *PlatypusLpCallerSession) Cash() (*big.Int, error)

Cash is a free data retrieval call binding the contract method 0x961be391.

Solidity: function cash() view returns(uint256)

func (*PlatypusLpCallerSession) Decimals

func (_PlatypusLp *PlatypusLpCallerSession) Decimals() (uint8, error)

Decimals is a free data retrieval call binding the contract method 0x313ce567.

Solidity: function decimals() view returns(uint8)

func (*PlatypusLpCallerSession) Liability

func (_PlatypusLp *PlatypusLpCallerSession) Liability() (*big.Int, error)

Liability is a free data retrieval call binding the contract method 0x705727b5.

Solidity: function liability() view returns(uint256)

func (*PlatypusLpCallerSession) MaxSupply

func (_PlatypusLp *PlatypusLpCallerSession) MaxSupply() (*big.Int, error)

MaxSupply is a free data retrieval call binding the contract method 0xd5abeb01.

Solidity: function maxSupply() view returns(uint256)

func (*PlatypusLpCallerSession) Name

func (_PlatypusLp *PlatypusLpCallerSession) Name() (string, error)

Name is a free data retrieval call binding the contract method 0x06fdde03.

Solidity: function name() view returns(string)

func (*PlatypusLpCallerSession) Owner

func (_PlatypusLp *PlatypusLpCallerSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*PlatypusLpCallerSession) Pool

func (_PlatypusLp *PlatypusLpCallerSession) Pool() (common.Address, error)

Pool is a free data retrieval call binding the contract method 0x16f0115b.

Solidity: function pool() view returns(address)

func (*PlatypusLpCallerSession) Symbol

func (_PlatypusLp *PlatypusLpCallerSession) Symbol() (string, error)

Symbol is a free data retrieval call binding the contract method 0x95d89b41.

Solidity: function symbol() view returns(string)

func (*PlatypusLpCallerSession) TotalSupply

func (_PlatypusLp *PlatypusLpCallerSession) TotalSupply() (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() view returns(uint256)

func (*PlatypusLpCallerSession) UnderlyingToken

func (_PlatypusLp *PlatypusLpCallerSession) UnderlyingToken() (common.Address, error)

UnderlyingToken is a free data retrieval call binding the contract method 0x2495a599.

Solidity: function underlyingToken() view returns(address)

func (*PlatypusLpCallerSession) UnderlyingTokenBalance

func (_PlatypusLp *PlatypusLpCallerSession) UnderlyingTokenBalance() (*big.Int, error)

UnderlyingTokenBalance is a free data retrieval call binding the contract method 0x99c91a64.

Solidity: function underlyingTokenBalance() view returns(uint256)

type PlatypusLpFilterer

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

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

func NewPlatypusLpFilterer

func NewPlatypusLpFilterer(address common.Address, filterer bind.ContractFilterer) (*PlatypusLpFilterer, error)

NewPlatypusLpFilterer creates a new log filterer instance of PlatypusLp, bound to a specific deployed contract.

type PlatypusLpRaw

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

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

func (*PlatypusLpRaw) Call

func (_PlatypusLp *PlatypusLpRaw) 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 (*PlatypusLpRaw) Transact

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

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

func (*PlatypusLpRaw) Transfer

func (_PlatypusLp *PlatypusLpRaw) 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 PlatypusLpSession

type PlatypusLpSession struct {
	Contract     *PlatypusLp       // 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
}

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

func (*PlatypusLpSession) AddCash

func (_PlatypusLp *PlatypusLpSession) AddCash(amount *big.Int) (*types.Transaction, error)

AddCash is a paid mutator transaction binding the contract method 0x16c9e7a0.

Solidity: function addCash(uint256 amount) returns()

func (*PlatypusLpSession) AddLiability

func (_PlatypusLp *PlatypusLpSession) AddLiability(amount *big.Int) (*types.Transaction, error)

AddLiability is a paid mutator transaction binding the contract method 0xa0f0f604.

Solidity: function addLiability(uint256 amount) returns()

func (*PlatypusLpSession) AggregateAccount

func (_PlatypusLp *PlatypusLpSession) AggregateAccount() (common.Address, error)

AggregateAccount is a free data retrieval call binding the contract method 0x7e1317fa.

Solidity: function aggregateAccount() view returns(address)

func (*PlatypusLpSession) Allowance

func (_PlatypusLp *PlatypusLpSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)

Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.

Solidity: function allowance(address owner, address spender) view returns(uint256)

func (*PlatypusLpSession) Approve

func (_PlatypusLp *PlatypusLpSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address spender, uint256 amount) returns(bool)

func (*PlatypusLpSession) BalanceOf

func (_PlatypusLp *PlatypusLpSession) BalanceOf(account common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(address account) view returns(uint256)

func (*PlatypusLpSession) Burn

func (_PlatypusLp *PlatypusLpSession) Burn(to common.Address, amount *big.Int) (*types.Transaction, error)

Burn is a paid mutator transaction binding the contract method 0x9dc29fac.

Solidity: function burn(address to, uint256 amount) returns()

func (*PlatypusLpSession) Cash

func (_PlatypusLp *PlatypusLpSession) Cash() (*big.Int, error)

Cash is a free data retrieval call binding the contract method 0x961be391.

Solidity: function cash() view returns(uint256)

func (*PlatypusLpSession) Decimals

func (_PlatypusLp *PlatypusLpSession) Decimals() (uint8, error)

Decimals is a free data retrieval call binding the contract method 0x313ce567.

Solidity: function decimals() view returns(uint8)

func (*PlatypusLpSession) DecreaseAllowance

func (_PlatypusLp *PlatypusLpSession) DecreaseAllowance(spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)

DecreaseAllowance is a paid mutator transaction binding the contract method 0xa457c2d7.

Solidity: function decreaseAllowance(address spender, uint256 subtractedValue) returns(bool)

func (*PlatypusLpSession) IncreaseAllowance

func (_PlatypusLp *PlatypusLpSession) IncreaseAllowance(spender common.Address, addedValue *big.Int) (*types.Transaction, error)

IncreaseAllowance is a paid mutator transaction binding the contract method 0x39509351.

Solidity: function increaseAllowance(address spender, uint256 addedValue) returns(bool)

func (*PlatypusLpSession) Initialize

func (_PlatypusLp *PlatypusLpSession) Initialize(underlyingToken_ common.Address, name_ string, symbol_ string, aggregateAccount_ common.Address) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0x613d25bb.

Solidity: function initialize(address underlyingToken_, string name_, string symbol_, address aggregateAccount_) returns()

func (*PlatypusLpSession) Liability

func (_PlatypusLp *PlatypusLpSession) Liability() (*big.Int, error)

Liability is a free data retrieval call binding the contract method 0x705727b5.

Solidity: function liability() view returns(uint256)

func (*PlatypusLpSession) MaxSupply

func (_PlatypusLp *PlatypusLpSession) MaxSupply() (*big.Int, error)

MaxSupply is a free data retrieval call binding the contract method 0xd5abeb01.

Solidity: function maxSupply() view returns(uint256)

func (*PlatypusLpSession) Mint

func (_PlatypusLp *PlatypusLpSession) Mint(to common.Address, amount *big.Int) (*types.Transaction, error)

Mint is a paid mutator transaction binding the contract method 0x40c10f19.

Solidity: function mint(address to, uint256 amount) returns()

func (*PlatypusLpSession) Name

func (_PlatypusLp *PlatypusLpSession) Name() (string, error)

Name is a free data retrieval call binding the contract method 0x06fdde03.

Solidity: function name() view returns(string)

func (*PlatypusLpSession) Owner

func (_PlatypusLp *PlatypusLpSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*PlatypusLpSession) Pool

func (_PlatypusLp *PlatypusLpSession) Pool() (common.Address, error)

Pool is a free data retrieval call binding the contract method 0x16f0115b.

Solidity: function pool() view returns(address)

func (*PlatypusLpSession) RemoveCash

func (_PlatypusLp *PlatypusLpSession) RemoveCash(amount *big.Int) (*types.Transaction, error)

RemoveCash is a paid mutator transaction binding the contract method 0x9f9ef988.

Solidity: function removeCash(uint256 amount) returns()

func (*PlatypusLpSession) RemoveLiability

func (_PlatypusLp *PlatypusLpSession) RemoveLiability(amount *big.Int) (*types.Transaction, error)

RemoveLiability is a paid mutator transaction binding the contract method 0xd8b87853.

Solidity: function removeLiability(uint256 amount) returns()

func (*PlatypusLpSession) RenounceOwnership

func (_PlatypusLp *PlatypusLpSession) RenounceOwnership() (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*PlatypusLpSession) SetAggregateAccount

func (_PlatypusLp *PlatypusLpSession) SetAggregateAccount(aggregateAccount_ common.Address) (*types.Transaction, error)

SetAggregateAccount is a paid mutator transaction binding the contract method 0x95d6f7b9.

Solidity: function setAggregateAccount(address aggregateAccount_) returns()

func (*PlatypusLpSession) SetMaxSupply

func (_PlatypusLp *PlatypusLpSession) SetMaxSupply(maxSupply_ *big.Int) (*types.Transaction, error)

SetMaxSupply is a paid mutator transaction binding the contract method 0x6f8b44b0.

Solidity: function setMaxSupply(uint256 maxSupply_) returns()

func (*PlatypusLpSession) SetPool

func (_PlatypusLp *PlatypusLpSession) SetPool(pool_ common.Address) (*types.Transaction, error)

SetPool is a paid mutator transaction binding the contract method 0x4437152a.

Solidity: function setPool(address pool_) returns()

func (*PlatypusLpSession) Symbol

func (_PlatypusLp *PlatypusLpSession) Symbol() (string, error)

Symbol is a free data retrieval call binding the contract method 0x95d89b41.

Solidity: function symbol() view returns(string)

func (*PlatypusLpSession) TotalSupply

func (_PlatypusLp *PlatypusLpSession) TotalSupply() (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() view returns(uint256)

func (*PlatypusLpSession) Transfer

func (_PlatypusLp *PlatypusLpSession) Transfer(recipient common.Address, amount *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(address recipient, uint256 amount) returns(bool)

func (*PlatypusLpSession) TransferFrom

func (_PlatypusLp *PlatypusLpSession) TransferFrom(sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address sender, address recipient, uint256 amount) returns(bool)

func (*PlatypusLpSession) TransferOwnership

func (_PlatypusLp *PlatypusLpSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

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

Solidity: function transferOwnership(address newOwner) returns()

func (*PlatypusLpSession) TransferUnderlyingToken

func (_PlatypusLp *PlatypusLpSession) TransferUnderlyingToken(to common.Address, amount *big.Int) (*types.Transaction, error)

TransferUnderlyingToken is a paid mutator transaction binding the contract method 0x9e79eaa5.

Solidity: function transferUnderlyingToken(address to, uint256 amount) returns()

func (*PlatypusLpSession) UnderlyingToken

func (_PlatypusLp *PlatypusLpSession) UnderlyingToken() (common.Address, error)

UnderlyingToken is a free data retrieval call binding the contract method 0x2495a599.

Solidity: function underlyingToken() view returns(address)

func (*PlatypusLpSession) UnderlyingTokenBalance

func (_PlatypusLp *PlatypusLpSession) UnderlyingTokenBalance() (*big.Int, error)

UnderlyingTokenBalance is a free data retrieval call binding the contract method 0x99c91a64.

Solidity: function underlyingTokenBalance() view returns(uint256)

type PlatypusLpTransactor

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

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

func NewPlatypusLpTransactor

func NewPlatypusLpTransactor(address common.Address, transactor bind.ContractTransactor) (*PlatypusLpTransactor, error)

NewPlatypusLpTransactor creates a new write-only instance of PlatypusLp, bound to a specific deployed contract.

func (*PlatypusLpTransactor) AddCash

func (_PlatypusLp *PlatypusLpTransactor) AddCash(opts *bind.TransactOpts, amount *big.Int) (*types.Transaction, error)

AddCash is a paid mutator transaction binding the contract method 0x16c9e7a0.

Solidity: function addCash(uint256 amount) returns()

func (*PlatypusLpTransactor) AddLiability

func (_PlatypusLp *PlatypusLpTransactor) AddLiability(opts *bind.TransactOpts, amount *big.Int) (*types.Transaction, error)

AddLiability is a paid mutator transaction binding the contract method 0xa0f0f604.

Solidity: function addLiability(uint256 amount) returns()

func (*PlatypusLpTransactor) Approve

func (_PlatypusLp *PlatypusLpTransactor) Approve(opts *bind.TransactOpts, spender common.Address, amount *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address spender, uint256 amount) returns(bool)

func (*PlatypusLpTransactor) Burn

func (_PlatypusLp *PlatypusLpTransactor) Burn(opts *bind.TransactOpts, to common.Address, amount *big.Int) (*types.Transaction, error)

Burn is a paid mutator transaction binding the contract method 0x9dc29fac.

Solidity: function burn(address to, uint256 amount) returns()

func (*PlatypusLpTransactor) DecreaseAllowance

func (_PlatypusLp *PlatypusLpTransactor) DecreaseAllowance(opts *bind.TransactOpts, spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)

DecreaseAllowance is a paid mutator transaction binding the contract method 0xa457c2d7.

Solidity: function decreaseAllowance(address spender, uint256 subtractedValue) returns(bool)

func (*PlatypusLpTransactor) IncreaseAllowance

func (_PlatypusLp *PlatypusLpTransactor) IncreaseAllowance(opts *bind.TransactOpts, spender common.Address, addedValue *big.Int) (*types.Transaction, error)

IncreaseAllowance is a paid mutator transaction binding the contract method 0x39509351.

Solidity: function increaseAllowance(address spender, uint256 addedValue) returns(bool)

func (*PlatypusLpTransactor) Initialize

func (_PlatypusLp *PlatypusLpTransactor) Initialize(opts *bind.TransactOpts, underlyingToken_ common.Address, name_ string, symbol_ string, aggregateAccount_ common.Address) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0x613d25bb.

Solidity: function initialize(address underlyingToken_, string name_, string symbol_, address aggregateAccount_) returns()

func (*PlatypusLpTransactor) Mint

func (_PlatypusLp *PlatypusLpTransactor) Mint(opts *bind.TransactOpts, to common.Address, amount *big.Int) (*types.Transaction, error)

Mint is a paid mutator transaction binding the contract method 0x40c10f19.

Solidity: function mint(address to, uint256 amount) returns()

func (*PlatypusLpTransactor) RemoveCash

func (_PlatypusLp *PlatypusLpTransactor) RemoveCash(opts *bind.TransactOpts, amount *big.Int) (*types.Transaction, error)

RemoveCash is a paid mutator transaction binding the contract method 0x9f9ef988.

Solidity: function removeCash(uint256 amount) returns()

func (*PlatypusLpTransactor) RemoveLiability

func (_PlatypusLp *PlatypusLpTransactor) RemoveLiability(opts *bind.TransactOpts, amount *big.Int) (*types.Transaction, error)

RemoveLiability is a paid mutator transaction binding the contract method 0xd8b87853.

Solidity: function removeLiability(uint256 amount) returns()

func (*PlatypusLpTransactor) RenounceOwnership

func (_PlatypusLp *PlatypusLpTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*PlatypusLpTransactor) SetAggregateAccount

func (_PlatypusLp *PlatypusLpTransactor) SetAggregateAccount(opts *bind.TransactOpts, aggregateAccount_ common.Address) (*types.Transaction, error)

SetAggregateAccount is a paid mutator transaction binding the contract method 0x95d6f7b9.

Solidity: function setAggregateAccount(address aggregateAccount_) returns()

func (*PlatypusLpTransactor) SetMaxSupply

func (_PlatypusLp *PlatypusLpTransactor) SetMaxSupply(opts *bind.TransactOpts, maxSupply_ *big.Int) (*types.Transaction, error)

SetMaxSupply is a paid mutator transaction binding the contract method 0x6f8b44b0.

Solidity: function setMaxSupply(uint256 maxSupply_) returns()

func (*PlatypusLpTransactor) SetPool

func (_PlatypusLp *PlatypusLpTransactor) SetPool(opts *bind.TransactOpts, pool_ common.Address) (*types.Transaction, error)

SetPool is a paid mutator transaction binding the contract method 0x4437152a.

Solidity: function setPool(address pool_) returns()

func (*PlatypusLpTransactor) Transfer

func (_PlatypusLp *PlatypusLpTransactor) Transfer(opts *bind.TransactOpts, recipient common.Address, amount *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(address recipient, uint256 amount) returns(bool)

func (*PlatypusLpTransactor) TransferFrom

func (_PlatypusLp *PlatypusLpTransactor) TransferFrom(opts *bind.TransactOpts, sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address sender, address recipient, uint256 amount) returns(bool)

func (*PlatypusLpTransactor) TransferOwnership

func (_PlatypusLp *PlatypusLpTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)

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

Solidity: function transferOwnership(address newOwner) returns()

func (*PlatypusLpTransactor) TransferUnderlyingToken

func (_PlatypusLp *PlatypusLpTransactor) TransferUnderlyingToken(opts *bind.TransactOpts, to common.Address, amount *big.Int) (*types.Transaction, error)

TransferUnderlyingToken is a paid mutator transaction binding the contract method 0x9e79eaa5.

Solidity: function transferUnderlyingToken(address to, uint256 amount) returns()

type PlatypusLpTransactorRaw

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

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

func (*PlatypusLpTransactorRaw) Transact

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

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

func (*PlatypusLpTransactorRaw) Transfer

func (_PlatypusLp *PlatypusLpTransactorRaw) 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 PlatypusLpTransactorSession

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

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

func (*PlatypusLpTransactorSession) AddCash

func (_PlatypusLp *PlatypusLpTransactorSession) AddCash(amount *big.Int) (*types.Transaction, error)

AddCash is a paid mutator transaction binding the contract method 0x16c9e7a0.

Solidity: function addCash(uint256 amount) returns()

func (*PlatypusLpTransactorSession) AddLiability

func (_PlatypusLp *PlatypusLpTransactorSession) AddLiability(amount *big.Int) (*types.Transaction, error)

AddLiability is a paid mutator transaction binding the contract method 0xa0f0f604.

Solidity: function addLiability(uint256 amount) returns()

func (*PlatypusLpTransactorSession) Approve

func (_PlatypusLp *PlatypusLpTransactorSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address spender, uint256 amount) returns(bool)

func (*PlatypusLpTransactorSession) Burn

func (_PlatypusLp *PlatypusLpTransactorSession) Burn(to common.Address, amount *big.Int) (*types.Transaction, error)

Burn is a paid mutator transaction binding the contract method 0x9dc29fac.

Solidity: function burn(address to, uint256 amount) returns()

func (*PlatypusLpTransactorSession) DecreaseAllowance

func (_PlatypusLp *PlatypusLpTransactorSession) DecreaseAllowance(spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)

DecreaseAllowance is a paid mutator transaction binding the contract method 0xa457c2d7.

Solidity: function decreaseAllowance(address spender, uint256 subtractedValue) returns(bool)

func (*PlatypusLpTransactorSession) IncreaseAllowance

func (_PlatypusLp *PlatypusLpTransactorSession) IncreaseAllowance(spender common.Address, addedValue *big.Int) (*types.Transaction, error)

IncreaseAllowance is a paid mutator transaction binding the contract method 0x39509351.

Solidity: function increaseAllowance(address spender, uint256 addedValue) returns(bool)

func (*PlatypusLpTransactorSession) Initialize

func (_PlatypusLp *PlatypusLpTransactorSession) Initialize(underlyingToken_ common.Address, name_ string, symbol_ string, aggregateAccount_ common.Address) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0x613d25bb.

Solidity: function initialize(address underlyingToken_, string name_, string symbol_, address aggregateAccount_) returns()

func (*PlatypusLpTransactorSession) Mint

func (_PlatypusLp *PlatypusLpTransactorSession) Mint(to common.Address, amount *big.Int) (*types.Transaction, error)

Mint is a paid mutator transaction binding the contract method 0x40c10f19.

Solidity: function mint(address to, uint256 amount) returns()

func (*PlatypusLpTransactorSession) RemoveCash

func (_PlatypusLp *PlatypusLpTransactorSession) RemoveCash(amount *big.Int) (*types.Transaction, error)

RemoveCash is a paid mutator transaction binding the contract method 0x9f9ef988.

Solidity: function removeCash(uint256 amount) returns()

func (*PlatypusLpTransactorSession) RemoveLiability

func (_PlatypusLp *PlatypusLpTransactorSession) RemoveLiability(amount *big.Int) (*types.Transaction, error)

RemoveLiability is a paid mutator transaction binding the contract method 0xd8b87853.

Solidity: function removeLiability(uint256 amount) returns()

func (*PlatypusLpTransactorSession) RenounceOwnership

func (_PlatypusLp *PlatypusLpTransactorSession) RenounceOwnership() (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*PlatypusLpTransactorSession) SetAggregateAccount

func (_PlatypusLp *PlatypusLpTransactorSession) SetAggregateAccount(aggregateAccount_ common.Address) (*types.Transaction, error)

SetAggregateAccount is a paid mutator transaction binding the contract method 0x95d6f7b9.

Solidity: function setAggregateAccount(address aggregateAccount_) returns()

func (*PlatypusLpTransactorSession) SetMaxSupply

func (_PlatypusLp *PlatypusLpTransactorSession) SetMaxSupply(maxSupply_ *big.Int) (*types.Transaction, error)

SetMaxSupply is a paid mutator transaction binding the contract method 0x6f8b44b0.

Solidity: function setMaxSupply(uint256 maxSupply_) returns()

func (*PlatypusLpTransactorSession) SetPool

func (_PlatypusLp *PlatypusLpTransactorSession) SetPool(pool_ common.Address) (*types.Transaction, error)

SetPool is a paid mutator transaction binding the contract method 0x4437152a.

Solidity: function setPool(address pool_) returns()

func (*PlatypusLpTransactorSession) Transfer

func (_PlatypusLp *PlatypusLpTransactorSession) Transfer(recipient common.Address, amount *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(address recipient, uint256 amount) returns(bool)

func (*PlatypusLpTransactorSession) TransferFrom

func (_PlatypusLp *PlatypusLpTransactorSession) TransferFrom(sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address sender, address recipient, uint256 amount) returns(bool)

func (*PlatypusLpTransactorSession) TransferOwnership

func (_PlatypusLp *PlatypusLpTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

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

Solidity: function transferOwnership(address newOwner) returns()

func (*PlatypusLpTransactorSession) TransferUnderlyingToken

func (_PlatypusLp *PlatypusLpTransactorSession) TransferUnderlyingToken(to common.Address, amount *big.Int) (*types.Transaction, error)

TransferUnderlyingToken is a paid mutator transaction binding the contract method 0x9e79eaa5.

Solidity: function transferUnderlyingToken(address to, uint256 amount) returns()

Jump to

Keyboard shortcuts

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