contractabi

package
v0.0.0-...-8b20efb Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2020 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const BalancerABI = "" /* 23292-byte string literal not displayed */

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

View Source
const BalancerPoolABI = "" /* 23292-byte string literal not displayed */

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

View Source
const BalancerProxyV2ABI = "" /* 9333-byte string literal not displayed */

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

View Source
const BalancerRegistryABI = "" /* 7383-byte string literal not displayed */

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

View Source
const BancorABI = "" /* 9676-byte string literal not displayed */

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

View Source
const ContractAbiABI = "" /* 4409-byte string literal not displayed */

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

View Source
const CurveABI = "" /* 9829-byte string literal not displayed */

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

View Source
const DforceABI = "" /* 16628-byte string literal not displayed */

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

View Source
const ERC20TokenABI = "" /* 2603-byte string literal not displayed */

ERC20TokenABI is the input ABI used to generate the binding from. #nosec

View Source
const HarvestAutoStakeABI = "" /* 6127-byte string literal not displayed */

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

View Source
const HarvestNomintrewardpoolABI = "" /* 10168-byte string literal not displayed */

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

View Source
const HarvestVaultABI = "" /* 14248-byte string literal not displayed */

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

View Source
const IERC20ABI = "" /* 3225-byte string literal not displayed */

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

View Source
const IUniswapV2CalleeABI = "" /* 436-byte string literal not displayed */

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

View Source
const IUniswapV2ERC20ABI = "" /* 4553-byte string literal not displayed */

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

View Source
const IUniswapV2FactoryABI = "" /* 2467-byte string literal not displayed */

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

View Source
const IUniswapV2PairABI = "" /* 9732-byte string literal not displayed */

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

View Source
const KyberABI = "" /* 8687-byte string literal not displayed */

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

View Source
const MathABI = "[]"

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

View Source
const MooniswapABI = "" /* 11024-byte string literal not displayed */

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

View Source
const MooniswapFactoryABI = "" /* 3349-byte string literal not displayed */

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

View Source
const OasisABI = "" /* 21824-byte string literal not displayed */

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

View Source
const OneinchABI = "" /* 8809-byte string literal not displayed */

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

View Source
const ParaswapABI = "" /* 1382-byte string literal not displayed */

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

View Source
const SafeMathABI = "[]"

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

View Source
const SushiPoolABI = "" /* 8821-byte string literal not displayed */

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

View Source
const SushiStakingABI = "" /* 7514-byte string literal not displayed */

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

View Source
const SushiSwapABI = "" /* 14077-byte string literal not displayed */

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

View Source
const UQ112x112ABI = "[]"

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

View Source
const UniswapStakingABI = "" /* 6382-byte string literal not displayed */

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

View Source
const UniswapV2ABI = "" /* 14077-byte string literal not displayed */

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

View Source
const UniswapV2ERC20ABI = "" /* 4625-byte string literal not displayed */

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

View Source
const UniswapV2FactoryABI = "" /* 2636-byte string literal not displayed */

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

View Source
const UniswapV2PairABI = "" /* 9821-byte string literal not displayed */

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

View Source
const UniswapV2PoolABI = "" /* 9821-byte string literal not displayed */

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

Variables

View Source
var IERC20FuncSigs = map[string]string{
	"dd62ed3e": "allowance(address,address)",
	"095ea7b3": "approve(address,uint256)",
	"70a08231": "balanceOf(address)",
	"313ce567": "decimals()",
	"06fdde03": "name()",
	"95d89b41": "symbol()",
	"18160ddd": "totalSupply()",
	"a9059cbb": "transfer(address,uint256)",
	"23b872dd": "transferFrom(address,address,uint256)",
}

IERC20FuncSigs maps the 4-byte function signature to its string representation.

View Source
var IUniswapV2CalleeFuncSigs = map[string]string{
	"10d1e85c": "uniswapV2Call(address,uint256,uint256,bytes)",
}

IUniswapV2CalleeFuncSigs maps the 4-byte function signature to its string representation.

View Source
var IUniswapV2ERC20FuncSigs = map[string]string{
	"3644e515": "DOMAIN_SEPARATOR()",
	"30adf81f": "PERMIT_TYPEHASH()",
	"dd62ed3e": "allowance(address,address)",
	"095ea7b3": "approve(address,uint256)",
	"70a08231": "balanceOf(address)",
	"313ce567": "decimals()",
	"06fdde03": "name()",
	"7ecebe00": "nonces(address)",
	"d505accf": "permit(address,address,uint256,uint256,uint8,bytes32,bytes32)",
	"95d89b41": "symbol()",
	"18160ddd": "totalSupply()",
	"a9059cbb": "transfer(address,uint256)",
	"23b872dd": "transferFrom(address,address,uint256)",
}

IUniswapV2ERC20FuncSigs maps the 4-byte function signature to its string representation.

View Source
var IUniswapV2FactoryFuncSigs = map[string]string{
	"1e3dd18b": "allPairs(uint256)",
	"574f2ba3": "allPairsLength()",
	"c9c65396": "createPair(address,address)",
	"017e7e58": "feeTo()",
	"094b7415": "feeToSetter()",
	"e6a43905": "getPair(address,address)",
	"f46901ed": "setFeeTo(address)",
	"a2e74af6": "setFeeToSetter(address)",
}

IUniswapV2FactoryFuncSigs maps the 4-byte function signature to its string representation.

View Source
var IUniswapV2PairFuncSigs = map[string]string{
	"3644e515": "DOMAIN_SEPARATOR()",
	"ba9a7a56": "MINIMUM_LIQUIDITY()",
	"30adf81f": "PERMIT_TYPEHASH()",
	"dd62ed3e": "allowance(address,address)",
	"095ea7b3": "approve(address,uint256)",
	"70a08231": "balanceOf(address)",
	"89afcb44": "burn(address)",
	"313ce567": "decimals()",
	"c45a0155": "factory()",
	"0902f1ac": "getReserves()",
	"485cc955": "initialize(address,address)",
	"7464fc3d": "kLast()",
	"6a627842": "mint(address)",
	"06fdde03": "name()",
	"7ecebe00": "nonces(address)",
	"d505accf": "permit(address,address,uint256,uint256,uint8,bytes32,bytes32)",
	"5909c0d5": "price0CumulativeLast()",
	"5a3d5493": "price1CumulativeLast()",
	"bc25cf77": "skim(address)",
	"022c0d9f": "swap(uint256,uint256,address,bytes)",
	"95d89b41": "symbol()",
	"fff6cae9": "sync()",
	"0dfe1681": "token0()",
	"d21220a7": "token1()",
	"18160ddd": "totalSupply()",
	"a9059cbb": "transfer(address,uint256)",
	"23b872dd": "transferFrom(address,address,uint256)",
}

IUniswapV2PairFuncSigs maps the 4-byte function signature to its string representation.

View Source
var MathBin = "" /* 242-byte string literal not displayed */

MathBin is the compiled bytecode used for deploying new contracts.

View Source
var SafeMathBin = "" /* 242-byte string literal not displayed */

SafeMathBin is the compiled bytecode used for deploying new contracts.

View Source
var UQ112x112Bin = "" /* 242-byte string literal not displayed */

UQ112x112Bin is the compiled bytecode used for deploying new contracts.

View Source
var UniswapV2ERC20Bin = "" /* 4992-byte string literal not displayed */

UniswapV2ERC20Bin is the compiled bytecode used for deploying new contracts.

View Source
var UniswapV2ERC20FuncSigs = map[string]string{
	"3644e515": "DOMAIN_SEPARATOR()",
	"30adf81f": "PERMIT_TYPEHASH()",
	"dd62ed3e": "allowance(address,address)",
	"095ea7b3": "approve(address,uint256)",
	"70a08231": "balanceOf(address)",
	"313ce567": "decimals()",
	"06fdde03": "name()",
	"7ecebe00": "nonces(address)",
	"d505accf": "permit(address,address,uint256,uint256,uint8,bytes32,bytes32)",
	"95d89b41": "symbol()",
	"18160ddd": "totalSupply()",
	"a9059cbb": "transfer(address,uint256)",
	"23b872dd": "transferFrom(address,address,uint256)",
}

UniswapV2ERC20FuncSigs maps the 4-byte function signature to its string representation.

View Source
var UniswapV2FactoryBin = "" /* 21846-byte string literal not displayed */

UniswapV2FactoryBin is the compiled bytecode used for deploying new contracts.

View Source
var UniswapV2FactoryFuncSigs = map[string]string{
	"1e3dd18b": "allPairs(uint256)",
	"574f2ba3": "allPairsLength()",
	"c9c65396": "createPair(address,address)",
	"017e7e58": "feeTo()",
	"094b7415": "feeToSetter()",
	"e6a43905": "getPair(address,address)",
	"f46901ed": "setFeeTo(address)",
	"a2e74af6": "setFeeToSetter(address)",
}

UniswapV2FactoryFuncSigs maps the 4-byte function signature to its string representation.

View Source
var UniswapV2PairBin = "" /* 18356-byte string literal not displayed */

UniswapV2PairBin is the compiled bytecode used for deploying new contracts.

View Source
var UniswapV2PairFuncSigs = map[string]string{
	"3644e515": "DOMAIN_SEPARATOR()",
	"ba9a7a56": "MINIMUM_LIQUIDITY()",
	"30adf81f": "PERMIT_TYPEHASH()",
	"dd62ed3e": "allowance(address,address)",
	"095ea7b3": "approve(address,uint256)",
	"70a08231": "balanceOf(address)",
	"89afcb44": "burn(address)",
	"313ce567": "decimals()",
	"c45a0155": "factory()",
	"0902f1ac": "getReserves()",
	"485cc955": "initialize(address,address)",
	"7464fc3d": "kLast()",
	"6a627842": "mint(address)",
	"06fdde03": "name()",
	"7ecebe00": "nonces(address)",
	"d505accf": "permit(address,address,uint256,uint256,uint8,bytes32,bytes32)",
	"5909c0d5": "price0CumulativeLast()",
	"5a3d5493": "price1CumulativeLast()",
	"bc25cf77": "skim(address)",
	"022c0d9f": "swap(uint256,uint256,address,bytes)",
	"95d89b41": "symbol()",
	"fff6cae9": "sync()",
	"0dfe1681": "token0()",
	"d21220a7": "token1()",
	"18160ddd": "totalSupply()",
	"a9059cbb": "transfer(address,uint256)",
	"23b872dd": "transferFrom(address,address,uint256)",
}

UniswapV2PairFuncSigs maps the 4-byte function signature to its string representation.

Functions

This section is empty.

Types

type Balancer

type Balancer struct {
	BalancerCaller     // Read-only binding to the contract
	BalancerTransactor // Write-only binding to the contract
	BalancerFilterer   // Log filterer for contract events
}

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

func NewBalancer

func NewBalancer(address common.Address, backend bind.ContractBackend) (*Balancer, error)

NewBalancer creates a new instance of Balancer, bound to a specific deployed contract.

type BalancerApproval

type BalancerApproval struct {
	Src common.Address
	Dst common.Address
	Amt *big.Int
	Raw types.Log // Blockchain specific contextual infos
}

BalancerApproval represents a Approval event raised by the Balancer contract.

type BalancerApprovalIterator

type BalancerApprovalIterator struct {
	Event *BalancerApproval // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

BalancerApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the Balancer contract.

func (*BalancerApprovalIterator) Close

func (it *BalancerApprovalIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*BalancerApprovalIterator) Error

func (it *BalancerApprovalIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*BalancerApprovalIterator) Next

func (it *BalancerApprovalIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type BalancerCaller

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

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

func NewBalancerCaller

func NewBalancerCaller(address common.Address, caller bind.ContractCaller) (*BalancerCaller, error)

NewBalancerCaller creates a new read-only instance of Balancer, bound to a specific deployed contract.

func (*BalancerCaller) Allowance

func (_Balancer *BalancerCaller) Allowance(opts *bind.CallOpts, src common.Address, dst common.Address) (*big.Int, error)

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

Solidity: function allowance(address src, address dst) view returns(uint256)

func (*BalancerCaller) BONE

func (_Balancer *BalancerCaller) BONE(opts *bind.CallOpts) (*big.Int, error)

BONE is a free data retrieval call binding the contract method 0xc36596a6.

Solidity: function BONE() view returns(uint256)

func (*BalancerCaller) BPOWPRECISION

func (_Balancer *BalancerCaller) BPOWPRECISION(opts *bind.CallOpts) (*big.Int, error)

BPOWPRECISION is a free data retrieval call binding the contract method 0x189d00ca.

Solidity: function BPOW_PRECISION() view returns(uint256)

func (*BalancerCaller) BalanceOf

func (_Balancer *BalancerCaller) BalanceOf(opts *bind.CallOpts, whom common.Address) (*big.Int, error)

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

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

func (*BalancerCaller) CalcInGivenOut

func (_Balancer *BalancerCaller) CalcInGivenOut(opts *bind.CallOpts, tokenBalanceIn *big.Int, tokenWeightIn *big.Int, tokenBalanceOut *big.Int, tokenWeightOut *big.Int, tokenAmountOut *big.Int, swapFee *big.Int) (*big.Int, error)

CalcInGivenOut is a free data retrieval call binding the contract method 0xf8d6aed4.

Solidity: function calcInGivenOut(uint256 tokenBalanceIn, uint256 tokenWeightIn, uint256 tokenBalanceOut, uint256 tokenWeightOut, uint256 tokenAmountOut, uint256 swapFee) pure returns(uint256 tokenAmountIn)

func (*BalancerCaller) CalcOutGivenIn

func (_Balancer *BalancerCaller) CalcOutGivenIn(opts *bind.CallOpts, tokenBalanceIn *big.Int, tokenWeightIn *big.Int, tokenBalanceOut *big.Int, tokenWeightOut *big.Int, tokenAmountIn *big.Int, swapFee *big.Int) (*big.Int, error)

CalcOutGivenIn is a free data retrieval call binding the contract method 0xba9530a6.

Solidity: function calcOutGivenIn(uint256 tokenBalanceIn, uint256 tokenWeightIn, uint256 tokenBalanceOut, uint256 tokenWeightOut, uint256 tokenAmountIn, uint256 swapFee) pure returns(uint256 tokenAmountOut)

func (*BalancerCaller) CalcPoolInGivenSingleOut

func (_Balancer *BalancerCaller) CalcPoolInGivenSingleOut(opts *bind.CallOpts, tokenBalanceOut *big.Int, tokenWeightOut *big.Int, poolSupply *big.Int, totalWeight *big.Int, tokenAmountOut *big.Int, swapFee *big.Int) (*big.Int, error)

CalcPoolInGivenSingleOut is a free data retrieval call binding the contract method 0x82f652ad.

Solidity: function calcPoolInGivenSingleOut(uint256 tokenBalanceOut, uint256 tokenWeightOut, uint256 poolSupply, uint256 totalWeight, uint256 tokenAmountOut, uint256 swapFee) pure returns(uint256 poolAmountIn)

func (*BalancerCaller) CalcPoolOutGivenSingleIn

func (_Balancer *BalancerCaller) CalcPoolOutGivenSingleIn(opts *bind.CallOpts, tokenBalanceIn *big.Int, tokenWeightIn *big.Int, poolSupply *big.Int, totalWeight *big.Int, tokenAmountIn *big.Int, swapFee *big.Int) (*big.Int, error)

CalcPoolOutGivenSingleIn is a free data retrieval call binding the contract method 0x8656b653.

Solidity: function calcPoolOutGivenSingleIn(uint256 tokenBalanceIn, uint256 tokenWeightIn, uint256 poolSupply, uint256 totalWeight, uint256 tokenAmountIn, uint256 swapFee) pure returns(uint256 poolAmountOut)

func (*BalancerCaller) CalcSingleInGivenPoolOut

func (_Balancer *BalancerCaller) CalcSingleInGivenPoolOut(opts *bind.CallOpts, tokenBalanceIn *big.Int, tokenWeightIn *big.Int, poolSupply *big.Int, totalWeight *big.Int, poolAmountOut *big.Int, swapFee *big.Int) (*big.Int, error)

CalcSingleInGivenPoolOut is a free data retrieval call binding the contract method 0x5c1bbaf7.

Solidity: function calcSingleInGivenPoolOut(uint256 tokenBalanceIn, uint256 tokenWeightIn, uint256 poolSupply, uint256 totalWeight, uint256 poolAmountOut, uint256 swapFee) pure returns(uint256 tokenAmountIn)

func (*BalancerCaller) CalcSingleOutGivenPoolIn

func (_Balancer *BalancerCaller) CalcSingleOutGivenPoolIn(opts *bind.CallOpts, tokenBalanceOut *big.Int, tokenWeightOut *big.Int, poolSupply *big.Int, totalWeight *big.Int, poolAmountIn *big.Int, swapFee *big.Int) (*big.Int, error)

CalcSingleOutGivenPoolIn is a free data retrieval call binding the contract method 0x89298012.

Solidity: function calcSingleOutGivenPoolIn(uint256 tokenBalanceOut, uint256 tokenWeightOut, uint256 poolSupply, uint256 totalWeight, uint256 poolAmountIn, uint256 swapFee) pure returns(uint256 tokenAmountOut)

func (*BalancerCaller) CalcSpotPrice

func (_Balancer *BalancerCaller) CalcSpotPrice(opts *bind.CallOpts, tokenBalanceIn *big.Int, tokenWeightIn *big.Int, tokenBalanceOut *big.Int, tokenWeightOut *big.Int, swapFee *big.Int) (*big.Int, error)

CalcSpotPrice is a free data retrieval call binding the contract method 0xa221ee49.

Solidity: function calcSpotPrice(uint256 tokenBalanceIn, uint256 tokenWeightIn, uint256 tokenBalanceOut, uint256 tokenWeightOut, uint256 swapFee) pure returns(uint256 spotPrice)

func (*BalancerCaller) Decimals

func (_Balancer *BalancerCaller) 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 (*BalancerCaller) EXITFEE

func (_Balancer *BalancerCaller) EXITFEE(opts *bind.CallOpts) (*big.Int, error)

EXITFEE is a free data retrieval call binding the contract method 0xc6580d12.

Solidity: function EXIT_FEE() view returns(uint256)

func (*BalancerCaller) GetBalance

func (_Balancer *BalancerCaller) GetBalance(opts *bind.CallOpts, token common.Address) (*big.Int, error)

GetBalance is a free data retrieval call binding the contract method 0xf8b2cb4f.

Solidity: function getBalance(address token) view returns(uint256)

func (*BalancerCaller) GetColor

func (_Balancer *BalancerCaller) GetColor(opts *bind.CallOpts) ([32]byte, error)

GetColor is a free data retrieval call binding the contract method 0x9a86139b.

Solidity: function getColor() view returns(bytes32)

func (*BalancerCaller) GetController

func (_Balancer *BalancerCaller) GetController(opts *bind.CallOpts) (common.Address, error)

GetController is a free data retrieval call binding the contract method 0x3018205f.

Solidity: function getController() view returns(address)

func (*BalancerCaller) GetCurrentTokens

func (_Balancer *BalancerCaller) GetCurrentTokens(opts *bind.CallOpts) ([]common.Address, error)

GetCurrentTokens is a free data retrieval call binding the contract method 0xcc77828d.

Solidity: function getCurrentTokens() view returns(address[] tokens)

func (*BalancerCaller) GetDenormalizedWeight

func (_Balancer *BalancerCaller) GetDenormalizedWeight(opts *bind.CallOpts, token common.Address) (*big.Int, error)

GetDenormalizedWeight is a free data retrieval call binding the contract method 0x948d8ce6.

Solidity: function getDenormalizedWeight(address token) view returns(uint256)

func (*BalancerCaller) GetFinalTokens

func (_Balancer *BalancerCaller) GetFinalTokens(opts *bind.CallOpts) ([]common.Address, error)

GetFinalTokens is a free data retrieval call binding the contract method 0xbe3bbd2e.

Solidity: function getFinalTokens() view returns(address[] tokens)

func (*BalancerCaller) GetNormalizedWeight

func (_Balancer *BalancerCaller) GetNormalizedWeight(opts *bind.CallOpts, token common.Address) (*big.Int, error)

GetNormalizedWeight is a free data retrieval call binding the contract method 0xf1b8a9b7.

Solidity: function getNormalizedWeight(address token) view returns(uint256)

func (*BalancerCaller) GetNumTokens

func (_Balancer *BalancerCaller) GetNumTokens(opts *bind.CallOpts) (*big.Int, error)

GetNumTokens is a free data retrieval call binding the contract method 0xcd2ed8fb.

Solidity: function getNumTokens() view returns(uint256)

func (*BalancerCaller) GetSpotPrice

func (_Balancer *BalancerCaller) GetSpotPrice(opts *bind.CallOpts, tokenIn common.Address, tokenOut common.Address) (*big.Int, error)

GetSpotPrice is a free data retrieval call binding the contract method 0x15e84af9.

Solidity: function getSpotPrice(address tokenIn, address tokenOut) view returns(uint256 spotPrice)

func (*BalancerCaller) GetSpotPriceSansFee

func (_Balancer *BalancerCaller) GetSpotPriceSansFee(opts *bind.CallOpts, tokenIn common.Address, tokenOut common.Address) (*big.Int, error)

GetSpotPriceSansFee is a free data retrieval call binding the contract method 0x1446a7ff.

Solidity: function getSpotPriceSansFee(address tokenIn, address tokenOut) view returns(uint256 spotPrice)

func (*BalancerCaller) GetSwapFee

func (_Balancer *BalancerCaller) GetSwapFee(opts *bind.CallOpts) (*big.Int, error)

GetSwapFee is a free data retrieval call binding the contract method 0xd4cadf68.

Solidity: function getSwapFee() view returns(uint256)

func (*BalancerCaller) GetTotalDenormalizedWeight

func (_Balancer *BalancerCaller) GetTotalDenormalizedWeight(opts *bind.CallOpts) (*big.Int, error)

GetTotalDenormalizedWeight is a free data retrieval call binding the contract method 0x936c3477.

Solidity: function getTotalDenormalizedWeight() view returns(uint256)

func (*BalancerCaller) INITPOOLSUPPLY

func (_Balancer *BalancerCaller) INITPOOLSUPPLY(opts *bind.CallOpts) (*big.Int, error)

INITPOOLSUPPLY is a free data retrieval call binding the contract method 0x9381cd2b.

Solidity: function INIT_POOL_SUPPLY() view returns(uint256)

func (*BalancerCaller) IsBound

func (_Balancer *BalancerCaller) IsBound(opts *bind.CallOpts, t common.Address) (bool, error)

IsBound is a free data retrieval call binding the contract method 0x2f37b624.

Solidity: function isBound(address t) view returns(bool)

func (*BalancerCaller) IsFinalized

func (_Balancer *BalancerCaller) IsFinalized(opts *bind.CallOpts) (bool, error)

IsFinalized is a free data retrieval call binding the contract method 0x8d4e4083.

Solidity: function isFinalized() view returns(bool)

func (*BalancerCaller) IsPublicSwap

func (_Balancer *BalancerCaller) IsPublicSwap(opts *bind.CallOpts) (bool, error)

IsPublicSwap is a free data retrieval call binding the contract method 0xfde924f7.

Solidity: function isPublicSwap() view returns(bool)

func (*BalancerCaller) MAXBOUNDTOKENS

func (_Balancer *BalancerCaller) MAXBOUNDTOKENS(opts *bind.CallOpts) (*big.Int, error)

MAXBOUNDTOKENS is a free data retrieval call binding the contract method 0xb0e0d136.

Solidity: function MAX_BOUND_TOKENS() view returns(uint256)

func (*BalancerCaller) MAXBPOWBASE

func (_Balancer *BalancerCaller) MAXBPOWBASE(opts *bind.CallOpts) (*big.Int, error)

MAXBPOWBASE is a free data retrieval call binding the contract method 0xbc694ea2.

Solidity: function MAX_BPOW_BASE() view returns(uint256)

func (*BalancerCaller) MAXFEE

func (_Balancer *BalancerCaller) MAXFEE(opts *bind.CallOpts) (*big.Int, error)

MAXFEE is a free data retrieval call binding the contract method 0xbc063e1a.

Solidity: function MAX_FEE() view returns(uint256)

func (*BalancerCaller) MAXINRATIO

func (_Balancer *BalancerCaller) MAXINRATIO(opts *bind.CallOpts) (*big.Int, error)

MAXINRATIO is a free data retrieval call binding the contract method 0xec093021.

Solidity: function MAX_IN_RATIO() view returns(uint256)

func (*BalancerCaller) MAXOUTRATIO

func (_Balancer *BalancerCaller) MAXOUTRATIO(opts *bind.CallOpts) (*big.Int, error)

MAXOUTRATIO is a free data retrieval call binding the contract method 0x992e2a92.

Solidity: function MAX_OUT_RATIO() view returns(uint256)

func (*BalancerCaller) MAXTOTALWEIGHT

func (_Balancer *BalancerCaller) MAXTOTALWEIGHT(opts *bind.CallOpts) (*big.Int, error)

MAXTOTALWEIGHT is a free data retrieval call binding the contract method 0x09a3bbe4.

Solidity: function MAX_TOTAL_WEIGHT() view returns(uint256)

func (*BalancerCaller) MAXWEIGHT

func (_Balancer *BalancerCaller) MAXWEIGHT(opts *bind.CallOpts) (*big.Int, error)

MAXWEIGHT is a free data retrieval call binding the contract method 0xe4a28a52.

Solidity: function MAX_WEIGHT() view returns(uint256)

func (*BalancerCaller) MINBALANCE

func (_Balancer *BalancerCaller) MINBALANCE(opts *bind.CallOpts) (*big.Int, error)

MINBALANCE is a free data retrieval call binding the contract method 0x867378c5.

Solidity: function MIN_BALANCE() view returns(uint256)

func (*BalancerCaller) MINBOUNDTOKENS

func (_Balancer *BalancerCaller) MINBOUNDTOKENS(opts *bind.CallOpts) (*big.Int, error)

MINBOUNDTOKENS is a free data retrieval call binding the contract method 0xb7b800a4.

Solidity: function MIN_BOUND_TOKENS() view returns(uint256)

func (*BalancerCaller) MINBPOWBASE

func (_Balancer *BalancerCaller) MINBPOWBASE(opts *bind.CallOpts) (*big.Int, error)

MINBPOWBASE is a free data retrieval call binding the contract method 0xba019dab.

Solidity: function MIN_BPOW_BASE() view returns(uint256)

func (*BalancerCaller) MINFEE

func (_Balancer *BalancerCaller) MINFEE(opts *bind.CallOpts) (*big.Int, error)

MINFEE is a free data retrieval call binding the contract method 0x76c7a3c7.

Solidity: function MIN_FEE() view returns(uint256)

func (*BalancerCaller) MINWEIGHT

func (_Balancer *BalancerCaller) MINWEIGHT(opts *bind.CallOpts) (*big.Int, error)

MINWEIGHT is a free data retrieval call binding the contract method 0x218b5382.

Solidity: function MIN_WEIGHT() view returns(uint256)

func (*BalancerCaller) Name

func (_Balancer *BalancerCaller) 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 (*BalancerCaller) Symbol

func (_Balancer *BalancerCaller) 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 (*BalancerCaller) TotalSupply

func (_Balancer *BalancerCaller) 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)

type BalancerCallerRaw

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

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

func (*BalancerCallerRaw) Call

func (_Balancer *BalancerCallerRaw) 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 BalancerCallerSession

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

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

func (*BalancerCallerSession) Allowance

func (_Balancer *BalancerCallerSession) Allowance(src common.Address, dst common.Address) (*big.Int, error)

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

Solidity: function allowance(address src, address dst) view returns(uint256)

func (*BalancerCallerSession) BONE

func (_Balancer *BalancerCallerSession) BONE() (*big.Int, error)

BONE is a free data retrieval call binding the contract method 0xc36596a6.

Solidity: function BONE() view returns(uint256)

func (*BalancerCallerSession) BPOWPRECISION

func (_Balancer *BalancerCallerSession) BPOWPRECISION() (*big.Int, error)

BPOWPRECISION is a free data retrieval call binding the contract method 0x189d00ca.

Solidity: function BPOW_PRECISION() view returns(uint256)

func (*BalancerCallerSession) BalanceOf

func (_Balancer *BalancerCallerSession) BalanceOf(whom common.Address) (*big.Int, error)

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

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

func (*BalancerCallerSession) CalcInGivenOut

func (_Balancer *BalancerCallerSession) CalcInGivenOut(tokenBalanceIn *big.Int, tokenWeightIn *big.Int, tokenBalanceOut *big.Int, tokenWeightOut *big.Int, tokenAmountOut *big.Int, swapFee *big.Int) (*big.Int, error)

CalcInGivenOut is a free data retrieval call binding the contract method 0xf8d6aed4.

Solidity: function calcInGivenOut(uint256 tokenBalanceIn, uint256 tokenWeightIn, uint256 tokenBalanceOut, uint256 tokenWeightOut, uint256 tokenAmountOut, uint256 swapFee) pure returns(uint256 tokenAmountIn)

func (*BalancerCallerSession) CalcOutGivenIn

func (_Balancer *BalancerCallerSession) CalcOutGivenIn(tokenBalanceIn *big.Int, tokenWeightIn *big.Int, tokenBalanceOut *big.Int, tokenWeightOut *big.Int, tokenAmountIn *big.Int, swapFee *big.Int) (*big.Int, error)

CalcOutGivenIn is a free data retrieval call binding the contract method 0xba9530a6.

Solidity: function calcOutGivenIn(uint256 tokenBalanceIn, uint256 tokenWeightIn, uint256 tokenBalanceOut, uint256 tokenWeightOut, uint256 tokenAmountIn, uint256 swapFee) pure returns(uint256 tokenAmountOut)

func (*BalancerCallerSession) CalcPoolInGivenSingleOut

func (_Balancer *BalancerCallerSession) CalcPoolInGivenSingleOut(tokenBalanceOut *big.Int, tokenWeightOut *big.Int, poolSupply *big.Int, totalWeight *big.Int, tokenAmountOut *big.Int, swapFee *big.Int) (*big.Int, error)

CalcPoolInGivenSingleOut is a free data retrieval call binding the contract method 0x82f652ad.

Solidity: function calcPoolInGivenSingleOut(uint256 tokenBalanceOut, uint256 tokenWeightOut, uint256 poolSupply, uint256 totalWeight, uint256 tokenAmountOut, uint256 swapFee) pure returns(uint256 poolAmountIn)

func (*BalancerCallerSession) CalcPoolOutGivenSingleIn

func (_Balancer *BalancerCallerSession) CalcPoolOutGivenSingleIn(tokenBalanceIn *big.Int, tokenWeightIn *big.Int, poolSupply *big.Int, totalWeight *big.Int, tokenAmountIn *big.Int, swapFee *big.Int) (*big.Int, error)

CalcPoolOutGivenSingleIn is a free data retrieval call binding the contract method 0x8656b653.

Solidity: function calcPoolOutGivenSingleIn(uint256 tokenBalanceIn, uint256 tokenWeightIn, uint256 poolSupply, uint256 totalWeight, uint256 tokenAmountIn, uint256 swapFee) pure returns(uint256 poolAmountOut)

func (*BalancerCallerSession) CalcSingleInGivenPoolOut

func (_Balancer *BalancerCallerSession) CalcSingleInGivenPoolOut(tokenBalanceIn *big.Int, tokenWeightIn *big.Int, poolSupply *big.Int, totalWeight *big.Int, poolAmountOut *big.Int, swapFee *big.Int) (*big.Int, error)

CalcSingleInGivenPoolOut is a free data retrieval call binding the contract method 0x5c1bbaf7.

Solidity: function calcSingleInGivenPoolOut(uint256 tokenBalanceIn, uint256 tokenWeightIn, uint256 poolSupply, uint256 totalWeight, uint256 poolAmountOut, uint256 swapFee) pure returns(uint256 tokenAmountIn)

func (*BalancerCallerSession) CalcSingleOutGivenPoolIn

func (_Balancer *BalancerCallerSession) CalcSingleOutGivenPoolIn(tokenBalanceOut *big.Int, tokenWeightOut *big.Int, poolSupply *big.Int, totalWeight *big.Int, poolAmountIn *big.Int, swapFee *big.Int) (*big.Int, error)

CalcSingleOutGivenPoolIn is a free data retrieval call binding the contract method 0x89298012.

Solidity: function calcSingleOutGivenPoolIn(uint256 tokenBalanceOut, uint256 tokenWeightOut, uint256 poolSupply, uint256 totalWeight, uint256 poolAmountIn, uint256 swapFee) pure returns(uint256 tokenAmountOut)

func (*BalancerCallerSession) CalcSpotPrice

func (_Balancer *BalancerCallerSession) CalcSpotPrice(tokenBalanceIn *big.Int, tokenWeightIn *big.Int, tokenBalanceOut *big.Int, tokenWeightOut *big.Int, swapFee *big.Int) (*big.Int, error)

CalcSpotPrice is a free data retrieval call binding the contract method 0xa221ee49.

Solidity: function calcSpotPrice(uint256 tokenBalanceIn, uint256 tokenWeightIn, uint256 tokenBalanceOut, uint256 tokenWeightOut, uint256 swapFee) pure returns(uint256 spotPrice)

func (*BalancerCallerSession) Decimals

func (_Balancer *BalancerCallerSession) Decimals() (uint8, error)

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

Solidity: function decimals() view returns(uint8)

func (*BalancerCallerSession) EXITFEE

func (_Balancer *BalancerCallerSession) EXITFEE() (*big.Int, error)

EXITFEE is a free data retrieval call binding the contract method 0xc6580d12.

Solidity: function EXIT_FEE() view returns(uint256)

func (*BalancerCallerSession) GetBalance

func (_Balancer *BalancerCallerSession) GetBalance(token common.Address) (*big.Int, error)

GetBalance is a free data retrieval call binding the contract method 0xf8b2cb4f.

Solidity: function getBalance(address token) view returns(uint256)

func (*BalancerCallerSession) GetColor

func (_Balancer *BalancerCallerSession) GetColor() ([32]byte, error)

GetColor is a free data retrieval call binding the contract method 0x9a86139b.

Solidity: function getColor() view returns(bytes32)

func (*BalancerCallerSession) GetController

func (_Balancer *BalancerCallerSession) GetController() (common.Address, error)

GetController is a free data retrieval call binding the contract method 0x3018205f.

Solidity: function getController() view returns(address)

func (*BalancerCallerSession) GetCurrentTokens

func (_Balancer *BalancerCallerSession) GetCurrentTokens() ([]common.Address, error)

GetCurrentTokens is a free data retrieval call binding the contract method 0xcc77828d.

Solidity: function getCurrentTokens() view returns(address[] tokens)

func (*BalancerCallerSession) GetDenormalizedWeight

func (_Balancer *BalancerCallerSession) GetDenormalizedWeight(token common.Address) (*big.Int, error)

GetDenormalizedWeight is a free data retrieval call binding the contract method 0x948d8ce6.

Solidity: function getDenormalizedWeight(address token) view returns(uint256)

func (*BalancerCallerSession) GetFinalTokens

func (_Balancer *BalancerCallerSession) GetFinalTokens() ([]common.Address, error)

GetFinalTokens is a free data retrieval call binding the contract method 0xbe3bbd2e.

Solidity: function getFinalTokens() view returns(address[] tokens)

func (*BalancerCallerSession) GetNormalizedWeight

func (_Balancer *BalancerCallerSession) GetNormalizedWeight(token common.Address) (*big.Int, error)

GetNormalizedWeight is a free data retrieval call binding the contract method 0xf1b8a9b7.

Solidity: function getNormalizedWeight(address token) view returns(uint256)

func (*BalancerCallerSession) GetNumTokens

func (_Balancer *BalancerCallerSession) GetNumTokens() (*big.Int, error)

GetNumTokens is a free data retrieval call binding the contract method 0xcd2ed8fb.

Solidity: function getNumTokens() view returns(uint256)

func (*BalancerCallerSession) GetSpotPrice

func (_Balancer *BalancerCallerSession) GetSpotPrice(tokenIn common.Address, tokenOut common.Address) (*big.Int, error)

GetSpotPrice is a free data retrieval call binding the contract method 0x15e84af9.

Solidity: function getSpotPrice(address tokenIn, address tokenOut) view returns(uint256 spotPrice)

func (*BalancerCallerSession) GetSpotPriceSansFee

func (_Balancer *BalancerCallerSession) GetSpotPriceSansFee(tokenIn common.Address, tokenOut common.Address) (*big.Int, error)

GetSpotPriceSansFee is a free data retrieval call binding the contract method 0x1446a7ff.

Solidity: function getSpotPriceSansFee(address tokenIn, address tokenOut) view returns(uint256 spotPrice)

func (*BalancerCallerSession) GetSwapFee

func (_Balancer *BalancerCallerSession) GetSwapFee() (*big.Int, error)

GetSwapFee is a free data retrieval call binding the contract method 0xd4cadf68.

Solidity: function getSwapFee() view returns(uint256)

func (*BalancerCallerSession) GetTotalDenormalizedWeight

func (_Balancer *BalancerCallerSession) GetTotalDenormalizedWeight() (*big.Int, error)

GetTotalDenormalizedWeight is a free data retrieval call binding the contract method 0x936c3477.

Solidity: function getTotalDenormalizedWeight() view returns(uint256)

func (*BalancerCallerSession) INITPOOLSUPPLY

func (_Balancer *BalancerCallerSession) INITPOOLSUPPLY() (*big.Int, error)

INITPOOLSUPPLY is a free data retrieval call binding the contract method 0x9381cd2b.

Solidity: function INIT_POOL_SUPPLY() view returns(uint256)

func (*BalancerCallerSession) IsBound

func (_Balancer *BalancerCallerSession) IsBound(t common.Address) (bool, error)

IsBound is a free data retrieval call binding the contract method 0x2f37b624.

Solidity: function isBound(address t) view returns(bool)

func (*BalancerCallerSession) IsFinalized

func (_Balancer *BalancerCallerSession) IsFinalized() (bool, error)

IsFinalized is a free data retrieval call binding the contract method 0x8d4e4083.

Solidity: function isFinalized() view returns(bool)

func (*BalancerCallerSession) IsPublicSwap

func (_Balancer *BalancerCallerSession) IsPublicSwap() (bool, error)

IsPublicSwap is a free data retrieval call binding the contract method 0xfde924f7.

Solidity: function isPublicSwap() view returns(bool)

func (*BalancerCallerSession) MAXBOUNDTOKENS

func (_Balancer *BalancerCallerSession) MAXBOUNDTOKENS() (*big.Int, error)

MAXBOUNDTOKENS is a free data retrieval call binding the contract method 0xb0e0d136.

Solidity: function MAX_BOUND_TOKENS() view returns(uint256)

func (*BalancerCallerSession) MAXBPOWBASE

func (_Balancer *BalancerCallerSession) MAXBPOWBASE() (*big.Int, error)

MAXBPOWBASE is a free data retrieval call binding the contract method 0xbc694ea2.

Solidity: function MAX_BPOW_BASE() view returns(uint256)

func (*BalancerCallerSession) MAXFEE

func (_Balancer *BalancerCallerSession) MAXFEE() (*big.Int, error)

MAXFEE is a free data retrieval call binding the contract method 0xbc063e1a.

Solidity: function MAX_FEE() view returns(uint256)

func (*BalancerCallerSession) MAXINRATIO

func (_Balancer *BalancerCallerSession) MAXINRATIO() (*big.Int, error)

MAXINRATIO is a free data retrieval call binding the contract method 0xec093021.

Solidity: function MAX_IN_RATIO() view returns(uint256)

func (*BalancerCallerSession) MAXOUTRATIO

func (_Balancer *BalancerCallerSession) MAXOUTRATIO() (*big.Int, error)

MAXOUTRATIO is a free data retrieval call binding the contract method 0x992e2a92.

Solidity: function MAX_OUT_RATIO() view returns(uint256)

func (*BalancerCallerSession) MAXTOTALWEIGHT

func (_Balancer *BalancerCallerSession) MAXTOTALWEIGHT() (*big.Int, error)

MAXTOTALWEIGHT is a free data retrieval call binding the contract method 0x09a3bbe4.

Solidity: function MAX_TOTAL_WEIGHT() view returns(uint256)

func (*BalancerCallerSession) MAXWEIGHT

func (_Balancer *BalancerCallerSession) MAXWEIGHT() (*big.Int, error)

MAXWEIGHT is a free data retrieval call binding the contract method 0xe4a28a52.

Solidity: function MAX_WEIGHT() view returns(uint256)

func (*BalancerCallerSession) MINBALANCE

func (_Balancer *BalancerCallerSession) MINBALANCE() (*big.Int, error)

MINBALANCE is a free data retrieval call binding the contract method 0x867378c5.

Solidity: function MIN_BALANCE() view returns(uint256)

func (*BalancerCallerSession) MINBOUNDTOKENS

func (_Balancer *BalancerCallerSession) MINBOUNDTOKENS() (*big.Int, error)

MINBOUNDTOKENS is a free data retrieval call binding the contract method 0xb7b800a4.

Solidity: function MIN_BOUND_TOKENS() view returns(uint256)

func (*BalancerCallerSession) MINBPOWBASE

func (_Balancer *BalancerCallerSession) MINBPOWBASE() (*big.Int, error)

MINBPOWBASE is a free data retrieval call binding the contract method 0xba019dab.

Solidity: function MIN_BPOW_BASE() view returns(uint256)

func (*BalancerCallerSession) MINFEE

func (_Balancer *BalancerCallerSession) MINFEE() (*big.Int, error)

MINFEE is a free data retrieval call binding the contract method 0x76c7a3c7.

Solidity: function MIN_FEE() view returns(uint256)

func (*BalancerCallerSession) MINWEIGHT

func (_Balancer *BalancerCallerSession) MINWEIGHT() (*big.Int, error)

MINWEIGHT is a free data retrieval call binding the contract method 0x218b5382.

Solidity: function MIN_WEIGHT() view returns(uint256)

func (*BalancerCallerSession) Name

func (_Balancer *BalancerCallerSession) Name() (string, error)

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

Solidity: function name() view returns(string)

func (*BalancerCallerSession) Symbol

func (_Balancer *BalancerCallerSession) Symbol() (string, error)

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

Solidity: function symbol() view returns(string)

func (*BalancerCallerSession) TotalSupply

func (_Balancer *BalancerCallerSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

type BalancerFilterer

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

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

func NewBalancerFilterer

func NewBalancerFilterer(address common.Address, filterer bind.ContractFilterer) (*BalancerFilterer, error)

NewBalancerFilterer creates a new log filterer instance of Balancer, bound to a specific deployed contract.

func (*BalancerFilterer) FilterApproval

func (_Balancer *BalancerFilterer) FilterApproval(opts *bind.FilterOpts, src []common.Address, dst []common.Address) (*BalancerApprovalIterator, error)

FilterApproval is a free log retrieval operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed src, address indexed dst, uint256 amt)

func (*BalancerFilterer) FilterLOGEXIT

func (_Balancer *BalancerFilterer) FilterLOGEXIT(opts *bind.FilterOpts, caller []common.Address, tokenOut []common.Address) (*BalancerLOGEXITIterator, error)

FilterLOGEXIT is a free log retrieval operation binding the contract event 0xe74c91552b64c2e2e7bd255639e004e693bd3e1d01cc33e65610b86afcc1ffed.

Solidity: event LOG_EXIT(address indexed caller, address indexed tokenOut, uint256 tokenAmountOut)

func (*BalancerFilterer) FilterLOGJOIN

func (_Balancer *BalancerFilterer) FilterLOGJOIN(opts *bind.FilterOpts, caller []common.Address, tokenIn []common.Address) (*BalancerLOGJOINIterator, error)

FilterLOGJOIN is a free log retrieval operation binding the contract event 0x63982df10efd8dfaaaa0fcc7f50b2d93b7cba26ccc48adee2873220d485dc39a.

Solidity: event LOG_JOIN(address indexed caller, address indexed tokenIn, uint256 tokenAmountIn)

func (*BalancerFilterer) FilterLOGSWAP

func (_Balancer *BalancerFilterer) FilterLOGSWAP(opts *bind.FilterOpts, caller []common.Address, tokenIn []common.Address, tokenOut []common.Address) (*BalancerLOGSWAPIterator, error)

FilterLOGSWAP is a free log retrieval operation binding the contract event 0x908fb5ee8f16c6bc9bc3690973819f32a4d4b10188134543c88706e0e1d43378.

Solidity: event LOG_SWAP(address indexed caller, address indexed tokenIn, address indexed tokenOut, uint256 tokenAmountIn, uint256 tokenAmountOut)

func (*BalancerFilterer) FilterTransfer

func (_Balancer *BalancerFilterer) FilterTransfer(opts *bind.FilterOpts, src []common.Address, dst []common.Address) (*BalancerTransferIterator, error)

FilterTransfer is a free log retrieval operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed src, address indexed dst, uint256 amt)

func (*BalancerFilterer) ParseApproval

func (_Balancer *BalancerFilterer) ParseApproval(log types.Log) (*BalancerApproval, error)

ParseApproval is a log parse operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed src, address indexed dst, uint256 amt)

func (*BalancerFilterer) ParseLOGEXIT

func (_Balancer *BalancerFilterer) ParseLOGEXIT(log types.Log) (*BalancerLOGEXIT, error)

ParseLOGEXIT is a log parse operation binding the contract event 0xe74c91552b64c2e2e7bd255639e004e693bd3e1d01cc33e65610b86afcc1ffed.

Solidity: event LOG_EXIT(address indexed caller, address indexed tokenOut, uint256 tokenAmountOut)

func (*BalancerFilterer) ParseLOGJOIN

func (_Balancer *BalancerFilterer) ParseLOGJOIN(log types.Log) (*BalancerLOGJOIN, error)

ParseLOGJOIN is a log parse operation binding the contract event 0x63982df10efd8dfaaaa0fcc7f50b2d93b7cba26ccc48adee2873220d485dc39a.

Solidity: event LOG_JOIN(address indexed caller, address indexed tokenIn, uint256 tokenAmountIn)

func (*BalancerFilterer) ParseLOGSWAP

func (_Balancer *BalancerFilterer) ParseLOGSWAP(log types.Log) (*BalancerLOGSWAP, error)

ParseLOGSWAP is a log parse operation binding the contract event 0x908fb5ee8f16c6bc9bc3690973819f32a4d4b10188134543c88706e0e1d43378.

Solidity: event LOG_SWAP(address indexed caller, address indexed tokenIn, address indexed tokenOut, uint256 tokenAmountIn, uint256 tokenAmountOut)

func (*BalancerFilterer) ParseTransfer

func (_Balancer *BalancerFilterer) ParseTransfer(log types.Log) (*BalancerTransfer, error)

ParseTransfer is a log parse operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed src, address indexed dst, uint256 amt)

func (*BalancerFilterer) WatchApproval

func (_Balancer *BalancerFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *BalancerApproval, src []common.Address, dst []common.Address) (event.Subscription, error)

WatchApproval is a free log subscription operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed src, address indexed dst, uint256 amt)

func (*BalancerFilterer) WatchLOGEXIT

func (_Balancer *BalancerFilterer) WatchLOGEXIT(opts *bind.WatchOpts, sink chan<- *BalancerLOGEXIT, caller []common.Address, tokenOut []common.Address) (event.Subscription, error)

WatchLOGEXIT is a free log subscription operation binding the contract event 0xe74c91552b64c2e2e7bd255639e004e693bd3e1d01cc33e65610b86afcc1ffed.

Solidity: event LOG_EXIT(address indexed caller, address indexed tokenOut, uint256 tokenAmountOut)

func (*BalancerFilterer) WatchLOGJOIN

func (_Balancer *BalancerFilterer) WatchLOGJOIN(opts *bind.WatchOpts, sink chan<- *BalancerLOGJOIN, caller []common.Address, tokenIn []common.Address) (event.Subscription, error)

WatchLOGJOIN is a free log subscription operation binding the contract event 0x63982df10efd8dfaaaa0fcc7f50b2d93b7cba26ccc48adee2873220d485dc39a.

Solidity: event LOG_JOIN(address indexed caller, address indexed tokenIn, uint256 tokenAmountIn)

func (*BalancerFilterer) WatchLOGSWAP

func (_Balancer *BalancerFilterer) WatchLOGSWAP(opts *bind.WatchOpts, sink chan<- *BalancerLOGSWAP, caller []common.Address, tokenIn []common.Address, tokenOut []common.Address) (event.Subscription, error)

WatchLOGSWAP is a free log subscription operation binding the contract event 0x908fb5ee8f16c6bc9bc3690973819f32a4d4b10188134543c88706e0e1d43378.

Solidity: event LOG_SWAP(address indexed caller, address indexed tokenIn, address indexed tokenOut, uint256 tokenAmountIn, uint256 tokenAmountOut)

func (*BalancerFilterer) WatchTransfer

func (_Balancer *BalancerFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *BalancerTransfer, src []common.Address, dst []common.Address) (event.Subscription, error)

WatchTransfer is a free log subscription operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed src, address indexed dst, uint256 amt)

type BalancerLOGEXIT

type BalancerLOGEXIT struct {
	Caller         common.Address
	TokenOut       common.Address
	TokenAmountOut *big.Int
	Raw            types.Log // Blockchain specific contextual infos
}

BalancerLOGEXIT represents a LOGEXIT event raised by the Balancer contract.

type BalancerLOGEXITIterator

type BalancerLOGEXITIterator struct {
	Event *BalancerLOGEXIT // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

BalancerLOGEXITIterator is returned from FilterLOGEXIT and is used to iterate over the raw logs and unpacked data for LOGEXIT events raised by the Balancer contract.

func (*BalancerLOGEXITIterator) Close

func (it *BalancerLOGEXITIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*BalancerLOGEXITIterator) Error

func (it *BalancerLOGEXITIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*BalancerLOGEXITIterator) Next

func (it *BalancerLOGEXITIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type BalancerLOGJOIN

type BalancerLOGJOIN struct {
	Caller        common.Address
	TokenIn       common.Address
	TokenAmountIn *big.Int
	Raw           types.Log // Blockchain specific contextual infos
}

BalancerLOGJOIN represents a LOGJOIN event raised by the Balancer contract.

type BalancerLOGJOINIterator

type BalancerLOGJOINIterator struct {
	Event *BalancerLOGJOIN // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

BalancerLOGJOINIterator is returned from FilterLOGJOIN and is used to iterate over the raw logs and unpacked data for LOGJOIN events raised by the Balancer contract.

func (*BalancerLOGJOINIterator) Close

func (it *BalancerLOGJOINIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*BalancerLOGJOINIterator) Error

func (it *BalancerLOGJOINIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*BalancerLOGJOINIterator) Next

func (it *BalancerLOGJOINIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type BalancerLOGSWAP

type BalancerLOGSWAP struct {
	Caller         common.Address
	TokenIn        common.Address
	TokenOut       common.Address
	TokenAmountIn  *big.Int
	TokenAmountOut *big.Int
	Raw            types.Log // Blockchain specific contextual infos
}

BalancerLOGSWAP represents a LOGSWAP event raised by the Balancer contract.

type BalancerLOGSWAPIterator

type BalancerLOGSWAPIterator struct {
	Event *BalancerLOGSWAP // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

BalancerLOGSWAPIterator is returned from FilterLOGSWAP and is used to iterate over the raw logs and unpacked data for LOGSWAP events raised by the Balancer contract.

func (*BalancerLOGSWAPIterator) Close

func (it *BalancerLOGSWAPIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*BalancerLOGSWAPIterator) Error

func (it *BalancerLOGSWAPIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*BalancerLOGSWAPIterator) Next

func (it *BalancerLOGSWAPIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type BalancerPool

type BalancerPool struct {
	BalancerPoolCaller     // Read-only binding to the contract
	BalancerPoolTransactor // Write-only binding to the contract
	BalancerPoolFilterer   // Log filterer for contract events
}

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

func NewBalancerPool

func NewBalancerPool(address common.Address, backend bind.ContractBackend) (*BalancerPool, error)

NewBalancerPool creates a new instance of BalancerPool, bound to a specific deployed contract.

type BalancerPoolApproval

type BalancerPoolApproval struct {
	Src common.Address
	Dst common.Address
	Amt *big.Int
	Raw types.Log // Blockchain specific contextual infos
}

BalancerPoolApproval represents a Approval event raised by the BalancerPool contract.

type BalancerPoolApprovalIterator

type BalancerPoolApprovalIterator struct {
	Event *BalancerPoolApproval // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

BalancerPoolApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the BalancerPool contract.

func (*BalancerPoolApprovalIterator) Close

func (it *BalancerPoolApprovalIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*BalancerPoolApprovalIterator) Error

func (it *BalancerPoolApprovalIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*BalancerPoolApprovalIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type BalancerPoolCaller

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

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

func NewBalancerPoolCaller

func NewBalancerPoolCaller(address common.Address, caller bind.ContractCaller) (*BalancerPoolCaller, error)

NewBalancerPoolCaller creates a new read-only instance of BalancerPool, bound to a specific deployed contract.

func (*BalancerPoolCaller) Allowance

func (_BalancerPool *BalancerPoolCaller) Allowance(opts *bind.CallOpts, src common.Address, dst common.Address) (*big.Int, error)

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

Solidity: function allowance(address src, address dst) view returns(uint256)

func (*BalancerPoolCaller) BONE

func (_BalancerPool *BalancerPoolCaller) BONE(opts *bind.CallOpts) (*big.Int, error)

BONE is a free data retrieval call binding the contract method 0xc36596a6.

Solidity: function BONE() view returns(uint256)

func (*BalancerPoolCaller) BPOWPRECISION

func (_BalancerPool *BalancerPoolCaller) BPOWPRECISION(opts *bind.CallOpts) (*big.Int, error)

BPOWPRECISION is a free data retrieval call binding the contract method 0x189d00ca.

Solidity: function BPOW_PRECISION() view returns(uint256)

func (*BalancerPoolCaller) BalanceOf

func (_BalancerPool *BalancerPoolCaller) BalanceOf(opts *bind.CallOpts, whom common.Address) (*big.Int, error)

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

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

func (*BalancerPoolCaller) CalcInGivenOut

func (_BalancerPool *BalancerPoolCaller) CalcInGivenOut(opts *bind.CallOpts, tokenBalanceIn *big.Int, tokenWeightIn *big.Int, tokenBalanceOut *big.Int, tokenWeightOut *big.Int, tokenAmountOut *big.Int, swapFee *big.Int) (*big.Int, error)

CalcInGivenOut is a free data retrieval call binding the contract method 0xf8d6aed4.

Solidity: function calcInGivenOut(uint256 tokenBalanceIn, uint256 tokenWeightIn, uint256 tokenBalanceOut, uint256 tokenWeightOut, uint256 tokenAmountOut, uint256 swapFee) pure returns(uint256 tokenAmountIn)

func (*BalancerPoolCaller) CalcOutGivenIn

func (_BalancerPool *BalancerPoolCaller) CalcOutGivenIn(opts *bind.CallOpts, tokenBalanceIn *big.Int, tokenWeightIn *big.Int, tokenBalanceOut *big.Int, tokenWeightOut *big.Int, tokenAmountIn *big.Int, swapFee *big.Int) (*big.Int, error)

CalcOutGivenIn is a free data retrieval call binding the contract method 0xba9530a6.

Solidity: function calcOutGivenIn(uint256 tokenBalanceIn, uint256 tokenWeightIn, uint256 tokenBalanceOut, uint256 tokenWeightOut, uint256 tokenAmountIn, uint256 swapFee) pure returns(uint256 tokenAmountOut)

func (*BalancerPoolCaller) CalcPoolInGivenSingleOut

func (_BalancerPool *BalancerPoolCaller) CalcPoolInGivenSingleOut(opts *bind.CallOpts, tokenBalanceOut *big.Int, tokenWeightOut *big.Int, poolSupply *big.Int, totalWeight *big.Int, tokenAmountOut *big.Int, swapFee *big.Int) (*big.Int, error)

CalcPoolInGivenSingleOut is a free data retrieval call binding the contract method 0x82f652ad.

Solidity: function calcPoolInGivenSingleOut(uint256 tokenBalanceOut, uint256 tokenWeightOut, uint256 poolSupply, uint256 totalWeight, uint256 tokenAmountOut, uint256 swapFee) pure returns(uint256 poolAmountIn)

func (*BalancerPoolCaller) CalcPoolOutGivenSingleIn

func (_BalancerPool *BalancerPoolCaller) CalcPoolOutGivenSingleIn(opts *bind.CallOpts, tokenBalanceIn *big.Int, tokenWeightIn *big.Int, poolSupply *big.Int, totalWeight *big.Int, tokenAmountIn *big.Int, swapFee *big.Int) (*big.Int, error)

CalcPoolOutGivenSingleIn is a free data retrieval call binding the contract method 0x8656b653.

Solidity: function calcPoolOutGivenSingleIn(uint256 tokenBalanceIn, uint256 tokenWeightIn, uint256 poolSupply, uint256 totalWeight, uint256 tokenAmountIn, uint256 swapFee) pure returns(uint256 poolAmountOut)

func (*BalancerPoolCaller) CalcSingleInGivenPoolOut

func (_BalancerPool *BalancerPoolCaller) CalcSingleInGivenPoolOut(opts *bind.CallOpts, tokenBalanceIn *big.Int, tokenWeightIn *big.Int, poolSupply *big.Int, totalWeight *big.Int, poolAmountOut *big.Int, swapFee *big.Int) (*big.Int, error)

CalcSingleInGivenPoolOut is a free data retrieval call binding the contract method 0x5c1bbaf7.

Solidity: function calcSingleInGivenPoolOut(uint256 tokenBalanceIn, uint256 tokenWeightIn, uint256 poolSupply, uint256 totalWeight, uint256 poolAmountOut, uint256 swapFee) pure returns(uint256 tokenAmountIn)

func (*BalancerPoolCaller) CalcSingleOutGivenPoolIn

func (_BalancerPool *BalancerPoolCaller) CalcSingleOutGivenPoolIn(opts *bind.CallOpts, tokenBalanceOut *big.Int, tokenWeightOut *big.Int, poolSupply *big.Int, totalWeight *big.Int, poolAmountIn *big.Int, swapFee *big.Int) (*big.Int, error)

CalcSingleOutGivenPoolIn is a free data retrieval call binding the contract method 0x89298012.

Solidity: function calcSingleOutGivenPoolIn(uint256 tokenBalanceOut, uint256 tokenWeightOut, uint256 poolSupply, uint256 totalWeight, uint256 poolAmountIn, uint256 swapFee) pure returns(uint256 tokenAmountOut)

func (*BalancerPoolCaller) CalcSpotPrice

func (_BalancerPool *BalancerPoolCaller) CalcSpotPrice(opts *bind.CallOpts, tokenBalanceIn *big.Int, tokenWeightIn *big.Int, tokenBalanceOut *big.Int, tokenWeightOut *big.Int, swapFee *big.Int) (*big.Int, error)

CalcSpotPrice is a free data retrieval call binding the contract method 0xa221ee49.

Solidity: function calcSpotPrice(uint256 tokenBalanceIn, uint256 tokenWeightIn, uint256 tokenBalanceOut, uint256 tokenWeightOut, uint256 swapFee) pure returns(uint256 spotPrice)

func (*BalancerPoolCaller) Decimals

func (_BalancerPool *BalancerPoolCaller) 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 (*BalancerPoolCaller) EXITFEE

func (_BalancerPool *BalancerPoolCaller) EXITFEE(opts *bind.CallOpts) (*big.Int, error)

EXITFEE is a free data retrieval call binding the contract method 0xc6580d12.

Solidity: function EXIT_FEE() view returns(uint256)

func (*BalancerPoolCaller) GetBalance

func (_BalancerPool *BalancerPoolCaller) GetBalance(opts *bind.CallOpts, token common.Address) (*big.Int, error)

GetBalance is a free data retrieval call binding the contract method 0xf8b2cb4f.

Solidity: function getBalance(address token) view returns(uint256)

func (*BalancerPoolCaller) GetColor

func (_BalancerPool *BalancerPoolCaller) GetColor(opts *bind.CallOpts) ([32]byte, error)

GetColor is a free data retrieval call binding the contract method 0x9a86139b.

Solidity: function getColor() view returns(bytes32)

func (*BalancerPoolCaller) GetController

func (_BalancerPool *BalancerPoolCaller) GetController(opts *bind.CallOpts) (common.Address, error)

GetController is a free data retrieval call binding the contract method 0x3018205f.

Solidity: function getController() view returns(address)

func (*BalancerPoolCaller) GetCurrentTokens

func (_BalancerPool *BalancerPoolCaller) GetCurrentTokens(opts *bind.CallOpts) ([]common.Address, error)

GetCurrentTokens is a free data retrieval call binding the contract method 0xcc77828d.

Solidity: function getCurrentTokens() view returns(address[] tokens)

func (*BalancerPoolCaller) GetDenormalizedWeight

func (_BalancerPool *BalancerPoolCaller) GetDenormalizedWeight(opts *bind.CallOpts, token common.Address) (*big.Int, error)

GetDenormalizedWeight is a free data retrieval call binding the contract method 0x948d8ce6.

Solidity: function getDenormalizedWeight(address token) view returns(uint256)

func (*BalancerPoolCaller) GetFinalTokens

func (_BalancerPool *BalancerPoolCaller) GetFinalTokens(opts *bind.CallOpts) ([]common.Address, error)

GetFinalTokens is a free data retrieval call binding the contract method 0xbe3bbd2e.

Solidity: function getFinalTokens() view returns(address[] tokens)

func (*BalancerPoolCaller) GetNormalizedWeight

func (_BalancerPool *BalancerPoolCaller) GetNormalizedWeight(opts *bind.CallOpts, token common.Address) (*big.Int, error)

GetNormalizedWeight is a free data retrieval call binding the contract method 0xf1b8a9b7.

Solidity: function getNormalizedWeight(address token) view returns(uint256)

func (*BalancerPoolCaller) GetNumTokens

func (_BalancerPool *BalancerPoolCaller) GetNumTokens(opts *bind.CallOpts) (*big.Int, error)

GetNumTokens is a free data retrieval call binding the contract method 0xcd2ed8fb.

Solidity: function getNumTokens() view returns(uint256)

func (*BalancerPoolCaller) GetSpotPrice

func (_BalancerPool *BalancerPoolCaller) GetSpotPrice(opts *bind.CallOpts, tokenIn common.Address, tokenOut common.Address) (*big.Int, error)

GetSpotPrice is a free data retrieval call binding the contract method 0x15e84af9.

Solidity: function getSpotPrice(address tokenIn, address tokenOut) view returns(uint256 spotPrice)

func (*BalancerPoolCaller) GetSpotPriceSansFee

func (_BalancerPool *BalancerPoolCaller) GetSpotPriceSansFee(opts *bind.CallOpts, tokenIn common.Address, tokenOut common.Address) (*big.Int, error)

GetSpotPriceSansFee is a free data retrieval call binding the contract method 0x1446a7ff.

Solidity: function getSpotPriceSansFee(address tokenIn, address tokenOut) view returns(uint256 spotPrice)

func (*BalancerPoolCaller) GetSwapFee

func (_BalancerPool *BalancerPoolCaller) GetSwapFee(opts *bind.CallOpts) (*big.Int, error)

GetSwapFee is a free data retrieval call binding the contract method 0xd4cadf68.

Solidity: function getSwapFee() view returns(uint256)

func (*BalancerPoolCaller) GetTotalDenormalizedWeight

func (_BalancerPool *BalancerPoolCaller) GetTotalDenormalizedWeight(opts *bind.CallOpts) (*big.Int, error)

GetTotalDenormalizedWeight is a free data retrieval call binding the contract method 0x936c3477.

Solidity: function getTotalDenormalizedWeight() view returns(uint256)

func (*BalancerPoolCaller) INITPOOLSUPPLY

func (_BalancerPool *BalancerPoolCaller) INITPOOLSUPPLY(opts *bind.CallOpts) (*big.Int, error)

INITPOOLSUPPLY is a free data retrieval call binding the contract method 0x9381cd2b.

Solidity: function INIT_POOL_SUPPLY() view returns(uint256)

func (*BalancerPoolCaller) IsBound

func (_BalancerPool *BalancerPoolCaller) IsBound(opts *bind.CallOpts, t common.Address) (bool, error)

IsBound is a free data retrieval call binding the contract method 0x2f37b624.

Solidity: function isBound(address t) view returns(bool)

func (*BalancerPoolCaller) IsFinalized

func (_BalancerPool *BalancerPoolCaller) IsFinalized(opts *bind.CallOpts) (bool, error)

IsFinalized is a free data retrieval call binding the contract method 0x8d4e4083.

Solidity: function isFinalized() view returns(bool)

func (*BalancerPoolCaller) IsPublicSwap

func (_BalancerPool *BalancerPoolCaller) IsPublicSwap(opts *bind.CallOpts) (bool, error)

IsPublicSwap is a free data retrieval call binding the contract method 0xfde924f7.

Solidity: function isPublicSwap() view returns(bool)

func (*BalancerPoolCaller) MAXBOUNDTOKENS

func (_BalancerPool *BalancerPoolCaller) MAXBOUNDTOKENS(opts *bind.CallOpts) (*big.Int, error)

MAXBOUNDTOKENS is a free data retrieval call binding the contract method 0xb0e0d136.

Solidity: function MAX_BOUND_TOKENS() view returns(uint256)

func (*BalancerPoolCaller) MAXBPOWBASE

func (_BalancerPool *BalancerPoolCaller) MAXBPOWBASE(opts *bind.CallOpts) (*big.Int, error)

MAXBPOWBASE is a free data retrieval call binding the contract method 0xbc694ea2.

Solidity: function MAX_BPOW_BASE() view returns(uint256)

func (*BalancerPoolCaller) MAXFEE

func (_BalancerPool *BalancerPoolCaller) MAXFEE(opts *bind.CallOpts) (*big.Int, error)

MAXFEE is a free data retrieval call binding the contract method 0xbc063e1a.

Solidity: function MAX_FEE() view returns(uint256)

func (*BalancerPoolCaller) MAXINRATIO

func (_BalancerPool *BalancerPoolCaller) MAXINRATIO(opts *bind.CallOpts) (*big.Int, error)

MAXINRATIO is a free data retrieval call binding the contract method 0xec093021.

Solidity: function MAX_IN_RATIO() view returns(uint256)

func (*BalancerPoolCaller) MAXOUTRATIO

func (_BalancerPool *BalancerPoolCaller) MAXOUTRATIO(opts *bind.CallOpts) (*big.Int, error)

MAXOUTRATIO is a free data retrieval call binding the contract method 0x992e2a92.

Solidity: function MAX_OUT_RATIO() view returns(uint256)

func (*BalancerPoolCaller) MAXTOTALWEIGHT

func (_BalancerPool *BalancerPoolCaller) MAXTOTALWEIGHT(opts *bind.CallOpts) (*big.Int, error)

MAXTOTALWEIGHT is a free data retrieval call binding the contract method 0x09a3bbe4.

Solidity: function MAX_TOTAL_WEIGHT() view returns(uint256)

func (*BalancerPoolCaller) MAXWEIGHT

func (_BalancerPool *BalancerPoolCaller) MAXWEIGHT(opts *bind.CallOpts) (*big.Int, error)

MAXWEIGHT is a free data retrieval call binding the contract method 0xe4a28a52.

Solidity: function MAX_WEIGHT() view returns(uint256)

func (*BalancerPoolCaller) MINBALANCE

func (_BalancerPool *BalancerPoolCaller) MINBALANCE(opts *bind.CallOpts) (*big.Int, error)

MINBALANCE is a free data retrieval call binding the contract method 0x867378c5.

Solidity: function MIN_BALANCE() view returns(uint256)

func (*BalancerPoolCaller) MINBOUNDTOKENS

func (_BalancerPool *BalancerPoolCaller) MINBOUNDTOKENS(opts *bind.CallOpts) (*big.Int, error)

MINBOUNDTOKENS is a free data retrieval call binding the contract method 0xb7b800a4.

Solidity: function MIN_BOUND_TOKENS() view returns(uint256)

func (*BalancerPoolCaller) MINBPOWBASE

func (_BalancerPool *BalancerPoolCaller) MINBPOWBASE(opts *bind.CallOpts) (*big.Int, error)

MINBPOWBASE is a free data retrieval call binding the contract method 0xba019dab.

Solidity: function MIN_BPOW_BASE() view returns(uint256)

func (*BalancerPoolCaller) MINFEE

func (_BalancerPool *BalancerPoolCaller) MINFEE(opts *bind.CallOpts) (*big.Int, error)

MINFEE is a free data retrieval call binding the contract method 0x76c7a3c7.

Solidity: function MIN_FEE() view returns(uint256)

func (*BalancerPoolCaller) MINWEIGHT

func (_BalancerPool *BalancerPoolCaller) MINWEIGHT(opts *bind.CallOpts) (*big.Int, error)

MINWEIGHT is a free data retrieval call binding the contract method 0x218b5382.

Solidity: function MIN_WEIGHT() view returns(uint256)

func (*BalancerPoolCaller) Name

func (_BalancerPool *BalancerPoolCaller) 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 (*BalancerPoolCaller) Symbol

func (_BalancerPool *BalancerPoolCaller) 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 (*BalancerPoolCaller) TotalSupply

func (_BalancerPool *BalancerPoolCaller) 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)

type BalancerPoolCallerRaw

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

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

func (*BalancerPoolCallerRaw) Call

func (_BalancerPool *BalancerPoolCallerRaw) 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 BalancerPoolCallerSession

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

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

func (*BalancerPoolCallerSession) Allowance

func (_BalancerPool *BalancerPoolCallerSession) Allowance(src common.Address, dst common.Address) (*big.Int, error)

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

Solidity: function allowance(address src, address dst) view returns(uint256)

func (*BalancerPoolCallerSession) BONE

func (_BalancerPool *BalancerPoolCallerSession) BONE() (*big.Int, error)

BONE is a free data retrieval call binding the contract method 0xc36596a6.

Solidity: function BONE() view returns(uint256)

func (*BalancerPoolCallerSession) BPOWPRECISION

func (_BalancerPool *BalancerPoolCallerSession) BPOWPRECISION() (*big.Int, error)

BPOWPRECISION is a free data retrieval call binding the contract method 0x189d00ca.

Solidity: function BPOW_PRECISION() view returns(uint256)

func (*BalancerPoolCallerSession) BalanceOf

func (_BalancerPool *BalancerPoolCallerSession) BalanceOf(whom common.Address) (*big.Int, error)

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

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

func (*BalancerPoolCallerSession) CalcInGivenOut

func (_BalancerPool *BalancerPoolCallerSession) CalcInGivenOut(tokenBalanceIn *big.Int, tokenWeightIn *big.Int, tokenBalanceOut *big.Int, tokenWeightOut *big.Int, tokenAmountOut *big.Int, swapFee *big.Int) (*big.Int, error)

CalcInGivenOut is a free data retrieval call binding the contract method 0xf8d6aed4.

Solidity: function calcInGivenOut(uint256 tokenBalanceIn, uint256 tokenWeightIn, uint256 tokenBalanceOut, uint256 tokenWeightOut, uint256 tokenAmountOut, uint256 swapFee) pure returns(uint256 tokenAmountIn)

func (*BalancerPoolCallerSession) CalcOutGivenIn

func (_BalancerPool *BalancerPoolCallerSession) CalcOutGivenIn(tokenBalanceIn *big.Int, tokenWeightIn *big.Int, tokenBalanceOut *big.Int, tokenWeightOut *big.Int, tokenAmountIn *big.Int, swapFee *big.Int) (*big.Int, error)

CalcOutGivenIn is a free data retrieval call binding the contract method 0xba9530a6.

Solidity: function calcOutGivenIn(uint256 tokenBalanceIn, uint256 tokenWeightIn, uint256 tokenBalanceOut, uint256 tokenWeightOut, uint256 tokenAmountIn, uint256 swapFee) pure returns(uint256 tokenAmountOut)

func (*BalancerPoolCallerSession) CalcPoolInGivenSingleOut

func (_BalancerPool *BalancerPoolCallerSession) CalcPoolInGivenSingleOut(tokenBalanceOut *big.Int, tokenWeightOut *big.Int, poolSupply *big.Int, totalWeight *big.Int, tokenAmountOut *big.Int, swapFee *big.Int) (*big.Int, error)

CalcPoolInGivenSingleOut is a free data retrieval call binding the contract method 0x82f652ad.

Solidity: function calcPoolInGivenSingleOut(uint256 tokenBalanceOut, uint256 tokenWeightOut, uint256 poolSupply, uint256 totalWeight, uint256 tokenAmountOut, uint256 swapFee) pure returns(uint256 poolAmountIn)

func (*BalancerPoolCallerSession) CalcPoolOutGivenSingleIn

func (_BalancerPool *BalancerPoolCallerSession) CalcPoolOutGivenSingleIn(tokenBalanceIn *big.Int, tokenWeightIn *big.Int, poolSupply *big.Int, totalWeight *big.Int, tokenAmountIn *big.Int, swapFee *big.Int) (*big.Int, error)

CalcPoolOutGivenSingleIn is a free data retrieval call binding the contract method 0x8656b653.

Solidity: function calcPoolOutGivenSingleIn(uint256 tokenBalanceIn, uint256 tokenWeightIn, uint256 poolSupply, uint256 totalWeight, uint256 tokenAmountIn, uint256 swapFee) pure returns(uint256 poolAmountOut)

func (*BalancerPoolCallerSession) CalcSingleInGivenPoolOut

func (_BalancerPool *BalancerPoolCallerSession) CalcSingleInGivenPoolOut(tokenBalanceIn *big.Int, tokenWeightIn *big.Int, poolSupply *big.Int, totalWeight *big.Int, poolAmountOut *big.Int, swapFee *big.Int) (*big.Int, error)

CalcSingleInGivenPoolOut is a free data retrieval call binding the contract method 0x5c1bbaf7.

Solidity: function calcSingleInGivenPoolOut(uint256 tokenBalanceIn, uint256 tokenWeightIn, uint256 poolSupply, uint256 totalWeight, uint256 poolAmountOut, uint256 swapFee) pure returns(uint256 tokenAmountIn)

func (*BalancerPoolCallerSession) CalcSingleOutGivenPoolIn

func (_BalancerPool *BalancerPoolCallerSession) CalcSingleOutGivenPoolIn(tokenBalanceOut *big.Int, tokenWeightOut *big.Int, poolSupply *big.Int, totalWeight *big.Int, poolAmountIn *big.Int, swapFee *big.Int) (*big.Int, error)

CalcSingleOutGivenPoolIn is a free data retrieval call binding the contract method 0x89298012.

Solidity: function calcSingleOutGivenPoolIn(uint256 tokenBalanceOut, uint256 tokenWeightOut, uint256 poolSupply, uint256 totalWeight, uint256 poolAmountIn, uint256 swapFee) pure returns(uint256 tokenAmountOut)

func (*BalancerPoolCallerSession) CalcSpotPrice

func (_BalancerPool *BalancerPoolCallerSession) CalcSpotPrice(tokenBalanceIn *big.Int, tokenWeightIn *big.Int, tokenBalanceOut *big.Int, tokenWeightOut *big.Int, swapFee *big.Int) (*big.Int, error)

CalcSpotPrice is a free data retrieval call binding the contract method 0xa221ee49.

Solidity: function calcSpotPrice(uint256 tokenBalanceIn, uint256 tokenWeightIn, uint256 tokenBalanceOut, uint256 tokenWeightOut, uint256 swapFee) pure returns(uint256 spotPrice)

func (*BalancerPoolCallerSession) Decimals

func (_BalancerPool *BalancerPoolCallerSession) Decimals() (uint8, error)

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

Solidity: function decimals() view returns(uint8)

func (*BalancerPoolCallerSession) EXITFEE

func (_BalancerPool *BalancerPoolCallerSession) EXITFEE() (*big.Int, error)

EXITFEE is a free data retrieval call binding the contract method 0xc6580d12.

Solidity: function EXIT_FEE() view returns(uint256)

func (*BalancerPoolCallerSession) GetBalance

func (_BalancerPool *BalancerPoolCallerSession) GetBalance(token common.Address) (*big.Int, error)

GetBalance is a free data retrieval call binding the contract method 0xf8b2cb4f.

Solidity: function getBalance(address token) view returns(uint256)

func (*BalancerPoolCallerSession) GetColor

func (_BalancerPool *BalancerPoolCallerSession) GetColor() ([32]byte, error)

GetColor is a free data retrieval call binding the contract method 0x9a86139b.

Solidity: function getColor() view returns(bytes32)

func (*BalancerPoolCallerSession) GetController

func (_BalancerPool *BalancerPoolCallerSession) GetController() (common.Address, error)

GetController is a free data retrieval call binding the contract method 0x3018205f.

Solidity: function getController() view returns(address)

func (*BalancerPoolCallerSession) GetCurrentTokens

func (_BalancerPool *BalancerPoolCallerSession) GetCurrentTokens() ([]common.Address, error)

GetCurrentTokens is a free data retrieval call binding the contract method 0xcc77828d.

Solidity: function getCurrentTokens() view returns(address[] tokens)

func (*BalancerPoolCallerSession) GetDenormalizedWeight

func (_BalancerPool *BalancerPoolCallerSession) GetDenormalizedWeight(token common.Address) (*big.Int, error)

GetDenormalizedWeight is a free data retrieval call binding the contract method 0x948d8ce6.

Solidity: function getDenormalizedWeight(address token) view returns(uint256)

func (*BalancerPoolCallerSession) GetFinalTokens

func (_BalancerPool *BalancerPoolCallerSession) GetFinalTokens() ([]common.Address, error)

GetFinalTokens is a free data retrieval call binding the contract method 0xbe3bbd2e.

Solidity: function getFinalTokens() view returns(address[] tokens)

func (*BalancerPoolCallerSession) GetNormalizedWeight

func (_BalancerPool *BalancerPoolCallerSession) GetNormalizedWeight(token common.Address) (*big.Int, error)

GetNormalizedWeight is a free data retrieval call binding the contract method 0xf1b8a9b7.

Solidity: function getNormalizedWeight(address token) view returns(uint256)

func (*BalancerPoolCallerSession) GetNumTokens

func (_BalancerPool *BalancerPoolCallerSession) GetNumTokens() (*big.Int, error)

GetNumTokens is a free data retrieval call binding the contract method 0xcd2ed8fb.

Solidity: function getNumTokens() view returns(uint256)

func (*BalancerPoolCallerSession) GetSpotPrice

func (_BalancerPool *BalancerPoolCallerSession) GetSpotPrice(tokenIn common.Address, tokenOut common.Address) (*big.Int, error)

GetSpotPrice is a free data retrieval call binding the contract method 0x15e84af9.

Solidity: function getSpotPrice(address tokenIn, address tokenOut) view returns(uint256 spotPrice)

func (*BalancerPoolCallerSession) GetSpotPriceSansFee

func (_BalancerPool *BalancerPoolCallerSession) GetSpotPriceSansFee(tokenIn common.Address, tokenOut common.Address) (*big.Int, error)

GetSpotPriceSansFee is a free data retrieval call binding the contract method 0x1446a7ff.

Solidity: function getSpotPriceSansFee(address tokenIn, address tokenOut) view returns(uint256 spotPrice)

func (*BalancerPoolCallerSession) GetSwapFee

func (_BalancerPool *BalancerPoolCallerSession) GetSwapFee() (*big.Int, error)

GetSwapFee is a free data retrieval call binding the contract method 0xd4cadf68.

Solidity: function getSwapFee() view returns(uint256)

func (*BalancerPoolCallerSession) GetTotalDenormalizedWeight

func (_BalancerPool *BalancerPoolCallerSession) GetTotalDenormalizedWeight() (*big.Int, error)

GetTotalDenormalizedWeight is a free data retrieval call binding the contract method 0x936c3477.

Solidity: function getTotalDenormalizedWeight() view returns(uint256)

func (*BalancerPoolCallerSession) INITPOOLSUPPLY

func (_BalancerPool *BalancerPoolCallerSession) INITPOOLSUPPLY() (*big.Int, error)

INITPOOLSUPPLY is a free data retrieval call binding the contract method 0x9381cd2b.

Solidity: function INIT_POOL_SUPPLY() view returns(uint256)

func (*BalancerPoolCallerSession) IsBound

func (_BalancerPool *BalancerPoolCallerSession) IsBound(t common.Address) (bool, error)

IsBound is a free data retrieval call binding the contract method 0x2f37b624.

Solidity: function isBound(address t) view returns(bool)

func (*BalancerPoolCallerSession) IsFinalized

func (_BalancerPool *BalancerPoolCallerSession) IsFinalized() (bool, error)

IsFinalized is a free data retrieval call binding the contract method 0x8d4e4083.

Solidity: function isFinalized() view returns(bool)

func (*BalancerPoolCallerSession) IsPublicSwap

func (_BalancerPool *BalancerPoolCallerSession) IsPublicSwap() (bool, error)

IsPublicSwap is a free data retrieval call binding the contract method 0xfde924f7.

Solidity: function isPublicSwap() view returns(bool)

func (*BalancerPoolCallerSession) MAXBOUNDTOKENS

func (_BalancerPool *BalancerPoolCallerSession) MAXBOUNDTOKENS() (*big.Int, error)

MAXBOUNDTOKENS is a free data retrieval call binding the contract method 0xb0e0d136.

Solidity: function MAX_BOUND_TOKENS() view returns(uint256)

func (*BalancerPoolCallerSession) MAXBPOWBASE

func (_BalancerPool *BalancerPoolCallerSession) MAXBPOWBASE() (*big.Int, error)

MAXBPOWBASE is a free data retrieval call binding the contract method 0xbc694ea2.

Solidity: function MAX_BPOW_BASE() view returns(uint256)

func (*BalancerPoolCallerSession) MAXFEE

func (_BalancerPool *BalancerPoolCallerSession) MAXFEE() (*big.Int, error)

MAXFEE is a free data retrieval call binding the contract method 0xbc063e1a.

Solidity: function MAX_FEE() view returns(uint256)

func (*BalancerPoolCallerSession) MAXINRATIO

func (_BalancerPool *BalancerPoolCallerSession) MAXINRATIO() (*big.Int, error)

MAXINRATIO is a free data retrieval call binding the contract method 0xec093021.

Solidity: function MAX_IN_RATIO() view returns(uint256)

func (*BalancerPoolCallerSession) MAXOUTRATIO

func (_BalancerPool *BalancerPoolCallerSession) MAXOUTRATIO() (*big.Int, error)

MAXOUTRATIO is a free data retrieval call binding the contract method 0x992e2a92.

Solidity: function MAX_OUT_RATIO() view returns(uint256)

func (*BalancerPoolCallerSession) MAXTOTALWEIGHT

func (_BalancerPool *BalancerPoolCallerSession) MAXTOTALWEIGHT() (*big.Int, error)

MAXTOTALWEIGHT is a free data retrieval call binding the contract method 0x09a3bbe4.

Solidity: function MAX_TOTAL_WEIGHT() view returns(uint256)

func (*BalancerPoolCallerSession) MAXWEIGHT

func (_BalancerPool *BalancerPoolCallerSession) MAXWEIGHT() (*big.Int, error)

MAXWEIGHT is a free data retrieval call binding the contract method 0xe4a28a52.

Solidity: function MAX_WEIGHT() view returns(uint256)

func (*BalancerPoolCallerSession) MINBALANCE

func (_BalancerPool *BalancerPoolCallerSession) MINBALANCE() (*big.Int, error)

MINBALANCE is a free data retrieval call binding the contract method 0x867378c5.

Solidity: function MIN_BALANCE() view returns(uint256)

func (*BalancerPoolCallerSession) MINBOUNDTOKENS

func (_BalancerPool *BalancerPoolCallerSession) MINBOUNDTOKENS() (*big.Int, error)

MINBOUNDTOKENS is a free data retrieval call binding the contract method 0xb7b800a4.

Solidity: function MIN_BOUND_TOKENS() view returns(uint256)

func (*BalancerPoolCallerSession) MINBPOWBASE

func (_BalancerPool *BalancerPoolCallerSession) MINBPOWBASE() (*big.Int, error)

MINBPOWBASE is a free data retrieval call binding the contract method 0xba019dab.

Solidity: function MIN_BPOW_BASE() view returns(uint256)

func (*BalancerPoolCallerSession) MINFEE

func (_BalancerPool *BalancerPoolCallerSession) MINFEE() (*big.Int, error)

MINFEE is a free data retrieval call binding the contract method 0x76c7a3c7.

Solidity: function MIN_FEE() view returns(uint256)

func (*BalancerPoolCallerSession) MINWEIGHT

func (_BalancerPool *BalancerPoolCallerSession) MINWEIGHT() (*big.Int, error)

MINWEIGHT is a free data retrieval call binding the contract method 0x218b5382.

Solidity: function MIN_WEIGHT() view returns(uint256)

func (*BalancerPoolCallerSession) Name

func (_BalancerPool *BalancerPoolCallerSession) Name() (string, error)

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

Solidity: function name() view returns(string)

func (*BalancerPoolCallerSession) Symbol

func (_BalancerPool *BalancerPoolCallerSession) Symbol() (string, error)

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

Solidity: function symbol() view returns(string)

func (*BalancerPoolCallerSession) TotalSupply

func (_BalancerPool *BalancerPoolCallerSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

type BalancerPoolFilterer

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

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

func NewBalancerPoolFilterer

func NewBalancerPoolFilterer(address common.Address, filterer bind.ContractFilterer) (*BalancerPoolFilterer, error)

NewBalancerPoolFilterer creates a new log filterer instance of BalancerPool, bound to a specific deployed contract.

func (*BalancerPoolFilterer) FilterApproval

func (_BalancerPool *BalancerPoolFilterer) FilterApproval(opts *bind.FilterOpts, src []common.Address, dst []common.Address) (*BalancerPoolApprovalIterator, error)

FilterApproval is a free log retrieval operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed src, address indexed dst, uint256 amt)

func (*BalancerPoolFilterer) FilterLOGEXIT

func (_BalancerPool *BalancerPoolFilterer) FilterLOGEXIT(opts *bind.FilterOpts, caller []common.Address, tokenOut []common.Address) (*BalancerPoolLOGEXITIterator, error)

FilterLOGEXIT is a free log retrieval operation binding the contract event 0xe74c91552b64c2e2e7bd255639e004e693bd3e1d01cc33e65610b86afcc1ffed.

Solidity: event LOG_EXIT(address indexed caller, address indexed tokenOut, uint256 tokenAmountOut)

func (*BalancerPoolFilterer) FilterLOGJOIN

func (_BalancerPool *BalancerPoolFilterer) FilterLOGJOIN(opts *bind.FilterOpts, caller []common.Address, tokenIn []common.Address) (*BalancerPoolLOGJOINIterator, error)

FilterLOGJOIN is a free log retrieval operation binding the contract event 0x63982df10efd8dfaaaa0fcc7f50b2d93b7cba26ccc48adee2873220d485dc39a.

Solidity: event LOG_JOIN(address indexed caller, address indexed tokenIn, uint256 tokenAmountIn)

func (*BalancerPoolFilterer) FilterLOGSWAP

func (_BalancerPool *BalancerPoolFilterer) FilterLOGSWAP(opts *bind.FilterOpts, caller []common.Address, tokenIn []common.Address, tokenOut []common.Address) (*BalancerPoolLOGSWAPIterator, error)

FilterLOGSWAP is a free log retrieval operation binding the contract event 0x908fb5ee8f16c6bc9bc3690973819f32a4d4b10188134543c88706e0e1d43378.

Solidity: event LOG_SWAP(address indexed caller, address indexed tokenIn, address indexed tokenOut, uint256 tokenAmountIn, uint256 tokenAmountOut)

func (*BalancerPoolFilterer) FilterTransfer

func (_BalancerPool *BalancerPoolFilterer) FilterTransfer(opts *bind.FilterOpts, src []common.Address, dst []common.Address) (*BalancerPoolTransferIterator, error)

FilterTransfer is a free log retrieval operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed src, address indexed dst, uint256 amt)

func (*BalancerPoolFilterer) ParseApproval

func (_BalancerPool *BalancerPoolFilterer) ParseApproval(log types.Log) (*BalancerPoolApproval, error)

ParseApproval is a log parse operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed src, address indexed dst, uint256 amt)

func (*BalancerPoolFilterer) ParseLOGEXIT

func (_BalancerPool *BalancerPoolFilterer) ParseLOGEXIT(log types.Log) (*BalancerPoolLOGEXIT, error)

ParseLOGEXIT is a log parse operation binding the contract event 0xe74c91552b64c2e2e7bd255639e004e693bd3e1d01cc33e65610b86afcc1ffed.

Solidity: event LOG_EXIT(address indexed caller, address indexed tokenOut, uint256 tokenAmountOut)

func (*BalancerPoolFilterer) ParseLOGJOIN

func (_BalancerPool *BalancerPoolFilterer) ParseLOGJOIN(log types.Log) (*BalancerPoolLOGJOIN, error)

ParseLOGJOIN is a log parse operation binding the contract event 0x63982df10efd8dfaaaa0fcc7f50b2d93b7cba26ccc48adee2873220d485dc39a.

Solidity: event LOG_JOIN(address indexed caller, address indexed tokenIn, uint256 tokenAmountIn)

func (*BalancerPoolFilterer) ParseLOGSWAP

func (_BalancerPool *BalancerPoolFilterer) ParseLOGSWAP(log types.Log) (*BalancerPoolLOGSWAP, error)

ParseLOGSWAP is a log parse operation binding the contract event 0x908fb5ee8f16c6bc9bc3690973819f32a4d4b10188134543c88706e0e1d43378.

Solidity: event LOG_SWAP(address indexed caller, address indexed tokenIn, address indexed tokenOut, uint256 tokenAmountIn, uint256 tokenAmountOut)

func (*BalancerPoolFilterer) ParseTransfer

func (_BalancerPool *BalancerPoolFilterer) ParseTransfer(log types.Log) (*BalancerPoolTransfer, error)

ParseTransfer is a log parse operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed src, address indexed dst, uint256 amt)

func (*BalancerPoolFilterer) WatchApproval

func (_BalancerPool *BalancerPoolFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *BalancerPoolApproval, src []common.Address, dst []common.Address) (event.Subscription, error)

WatchApproval is a free log subscription operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed src, address indexed dst, uint256 amt)

func (*BalancerPoolFilterer) WatchLOGEXIT

func (_BalancerPool *BalancerPoolFilterer) WatchLOGEXIT(opts *bind.WatchOpts, sink chan<- *BalancerPoolLOGEXIT, caller []common.Address, tokenOut []common.Address) (event.Subscription, error)

WatchLOGEXIT is a free log subscription operation binding the contract event 0xe74c91552b64c2e2e7bd255639e004e693bd3e1d01cc33e65610b86afcc1ffed.

Solidity: event LOG_EXIT(address indexed caller, address indexed tokenOut, uint256 tokenAmountOut)

func (*BalancerPoolFilterer) WatchLOGJOIN

func (_BalancerPool *BalancerPoolFilterer) WatchLOGJOIN(opts *bind.WatchOpts, sink chan<- *BalancerPoolLOGJOIN, caller []common.Address, tokenIn []common.Address) (event.Subscription, error)

WatchLOGJOIN is a free log subscription operation binding the contract event 0x63982df10efd8dfaaaa0fcc7f50b2d93b7cba26ccc48adee2873220d485dc39a.

Solidity: event LOG_JOIN(address indexed caller, address indexed tokenIn, uint256 tokenAmountIn)

func (*BalancerPoolFilterer) WatchLOGSWAP

func (_BalancerPool *BalancerPoolFilterer) WatchLOGSWAP(opts *bind.WatchOpts, sink chan<- *BalancerPoolLOGSWAP, caller []common.Address, tokenIn []common.Address, tokenOut []common.Address) (event.Subscription, error)

WatchLOGSWAP is a free log subscription operation binding the contract event 0x908fb5ee8f16c6bc9bc3690973819f32a4d4b10188134543c88706e0e1d43378.

Solidity: event LOG_SWAP(address indexed caller, address indexed tokenIn, address indexed tokenOut, uint256 tokenAmountIn, uint256 tokenAmountOut)

func (*BalancerPoolFilterer) WatchTransfer

func (_BalancerPool *BalancerPoolFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *BalancerPoolTransfer, src []common.Address, dst []common.Address) (event.Subscription, error)

WatchTransfer is a free log subscription operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed src, address indexed dst, uint256 amt)

type BalancerPoolLOGEXIT

type BalancerPoolLOGEXIT struct {
	Caller         common.Address
	TokenOut       common.Address
	TokenAmountOut *big.Int
	Raw            types.Log // Blockchain specific contextual infos
}

BalancerPoolLOGEXIT represents a LOGEXIT event raised by the BalancerPool contract.

type BalancerPoolLOGEXITIterator

type BalancerPoolLOGEXITIterator struct {
	Event *BalancerPoolLOGEXIT // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

BalancerPoolLOGEXITIterator is returned from FilterLOGEXIT and is used to iterate over the raw logs and unpacked data for LOGEXIT events raised by the BalancerPool contract.

func (*BalancerPoolLOGEXITIterator) Close

func (it *BalancerPoolLOGEXITIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*BalancerPoolLOGEXITIterator) Error

func (it *BalancerPoolLOGEXITIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*BalancerPoolLOGEXITIterator) Next

func (it *BalancerPoolLOGEXITIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type BalancerPoolLOGJOIN

type BalancerPoolLOGJOIN struct {
	Caller        common.Address
	TokenIn       common.Address
	TokenAmountIn *big.Int
	Raw           types.Log // Blockchain specific contextual infos
}

BalancerPoolLOGJOIN represents a LOGJOIN event raised by the BalancerPool contract.

type BalancerPoolLOGJOINIterator

type BalancerPoolLOGJOINIterator struct {
	Event *BalancerPoolLOGJOIN // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

BalancerPoolLOGJOINIterator is returned from FilterLOGJOIN and is used to iterate over the raw logs and unpacked data for LOGJOIN events raised by the BalancerPool contract.

func (*BalancerPoolLOGJOINIterator) Close

func (it *BalancerPoolLOGJOINIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*BalancerPoolLOGJOINIterator) Error

func (it *BalancerPoolLOGJOINIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*BalancerPoolLOGJOINIterator) Next

func (it *BalancerPoolLOGJOINIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type BalancerPoolLOGSWAP

type BalancerPoolLOGSWAP struct {
	Caller         common.Address
	TokenIn        common.Address
	TokenOut       common.Address
	TokenAmountIn  *big.Int
	TokenAmountOut *big.Int
	Raw            types.Log // Blockchain specific contextual infos
}

BalancerPoolLOGSWAP represents a LOGSWAP event raised by the BalancerPool contract.

type BalancerPoolLOGSWAPIterator

type BalancerPoolLOGSWAPIterator struct {
	Event *BalancerPoolLOGSWAP // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

BalancerPoolLOGSWAPIterator is returned from FilterLOGSWAP and is used to iterate over the raw logs and unpacked data for LOGSWAP events raised by the BalancerPool contract.

func (*BalancerPoolLOGSWAPIterator) Close

func (it *BalancerPoolLOGSWAPIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*BalancerPoolLOGSWAPIterator) Error

func (it *BalancerPoolLOGSWAPIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*BalancerPoolLOGSWAPIterator) Next

func (it *BalancerPoolLOGSWAPIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type BalancerPoolRaw

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

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

func (*BalancerPoolRaw) Call

func (_BalancerPool *BalancerPoolRaw) 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 (*BalancerPoolRaw) Transact

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

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

func (*BalancerPoolRaw) Transfer

func (_BalancerPool *BalancerPoolRaw) 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 BalancerPoolSession

type BalancerPoolSession struct {
	Contract     *BalancerPool     // 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
}

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

func (*BalancerPoolSession) Allowance

func (_BalancerPool *BalancerPoolSession) Allowance(src common.Address, dst common.Address) (*big.Int, error)

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

Solidity: function allowance(address src, address dst) view returns(uint256)

func (*BalancerPoolSession) Approve

func (_BalancerPool *BalancerPoolSession) Approve(dst common.Address, amt *big.Int) (*types.Transaction, error)

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

Solidity: function approve(address dst, uint256 amt) returns(bool)

func (*BalancerPoolSession) BONE

func (_BalancerPool *BalancerPoolSession) BONE() (*big.Int, error)

BONE is a free data retrieval call binding the contract method 0xc36596a6.

Solidity: function BONE() view returns(uint256)

func (*BalancerPoolSession) BPOWPRECISION

func (_BalancerPool *BalancerPoolSession) BPOWPRECISION() (*big.Int, error)

BPOWPRECISION is a free data retrieval call binding the contract method 0x189d00ca.

Solidity: function BPOW_PRECISION() view returns(uint256)

func (*BalancerPoolSession) BalanceOf

func (_BalancerPool *BalancerPoolSession) BalanceOf(whom common.Address) (*big.Int, error)

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

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

func (*BalancerPoolSession) Bind

func (_BalancerPool *BalancerPoolSession) Bind(token common.Address, balance *big.Int, denorm *big.Int) (*types.Transaction, error)

Bind is a paid mutator transaction binding the contract method 0xe4e1e538.

Solidity: function bind(address token, uint256 balance, uint256 denorm) returns()

func (*BalancerPoolSession) CalcInGivenOut

func (_BalancerPool *BalancerPoolSession) CalcInGivenOut(tokenBalanceIn *big.Int, tokenWeightIn *big.Int, tokenBalanceOut *big.Int, tokenWeightOut *big.Int, tokenAmountOut *big.Int, swapFee *big.Int) (*big.Int, error)

CalcInGivenOut is a free data retrieval call binding the contract method 0xf8d6aed4.

Solidity: function calcInGivenOut(uint256 tokenBalanceIn, uint256 tokenWeightIn, uint256 tokenBalanceOut, uint256 tokenWeightOut, uint256 tokenAmountOut, uint256 swapFee) pure returns(uint256 tokenAmountIn)

func (*BalancerPoolSession) CalcOutGivenIn

func (_BalancerPool *BalancerPoolSession) CalcOutGivenIn(tokenBalanceIn *big.Int, tokenWeightIn *big.Int, tokenBalanceOut *big.Int, tokenWeightOut *big.Int, tokenAmountIn *big.Int, swapFee *big.Int) (*big.Int, error)

CalcOutGivenIn is a free data retrieval call binding the contract method 0xba9530a6.

Solidity: function calcOutGivenIn(uint256 tokenBalanceIn, uint256 tokenWeightIn, uint256 tokenBalanceOut, uint256 tokenWeightOut, uint256 tokenAmountIn, uint256 swapFee) pure returns(uint256 tokenAmountOut)

func (*BalancerPoolSession) CalcPoolInGivenSingleOut

func (_BalancerPool *BalancerPoolSession) CalcPoolInGivenSingleOut(tokenBalanceOut *big.Int, tokenWeightOut *big.Int, poolSupply *big.Int, totalWeight *big.Int, tokenAmountOut *big.Int, swapFee *big.Int) (*big.Int, error)

CalcPoolInGivenSingleOut is a free data retrieval call binding the contract method 0x82f652ad.

Solidity: function calcPoolInGivenSingleOut(uint256 tokenBalanceOut, uint256 tokenWeightOut, uint256 poolSupply, uint256 totalWeight, uint256 tokenAmountOut, uint256 swapFee) pure returns(uint256 poolAmountIn)

func (*BalancerPoolSession) CalcPoolOutGivenSingleIn

func (_BalancerPool *BalancerPoolSession) CalcPoolOutGivenSingleIn(tokenBalanceIn *big.Int, tokenWeightIn *big.Int, poolSupply *big.Int, totalWeight *big.Int, tokenAmountIn *big.Int, swapFee *big.Int) (*big.Int, error)

CalcPoolOutGivenSingleIn is a free data retrieval call binding the contract method 0x8656b653.

Solidity: function calcPoolOutGivenSingleIn(uint256 tokenBalanceIn, uint256 tokenWeightIn, uint256 poolSupply, uint256 totalWeight, uint256 tokenAmountIn, uint256 swapFee) pure returns(uint256 poolAmountOut)

func (*BalancerPoolSession) CalcSingleInGivenPoolOut

func (_BalancerPool *BalancerPoolSession) CalcSingleInGivenPoolOut(tokenBalanceIn *big.Int, tokenWeightIn *big.Int, poolSupply *big.Int, totalWeight *big.Int, poolAmountOut *big.Int, swapFee *big.Int) (*big.Int, error)

CalcSingleInGivenPoolOut is a free data retrieval call binding the contract method 0x5c1bbaf7.

Solidity: function calcSingleInGivenPoolOut(uint256 tokenBalanceIn, uint256 tokenWeightIn, uint256 poolSupply, uint256 totalWeight, uint256 poolAmountOut, uint256 swapFee) pure returns(uint256 tokenAmountIn)

func (*BalancerPoolSession) CalcSingleOutGivenPoolIn

func (_BalancerPool *BalancerPoolSession) CalcSingleOutGivenPoolIn(tokenBalanceOut *big.Int, tokenWeightOut *big.Int, poolSupply *big.Int, totalWeight *big.Int, poolAmountIn *big.Int, swapFee *big.Int) (*big.Int, error)

CalcSingleOutGivenPoolIn is a free data retrieval call binding the contract method 0x89298012.

Solidity: function calcSingleOutGivenPoolIn(uint256 tokenBalanceOut, uint256 tokenWeightOut, uint256 poolSupply, uint256 totalWeight, uint256 poolAmountIn, uint256 swapFee) pure returns(uint256 tokenAmountOut)

func (*BalancerPoolSession) CalcSpotPrice

func (_BalancerPool *BalancerPoolSession) CalcSpotPrice(tokenBalanceIn *big.Int, tokenWeightIn *big.Int, tokenBalanceOut *big.Int, tokenWeightOut *big.Int, swapFee *big.Int) (*big.Int, error)

CalcSpotPrice is a free data retrieval call binding the contract method 0xa221ee49.

Solidity: function calcSpotPrice(uint256 tokenBalanceIn, uint256 tokenWeightIn, uint256 tokenBalanceOut, uint256 tokenWeightOut, uint256 swapFee) pure returns(uint256 spotPrice)

func (*BalancerPoolSession) Decimals

func (_BalancerPool *BalancerPoolSession) Decimals() (uint8, error)

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

Solidity: function decimals() view returns(uint8)

func (*BalancerPoolSession) DecreaseApproval

func (_BalancerPool *BalancerPoolSession) DecreaseApproval(dst common.Address, amt *big.Int) (*types.Transaction, error)

DecreaseApproval is a paid mutator transaction binding the contract method 0x66188463.

Solidity: function decreaseApproval(address dst, uint256 amt) returns(bool)

func (*BalancerPoolSession) EXITFEE

func (_BalancerPool *BalancerPoolSession) EXITFEE() (*big.Int, error)

EXITFEE is a free data retrieval call binding the contract method 0xc6580d12.

Solidity: function EXIT_FEE() view returns(uint256)

func (*BalancerPoolSession) ExitPool

func (_BalancerPool *BalancerPoolSession) ExitPool(poolAmountIn *big.Int, minAmountsOut []*big.Int) (*types.Transaction, error)

ExitPool is a paid mutator transaction binding the contract method 0xb02f0b73.

Solidity: function exitPool(uint256 poolAmountIn, uint256[] minAmountsOut) returns()

func (*BalancerPoolSession) ExitswapExternAmountOut

func (_BalancerPool *BalancerPoolSession) ExitswapExternAmountOut(tokenOut common.Address, tokenAmountOut *big.Int, maxPoolAmountIn *big.Int) (*types.Transaction, error)

ExitswapExternAmountOut is a paid mutator transaction binding the contract method 0x02c96748.

Solidity: function exitswapExternAmountOut(address tokenOut, uint256 tokenAmountOut, uint256 maxPoolAmountIn) returns(uint256 poolAmountIn)

func (*BalancerPoolSession) ExitswapPoolAmountIn

func (_BalancerPool *BalancerPoolSession) ExitswapPoolAmountIn(tokenOut common.Address, poolAmountIn *big.Int, minAmountOut *big.Int) (*types.Transaction, error)

ExitswapPoolAmountIn is a paid mutator transaction binding the contract method 0x46ab38f1.

Solidity: function exitswapPoolAmountIn(address tokenOut, uint256 poolAmountIn, uint256 minAmountOut) returns(uint256 tokenAmountOut)

func (*BalancerPoolSession) Finalize

func (_BalancerPool *BalancerPoolSession) Finalize() (*types.Transaction, error)

Finalize is a paid mutator transaction binding the contract method 0x4bb278f3.

Solidity: function finalize() returns()

func (*BalancerPoolSession) GetBalance

func (_BalancerPool *BalancerPoolSession) GetBalance(token common.Address) (*big.Int, error)

GetBalance is a free data retrieval call binding the contract method 0xf8b2cb4f.

Solidity: function getBalance(address token) view returns(uint256)

func (*BalancerPoolSession) GetColor

func (_BalancerPool *BalancerPoolSession) GetColor() ([32]byte, error)

GetColor is a free data retrieval call binding the contract method 0x9a86139b.

Solidity: function getColor() view returns(bytes32)

func (*BalancerPoolSession) GetController

func (_BalancerPool *BalancerPoolSession) GetController() (common.Address, error)

GetController is a free data retrieval call binding the contract method 0x3018205f.

Solidity: function getController() view returns(address)

func (*BalancerPoolSession) GetCurrentTokens

func (_BalancerPool *BalancerPoolSession) GetCurrentTokens() ([]common.Address, error)

GetCurrentTokens is a free data retrieval call binding the contract method 0xcc77828d.

Solidity: function getCurrentTokens() view returns(address[] tokens)

func (*BalancerPoolSession) GetDenormalizedWeight

func (_BalancerPool *BalancerPoolSession) GetDenormalizedWeight(token common.Address) (*big.Int, error)

GetDenormalizedWeight is a free data retrieval call binding the contract method 0x948d8ce6.

Solidity: function getDenormalizedWeight(address token) view returns(uint256)

func (*BalancerPoolSession) GetFinalTokens

func (_BalancerPool *BalancerPoolSession) GetFinalTokens() ([]common.Address, error)

GetFinalTokens is a free data retrieval call binding the contract method 0xbe3bbd2e.

Solidity: function getFinalTokens() view returns(address[] tokens)

func (*BalancerPoolSession) GetNormalizedWeight

func (_BalancerPool *BalancerPoolSession) GetNormalizedWeight(token common.Address) (*big.Int, error)

GetNormalizedWeight is a free data retrieval call binding the contract method 0xf1b8a9b7.

Solidity: function getNormalizedWeight(address token) view returns(uint256)

func (*BalancerPoolSession) GetNumTokens

func (_BalancerPool *BalancerPoolSession) GetNumTokens() (*big.Int, error)

GetNumTokens is a free data retrieval call binding the contract method 0xcd2ed8fb.

Solidity: function getNumTokens() view returns(uint256)

func (*BalancerPoolSession) GetSpotPrice

func (_BalancerPool *BalancerPoolSession) GetSpotPrice(tokenIn common.Address, tokenOut common.Address) (*big.Int, error)

GetSpotPrice is a free data retrieval call binding the contract method 0x15e84af9.

Solidity: function getSpotPrice(address tokenIn, address tokenOut) view returns(uint256 spotPrice)

func (*BalancerPoolSession) GetSpotPriceSansFee

func (_BalancerPool *BalancerPoolSession) GetSpotPriceSansFee(tokenIn common.Address, tokenOut common.Address) (*big.Int, error)

GetSpotPriceSansFee is a free data retrieval call binding the contract method 0x1446a7ff.

Solidity: function getSpotPriceSansFee(address tokenIn, address tokenOut) view returns(uint256 spotPrice)

func (*BalancerPoolSession) GetSwapFee

func (_BalancerPool *BalancerPoolSession) GetSwapFee() (*big.Int, error)

GetSwapFee is a free data retrieval call binding the contract method 0xd4cadf68.

Solidity: function getSwapFee() view returns(uint256)

func (*BalancerPoolSession) GetTotalDenormalizedWeight

func (_BalancerPool *BalancerPoolSession) GetTotalDenormalizedWeight() (*big.Int, error)

GetTotalDenormalizedWeight is a free data retrieval call binding the contract method 0x936c3477.

Solidity: function getTotalDenormalizedWeight() view returns(uint256)

func (*BalancerPoolSession) Gulp

func (_BalancerPool *BalancerPoolSession) Gulp(token common.Address) (*types.Transaction, error)

Gulp is a paid mutator transaction binding the contract method 0x8c28cbe8.

Solidity: function gulp(address token) returns()

func (*BalancerPoolSession) INITPOOLSUPPLY

func (_BalancerPool *BalancerPoolSession) INITPOOLSUPPLY() (*big.Int, error)

INITPOOLSUPPLY is a free data retrieval call binding the contract method 0x9381cd2b.

Solidity: function INIT_POOL_SUPPLY() view returns(uint256)

func (*BalancerPoolSession) IncreaseApproval

func (_BalancerPool *BalancerPoolSession) IncreaseApproval(dst common.Address, amt *big.Int) (*types.Transaction, error)

IncreaseApproval is a paid mutator transaction binding the contract method 0xd73dd623.

Solidity: function increaseApproval(address dst, uint256 amt) returns(bool)

func (*BalancerPoolSession) IsBound

func (_BalancerPool *BalancerPoolSession) IsBound(t common.Address) (bool, error)

IsBound is a free data retrieval call binding the contract method 0x2f37b624.

Solidity: function isBound(address t) view returns(bool)

func (*BalancerPoolSession) IsFinalized

func (_BalancerPool *BalancerPoolSession) IsFinalized() (bool, error)

IsFinalized is a free data retrieval call binding the contract method 0x8d4e4083.

Solidity: function isFinalized() view returns(bool)

func (*BalancerPoolSession) IsPublicSwap

func (_BalancerPool *BalancerPoolSession) IsPublicSwap() (bool, error)

IsPublicSwap is a free data retrieval call binding the contract method 0xfde924f7.

Solidity: function isPublicSwap() view returns(bool)

func (*BalancerPoolSession) JoinPool

func (_BalancerPool *BalancerPoolSession) JoinPool(poolAmountOut *big.Int, maxAmountsIn []*big.Int) (*types.Transaction, error)

JoinPool is a paid mutator transaction binding the contract method 0x4f69c0d4.

Solidity: function joinPool(uint256 poolAmountOut, uint256[] maxAmountsIn) returns()

func (*BalancerPoolSession) JoinswapExternAmountIn

func (_BalancerPool *BalancerPoolSession) JoinswapExternAmountIn(tokenIn common.Address, tokenAmountIn *big.Int, minPoolAmountOut *big.Int) (*types.Transaction, error)

JoinswapExternAmountIn is a paid mutator transaction binding the contract method 0x5db34277.

Solidity: function joinswapExternAmountIn(address tokenIn, uint256 tokenAmountIn, uint256 minPoolAmountOut) returns(uint256 poolAmountOut)

func (*BalancerPoolSession) JoinswapPoolAmountOut

func (_BalancerPool *BalancerPoolSession) JoinswapPoolAmountOut(tokenIn common.Address, poolAmountOut *big.Int, maxAmountIn *big.Int) (*types.Transaction, error)

JoinswapPoolAmountOut is a paid mutator transaction binding the contract method 0x6d06dfa0.

Solidity: function joinswapPoolAmountOut(address tokenIn, uint256 poolAmountOut, uint256 maxAmountIn) returns(uint256 tokenAmountIn)

func (*BalancerPoolSession) MAXBOUNDTOKENS

func (_BalancerPool *BalancerPoolSession) MAXBOUNDTOKENS() (*big.Int, error)

MAXBOUNDTOKENS is a free data retrieval call binding the contract method 0xb0e0d136.

Solidity: function MAX_BOUND_TOKENS() view returns(uint256)

func (*BalancerPoolSession) MAXBPOWBASE

func (_BalancerPool *BalancerPoolSession) MAXBPOWBASE() (*big.Int, error)

MAXBPOWBASE is a free data retrieval call binding the contract method 0xbc694ea2.

Solidity: function MAX_BPOW_BASE() view returns(uint256)

func (*BalancerPoolSession) MAXFEE

func (_BalancerPool *BalancerPoolSession) MAXFEE() (*big.Int, error)

MAXFEE is a free data retrieval call binding the contract method 0xbc063e1a.

Solidity: function MAX_FEE() view returns(uint256)

func (*BalancerPoolSession) MAXINRATIO

func (_BalancerPool *BalancerPoolSession) MAXINRATIO() (*big.Int, error)

MAXINRATIO is a free data retrieval call binding the contract method 0xec093021.

Solidity: function MAX_IN_RATIO() view returns(uint256)

func (*BalancerPoolSession) MAXOUTRATIO

func (_BalancerPool *BalancerPoolSession) MAXOUTRATIO() (*big.Int, error)

MAXOUTRATIO is a free data retrieval call binding the contract method 0x992e2a92.

Solidity: function MAX_OUT_RATIO() view returns(uint256)

func (*BalancerPoolSession) MAXTOTALWEIGHT

func (_BalancerPool *BalancerPoolSession) MAXTOTALWEIGHT() (*big.Int, error)

MAXTOTALWEIGHT is a free data retrieval call binding the contract method 0x09a3bbe4.

Solidity: function MAX_TOTAL_WEIGHT() view returns(uint256)

func (*BalancerPoolSession) MAXWEIGHT

func (_BalancerPool *BalancerPoolSession) MAXWEIGHT() (*big.Int, error)

MAXWEIGHT is a free data retrieval call binding the contract method 0xe4a28a52.

Solidity: function MAX_WEIGHT() view returns(uint256)

func (*BalancerPoolSession) MINBALANCE

func (_BalancerPool *BalancerPoolSession) MINBALANCE() (*big.Int, error)

MINBALANCE is a free data retrieval call binding the contract method 0x867378c5.

Solidity: function MIN_BALANCE() view returns(uint256)

func (*BalancerPoolSession) MINBOUNDTOKENS

func (_BalancerPool *BalancerPoolSession) MINBOUNDTOKENS() (*big.Int, error)

MINBOUNDTOKENS is a free data retrieval call binding the contract method 0xb7b800a4.

Solidity: function MIN_BOUND_TOKENS() view returns(uint256)

func (*BalancerPoolSession) MINBPOWBASE

func (_BalancerPool *BalancerPoolSession) MINBPOWBASE() (*big.Int, error)

MINBPOWBASE is a free data retrieval call binding the contract method 0xba019dab.

Solidity: function MIN_BPOW_BASE() view returns(uint256)

func (*BalancerPoolSession) MINFEE

func (_BalancerPool *BalancerPoolSession) MINFEE() (*big.Int, error)

MINFEE is a free data retrieval call binding the contract method 0x76c7a3c7.

Solidity: function MIN_FEE() view returns(uint256)

func (*BalancerPoolSession) MINWEIGHT

func (_BalancerPool *BalancerPoolSession) MINWEIGHT() (*big.Int, error)

MINWEIGHT is a free data retrieval call binding the contract method 0x218b5382.

Solidity: function MIN_WEIGHT() view returns(uint256)

func (*BalancerPoolSession) Name

func (_BalancerPool *BalancerPoolSession) Name() (string, error)

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

Solidity: function name() view returns(string)

func (*BalancerPoolSession) Rebind

func (_BalancerPool *BalancerPoolSession) Rebind(token common.Address, balance *big.Int, denorm *big.Int) (*types.Transaction, error)

Rebind is a paid mutator transaction binding the contract method 0x3fdddaa2.

Solidity: function rebind(address token, uint256 balance, uint256 denorm) returns()

func (*BalancerPoolSession) SetController

func (_BalancerPool *BalancerPoolSession) SetController(manager common.Address) (*types.Transaction, error)

SetController is a paid mutator transaction binding the contract method 0x92eefe9b.

Solidity: function setController(address manager) returns()

func (*BalancerPoolSession) SetPublicSwap

func (_BalancerPool *BalancerPoolSession) SetPublicSwap(public_ bool) (*types.Transaction, error)

SetPublicSwap is a paid mutator transaction binding the contract method 0x49b59552.

Solidity: function setPublicSwap(bool public_) returns()

func (*BalancerPoolSession) SetSwapFee

func (_BalancerPool *BalancerPoolSession) SetSwapFee(swapFee *big.Int) (*types.Transaction, error)

SetSwapFee is a paid mutator transaction binding the contract method 0x34e19907.

Solidity: function setSwapFee(uint256 swapFee) returns()

func (*BalancerPoolSession) SwapExactAmountIn

func (_BalancerPool *BalancerPoolSession) SwapExactAmountIn(tokenIn common.Address, tokenAmountIn *big.Int, tokenOut common.Address, minAmountOut *big.Int, maxPrice *big.Int) (*types.Transaction, error)

SwapExactAmountIn is a paid mutator transaction binding the contract method 0x8201aa3f.

Solidity: function swapExactAmountIn(address tokenIn, uint256 tokenAmountIn, address tokenOut, uint256 minAmountOut, uint256 maxPrice) returns(uint256 tokenAmountOut, uint256 spotPriceAfter)

func (*BalancerPoolSession) SwapExactAmountOut

func (_BalancerPool *BalancerPoolSession) SwapExactAmountOut(tokenIn common.Address, maxAmountIn *big.Int, tokenOut common.Address, tokenAmountOut *big.Int, maxPrice *big.Int) (*types.Transaction, error)

SwapExactAmountOut is a paid mutator transaction binding the contract method 0x7c5e9ea4.

Solidity: function swapExactAmountOut(address tokenIn, uint256 maxAmountIn, address tokenOut, uint256 tokenAmountOut, uint256 maxPrice) returns(uint256 tokenAmountIn, uint256 spotPriceAfter)

func (*BalancerPoolSession) Symbol

func (_BalancerPool *BalancerPoolSession) Symbol() (string, error)

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

Solidity: function symbol() view returns(string)

func (*BalancerPoolSession) TotalSupply

func (_BalancerPool *BalancerPoolSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

func (*BalancerPoolSession) Transfer

func (_BalancerPool *BalancerPoolSession) Transfer(dst common.Address, amt *big.Int) (*types.Transaction, error)

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

Solidity: function transfer(address dst, uint256 amt) returns(bool)

func (*BalancerPoolSession) TransferFrom

func (_BalancerPool *BalancerPoolSession) TransferFrom(src common.Address, dst common.Address, amt *big.Int) (*types.Transaction, error)

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

Solidity: function transferFrom(address src, address dst, uint256 amt) returns(bool)

func (*BalancerPoolSession) Unbind

func (_BalancerPool *BalancerPoolSession) Unbind(token common.Address) (*types.Transaction, error)

Unbind is a paid mutator transaction binding the contract method 0xcf5e7bd3.

Solidity: function unbind(address token) returns()

type BalancerPoolTransactor

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

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

func NewBalancerPoolTransactor

func NewBalancerPoolTransactor(address common.Address, transactor bind.ContractTransactor) (*BalancerPoolTransactor, error)

NewBalancerPoolTransactor creates a new write-only instance of BalancerPool, bound to a specific deployed contract.

func (*BalancerPoolTransactor) Approve

func (_BalancerPool *BalancerPoolTransactor) Approve(opts *bind.TransactOpts, dst common.Address, amt *big.Int) (*types.Transaction, error)

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

Solidity: function approve(address dst, uint256 amt) returns(bool)

func (*BalancerPoolTransactor) Bind

func (_BalancerPool *BalancerPoolTransactor) Bind(opts *bind.TransactOpts, token common.Address, balance *big.Int, denorm *big.Int) (*types.Transaction, error)

Bind is a paid mutator transaction binding the contract method 0xe4e1e538.

Solidity: function bind(address token, uint256 balance, uint256 denorm) returns()

func (*BalancerPoolTransactor) DecreaseApproval

func (_BalancerPool *BalancerPoolTransactor) DecreaseApproval(opts *bind.TransactOpts, dst common.Address, amt *big.Int) (*types.Transaction, error)

DecreaseApproval is a paid mutator transaction binding the contract method 0x66188463.

Solidity: function decreaseApproval(address dst, uint256 amt) returns(bool)

func (*BalancerPoolTransactor) ExitPool

func (_BalancerPool *BalancerPoolTransactor) ExitPool(opts *bind.TransactOpts, poolAmountIn *big.Int, minAmountsOut []*big.Int) (*types.Transaction, error)

ExitPool is a paid mutator transaction binding the contract method 0xb02f0b73.

Solidity: function exitPool(uint256 poolAmountIn, uint256[] minAmountsOut) returns()

func (*BalancerPoolTransactor) ExitswapExternAmountOut

func (_BalancerPool *BalancerPoolTransactor) ExitswapExternAmountOut(opts *bind.TransactOpts, tokenOut common.Address, tokenAmountOut *big.Int, maxPoolAmountIn *big.Int) (*types.Transaction, error)

ExitswapExternAmountOut is a paid mutator transaction binding the contract method 0x02c96748.

Solidity: function exitswapExternAmountOut(address tokenOut, uint256 tokenAmountOut, uint256 maxPoolAmountIn) returns(uint256 poolAmountIn)

func (*BalancerPoolTransactor) ExitswapPoolAmountIn

func (_BalancerPool *BalancerPoolTransactor) ExitswapPoolAmountIn(opts *bind.TransactOpts, tokenOut common.Address, poolAmountIn *big.Int, minAmountOut *big.Int) (*types.Transaction, error)

ExitswapPoolAmountIn is a paid mutator transaction binding the contract method 0x46ab38f1.

Solidity: function exitswapPoolAmountIn(address tokenOut, uint256 poolAmountIn, uint256 minAmountOut) returns(uint256 tokenAmountOut)

func (*BalancerPoolTransactor) Finalize

func (_BalancerPool *BalancerPoolTransactor) Finalize(opts *bind.TransactOpts) (*types.Transaction, error)

Finalize is a paid mutator transaction binding the contract method 0x4bb278f3.

Solidity: function finalize() returns()

func (*BalancerPoolTransactor) Gulp

func (_BalancerPool *BalancerPoolTransactor) Gulp(opts *bind.TransactOpts, token common.Address) (*types.Transaction, error)

Gulp is a paid mutator transaction binding the contract method 0x8c28cbe8.

Solidity: function gulp(address token) returns()

func (*BalancerPoolTransactor) IncreaseApproval

func (_BalancerPool *BalancerPoolTransactor) IncreaseApproval(opts *bind.TransactOpts, dst common.Address, amt *big.Int) (*types.Transaction, error)

IncreaseApproval is a paid mutator transaction binding the contract method 0xd73dd623.

Solidity: function increaseApproval(address dst, uint256 amt) returns(bool)

func (*BalancerPoolTransactor) JoinPool

func (_BalancerPool *BalancerPoolTransactor) JoinPool(opts *bind.TransactOpts, poolAmountOut *big.Int, maxAmountsIn []*big.Int) (*types.Transaction, error)

JoinPool is a paid mutator transaction binding the contract method 0x4f69c0d4.

Solidity: function joinPool(uint256 poolAmountOut, uint256[] maxAmountsIn) returns()

func (*BalancerPoolTransactor) JoinswapExternAmountIn

func (_BalancerPool *BalancerPoolTransactor) JoinswapExternAmountIn(opts *bind.TransactOpts, tokenIn common.Address, tokenAmountIn *big.Int, minPoolAmountOut *big.Int) (*types.Transaction, error)

JoinswapExternAmountIn is a paid mutator transaction binding the contract method 0x5db34277.

Solidity: function joinswapExternAmountIn(address tokenIn, uint256 tokenAmountIn, uint256 minPoolAmountOut) returns(uint256 poolAmountOut)

func (*BalancerPoolTransactor) JoinswapPoolAmountOut

func (_BalancerPool *BalancerPoolTransactor) JoinswapPoolAmountOut(opts *bind.TransactOpts, tokenIn common.Address, poolAmountOut *big.Int, maxAmountIn *big.Int) (*types.Transaction, error)

JoinswapPoolAmountOut is a paid mutator transaction binding the contract method 0x6d06dfa0.

Solidity: function joinswapPoolAmountOut(address tokenIn, uint256 poolAmountOut, uint256 maxAmountIn) returns(uint256 tokenAmountIn)

func (*BalancerPoolTransactor) Rebind

func (_BalancerPool *BalancerPoolTransactor) Rebind(opts *bind.TransactOpts, token common.Address, balance *big.Int, denorm *big.Int) (*types.Transaction, error)

Rebind is a paid mutator transaction binding the contract method 0x3fdddaa2.

Solidity: function rebind(address token, uint256 balance, uint256 denorm) returns()

func (*BalancerPoolTransactor) SetController

func (_BalancerPool *BalancerPoolTransactor) SetController(opts *bind.TransactOpts, manager common.Address) (*types.Transaction, error)

SetController is a paid mutator transaction binding the contract method 0x92eefe9b.

Solidity: function setController(address manager) returns()

func (*BalancerPoolTransactor) SetPublicSwap

func (_BalancerPool *BalancerPoolTransactor) SetPublicSwap(opts *bind.TransactOpts, public_ bool) (*types.Transaction, error)

SetPublicSwap is a paid mutator transaction binding the contract method 0x49b59552.

Solidity: function setPublicSwap(bool public_) returns()

func (*BalancerPoolTransactor) SetSwapFee

func (_BalancerPool *BalancerPoolTransactor) SetSwapFee(opts *bind.TransactOpts, swapFee *big.Int) (*types.Transaction, error)

SetSwapFee is a paid mutator transaction binding the contract method 0x34e19907.

Solidity: function setSwapFee(uint256 swapFee) returns()

func (*BalancerPoolTransactor) SwapExactAmountIn

func (_BalancerPool *BalancerPoolTransactor) SwapExactAmountIn(opts *bind.TransactOpts, tokenIn common.Address, tokenAmountIn *big.Int, tokenOut common.Address, minAmountOut *big.Int, maxPrice *big.Int) (*types.Transaction, error)

SwapExactAmountIn is a paid mutator transaction binding the contract method 0x8201aa3f.

Solidity: function swapExactAmountIn(address tokenIn, uint256 tokenAmountIn, address tokenOut, uint256 minAmountOut, uint256 maxPrice) returns(uint256 tokenAmountOut, uint256 spotPriceAfter)

func (*BalancerPoolTransactor) SwapExactAmountOut

func (_BalancerPool *BalancerPoolTransactor) SwapExactAmountOut(opts *bind.TransactOpts, tokenIn common.Address, maxAmountIn *big.Int, tokenOut common.Address, tokenAmountOut *big.Int, maxPrice *big.Int) (*types.Transaction, error)

SwapExactAmountOut is a paid mutator transaction binding the contract method 0x7c5e9ea4.

Solidity: function swapExactAmountOut(address tokenIn, uint256 maxAmountIn, address tokenOut, uint256 tokenAmountOut, uint256 maxPrice) returns(uint256 tokenAmountIn, uint256 spotPriceAfter)

func (*BalancerPoolTransactor) Transfer

func (_BalancerPool *BalancerPoolTransactor) Transfer(opts *bind.TransactOpts, dst common.Address, amt *big.Int) (*types.Transaction, error)

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

Solidity: function transfer(address dst, uint256 amt) returns(bool)

func (*BalancerPoolTransactor) TransferFrom

func (_BalancerPool *BalancerPoolTransactor) TransferFrom(opts *bind.TransactOpts, src common.Address, dst common.Address, amt *big.Int) (*types.Transaction, error)

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

Solidity: function transferFrom(address src, address dst, uint256 amt) returns(bool)

func (*BalancerPoolTransactor) Unbind

func (_BalancerPool *BalancerPoolTransactor) Unbind(opts *bind.TransactOpts, token common.Address) (*types.Transaction, error)

Unbind is a paid mutator transaction binding the contract method 0xcf5e7bd3.

Solidity: function unbind(address token) returns()

type BalancerPoolTransactorRaw

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

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

func (*BalancerPoolTransactorRaw) Transact

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

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

func (*BalancerPoolTransactorRaw) Transfer

func (_BalancerPool *BalancerPoolTransactorRaw) 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 BalancerPoolTransactorSession

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

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

func (*BalancerPoolTransactorSession) Approve

func (_BalancerPool *BalancerPoolTransactorSession) Approve(dst common.Address, amt *big.Int) (*types.Transaction, error)

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

Solidity: function approve(address dst, uint256 amt) returns(bool)

func (*BalancerPoolTransactorSession) Bind

func (_BalancerPool *BalancerPoolTransactorSession) Bind(token common.Address, balance *big.Int, denorm *big.Int) (*types.Transaction, error)

Bind is a paid mutator transaction binding the contract method 0xe4e1e538.

Solidity: function bind(address token, uint256 balance, uint256 denorm) returns()

func (*BalancerPoolTransactorSession) DecreaseApproval

func (_BalancerPool *BalancerPoolTransactorSession) DecreaseApproval(dst common.Address, amt *big.Int) (*types.Transaction, error)

DecreaseApproval is a paid mutator transaction binding the contract method 0x66188463.

Solidity: function decreaseApproval(address dst, uint256 amt) returns(bool)

func (*BalancerPoolTransactorSession) ExitPool

func (_BalancerPool *BalancerPoolTransactorSession) ExitPool(poolAmountIn *big.Int, minAmountsOut []*big.Int) (*types.Transaction, error)

ExitPool is a paid mutator transaction binding the contract method 0xb02f0b73.

Solidity: function exitPool(uint256 poolAmountIn, uint256[] minAmountsOut) returns()

func (*BalancerPoolTransactorSession) ExitswapExternAmountOut

func (_BalancerPool *BalancerPoolTransactorSession) ExitswapExternAmountOut(tokenOut common.Address, tokenAmountOut *big.Int, maxPoolAmountIn *big.Int) (*types.Transaction, error)

ExitswapExternAmountOut is a paid mutator transaction binding the contract method 0x02c96748.

Solidity: function exitswapExternAmountOut(address tokenOut, uint256 tokenAmountOut, uint256 maxPoolAmountIn) returns(uint256 poolAmountIn)

func (*BalancerPoolTransactorSession) ExitswapPoolAmountIn

func (_BalancerPool *BalancerPoolTransactorSession) ExitswapPoolAmountIn(tokenOut common.Address, poolAmountIn *big.Int, minAmountOut *big.Int) (*types.Transaction, error)

ExitswapPoolAmountIn is a paid mutator transaction binding the contract method 0x46ab38f1.

Solidity: function exitswapPoolAmountIn(address tokenOut, uint256 poolAmountIn, uint256 minAmountOut) returns(uint256 tokenAmountOut)

func (*BalancerPoolTransactorSession) Finalize

func (_BalancerPool *BalancerPoolTransactorSession) Finalize() (*types.Transaction, error)

Finalize is a paid mutator transaction binding the contract method 0x4bb278f3.

Solidity: function finalize() returns()

func (*BalancerPoolTransactorSession) Gulp

func (_BalancerPool *BalancerPoolTransactorSession) Gulp(token common.Address) (*types.Transaction, error)

Gulp is a paid mutator transaction binding the contract method 0x8c28cbe8.

Solidity: function gulp(address token) returns()

func (*BalancerPoolTransactorSession) IncreaseApproval

func (_BalancerPool *BalancerPoolTransactorSession) IncreaseApproval(dst common.Address, amt *big.Int) (*types.Transaction, error)

IncreaseApproval is a paid mutator transaction binding the contract method 0xd73dd623.

Solidity: function increaseApproval(address dst, uint256 amt) returns(bool)

func (*BalancerPoolTransactorSession) JoinPool

func (_BalancerPool *BalancerPoolTransactorSession) JoinPool(poolAmountOut *big.Int, maxAmountsIn []*big.Int) (*types.Transaction, error)

JoinPool is a paid mutator transaction binding the contract method 0x4f69c0d4.

Solidity: function joinPool(uint256 poolAmountOut, uint256[] maxAmountsIn) returns()

func (*BalancerPoolTransactorSession) JoinswapExternAmountIn

func (_BalancerPool *BalancerPoolTransactorSession) JoinswapExternAmountIn(tokenIn common.Address, tokenAmountIn *big.Int, minPoolAmountOut *big.Int) (*types.Transaction, error)

JoinswapExternAmountIn is a paid mutator transaction binding the contract method 0x5db34277.

Solidity: function joinswapExternAmountIn(address tokenIn, uint256 tokenAmountIn, uint256 minPoolAmountOut) returns(uint256 poolAmountOut)

func (*BalancerPoolTransactorSession) JoinswapPoolAmountOut

func (_BalancerPool *BalancerPoolTransactorSession) JoinswapPoolAmountOut(tokenIn common.Address, poolAmountOut *big.Int, maxAmountIn *big.Int) (*types.Transaction, error)

JoinswapPoolAmountOut is a paid mutator transaction binding the contract method 0x6d06dfa0.

Solidity: function joinswapPoolAmountOut(address tokenIn, uint256 poolAmountOut, uint256 maxAmountIn) returns(uint256 tokenAmountIn)

func (*BalancerPoolTransactorSession) Rebind

func (_BalancerPool *BalancerPoolTransactorSession) Rebind(token common.Address, balance *big.Int, denorm *big.Int) (*types.Transaction, error)

Rebind is a paid mutator transaction binding the contract method 0x3fdddaa2.

Solidity: function rebind(address token, uint256 balance, uint256 denorm) returns()

func (*BalancerPoolTransactorSession) SetController

func (_BalancerPool *BalancerPoolTransactorSession) SetController(manager common.Address) (*types.Transaction, error)

SetController is a paid mutator transaction binding the contract method 0x92eefe9b.

Solidity: function setController(address manager) returns()

func (*BalancerPoolTransactorSession) SetPublicSwap

func (_BalancerPool *BalancerPoolTransactorSession) SetPublicSwap(public_ bool) (*types.Transaction, error)

SetPublicSwap is a paid mutator transaction binding the contract method 0x49b59552.

Solidity: function setPublicSwap(bool public_) returns()

func (*BalancerPoolTransactorSession) SetSwapFee

func (_BalancerPool *BalancerPoolTransactorSession) SetSwapFee(swapFee *big.Int) (*types.Transaction, error)

SetSwapFee is a paid mutator transaction binding the contract method 0x34e19907.

Solidity: function setSwapFee(uint256 swapFee) returns()

func (*BalancerPoolTransactorSession) SwapExactAmountIn

func (_BalancerPool *BalancerPoolTransactorSession) SwapExactAmountIn(tokenIn common.Address, tokenAmountIn *big.Int, tokenOut common.Address, minAmountOut *big.Int, maxPrice *big.Int) (*types.Transaction, error)

SwapExactAmountIn is a paid mutator transaction binding the contract method 0x8201aa3f.

Solidity: function swapExactAmountIn(address tokenIn, uint256 tokenAmountIn, address tokenOut, uint256 minAmountOut, uint256 maxPrice) returns(uint256 tokenAmountOut, uint256 spotPriceAfter)

func (*BalancerPoolTransactorSession) SwapExactAmountOut

func (_BalancerPool *BalancerPoolTransactorSession) SwapExactAmountOut(tokenIn common.Address, maxAmountIn *big.Int, tokenOut common.Address, tokenAmountOut *big.Int, maxPrice *big.Int) (*types.Transaction, error)

SwapExactAmountOut is a paid mutator transaction binding the contract method 0x7c5e9ea4.

Solidity: function swapExactAmountOut(address tokenIn, uint256 maxAmountIn, address tokenOut, uint256 tokenAmountOut, uint256 maxPrice) returns(uint256 tokenAmountIn, uint256 spotPriceAfter)

func (*BalancerPoolTransactorSession) Transfer

func (_BalancerPool *BalancerPoolTransactorSession) Transfer(dst common.Address, amt *big.Int) (*types.Transaction, error)

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

Solidity: function transfer(address dst, uint256 amt) returns(bool)

func (*BalancerPoolTransactorSession) TransferFrom

func (_BalancerPool *BalancerPoolTransactorSession) TransferFrom(src common.Address, dst common.Address, amt *big.Int) (*types.Transaction, error)

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

Solidity: function transferFrom(address src, address dst, uint256 amt) returns(bool)

func (*BalancerPoolTransactorSession) Unbind

func (_BalancerPool *BalancerPoolTransactorSession) Unbind(token common.Address) (*types.Transaction, error)

Unbind is a paid mutator transaction binding the contract method 0xcf5e7bd3.

Solidity: function unbind(address token) returns()

type BalancerPoolTransfer

type BalancerPoolTransfer struct {
	Src common.Address
	Dst common.Address
	Amt *big.Int
	Raw types.Log // Blockchain specific contextual infos
}

BalancerPoolTransfer represents a Transfer event raised by the BalancerPool contract.

type BalancerPoolTransferIterator

type BalancerPoolTransferIterator struct {
	Event *BalancerPoolTransfer // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

BalancerPoolTransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the BalancerPool contract.

func (*BalancerPoolTransferIterator) Close

func (it *BalancerPoolTransferIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*BalancerPoolTransferIterator) Error

func (it *BalancerPoolTransferIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*BalancerPoolTransferIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type BalancerProxyV2

type BalancerProxyV2 struct {
	BalancerProxyV2Caller     // Read-only binding to the contract
	BalancerProxyV2Transactor // Write-only binding to the contract
	BalancerProxyV2Filterer   // Log filterer for contract events
}

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

func NewBalancerProxyV2

func NewBalancerProxyV2(address common.Address, backend bind.ContractBackend) (*BalancerProxyV2, error)

NewBalancerProxyV2 creates a new instance of BalancerProxyV2, bound to a specific deployed contract.

type BalancerProxyV2Caller

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

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

func NewBalancerProxyV2Caller

func NewBalancerProxyV2Caller(address common.Address, caller bind.ContractCaller) (*BalancerProxyV2Caller, error)

NewBalancerProxyV2Caller creates a new read-only instance of BalancerProxyV2, bound to a specific deployed contract.

func (*BalancerProxyV2Caller) IsOwner

func (_BalancerProxyV2 *BalancerProxyV2Caller) IsOwner(opts *bind.CallOpts) (bool, error)

IsOwner is a free data retrieval call binding the contract method 0x8f32d59b.

Solidity: function isOwner() view returns(bool)

func (*BalancerProxyV2Caller) Owner

func (_BalancerProxyV2 *BalancerProxyV2Caller) 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 (*BalancerProxyV2Caller) ViewSplitExactIn

func (_BalancerProxyV2 *BalancerProxyV2Caller) ViewSplitExactIn(opts *bind.CallOpts, tokenIn common.Address, tokenOut common.Address, swapAmount *big.Int, nPools *big.Int) (struct {
	Swaps       []ExchangeProxySwap
	TotalOutput *big.Int
}, error)

ViewSplitExactIn is a free data retrieval call binding the contract method 0x4b0f93fb.

Solidity: function viewSplitExactIn(address tokenIn, address tokenOut, uint256 swapAmount, uint256 nPools) view returns((address,address,address,uint256,uint256,uint256)[] swaps, uint256 totalOutput)

func (*BalancerProxyV2Caller) ViewSplitExactOut

func (_BalancerProxyV2 *BalancerProxyV2Caller) ViewSplitExactOut(opts *bind.CallOpts, tokenIn common.Address, tokenOut common.Address, swapAmount *big.Int, nPools *big.Int) (struct {
	Swaps       []ExchangeProxySwap
	TotalOutput *big.Int
}, error)

ViewSplitExactOut is a free data retrieval call binding the contract method 0x368bb1fc.

Solidity: function viewSplitExactOut(address tokenIn, address tokenOut, uint256 swapAmount, uint256 nPools) view returns((address,address,address,uint256,uint256,uint256)[] swaps, uint256 totalOutput)

type BalancerProxyV2CallerRaw

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

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

func (*BalancerProxyV2CallerRaw) Call

func (_BalancerProxyV2 *BalancerProxyV2CallerRaw) 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 BalancerProxyV2CallerSession

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

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

func (*BalancerProxyV2CallerSession) IsOwner

func (_BalancerProxyV2 *BalancerProxyV2CallerSession) IsOwner() (bool, error)

IsOwner is a free data retrieval call binding the contract method 0x8f32d59b.

Solidity: function isOwner() view returns(bool)

func (*BalancerProxyV2CallerSession) Owner

func (_BalancerProxyV2 *BalancerProxyV2CallerSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*BalancerProxyV2CallerSession) ViewSplitExactIn

func (_BalancerProxyV2 *BalancerProxyV2CallerSession) ViewSplitExactIn(tokenIn common.Address, tokenOut common.Address, swapAmount *big.Int, nPools *big.Int) (struct {
	Swaps       []ExchangeProxySwap
	TotalOutput *big.Int
}, error)

ViewSplitExactIn is a free data retrieval call binding the contract method 0x4b0f93fb.

Solidity: function viewSplitExactIn(address tokenIn, address tokenOut, uint256 swapAmount, uint256 nPools) view returns((address,address,address,uint256,uint256,uint256)[] swaps, uint256 totalOutput)

func (*BalancerProxyV2CallerSession) ViewSplitExactOut

func (_BalancerProxyV2 *BalancerProxyV2CallerSession) ViewSplitExactOut(tokenIn common.Address, tokenOut common.Address, swapAmount *big.Int, nPools *big.Int) (struct {
	Swaps       []ExchangeProxySwap
	TotalOutput *big.Int
}, error)

ViewSplitExactOut is a free data retrieval call binding the contract method 0x368bb1fc.

Solidity: function viewSplitExactOut(address tokenIn, address tokenOut, uint256 swapAmount, uint256 nPools) view returns((address,address,address,uint256,uint256,uint256)[] swaps, uint256 totalOutput)

type BalancerProxyV2Filterer

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

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

func NewBalancerProxyV2Filterer

func NewBalancerProxyV2Filterer(address common.Address, filterer bind.ContractFilterer) (*BalancerProxyV2Filterer, error)

NewBalancerProxyV2Filterer creates a new log filterer instance of BalancerProxyV2, bound to a specific deployed contract.

func (*BalancerProxyV2Filterer) FilterOwnershipTransferred

func (_BalancerProxyV2 *BalancerProxyV2Filterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*BalancerProxyV2OwnershipTransferredIterator, error)

FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*BalancerProxyV2Filterer) ParseOwnershipTransferred

func (_BalancerProxyV2 *BalancerProxyV2Filterer) ParseOwnershipTransferred(log types.Log) (*BalancerProxyV2OwnershipTransferred, error)

ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*BalancerProxyV2Filterer) WatchOwnershipTransferred

func (_BalancerProxyV2 *BalancerProxyV2Filterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *BalancerProxyV2OwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)

WatchOwnershipTransferred is a free log subscription operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

type BalancerProxyV2OwnershipTransferred

type BalancerProxyV2OwnershipTransferred struct {
	PreviousOwner common.Address
	NewOwner      common.Address
	Raw           types.Log // Blockchain specific contextual infos
}

BalancerProxyV2OwnershipTransferred represents a OwnershipTransferred event raised by the BalancerProxyV2 contract.

type BalancerProxyV2OwnershipTransferredIterator

type BalancerProxyV2OwnershipTransferredIterator struct {
	Event *BalancerProxyV2OwnershipTransferred // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

BalancerProxyV2OwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the BalancerProxyV2 contract.

func (*BalancerProxyV2OwnershipTransferredIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*BalancerProxyV2OwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*BalancerProxyV2OwnershipTransferredIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type BalancerProxyV2Raw

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

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

func (*BalancerProxyV2Raw) Call

func (_BalancerProxyV2 *BalancerProxyV2Raw) 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 (*BalancerProxyV2Raw) Transact

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

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

func (*BalancerProxyV2Raw) Transfer

func (_BalancerProxyV2 *BalancerProxyV2Raw) 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 BalancerProxyV2Session

type BalancerProxyV2Session struct {
	Contract     *BalancerProxyV2  // 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
}

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

func (*BalancerProxyV2Session) BatchSwapExactIn

func (_BalancerProxyV2 *BalancerProxyV2Session) BatchSwapExactIn(swaps []ExchangeProxySwap, tokenIn common.Address, tokenOut common.Address, totalAmountIn *big.Int, minTotalAmountOut *big.Int) (*types.Transaction, error)

BatchSwapExactIn is a paid mutator transaction binding the contract method 0x8743ad58.

Solidity: function batchSwapExactIn((address,address,address,uint256,uint256,uint256)[] swaps, address tokenIn, address tokenOut, uint256 totalAmountIn, uint256 minTotalAmountOut) payable returns(uint256 totalAmountOut)

func (*BalancerProxyV2Session) BatchSwapExactOut

func (_BalancerProxyV2 *BalancerProxyV2Session) BatchSwapExactOut(swaps []ExchangeProxySwap, tokenIn common.Address, tokenOut common.Address, maxTotalAmountIn *big.Int) (*types.Transaction, error)

BatchSwapExactOut is a paid mutator transaction binding the contract method 0x2db58134.

Solidity: function batchSwapExactOut((address,address,address,uint256,uint256,uint256)[] swaps, address tokenIn, address tokenOut, uint256 maxTotalAmountIn) payable returns(uint256 totalAmountIn)

func (*BalancerProxyV2Session) Fallback

func (_BalancerProxyV2 *BalancerProxyV2Session) Fallback(calldata []byte) (*types.Transaction, error)

Fallback is a paid mutator transaction binding the contract fallback function.

Solidity: fallback() payable returns()

func (*BalancerProxyV2Session) IsOwner

func (_BalancerProxyV2 *BalancerProxyV2Session) IsOwner() (bool, error)

IsOwner is a free data retrieval call binding the contract method 0x8f32d59b.

Solidity: function isOwner() view returns(bool)

func (*BalancerProxyV2Session) MultihopBatchSwapExactIn

func (_BalancerProxyV2 *BalancerProxyV2Session) MultihopBatchSwapExactIn(swapSequences [][]ExchangeProxySwap, tokenIn common.Address, tokenOut common.Address, totalAmountIn *big.Int, minTotalAmountOut *big.Int) (*types.Transaction, error)

MultihopBatchSwapExactIn is a paid mutator transaction binding the contract method 0xe2b39746.

Solidity: function multihopBatchSwapExactIn((address,address,address,uint256,uint256,uint256)[][] swapSequences, address tokenIn, address tokenOut, uint256 totalAmountIn, uint256 minTotalAmountOut) payable returns(uint256 totalAmountOut)

func (*BalancerProxyV2Session) MultihopBatchSwapExactOut

func (_BalancerProxyV2 *BalancerProxyV2Session) MultihopBatchSwapExactOut(swapSequences [][]ExchangeProxySwap, tokenIn common.Address, tokenOut common.Address, maxTotalAmountIn *big.Int) (*types.Transaction, error)

MultihopBatchSwapExactOut is a paid mutator transaction binding the contract method 0x86b2ecc4.

Solidity: function multihopBatchSwapExactOut((address,address,address,uint256,uint256,uint256)[][] swapSequences, address tokenIn, address tokenOut, uint256 maxTotalAmountIn) payable returns(uint256 totalAmountIn)

func (*BalancerProxyV2Session) Owner

func (_BalancerProxyV2 *BalancerProxyV2Session) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*BalancerProxyV2Session) RenounceOwnership

func (_BalancerProxyV2 *BalancerProxyV2Session) RenounceOwnership() (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*BalancerProxyV2Session) SetRegistry

func (_BalancerProxyV2 *BalancerProxyV2Session) SetRegistry(_registry common.Address) (*types.Transaction, error)

SetRegistry is a paid mutator transaction binding the contract method 0xa91ee0dc.

Solidity: function setRegistry(address _registry) returns()

func (*BalancerProxyV2Session) SmartSwapExactIn

func (_BalancerProxyV2 *BalancerProxyV2Session) SmartSwapExactIn(tokenIn common.Address, tokenOut common.Address, totalAmountIn *big.Int, minTotalAmountOut *big.Int, nPools *big.Int) (*types.Transaction, error)

SmartSwapExactIn is a paid mutator transaction binding the contract method 0x21b0eb85.

Solidity: function smartSwapExactIn(address tokenIn, address tokenOut, uint256 totalAmountIn, uint256 minTotalAmountOut, uint256 nPools) payable returns(uint256 totalAmountOut)

func (*BalancerProxyV2Session) SmartSwapExactOut

func (_BalancerProxyV2 *BalancerProxyV2Session) SmartSwapExactOut(tokenIn common.Address, tokenOut common.Address, totalAmountOut *big.Int, maxTotalAmountIn *big.Int, nPools *big.Int) (*types.Transaction, error)

SmartSwapExactOut is a paid mutator transaction binding the contract method 0xb40f39ee.

Solidity: function smartSwapExactOut(address tokenIn, address tokenOut, uint256 totalAmountOut, uint256 maxTotalAmountIn, uint256 nPools) payable returns(uint256 totalAmountIn)

func (*BalancerProxyV2Session) TransferOwnership

func (_BalancerProxyV2 *BalancerProxyV2Session) 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 (*BalancerProxyV2Session) ViewSplitExactIn

func (_BalancerProxyV2 *BalancerProxyV2Session) ViewSplitExactIn(tokenIn common.Address, tokenOut common.Address, swapAmount *big.Int, nPools *big.Int) (struct {
	Swaps       []ExchangeProxySwap
	TotalOutput *big.Int
}, error)

ViewSplitExactIn is a free data retrieval call binding the contract method 0x4b0f93fb.

Solidity: function viewSplitExactIn(address tokenIn, address tokenOut, uint256 swapAmount, uint256 nPools) view returns((address,address,address,uint256,uint256,uint256)[] swaps, uint256 totalOutput)

func (*BalancerProxyV2Session) ViewSplitExactOut

func (_BalancerProxyV2 *BalancerProxyV2Session) ViewSplitExactOut(tokenIn common.Address, tokenOut common.Address, swapAmount *big.Int, nPools *big.Int) (struct {
	Swaps       []ExchangeProxySwap
	TotalOutput *big.Int
}, error)

ViewSplitExactOut is a free data retrieval call binding the contract method 0x368bb1fc.

Solidity: function viewSplitExactOut(address tokenIn, address tokenOut, uint256 swapAmount, uint256 nPools) view returns((address,address,address,uint256,uint256,uint256)[] swaps, uint256 totalOutput)

type BalancerProxyV2Transactor

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

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

func NewBalancerProxyV2Transactor

func NewBalancerProxyV2Transactor(address common.Address, transactor bind.ContractTransactor) (*BalancerProxyV2Transactor, error)

NewBalancerProxyV2Transactor creates a new write-only instance of BalancerProxyV2, bound to a specific deployed contract.

func (*BalancerProxyV2Transactor) BatchSwapExactIn

func (_BalancerProxyV2 *BalancerProxyV2Transactor) BatchSwapExactIn(opts *bind.TransactOpts, swaps []ExchangeProxySwap, tokenIn common.Address, tokenOut common.Address, totalAmountIn *big.Int, minTotalAmountOut *big.Int) (*types.Transaction, error)

BatchSwapExactIn is a paid mutator transaction binding the contract method 0x8743ad58.

Solidity: function batchSwapExactIn((address,address,address,uint256,uint256,uint256)[] swaps, address tokenIn, address tokenOut, uint256 totalAmountIn, uint256 minTotalAmountOut) payable returns(uint256 totalAmountOut)

func (*BalancerProxyV2Transactor) BatchSwapExactOut

func (_BalancerProxyV2 *BalancerProxyV2Transactor) BatchSwapExactOut(opts *bind.TransactOpts, swaps []ExchangeProxySwap, tokenIn common.Address, tokenOut common.Address, maxTotalAmountIn *big.Int) (*types.Transaction, error)

BatchSwapExactOut is a paid mutator transaction binding the contract method 0x2db58134.

Solidity: function batchSwapExactOut((address,address,address,uint256,uint256,uint256)[] swaps, address tokenIn, address tokenOut, uint256 maxTotalAmountIn) payable returns(uint256 totalAmountIn)

func (*BalancerProxyV2Transactor) Fallback

func (_BalancerProxyV2 *BalancerProxyV2Transactor) Fallback(opts *bind.TransactOpts, calldata []byte) (*types.Transaction, error)

Fallback is a paid mutator transaction binding the contract fallback function.

Solidity: fallback() payable returns()

func (*BalancerProxyV2Transactor) MultihopBatchSwapExactIn

func (_BalancerProxyV2 *BalancerProxyV2Transactor) MultihopBatchSwapExactIn(opts *bind.TransactOpts, swapSequences [][]ExchangeProxySwap, tokenIn common.Address, tokenOut common.Address, totalAmountIn *big.Int, minTotalAmountOut *big.Int) (*types.Transaction, error)

MultihopBatchSwapExactIn is a paid mutator transaction binding the contract method 0xe2b39746.

Solidity: function multihopBatchSwapExactIn((address,address,address,uint256,uint256,uint256)[][] swapSequences, address tokenIn, address tokenOut, uint256 totalAmountIn, uint256 minTotalAmountOut) payable returns(uint256 totalAmountOut)

func (*BalancerProxyV2Transactor) MultihopBatchSwapExactOut

func (_BalancerProxyV2 *BalancerProxyV2Transactor) MultihopBatchSwapExactOut(opts *bind.TransactOpts, swapSequences [][]ExchangeProxySwap, tokenIn common.Address, tokenOut common.Address, maxTotalAmountIn *big.Int) (*types.Transaction, error)

MultihopBatchSwapExactOut is a paid mutator transaction binding the contract method 0x86b2ecc4.

Solidity: function multihopBatchSwapExactOut((address,address,address,uint256,uint256,uint256)[][] swapSequences, address tokenIn, address tokenOut, uint256 maxTotalAmountIn) payable returns(uint256 totalAmountIn)

func (*BalancerProxyV2Transactor) RenounceOwnership

func (_BalancerProxyV2 *BalancerProxyV2Transactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*BalancerProxyV2Transactor) SetRegistry

func (_BalancerProxyV2 *BalancerProxyV2Transactor) SetRegistry(opts *bind.TransactOpts, _registry common.Address) (*types.Transaction, error)

SetRegistry is a paid mutator transaction binding the contract method 0xa91ee0dc.

Solidity: function setRegistry(address _registry) returns()

func (*BalancerProxyV2Transactor) SmartSwapExactIn

func (_BalancerProxyV2 *BalancerProxyV2Transactor) SmartSwapExactIn(opts *bind.TransactOpts, tokenIn common.Address, tokenOut common.Address, totalAmountIn *big.Int, minTotalAmountOut *big.Int, nPools *big.Int) (*types.Transaction, error)

SmartSwapExactIn is a paid mutator transaction binding the contract method 0x21b0eb85.

Solidity: function smartSwapExactIn(address tokenIn, address tokenOut, uint256 totalAmountIn, uint256 minTotalAmountOut, uint256 nPools) payable returns(uint256 totalAmountOut)

func (*BalancerProxyV2Transactor) SmartSwapExactOut

func (_BalancerProxyV2 *BalancerProxyV2Transactor) SmartSwapExactOut(opts *bind.TransactOpts, tokenIn common.Address, tokenOut common.Address, totalAmountOut *big.Int, maxTotalAmountIn *big.Int, nPools *big.Int) (*types.Transaction, error)

SmartSwapExactOut is a paid mutator transaction binding the contract method 0xb40f39ee.

Solidity: function smartSwapExactOut(address tokenIn, address tokenOut, uint256 totalAmountOut, uint256 maxTotalAmountIn, uint256 nPools) payable returns(uint256 totalAmountIn)

func (*BalancerProxyV2Transactor) TransferOwnership

func (_BalancerProxyV2 *BalancerProxyV2Transactor) 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()

type BalancerProxyV2TransactorRaw

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

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

func (*BalancerProxyV2TransactorRaw) Transact

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

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

func (*BalancerProxyV2TransactorRaw) Transfer

func (_BalancerProxyV2 *BalancerProxyV2TransactorRaw) 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 BalancerProxyV2TransactorSession

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

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

func (*BalancerProxyV2TransactorSession) BatchSwapExactIn

func (_BalancerProxyV2 *BalancerProxyV2TransactorSession) BatchSwapExactIn(swaps []ExchangeProxySwap, tokenIn common.Address, tokenOut common.Address, totalAmountIn *big.Int, minTotalAmountOut *big.Int) (*types.Transaction, error)

BatchSwapExactIn is a paid mutator transaction binding the contract method 0x8743ad58.

Solidity: function batchSwapExactIn((address,address,address,uint256,uint256,uint256)[] swaps, address tokenIn, address tokenOut, uint256 totalAmountIn, uint256 minTotalAmountOut) payable returns(uint256 totalAmountOut)

func (*BalancerProxyV2TransactorSession) BatchSwapExactOut

func (_BalancerProxyV2 *BalancerProxyV2TransactorSession) BatchSwapExactOut(swaps []ExchangeProxySwap, tokenIn common.Address, tokenOut common.Address, maxTotalAmountIn *big.Int) (*types.Transaction, error)

BatchSwapExactOut is a paid mutator transaction binding the contract method 0x2db58134.

Solidity: function batchSwapExactOut((address,address,address,uint256,uint256,uint256)[] swaps, address tokenIn, address tokenOut, uint256 maxTotalAmountIn) payable returns(uint256 totalAmountIn)

func (*BalancerProxyV2TransactorSession) Fallback

func (_BalancerProxyV2 *BalancerProxyV2TransactorSession) Fallback(calldata []byte) (*types.Transaction, error)

Fallback is a paid mutator transaction binding the contract fallback function.

Solidity: fallback() payable returns()

func (*BalancerProxyV2TransactorSession) MultihopBatchSwapExactIn

func (_BalancerProxyV2 *BalancerProxyV2TransactorSession) MultihopBatchSwapExactIn(swapSequences [][]ExchangeProxySwap, tokenIn common.Address, tokenOut common.Address, totalAmountIn *big.Int, minTotalAmountOut *big.Int) (*types.Transaction, error)

MultihopBatchSwapExactIn is a paid mutator transaction binding the contract method 0xe2b39746.

Solidity: function multihopBatchSwapExactIn((address,address,address,uint256,uint256,uint256)[][] swapSequences, address tokenIn, address tokenOut, uint256 totalAmountIn, uint256 minTotalAmountOut) payable returns(uint256 totalAmountOut)

func (*BalancerProxyV2TransactorSession) MultihopBatchSwapExactOut

func (_BalancerProxyV2 *BalancerProxyV2TransactorSession) MultihopBatchSwapExactOut(swapSequences [][]ExchangeProxySwap, tokenIn common.Address, tokenOut common.Address, maxTotalAmountIn *big.Int) (*types.Transaction, error)

MultihopBatchSwapExactOut is a paid mutator transaction binding the contract method 0x86b2ecc4.

Solidity: function multihopBatchSwapExactOut((address,address,address,uint256,uint256,uint256)[][] swapSequences, address tokenIn, address tokenOut, uint256 maxTotalAmountIn) payable returns(uint256 totalAmountIn)

func (*BalancerProxyV2TransactorSession) RenounceOwnership

func (_BalancerProxyV2 *BalancerProxyV2TransactorSession) RenounceOwnership() (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*BalancerProxyV2TransactorSession) SetRegistry

func (_BalancerProxyV2 *BalancerProxyV2TransactorSession) SetRegistry(_registry common.Address) (*types.Transaction, error)

SetRegistry is a paid mutator transaction binding the contract method 0xa91ee0dc.

Solidity: function setRegistry(address _registry) returns()

func (*BalancerProxyV2TransactorSession) SmartSwapExactIn

func (_BalancerProxyV2 *BalancerProxyV2TransactorSession) SmartSwapExactIn(tokenIn common.Address, tokenOut common.Address, totalAmountIn *big.Int, minTotalAmountOut *big.Int, nPools *big.Int) (*types.Transaction, error)

SmartSwapExactIn is a paid mutator transaction binding the contract method 0x21b0eb85.

Solidity: function smartSwapExactIn(address tokenIn, address tokenOut, uint256 totalAmountIn, uint256 minTotalAmountOut, uint256 nPools) payable returns(uint256 totalAmountOut)

func (*BalancerProxyV2TransactorSession) SmartSwapExactOut

func (_BalancerProxyV2 *BalancerProxyV2TransactorSession) SmartSwapExactOut(tokenIn common.Address, tokenOut common.Address, totalAmountOut *big.Int, maxTotalAmountIn *big.Int, nPools *big.Int) (*types.Transaction, error)

SmartSwapExactOut is a paid mutator transaction binding the contract method 0xb40f39ee.

Solidity: function smartSwapExactOut(address tokenIn, address tokenOut, uint256 totalAmountOut, uint256 maxTotalAmountIn, uint256 nPools) payable returns(uint256 totalAmountIn)

func (*BalancerProxyV2TransactorSession) TransferOwnership

func (_BalancerProxyV2 *BalancerProxyV2TransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

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

Solidity: function transferOwnership(address newOwner) returns()

type BalancerRaw

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

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

func (*BalancerRaw) Call

func (_Balancer *BalancerRaw) 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 (*BalancerRaw) Transact

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

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

func (*BalancerRaw) Transfer

func (_Balancer *BalancerRaw) 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 BalancerRegistry

type BalancerRegistry struct {
	BalancerRegistryCaller     // Read-only binding to the contract
	BalancerRegistryTransactor // Write-only binding to the contract
	BalancerRegistryFilterer   // Log filterer for contract events
}

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

func NewBalancerRegistry

func NewBalancerRegistry(address common.Address, backend bind.ContractBackend) (*BalancerRegistry, error)

NewBalancerRegistry creates a new instance of BalancerRegistry, bound to a specific deployed contract.

type BalancerRegistryCaller

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

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

func NewBalancerRegistryCaller

func NewBalancerRegistryCaller(address common.Address, caller bind.ContractCaller) (*BalancerRegistryCaller, error)

NewBalancerRegistryCaller creates a new read-only instance of BalancerRegistry, bound to a specific deployed contract.

func (*BalancerRegistryCaller) CheckAddedPools

func (_BalancerRegistry *BalancerRegistryCaller) CheckAddedPools(opts *bind.CallOpts, pool common.Address) (bool, error)

CheckAddedPools is a free data retrieval call binding the contract method 0x540c1e97.

Solidity: function checkAddedPools(address pool) view returns(bool)

func (*BalancerRegistryCaller) GetAddedPools

func (_BalancerRegistry *BalancerRegistryCaller) GetAddedPools(opts *bind.CallOpts) ([]common.Address, error)

GetAddedPools is a free data retrieval call binding the contract method 0xac86917f.

Solidity: function getAddedPools() view returns(address[])

func (*BalancerRegistryCaller) GetAddedPoolsLength

func (_BalancerRegistry *BalancerRegistryCaller) GetAddedPoolsLength(opts *bind.CallOpts) (*big.Int, error)

GetAddedPoolsLength is a free data retrieval call binding the contract method 0x384a91d0.

Solidity: function getAddedPoolsLength() view returns(uint256)

func (*BalancerRegistryCaller) GetAddedPoolsWithLimit

func (_BalancerRegistry *BalancerRegistryCaller) GetAddedPoolsWithLimit(opts *bind.CallOpts, offset *big.Int, limit *big.Int) ([]common.Address, error)

GetAddedPoolsWithLimit is a free data retrieval call binding the contract method 0x9757e593.

Solidity: function getAddedPoolsWithLimit(uint256 offset, uint256 limit) view returns(address[] result)

func (*BalancerRegistryCaller) GetAllTokens

func (_BalancerRegistry *BalancerRegistryCaller) GetAllTokens(opts *bind.CallOpts) ([]common.Address, error)

GetAllTokens is a free data retrieval call binding the contract method 0x2a5c792a.

Solidity: function getAllTokens() view returns(address[])

func (*BalancerRegistryCaller) GetAllTokensLength

func (_BalancerRegistry *BalancerRegistryCaller) GetAllTokensLength(opts *bind.CallOpts) (*big.Int, error)

GetAllTokensLength is a free data retrieval call binding the contract method 0x5ad20c3a.

Solidity: function getAllTokensLength() view returns(uint256)

func (*BalancerRegistryCaller) GetAllTokensWithLimit

func (_BalancerRegistry *BalancerRegistryCaller) GetAllTokensWithLimit(opts *bind.CallOpts, offset *big.Int, limit *big.Int) ([]common.Address, error)

GetAllTokensWithLimit is a free data retrieval call binding the contract method 0x2ad11a11.

Solidity: function getAllTokensWithLimit(uint256 offset, uint256 limit) view returns(address[] result)

func (*BalancerRegistryCaller) GetBestPools

func (_BalancerRegistry *BalancerRegistryCaller) GetBestPools(opts *bind.CallOpts, fromToken common.Address, destToken common.Address) ([]common.Address, error)

GetBestPools is a free data retrieval call binding the contract method 0xe7156fa3.

Solidity: function getBestPools(address fromToken, address destToken) view returns(address[] pools)

func (*BalancerRegistryCaller) GetBestPoolsWithLimit

func (_BalancerRegistry *BalancerRegistryCaller) GetBestPoolsWithLimit(opts *bind.CallOpts, fromToken common.Address, destToken common.Address, limit *big.Int) ([]common.Address, error)

GetBestPoolsWithLimit is a free data retrieval call binding the contract method 0xbfdbfc43.

Solidity: function getBestPoolsWithLimit(address fromToken, address destToken, uint256 limit) view returns(address[] pools)

func (*BalancerRegistryCaller) GetPairInfo

func (_BalancerRegistry *BalancerRegistryCaller) GetPairInfo(opts *bind.CallOpts, pool common.Address, fromToken common.Address, destToken common.Address) (struct {
	Weight1 *big.Int
	Weight2 *big.Int
	SwapFee *big.Int
}, error)

GetPairInfo is a free data retrieval call binding the contract method 0xf5406970.

Solidity: function getPairInfo(address pool, address fromToken, address destToken) view returns(uint256 weight1, uint256 weight2, uint256 swapFee)

func (*BalancerRegistryCaller) GetPoolReturn

func (_BalancerRegistry *BalancerRegistryCaller) GetPoolReturn(opts *bind.CallOpts, pool common.Address, fromToken common.Address, destToken common.Address, amount *big.Int) (*big.Int, error)

GetPoolReturn is a free data retrieval call binding the contract method 0x1434bc5a.

Solidity: function getPoolReturn(address pool, address fromToken, address destToken, uint256 amount) view returns(uint256)

func (*BalancerRegistryCaller) GetPoolReturns

func (_BalancerRegistry *BalancerRegistryCaller) GetPoolReturns(opts *bind.CallOpts, pool common.Address, fromToken common.Address, destToken common.Address, amounts []*big.Int) ([]*big.Int, error)

GetPoolReturns is a free data retrieval call binding the contract method 0x5caf8ddd.

Solidity: function getPoolReturns(address pool, address fromToken, address destToken, uint256[] amounts) view returns(uint256[] result)

func (*BalancerRegistryCaller) GetPools

func (_BalancerRegistry *BalancerRegistryCaller) GetPools(opts *bind.CallOpts, fromToken common.Address, destToken common.Address) ([]common.Address, error)

GetPools is a free data retrieval call binding the contract method 0x5b1dc86f.

Solidity: function getPools(address fromToken, address destToken) view returns(address[])

func (*BalancerRegistryCaller) GetPoolsLength

func (_BalancerRegistry *BalancerRegistryCaller) GetPoolsLength(opts *bind.CallOpts, fromToken common.Address, destToken common.Address) (*big.Int, error)

GetPoolsLength is a free data retrieval call binding the contract method 0x538633df.

Solidity: function getPoolsLength(address fromToken, address destToken) view returns(uint256)

func (*BalancerRegistryCaller) GetPoolsWithLimit

func (_BalancerRegistry *BalancerRegistryCaller) GetPoolsWithLimit(opts *bind.CallOpts, fromToken common.Address, destToken common.Address, offset *big.Int, limit *big.Int) ([]common.Address, error)

GetPoolsWithLimit is a free data retrieval call binding the contract method 0xb108cd37.

Solidity: function getPoolsWithLimit(address fromToken, address destToken, uint256 offset, uint256 limit) view returns(address[] result)

type BalancerRegistryCallerRaw

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

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

func (*BalancerRegistryCallerRaw) Call

func (_BalancerRegistry *BalancerRegistryCallerRaw) 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 BalancerRegistryCallerSession

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

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

func (*BalancerRegistryCallerSession) CheckAddedPools

func (_BalancerRegistry *BalancerRegistryCallerSession) CheckAddedPools(pool common.Address) (bool, error)

CheckAddedPools is a free data retrieval call binding the contract method 0x540c1e97.

Solidity: function checkAddedPools(address pool) view returns(bool)

func (*BalancerRegistryCallerSession) GetAddedPools

func (_BalancerRegistry *BalancerRegistryCallerSession) GetAddedPools() ([]common.Address, error)

GetAddedPools is a free data retrieval call binding the contract method 0xac86917f.

Solidity: function getAddedPools() view returns(address[])

func (*BalancerRegistryCallerSession) GetAddedPoolsLength

func (_BalancerRegistry *BalancerRegistryCallerSession) GetAddedPoolsLength() (*big.Int, error)

GetAddedPoolsLength is a free data retrieval call binding the contract method 0x384a91d0.

Solidity: function getAddedPoolsLength() view returns(uint256)

func (*BalancerRegistryCallerSession) GetAddedPoolsWithLimit

func (_BalancerRegistry *BalancerRegistryCallerSession) GetAddedPoolsWithLimit(offset *big.Int, limit *big.Int) ([]common.Address, error)

GetAddedPoolsWithLimit is a free data retrieval call binding the contract method 0x9757e593.

Solidity: function getAddedPoolsWithLimit(uint256 offset, uint256 limit) view returns(address[] result)

func (*BalancerRegistryCallerSession) GetAllTokens

func (_BalancerRegistry *BalancerRegistryCallerSession) GetAllTokens() ([]common.Address, error)

GetAllTokens is a free data retrieval call binding the contract method 0x2a5c792a.

Solidity: function getAllTokens() view returns(address[])

func (*BalancerRegistryCallerSession) GetAllTokensLength

func (_BalancerRegistry *BalancerRegistryCallerSession) GetAllTokensLength() (*big.Int, error)

GetAllTokensLength is a free data retrieval call binding the contract method 0x5ad20c3a.

Solidity: function getAllTokensLength() view returns(uint256)

func (*BalancerRegistryCallerSession) GetAllTokensWithLimit

func (_BalancerRegistry *BalancerRegistryCallerSession) GetAllTokensWithLimit(offset *big.Int, limit *big.Int) ([]common.Address, error)

GetAllTokensWithLimit is a free data retrieval call binding the contract method 0x2ad11a11.

Solidity: function getAllTokensWithLimit(uint256 offset, uint256 limit) view returns(address[] result)

func (*BalancerRegistryCallerSession) GetBestPools

func (_BalancerRegistry *BalancerRegistryCallerSession) GetBestPools(fromToken common.Address, destToken common.Address) ([]common.Address, error)

GetBestPools is a free data retrieval call binding the contract method 0xe7156fa3.

Solidity: function getBestPools(address fromToken, address destToken) view returns(address[] pools)

func (*BalancerRegistryCallerSession) GetBestPoolsWithLimit

func (_BalancerRegistry *BalancerRegistryCallerSession) GetBestPoolsWithLimit(fromToken common.Address, destToken common.Address, limit *big.Int) ([]common.Address, error)

GetBestPoolsWithLimit is a free data retrieval call binding the contract method 0xbfdbfc43.

Solidity: function getBestPoolsWithLimit(address fromToken, address destToken, uint256 limit) view returns(address[] pools)

func (*BalancerRegistryCallerSession) GetPairInfo

func (_BalancerRegistry *BalancerRegistryCallerSession) GetPairInfo(pool common.Address, fromToken common.Address, destToken common.Address) (struct {
	Weight1 *big.Int
	Weight2 *big.Int
	SwapFee *big.Int
}, error)

GetPairInfo is a free data retrieval call binding the contract method 0xf5406970.

Solidity: function getPairInfo(address pool, address fromToken, address destToken) view returns(uint256 weight1, uint256 weight2, uint256 swapFee)

func (*BalancerRegistryCallerSession) GetPoolReturn

func (_BalancerRegistry *BalancerRegistryCallerSession) GetPoolReturn(pool common.Address, fromToken common.Address, destToken common.Address, amount *big.Int) (*big.Int, error)

GetPoolReturn is a free data retrieval call binding the contract method 0x1434bc5a.

Solidity: function getPoolReturn(address pool, address fromToken, address destToken, uint256 amount) view returns(uint256)

func (*BalancerRegistryCallerSession) GetPoolReturns

func (_BalancerRegistry *BalancerRegistryCallerSession) GetPoolReturns(pool common.Address, fromToken common.Address, destToken common.Address, amounts []*big.Int) ([]*big.Int, error)

GetPoolReturns is a free data retrieval call binding the contract method 0x5caf8ddd.

Solidity: function getPoolReturns(address pool, address fromToken, address destToken, uint256[] amounts) view returns(uint256[] result)

func (*BalancerRegistryCallerSession) GetPools

func (_BalancerRegistry *BalancerRegistryCallerSession) GetPools(fromToken common.Address, destToken common.Address) ([]common.Address, error)

GetPools is a free data retrieval call binding the contract method 0x5b1dc86f.

Solidity: function getPools(address fromToken, address destToken) view returns(address[])

func (*BalancerRegistryCallerSession) GetPoolsLength

func (_BalancerRegistry *BalancerRegistryCallerSession) GetPoolsLength(fromToken common.Address, destToken common.Address) (*big.Int, error)

GetPoolsLength is a free data retrieval call binding the contract method 0x538633df.

Solidity: function getPoolsLength(address fromToken, address destToken) view returns(uint256)

func (*BalancerRegistryCallerSession) GetPoolsWithLimit

func (_BalancerRegistry *BalancerRegistryCallerSession) GetPoolsWithLimit(fromToken common.Address, destToken common.Address, offset *big.Int, limit *big.Int) ([]common.Address, error)

GetPoolsWithLimit is a free data retrieval call binding the contract method 0xb108cd37.

Solidity: function getPoolsWithLimit(address fromToken, address destToken, uint256 offset, uint256 limit) view returns(address[] result)

type BalancerRegistryFilterer

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

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

func NewBalancerRegistryFilterer

func NewBalancerRegistryFilterer(address common.Address, filterer bind.ContractFilterer) (*BalancerRegistryFilterer, error)

NewBalancerRegistryFilterer creates a new log filterer instance of BalancerRegistry, bound to a specific deployed contract.

func (*BalancerRegistryFilterer) FilterIndicesUpdated

func (_BalancerRegistry *BalancerRegistryFilterer) FilterIndicesUpdated(opts *bind.FilterOpts, fromToken []common.Address, destToken []common.Address) (*BalancerRegistryIndicesUpdatedIterator, error)

FilterIndicesUpdated is a free log retrieval operation binding the contract event 0xa91f9532dc66c94302dbfd7be21a31cdee3b1c97e8b3064aab212b8e64e936c5.

Solidity: event IndicesUpdated(address indexed fromToken, address indexed destToken, bytes32 oldIndices, bytes32 newIndices)

func (*BalancerRegistryFilterer) FilterPoolAdded

func (_BalancerRegistry *BalancerRegistryFilterer) FilterPoolAdded(opts *bind.FilterOpts, pool []common.Address) (*BalancerRegistryPoolAddedIterator, error)

FilterPoolAdded is a free log retrieval operation binding the contract event 0x73cca62ab1b520c9715bf4e6c71e3e518c754e7148f65102f43289a7df0efea6.

Solidity: event PoolAdded(address indexed pool)

func (*BalancerRegistryFilterer) FilterPoolTokenPairAdded

func (_BalancerRegistry *BalancerRegistryFilterer) FilterPoolTokenPairAdded(opts *bind.FilterOpts, pool []common.Address, fromToken []common.Address, destToken []common.Address) (*BalancerRegistryPoolTokenPairAddedIterator, error)

FilterPoolTokenPairAdded is a free log retrieval operation binding the contract event 0x181090c3a4bc51a62093032ebf96fd26ff1f27c2145aa9a28c8a5b9f627bcdd4.

Solidity: event PoolTokenPairAdded(address indexed pool, address indexed fromToken, address indexed destToken)

func (*BalancerRegistryFilterer) ParseIndicesUpdated

func (_BalancerRegistry *BalancerRegistryFilterer) ParseIndicesUpdated(log types.Log) (*BalancerRegistryIndicesUpdated, error)

ParseIndicesUpdated is a log parse operation binding the contract event 0xa91f9532dc66c94302dbfd7be21a31cdee3b1c97e8b3064aab212b8e64e936c5.

Solidity: event IndicesUpdated(address indexed fromToken, address indexed destToken, bytes32 oldIndices, bytes32 newIndices)

func (*BalancerRegistryFilterer) ParsePoolAdded

func (_BalancerRegistry *BalancerRegistryFilterer) ParsePoolAdded(log types.Log) (*BalancerRegistryPoolAdded, error)

ParsePoolAdded is a log parse operation binding the contract event 0x73cca62ab1b520c9715bf4e6c71e3e518c754e7148f65102f43289a7df0efea6.

Solidity: event PoolAdded(address indexed pool)

func (*BalancerRegistryFilterer) ParsePoolTokenPairAdded

func (_BalancerRegistry *BalancerRegistryFilterer) ParsePoolTokenPairAdded(log types.Log) (*BalancerRegistryPoolTokenPairAdded, error)

ParsePoolTokenPairAdded is a log parse operation binding the contract event 0x181090c3a4bc51a62093032ebf96fd26ff1f27c2145aa9a28c8a5b9f627bcdd4.

Solidity: event PoolTokenPairAdded(address indexed pool, address indexed fromToken, address indexed destToken)

func (*BalancerRegistryFilterer) WatchIndicesUpdated

func (_BalancerRegistry *BalancerRegistryFilterer) WatchIndicesUpdated(opts *bind.WatchOpts, sink chan<- *BalancerRegistryIndicesUpdated, fromToken []common.Address, destToken []common.Address) (event.Subscription, error)

WatchIndicesUpdated is a free log subscription operation binding the contract event 0xa91f9532dc66c94302dbfd7be21a31cdee3b1c97e8b3064aab212b8e64e936c5.

Solidity: event IndicesUpdated(address indexed fromToken, address indexed destToken, bytes32 oldIndices, bytes32 newIndices)

func (*BalancerRegistryFilterer) WatchPoolAdded

func (_BalancerRegistry *BalancerRegistryFilterer) WatchPoolAdded(opts *bind.WatchOpts, sink chan<- *BalancerRegistryPoolAdded, pool []common.Address) (event.Subscription, error)

WatchPoolAdded is a free log subscription operation binding the contract event 0x73cca62ab1b520c9715bf4e6c71e3e518c754e7148f65102f43289a7df0efea6.

Solidity: event PoolAdded(address indexed pool)

func (*BalancerRegistryFilterer) WatchPoolTokenPairAdded

func (_BalancerRegistry *BalancerRegistryFilterer) WatchPoolTokenPairAdded(opts *bind.WatchOpts, sink chan<- *BalancerRegistryPoolTokenPairAdded, pool []common.Address, fromToken []common.Address, destToken []common.Address) (event.Subscription, error)

WatchPoolTokenPairAdded is a free log subscription operation binding the contract event 0x181090c3a4bc51a62093032ebf96fd26ff1f27c2145aa9a28c8a5b9f627bcdd4.

Solidity: event PoolTokenPairAdded(address indexed pool, address indexed fromToken, address indexed destToken)

type BalancerRegistryIndicesUpdated

type BalancerRegistryIndicesUpdated struct {
	FromToken  common.Address
	DestToken  common.Address
	OldIndices [32]byte
	NewIndices [32]byte
	Raw        types.Log // Blockchain specific contextual infos
}

BalancerRegistryIndicesUpdated represents a IndicesUpdated event raised by the BalancerRegistry contract.

type BalancerRegistryIndicesUpdatedIterator

type BalancerRegistryIndicesUpdatedIterator struct {
	Event *BalancerRegistryIndicesUpdated // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

BalancerRegistryIndicesUpdatedIterator is returned from FilterIndicesUpdated and is used to iterate over the raw logs and unpacked data for IndicesUpdated events raised by the BalancerRegistry contract.

func (*BalancerRegistryIndicesUpdatedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*BalancerRegistryIndicesUpdatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*BalancerRegistryIndicesUpdatedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type BalancerRegistryPoolAdded

type BalancerRegistryPoolAdded struct {
	Pool common.Address
	Raw  types.Log // Blockchain specific contextual infos
}

BalancerRegistryPoolAdded represents a PoolAdded event raised by the BalancerRegistry contract.

type BalancerRegistryPoolAddedIterator

type BalancerRegistryPoolAddedIterator struct {
	Event *BalancerRegistryPoolAdded // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

BalancerRegistryPoolAddedIterator is returned from FilterPoolAdded and is used to iterate over the raw logs and unpacked data for PoolAdded events raised by the BalancerRegistry contract.

func (*BalancerRegistryPoolAddedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*BalancerRegistryPoolAddedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*BalancerRegistryPoolAddedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type BalancerRegistryPoolTokenPairAdded

type BalancerRegistryPoolTokenPairAdded struct {
	Pool      common.Address
	FromToken common.Address
	DestToken common.Address
	Raw       types.Log // Blockchain specific contextual infos
}

BalancerRegistryPoolTokenPairAdded represents a PoolTokenPairAdded event raised by the BalancerRegistry contract.

type BalancerRegistryPoolTokenPairAddedIterator

type BalancerRegistryPoolTokenPairAddedIterator struct {
	Event *BalancerRegistryPoolTokenPairAdded // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

BalancerRegistryPoolTokenPairAddedIterator is returned from FilterPoolTokenPairAdded and is used to iterate over the raw logs and unpacked data for PoolTokenPairAdded events raised by the BalancerRegistry contract.

func (*BalancerRegistryPoolTokenPairAddedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*BalancerRegistryPoolTokenPairAddedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*BalancerRegistryPoolTokenPairAddedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type BalancerRegistryRaw

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

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

func (*BalancerRegistryRaw) Call

func (_BalancerRegistry *BalancerRegistryRaw) 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 (*BalancerRegistryRaw) Transact

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

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

func (*BalancerRegistryRaw) Transfer

func (_BalancerRegistry *BalancerRegistryRaw) 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 BalancerRegistrySession

type BalancerRegistrySession struct {
	Contract     *BalancerRegistry // 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
}

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

func (*BalancerRegistrySession) AddPool

func (_BalancerRegistry *BalancerRegistrySession) AddPool(pool common.Address) (*types.Transaction, error)

AddPool is a paid mutator transaction binding the contract method 0xd914cd4b.

Solidity: function addPool(address pool) returns(uint256 listed)

func (*BalancerRegistrySession) AddPools

func (_BalancerRegistry *BalancerRegistrySession) AddPools(pools []common.Address) (*types.Transaction, error)

AddPools is a paid mutator transaction binding the contract method 0xb36a4ab1.

Solidity: function addPools(address[] pools) returns(uint256[] listed)

func (*BalancerRegistrySession) CheckAddedPools

func (_BalancerRegistry *BalancerRegistrySession) CheckAddedPools(pool common.Address) (bool, error)

CheckAddedPools is a free data retrieval call binding the contract method 0x540c1e97.

Solidity: function checkAddedPools(address pool) view returns(bool)

func (*BalancerRegistrySession) GetAddedPools

func (_BalancerRegistry *BalancerRegistrySession) GetAddedPools() ([]common.Address, error)

GetAddedPools is a free data retrieval call binding the contract method 0xac86917f.

Solidity: function getAddedPools() view returns(address[])

func (*BalancerRegistrySession) GetAddedPoolsLength

func (_BalancerRegistry *BalancerRegistrySession) GetAddedPoolsLength() (*big.Int, error)

GetAddedPoolsLength is a free data retrieval call binding the contract method 0x384a91d0.

Solidity: function getAddedPoolsLength() view returns(uint256)

func (*BalancerRegistrySession) GetAddedPoolsWithLimit

func (_BalancerRegistry *BalancerRegistrySession) GetAddedPoolsWithLimit(offset *big.Int, limit *big.Int) ([]common.Address, error)

GetAddedPoolsWithLimit is a free data retrieval call binding the contract method 0x9757e593.

Solidity: function getAddedPoolsWithLimit(uint256 offset, uint256 limit) view returns(address[] result)

func (*BalancerRegistrySession) GetAllTokens

func (_BalancerRegistry *BalancerRegistrySession) GetAllTokens() ([]common.Address, error)

GetAllTokens is a free data retrieval call binding the contract method 0x2a5c792a.

Solidity: function getAllTokens() view returns(address[])

func (*BalancerRegistrySession) GetAllTokensLength

func (_BalancerRegistry *BalancerRegistrySession) GetAllTokensLength() (*big.Int, error)

GetAllTokensLength is a free data retrieval call binding the contract method 0x5ad20c3a.

Solidity: function getAllTokensLength() view returns(uint256)

func (*BalancerRegistrySession) GetAllTokensWithLimit

func (_BalancerRegistry *BalancerRegistrySession) GetAllTokensWithLimit(offset *big.Int, limit *big.Int) ([]common.Address, error)

GetAllTokensWithLimit is a free data retrieval call binding the contract method 0x2ad11a11.

Solidity: function getAllTokensWithLimit(uint256 offset, uint256 limit) view returns(address[] result)

func (*BalancerRegistrySession) GetBestPools

func (_BalancerRegistry *BalancerRegistrySession) GetBestPools(fromToken common.Address, destToken common.Address) ([]common.Address, error)

GetBestPools is a free data retrieval call binding the contract method 0xe7156fa3.

Solidity: function getBestPools(address fromToken, address destToken) view returns(address[] pools)

func (*BalancerRegistrySession) GetBestPoolsWithLimit

func (_BalancerRegistry *BalancerRegistrySession) GetBestPoolsWithLimit(fromToken common.Address, destToken common.Address, limit *big.Int) ([]common.Address, error)

GetBestPoolsWithLimit is a free data retrieval call binding the contract method 0xbfdbfc43.

Solidity: function getBestPoolsWithLimit(address fromToken, address destToken, uint256 limit) view returns(address[] pools)

func (*BalancerRegistrySession) GetPairInfo

func (_BalancerRegistry *BalancerRegistrySession) GetPairInfo(pool common.Address, fromToken common.Address, destToken common.Address) (struct {
	Weight1 *big.Int
	Weight2 *big.Int
	SwapFee *big.Int
}, error)

GetPairInfo is a free data retrieval call binding the contract method 0xf5406970.

Solidity: function getPairInfo(address pool, address fromToken, address destToken) view returns(uint256 weight1, uint256 weight2, uint256 swapFee)

func (*BalancerRegistrySession) GetPoolReturn

func (_BalancerRegistry *BalancerRegistrySession) GetPoolReturn(pool common.Address, fromToken common.Address, destToken common.Address, amount *big.Int) (*big.Int, error)

GetPoolReturn is a free data retrieval call binding the contract method 0x1434bc5a.

Solidity: function getPoolReturn(address pool, address fromToken, address destToken, uint256 amount) view returns(uint256)

func (*BalancerRegistrySession) GetPoolReturns

func (_BalancerRegistry *BalancerRegistrySession) GetPoolReturns(pool common.Address, fromToken common.Address, destToken common.Address, amounts []*big.Int) ([]*big.Int, error)

GetPoolReturns is a free data retrieval call binding the contract method 0x5caf8ddd.

Solidity: function getPoolReturns(address pool, address fromToken, address destToken, uint256[] amounts) view returns(uint256[] result)

func (*BalancerRegistrySession) GetPools

func (_BalancerRegistry *BalancerRegistrySession) GetPools(fromToken common.Address, destToken common.Address) ([]common.Address, error)

GetPools is a free data retrieval call binding the contract method 0x5b1dc86f.

Solidity: function getPools(address fromToken, address destToken) view returns(address[])

func (*BalancerRegistrySession) GetPoolsLength

func (_BalancerRegistry *BalancerRegistrySession) GetPoolsLength(fromToken common.Address, destToken common.Address) (*big.Int, error)

GetPoolsLength is a free data retrieval call binding the contract method 0x538633df.

Solidity: function getPoolsLength(address fromToken, address destToken) view returns(uint256)

func (*BalancerRegistrySession) GetPoolsWithLimit

func (_BalancerRegistry *BalancerRegistrySession) GetPoolsWithLimit(fromToken common.Address, destToken common.Address, offset *big.Int, limit *big.Int) ([]common.Address, error)

GetPoolsWithLimit is a free data retrieval call binding the contract method 0xb108cd37.

Solidity: function getPoolsWithLimit(address fromToken, address destToken, uint256 offset, uint256 limit) view returns(address[] result)

func (*BalancerRegistrySession) UpdatedIndices

func (_BalancerRegistry *BalancerRegistrySession) UpdatedIndices(tokens []common.Address, lengthLimit *big.Int) (*types.Transaction, error)

UpdatedIndices is a paid mutator transaction binding the contract method 0xf9d214e4.

Solidity: function updatedIndices(address[] tokens, uint256 lengthLimit) returns()

type BalancerRegistryTransactor

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

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

func NewBalancerRegistryTransactor

func NewBalancerRegistryTransactor(address common.Address, transactor bind.ContractTransactor) (*BalancerRegistryTransactor, error)

NewBalancerRegistryTransactor creates a new write-only instance of BalancerRegistry, bound to a specific deployed contract.

func (*BalancerRegistryTransactor) AddPool

func (_BalancerRegistry *BalancerRegistryTransactor) AddPool(opts *bind.TransactOpts, pool common.Address) (*types.Transaction, error)

AddPool is a paid mutator transaction binding the contract method 0xd914cd4b.

Solidity: function addPool(address pool) returns(uint256 listed)

func (*BalancerRegistryTransactor) AddPools

func (_BalancerRegistry *BalancerRegistryTransactor) AddPools(opts *bind.TransactOpts, pools []common.Address) (*types.Transaction, error)

AddPools is a paid mutator transaction binding the contract method 0xb36a4ab1.

Solidity: function addPools(address[] pools) returns(uint256[] listed)

func (*BalancerRegistryTransactor) UpdatedIndices

func (_BalancerRegistry *BalancerRegistryTransactor) UpdatedIndices(opts *bind.TransactOpts, tokens []common.Address, lengthLimit *big.Int) (*types.Transaction, error)

UpdatedIndices is a paid mutator transaction binding the contract method 0xf9d214e4.

Solidity: function updatedIndices(address[] tokens, uint256 lengthLimit) returns()

type BalancerRegistryTransactorRaw

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

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

func (*BalancerRegistryTransactorRaw) Transact

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

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

func (*BalancerRegistryTransactorRaw) Transfer

func (_BalancerRegistry *BalancerRegistryTransactorRaw) 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 BalancerRegistryTransactorSession

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

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

func (*BalancerRegistryTransactorSession) AddPool

func (_BalancerRegistry *BalancerRegistryTransactorSession) AddPool(pool common.Address) (*types.Transaction, error)

AddPool is a paid mutator transaction binding the contract method 0xd914cd4b.

Solidity: function addPool(address pool) returns(uint256 listed)

func (*BalancerRegistryTransactorSession) AddPools

func (_BalancerRegistry *BalancerRegistryTransactorSession) AddPools(pools []common.Address) (*types.Transaction, error)

AddPools is a paid mutator transaction binding the contract method 0xb36a4ab1.

Solidity: function addPools(address[] pools) returns(uint256[] listed)

func (*BalancerRegistryTransactorSession) UpdatedIndices

func (_BalancerRegistry *BalancerRegistryTransactorSession) UpdatedIndices(tokens []common.Address, lengthLimit *big.Int) (*types.Transaction, error)

UpdatedIndices is a paid mutator transaction binding the contract method 0xf9d214e4.

Solidity: function updatedIndices(address[] tokens, uint256 lengthLimit) returns()

type BalancerSession

type BalancerSession struct {
	Contract     *Balancer         // 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
}

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

func (*BalancerSession) Allowance

func (_Balancer *BalancerSession) Allowance(src common.Address, dst common.Address) (*big.Int, error)

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

Solidity: function allowance(address src, address dst) view returns(uint256)

func (*BalancerSession) Approve

func (_Balancer *BalancerSession) Approve(dst common.Address, amt *big.Int) (*types.Transaction, error)

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

Solidity: function approve(address dst, uint256 amt) returns(bool)

func (*BalancerSession) BONE

func (_Balancer *BalancerSession) BONE() (*big.Int, error)

BONE is a free data retrieval call binding the contract method 0xc36596a6.

Solidity: function BONE() view returns(uint256)

func (*BalancerSession) BPOWPRECISION

func (_Balancer *BalancerSession) BPOWPRECISION() (*big.Int, error)

BPOWPRECISION is a free data retrieval call binding the contract method 0x189d00ca.

Solidity: function BPOW_PRECISION() view returns(uint256)

func (*BalancerSession) BalanceOf

func (_Balancer *BalancerSession) BalanceOf(whom common.Address) (*big.Int, error)

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

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

func (*BalancerSession) Bind

func (_Balancer *BalancerSession) Bind(token common.Address, balance *big.Int, denorm *big.Int) (*types.Transaction, error)

Bind is a paid mutator transaction binding the contract method 0xe4e1e538.

Solidity: function bind(address token, uint256 balance, uint256 denorm) returns()

func (*BalancerSession) CalcInGivenOut

func (_Balancer *BalancerSession) CalcInGivenOut(tokenBalanceIn *big.Int, tokenWeightIn *big.Int, tokenBalanceOut *big.Int, tokenWeightOut *big.Int, tokenAmountOut *big.Int, swapFee *big.Int) (*big.Int, error)

CalcInGivenOut is a free data retrieval call binding the contract method 0xf8d6aed4.

Solidity: function calcInGivenOut(uint256 tokenBalanceIn, uint256 tokenWeightIn, uint256 tokenBalanceOut, uint256 tokenWeightOut, uint256 tokenAmountOut, uint256 swapFee) pure returns(uint256 tokenAmountIn)

func (*BalancerSession) CalcOutGivenIn

func (_Balancer *BalancerSession) CalcOutGivenIn(tokenBalanceIn *big.Int, tokenWeightIn *big.Int, tokenBalanceOut *big.Int, tokenWeightOut *big.Int, tokenAmountIn *big.Int, swapFee *big.Int) (*big.Int, error)

CalcOutGivenIn is a free data retrieval call binding the contract method 0xba9530a6.

Solidity: function calcOutGivenIn(uint256 tokenBalanceIn, uint256 tokenWeightIn, uint256 tokenBalanceOut, uint256 tokenWeightOut, uint256 tokenAmountIn, uint256 swapFee) pure returns(uint256 tokenAmountOut)

func (*BalancerSession) CalcPoolInGivenSingleOut

func (_Balancer *BalancerSession) CalcPoolInGivenSingleOut(tokenBalanceOut *big.Int, tokenWeightOut *big.Int, poolSupply *big.Int, totalWeight *big.Int, tokenAmountOut *big.Int, swapFee *big.Int) (*big.Int, error)

CalcPoolInGivenSingleOut is a free data retrieval call binding the contract method 0x82f652ad.

Solidity: function calcPoolInGivenSingleOut(uint256 tokenBalanceOut, uint256 tokenWeightOut, uint256 poolSupply, uint256 totalWeight, uint256 tokenAmountOut, uint256 swapFee) pure returns(uint256 poolAmountIn)

func (*BalancerSession) CalcPoolOutGivenSingleIn

func (_Balancer *BalancerSession) CalcPoolOutGivenSingleIn(tokenBalanceIn *big.Int, tokenWeightIn *big.Int, poolSupply *big.Int, totalWeight *big.Int, tokenAmountIn *big.Int, swapFee *big.Int) (*big.Int, error)

CalcPoolOutGivenSingleIn is a free data retrieval call binding the contract method 0x8656b653.

Solidity: function calcPoolOutGivenSingleIn(uint256 tokenBalanceIn, uint256 tokenWeightIn, uint256 poolSupply, uint256 totalWeight, uint256 tokenAmountIn, uint256 swapFee) pure returns(uint256 poolAmountOut)

func (*BalancerSession) CalcSingleInGivenPoolOut

func (_Balancer *BalancerSession) CalcSingleInGivenPoolOut(tokenBalanceIn *big.Int, tokenWeightIn *big.Int, poolSupply *big.Int, totalWeight *big.Int, poolAmountOut *big.Int, swapFee *big.Int) (*big.Int, error)

CalcSingleInGivenPoolOut is a free data retrieval call binding the contract method 0x5c1bbaf7.

Solidity: function calcSingleInGivenPoolOut(uint256 tokenBalanceIn, uint256 tokenWeightIn, uint256 poolSupply, uint256 totalWeight, uint256 poolAmountOut, uint256 swapFee) pure returns(uint256 tokenAmountIn)

func (*BalancerSession) CalcSingleOutGivenPoolIn

func (_Balancer *BalancerSession) CalcSingleOutGivenPoolIn(tokenBalanceOut *big.Int, tokenWeightOut *big.Int, poolSupply *big.Int, totalWeight *big.Int, poolAmountIn *big.Int, swapFee *big.Int) (*big.Int, error)

CalcSingleOutGivenPoolIn is a free data retrieval call binding the contract method 0x89298012.

Solidity: function calcSingleOutGivenPoolIn(uint256 tokenBalanceOut, uint256 tokenWeightOut, uint256 poolSupply, uint256 totalWeight, uint256 poolAmountIn, uint256 swapFee) pure returns(uint256 tokenAmountOut)

func (*BalancerSession) CalcSpotPrice

func (_Balancer *BalancerSession) CalcSpotPrice(tokenBalanceIn *big.Int, tokenWeightIn *big.Int, tokenBalanceOut *big.Int, tokenWeightOut *big.Int, swapFee *big.Int) (*big.Int, error)

CalcSpotPrice is a free data retrieval call binding the contract method 0xa221ee49.

Solidity: function calcSpotPrice(uint256 tokenBalanceIn, uint256 tokenWeightIn, uint256 tokenBalanceOut, uint256 tokenWeightOut, uint256 swapFee) pure returns(uint256 spotPrice)

func (*BalancerSession) Decimals

func (_Balancer *BalancerSession) Decimals() (uint8, error)

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

Solidity: function decimals() view returns(uint8)

func (*BalancerSession) DecreaseApproval

func (_Balancer *BalancerSession) DecreaseApproval(dst common.Address, amt *big.Int) (*types.Transaction, error)

DecreaseApproval is a paid mutator transaction binding the contract method 0x66188463.

Solidity: function decreaseApproval(address dst, uint256 amt) returns(bool)

func (*BalancerSession) EXITFEE

func (_Balancer *BalancerSession) EXITFEE() (*big.Int, error)

EXITFEE is a free data retrieval call binding the contract method 0xc6580d12.

Solidity: function EXIT_FEE() view returns(uint256)

func (*BalancerSession) ExitPool

func (_Balancer *BalancerSession) ExitPool(poolAmountIn *big.Int, minAmountsOut []*big.Int) (*types.Transaction, error)

ExitPool is a paid mutator transaction binding the contract method 0xb02f0b73.

Solidity: function exitPool(uint256 poolAmountIn, uint256[] minAmountsOut) returns()

func (*BalancerSession) ExitswapExternAmountOut

func (_Balancer *BalancerSession) ExitswapExternAmountOut(tokenOut common.Address, tokenAmountOut *big.Int, maxPoolAmountIn *big.Int) (*types.Transaction, error)

ExitswapExternAmountOut is a paid mutator transaction binding the contract method 0x02c96748.

Solidity: function exitswapExternAmountOut(address tokenOut, uint256 tokenAmountOut, uint256 maxPoolAmountIn) returns(uint256 poolAmountIn)

func (*BalancerSession) ExitswapPoolAmountIn

func (_Balancer *BalancerSession) ExitswapPoolAmountIn(tokenOut common.Address, poolAmountIn *big.Int, minAmountOut *big.Int) (*types.Transaction, error)

ExitswapPoolAmountIn is a paid mutator transaction binding the contract method 0x46ab38f1.

Solidity: function exitswapPoolAmountIn(address tokenOut, uint256 poolAmountIn, uint256 minAmountOut) returns(uint256 tokenAmountOut)

func (*BalancerSession) Finalize

func (_Balancer *BalancerSession) Finalize() (*types.Transaction, error)

Finalize is a paid mutator transaction binding the contract method 0x4bb278f3.

Solidity: function finalize() returns()

func (*BalancerSession) GetBalance

func (_Balancer *BalancerSession) GetBalance(token common.Address) (*big.Int, error)

GetBalance is a free data retrieval call binding the contract method 0xf8b2cb4f.

Solidity: function getBalance(address token) view returns(uint256)

func (*BalancerSession) GetColor

func (_Balancer *BalancerSession) GetColor() ([32]byte, error)

GetColor is a free data retrieval call binding the contract method 0x9a86139b.

Solidity: function getColor() view returns(bytes32)

func (*BalancerSession) GetController

func (_Balancer *BalancerSession) GetController() (common.Address, error)

GetController is a free data retrieval call binding the contract method 0x3018205f.

Solidity: function getController() view returns(address)

func (*BalancerSession) GetCurrentTokens

func (_Balancer *BalancerSession) GetCurrentTokens() ([]common.Address, error)

GetCurrentTokens is a free data retrieval call binding the contract method 0xcc77828d.

Solidity: function getCurrentTokens() view returns(address[] tokens)

func (*BalancerSession) GetDenormalizedWeight

func (_Balancer *BalancerSession) GetDenormalizedWeight(token common.Address) (*big.Int, error)

GetDenormalizedWeight is a free data retrieval call binding the contract method 0x948d8ce6.

Solidity: function getDenormalizedWeight(address token) view returns(uint256)

func (*BalancerSession) GetFinalTokens

func (_Balancer *BalancerSession) GetFinalTokens() ([]common.Address, error)

GetFinalTokens is a free data retrieval call binding the contract method 0xbe3bbd2e.

Solidity: function getFinalTokens() view returns(address[] tokens)

func (*BalancerSession) GetNormalizedWeight

func (_Balancer *BalancerSession) GetNormalizedWeight(token common.Address) (*big.Int, error)

GetNormalizedWeight is a free data retrieval call binding the contract method 0xf1b8a9b7.

Solidity: function getNormalizedWeight(address token) view returns(uint256)

func (*BalancerSession) GetNumTokens

func (_Balancer *BalancerSession) GetNumTokens() (*big.Int, error)

GetNumTokens is a free data retrieval call binding the contract method 0xcd2ed8fb.

Solidity: function getNumTokens() view returns(uint256)

func (*BalancerSession) GetSpotPrice

func (_Balancer *BalancerSession) GetSpotPrice(tokenIn common.Address, tokenOut common.Address) (*big.Int, error)

GetSpotPrice is a free data retrieval call binding the contract method 0x15e84af9.

Solidity: function getSpotPrice(address tokenIn, address tokenOut) view returns(uint256 spotPrice)

func (*BalancerSession) GetSpotPriceSansFee

func (_Balancer *BalancerSession) GetSpotPriceSansFee(tokenIn common.Address, tokenOut common.Address) (*big.Int, error)

GetSpotPriceSansFee is a free data retrieval call binding the contract method 0x1446a7ff.

Solidity: function getSpotPriceSansFee(address tokenIn, address tokenOut) view returns(uint256 spotPrice)

func (*BalancerSession) GetSwapFee

func (_Balancer *BalancerSession) GetSwapFee() (*big.Int, error)

GetSwapFee is a free data retrieval call binding the contract method 0xd4cadf68.

Solidity: function getSwapFee() view returns(uint256)

func (*BalancerSession) GetTotalDenormalizedWeight

func (_Balancer *BalancerSession) GetTotalDenormalizedWeight() (*big.Int, error)

GetTotalDenormalizedWeight is a free data retrieval call binding the contract method 0x936c3477.

Solidity: function getTotalDenormalizedWeight() view returns(uint256)

func (*BalancerSession) Gulp

func (_Balancer *BalancerSession) Gulp(token common.Address) (*types.Transaction, error)

Gulp is a paid mutator transaction binding the contract method 0x8c28cbe8.

Solidity: function gulp(address token) returns()

func (*BalancerSession) INITPOOLSUPPLY

func (_Balancer *BalancerSession) INITPOOLSUPPLY() (*big.Int, error)

INITPOOLSUPPLY is a free data retrieval call binding the contract method 0x9381cd2b.

Solidity: function INIT_POOL_SUPPLY() view returns(uint256)

func (*BalancerSession) IncreaseApproval

func (_Balancer *BalancerSession) IncreaseApproval(dst common.Address, amt *big.Int) (*types.Transaction, error)

IncreaseApproval is a paid mutator transaction binding the contract method 0xd73dd623.

Solidity: function increaseApproval(address dst, uint256 amt) returns(bool)

func (*BalancerSession) IsBound

func (_Balancer *BalancerSession) IsBound(t common.Address) (bool, error)

IsBound is a free data retrieval call binding the contract method 0x2f37b624.

Solidity: function isBound(address t) view returns(bool)

func (*BalancerSession) IsFinalized

func (_Balancer *BalancerSession) IsFinalized() (bool, error)

IsFinalized is a free data retrieval call binding the contract method 0x8d4e4083.

Solidity: function isFinalized() view returns(bool)

func (*BalancerSession) IsPublicSwap

func (_Balancer *BalancerSession) IsPublicSwap() (bool, error)

IsPublicSwap is a free data retrieval call binding the contract method 0xfde924f7.

Solidity: function isPublicSwap() view returns(bool)

func (*BalancerSession) JoinPool

func (_Balancer *BalancerSession) JoinPool(poolAmountOut *big.Int, maxAmountsIn []*big.Int) (*types.Transaction, error)

JoinPool is a paid mutator transaction binding the contract method 0x4f69c0d4.

Solidity: function joinPool(uint256 poolAmountOut, uint256[] maxAmountsIn) returns()

func (*BalancerSession) JoinswapExternAmountIn

func (_Balancer *BalancerSession) JoinswapExternAmountIn(tokenIn common.Address, tokenAmountIn *big.Int, minPoolAmountOut *big.Int) (*types.Transaction, error)

JoinswapExternAmountIn is a paid mutator transaction binding the contract method 0x5db34277.

Solidity: function joinswapExternAmountIn(address tokenIn, uint256 tokenAmountIn, uint256 minPoolAmountOut) returns(uint256 poolAmountOut)

func (*BalancerSession) JoinswapPoolAmountOut

func (_Balancer *BalancerSession) JoinswapPoolAmountOut(tokenIn common.Address, poolAmountOut *big.Int, maxAmountIn *big.Int) (*types.Transaction, error)

JoinswapPoolAmountOut is a paid mutator transaction binding the contract method 0x6d06dfa0.

Solidity: function joinswapPoolAmountOut(address tokenIn, uint256 poolAmountOut, uint256 maxAmountIn) returns(uint256 tokenAmountIn)

func (*BalancerSession) MAXBOUNDTOKENS

func (_Balancer *BalancerSession) MAXBOUNDTOKENS() (*big.Int, error)

MAXBOUNDTOKENS is a free data retrieval call binding the contract method 0xb0e0d136.

Solidity: function MAX_BOUND_TOKENS() view returns(uint256)

func (*BalancerSession) MAXBPOWBASE

func (_Balancer *BalancerSession) MAXBPOWBASE() (*big.Int, error)

MAXBPOWBASE is a free data retrieval call binding the contract method 0xbc694ea2.

Solidity: function MAX_BPOW_BASE() view returns(uint256)

func (*BalancerSession) MAXFEE

func (_Balancer *BalancerSession) MAXFEE() (*big.Int, error)

MAXFEE is a free data retrieval call binding the contract method 0xbc063e1a.

Solidity: function MAX_FEE() view returns(uint256)

func (*BalancerSession) MAXINRATIO

func (_Balancer *BalancerSession) MAXINRATIO() (*big.Int, error)

MAXINRATIO is a free data retrieval call binding the contract method 0xec093021.

Solidity: function MAX_IN_RATIO() view returns(uint256)

func (*BalancerSession) MAXOUTRATIO

func (_Balancer *BalancerSession) MAXOUTRATIO() (*big.Int, error)

MAXOUTRATIO is a free data retrieval call binding the contract method 0x992e2a92.

Solidity: function MAX_OUT_RATIO() view returns(uint256)

func (*BalancerSession) MAXTOTALWEIGHT

func (_Balancer *BalancerSession) MAXTOTALWEIGHT() (*big.Int, error)

MAXTOTALWEIGHT is a free data retrieval call binding the contract method 0x09a3bbe4.

Solidity: function MAX_TOTAL_WEIGHT() view returns(uint256)

func (*BalancerSession) MAXWEIGHT

func (_Balancer *BalancerSession) MAXWEIGHT() (*big.Int, error)

MAXWEIGHT is a free data retrieval call binding the contract method 0xe4a28a52.

Solidity: function MAX_WEIGHT() view returns(uint256)

func (*BalancerSession) MINBALANCE

func (_Balancer *BalancerSession) MINBALANCE() (*big.Int, error)

MINBALANCE is a free data retrieval call binding the contract method 0x867378c5.

Solidity: function MIN_BALANCE() view returns(uint256)

func (*BalancerSession) MINBOUNDTOKENS

func (_Balancer *BalancerSession) MINBOUNDTOKENS() (*big.Int, error)

MINBOUNDTOKENS is a free data retrieval call binding the contract method 0xb7b800a4.

Solidity: function MIN_BOUND_TOKENS() view returns(uint256)

func (*BalancerSession) MINBPOWBASE

func (_Balancer *BalancerSession) MINBPOWBASE() (*big.Int, error)

MINBPOWBASE is a free data retrieval call binding the contract method 0xba019dab.

Solidity: function MIN_BPOW_BASE() view returns(uint256)

func (*BalancerSession) MINFEE

func (_Balancer *BalancerSession) MINFEE() (*big.Int, error)

MINFEE is a free data retrieval call binding the contract method 0x76c7a3c7.

Solidity: function MIN_FEE() view returns(uint256)

func (*BalancerSession) MINWEIGHT

func (_Balancer *BalancerSession) MINWEIGHT() (*big.Int, error)

MINWEIGHT is a free data retrieval call binding the contract method 0x218b5382.

Solidity: function MIN_WEIGHT() view returns(uint256)

func (*BalancerSession) Name

func (_Balancer *BalancerSession) Name() (string, error)

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

Solidity: function name() view returns(string)

func (*BalancerSession) Rebind

func (_Balancer *BalancerSession) Rebind(token common.Address, balance *big.Int, denorm *big.Int) (*types.Transaction, error)

Rebind is a paid mutator transaction binding the contract method 0x3fdddaa2.

Solidity: function rebind(address token, uint256 balance, uint256 denorm) returns()

func (*BalancerSession) SetController

func (_Balancer *BalancerSession) SetController(manager common.Address) (*types.Transaction, error)

SetController is a paid mutator transaction binding the contract method 0x92eefe9b.

Solidity: function setController(address manager) returns()

func (*BalancerSession) SetPublicSwap

func (_Balancer *BalancerSession) SetPublicSwap(public_ bool) (*types.Transaction, error)

SetPublicSwap is a paid mutator transaction binding the contract method 0x49b59552.

Solidity: function setPublicSwap(bool public_) returns()

func (*BalancerSession) SetSwapFee

func (_Balancer *BalancerSession) SetSwapFee(swapFee *big.Int) (*types.Transaction, error)

SetSwapFee is a paid mutator transaction binding the contract method 0x34e19907.

Solidity: function setSwapFee(uint256 swapFee) returns()

func (*BalancerSession) SwapExactAmountIn

func (_Balancer *BalancerSession) SwapExactAmountIn(tokenIn common.Address, tokenAmountIn *big.Int, tokenOut common.Address, minAmountOut *big.Int, maxPrice *big.Int) (*types.Transaction, error)

SwapExactAmountIn is a paid mutator transaction binding the contract method 0x8201aa3f.

Solidity: function swapExactAmountIn(address tokenIn, uint256 tokenAmountIn, address tokenOut, uint256 minAmountOut, uint256 maxPrice) returns(uint256 tokenAmountOut, uint256 spotPriceAfter)

func (*BalancerSession) SwapExactAmountOut

func (_Balancer *BalancerSession) SwapExactAmountOut(tokenIn common.Address, maxAmountIn *big.Int, tokenOut common.Address, tokenAmountOut *big.Int, maxPrice *big.Int) (*types.Transaction, error)

SwapExactAmountOut is a paid mutator transaction binding the contract method 0x7c5e9ea4.

Solidity: function swapExactAmountOut(address tokenIn, uint256 maxAmountIn, address tokenOut, uint256 tokenAmountOut, uint256 maxPrice) returns(uint256 tokenAmountIn, uint256 spotPriceAfter)

func (*BalancerSession) Symbol

func (_Balancer *BalancerSession) Symbol() (string, error)

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

Solidity: function symbol() view returns(string)

func (*BalancerSession) TotalSupply

func (_Balancer *BalancerSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

func (*BalancerSession) Transfer

func (_Balancer *BalancerSession) Transfer(dst common.Address, amt *big.Int) (*types.Transaction, error)

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

Solidity: function transfer(address dst, uint256 amt) returns(bool)

func (*BalancerSession) TransferFrom

func (_Balancer *BalancerSession) TransferFrom(src common.Address, dst common.Address, amt *big.Int) (*types.Transaction, error)

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

Solidity: function transferFrom(address src, address dst, uint256 amt) returns(bool)

func (*BalancerSession) Unbind

func (_Balancer *BalancerSession) Unbind(token common.Address) (*types.Transaction, error)

Unbind is a paid mutator transaction binding the contract method 0xcf5e7bd3.

Solidity: function unbind(address token) returns()

type BalancerTransactor

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

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

func NewBalancerTransactor

func NewBalancerTransactor(address common.Address, transactor bind.ContractTransactor) (*BalancerTransactor, error)

NewBalancerTransactor creates a new write-only instance of Balancer, bound to a specific deployed contract.

func (*BalancerTransactor) Approve

func (_Balancer *BalancerTransactor) Approve(opts *bind.TransactOpts, dst common.Address, amt *big.Int) (*types.Transaction, error)

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

Solidity: function approve(address dst, uint256 amt) returns(bool)

func (*BalancerTransactor) Bind

func (_Balancer *BalancerTransactor) Bind(opts *bind.TransactOpts, token common.Address, balance *big.Int, denorm *big.Int) (*types.Transaction, error)

Bind is a paid mutator transaction binding the contract method 0xe4e1e538.

Solidity: function bind(address token, uint256 balance, uint256 denorm) returns()

func (*BalancerTransactor) DecreaseApproval

func (_Balancer *BalancerTransactor) DecreaseApproval(opts *bind.TransactOpts, dst common.Address, amt *big.Int) (*types.Transaction, error)

DecreaseApproval is a paid mutator transaction binding the contract method 0x66188463.

Solidity: function decreaseApproval(address dst, uint256 amt) returns(bool)

func (*BalancerTransactor) ExitPool

func (_Balancer *BalancerTransactor) ExitPool(opts *bind.TransactOpts, poolAmountIn *big.Int, minAmountsOut []*big.Int) (*types.Transaction, error)

ExitPool is a paid mutator transaction binding the contract method 0xb02f0b73.

Solidity: function exitPool(uint256 poolAmountIn, uint256[] minAmountsOut) returns()

func (*BalancerTransactor) ExitswapExternAmountOut

func (_Balancer *BalancerTransactor) ExitswapExternAmountOut(opts *bind.TransactOpts, tokenOut common.Address, tokenAmountOut *big.Int, maxPoolAmountIn *big.Int) (*types.Transaction, error)

ExitswapExternAmountOut is a paid mutator transaction binding the contract method 0x02c96748.

Solidity: function exitswapExternAmountOut(address tokenOut, uint256 tokenAmountOut, uint256 maxPoolAmountIn) returns(uint256 poolAmountIn)

func (*BalancerTransactor) ExitswapPoolAmountIn

func (_Balancer *BalancerTransactor) ExitswapPoolAmountIn(opts *bind.TransactOpts, tokenOut common.Address, poolAmountIn *big.Int, minAmountOut *big.Int) (*types.Transaction, error)

ExitswapPoolAmountIn is a paid mutator transaction binding the contract method 0x46ab38f1.

Solidity: function exitswapPoolAmountIn(address tokenOut, uint256 poolAmountIn, uint256 minAmountOut) returns(uint256 tokenAmountOut)

func (*BalancerTransactor) Finalize

func (_Balancer *BalancerTransactor) Finalize(opts *bind.TransactOpts) (*types.Transaction, error)

Finalize is a paid mutator transaction binding the contract method 0x4bb278f3.

Solidity: function finalize() returns()

func (*BalancerTransactor) Gulp

func (_Balancer *BalancerTransactor) Gulp(opts *bind.TransactOpts, token common.Address) (*types.Transaction, error)

Gulp is a paid mutator transaction binding the contract method 0x8c28cbe8.

Solidity: function gulp(address token) returns()

func (*BalancerTransactor) IncreaseApproval

func (_Balancer *BalancerTransactor) IncreaseApproval(opts *bind.TransactOpts, dst common.Address, amt *big.Int) (*types.Transaction, error)

IncreaseApproval is a paid mutator transaction binding the contract method 0xd73dd623.

Solidity: function increaseApproval(address dst, uint256 amt) returns(bool)

func (*BalancerTransactor) JoinPool

func (_Balancer *BalancerTransactor) JoinPool(opts *bind.TransactOpts, poolAmountOut *big.Int, maxAmountsIn []*big.Int) (*types.Transaction, error)

JoinPool is a paid mutator transaction binding the contract method 0x4f69c0d4.

Solidity: function joinPool(uint256 poolAmountOut, uint256[] maxAmountsIn) returns()

func (*BalancerTransactor) JoinswapExternAmountIn

func (_Balancer *BalancerTransactor) JoinswapExternAmountIn(opts *bind.TransactOpts, tokenIn common.Address, tokenAmountIn *big.Int, minPoolAmountOut *big.Int) (*types.Transaction, error)

JoinswapExternAmountIn is a paid mutator transaction binding the contract method 0x5db34277.

Solidity: function joinswapExternAmountIn(address tokenIn, uint256 tokenAmountIn, uint256 minPoolAmountOut) returns(uint256 poolAmountOut)

func (*BalancerTransactor) JoinswapPoolAmountOut

func (_Balancer *BalancerTransactor) JoinswapPoolAmountOut(opts *bind.TransactOpts, tokenIn common.Address, poolAmountOut *big.Int, maxAmountIn *big.Int) (*types.Transaction, error)

JoinswapPoolAmountOut is a paid mutator transaction binding the contract method 0x6d06dfa0.

Solidity: function joinswapPoolAmountOut(address tokenIn, uint256 poolAmountOut, uint256 maxAmountIn) returns(uint256 tokenAmountIn)

func (*BalancerTransactor) Rebind

func (_Balancer *BalancerTransactor) Rebind(opts *bind.TransactOpts, token common.Address, balance *big.Int, denorm *big.Int) (*types.Transaction, error)

Rebind is a paid mutator transaction binding the contract method 0x3fdddaa2.

Solidity: function rebind(address token, uint256 balance, uint256 denorm) returns()

func (*BalancerTransactor) SetController

func (_Balancer *BalancerTransactor) SetController(opts *bind.TransactOpts, manager common.Address) (*types.Transaction, error)

SetController is a paid mutator transaction binding the contract method 0x92eefe9b.

Solidity: function setController(address manager) returns()

func (*BalancerTransactor) SetPublicSwap

func (_Balancer *BalancerTransactor) SetPublicSwap(opts *bind.TransactOpts, public_ bool) (*types.Transaction, error)

SetPublicSwap is a paid mutator transaction binding the contract method 0x49b59552.

Solidity: function setPublicSwap(bool public_) returns()

func (*BalancerTransactor) SetSwapFee

func (_Balancer *BalancerTransactor) SetSwapFee(opts *bind.TransactOpts, swapFee *big.Int) (*types.Transaction, error)

SetSwapFee is a paid mutator transaction binding the contract method 0x34e19907.

Solidity: function setSwapFee(uint256 swapFee) returns()

func (*BalancerTransactor) SwapExactAmountIn

func (_Balancer *BalancerTransactor) SwapExactAmountIn(opts *bind.TransactOpts, tokenIn common.Address, tokenAmountIn *big.Int, tokenOut common.Address, minAmountOut *big.Int, maxPrice *big.Int) (*types.Transaction, error)

SwapExactAmountIn is a paid mutator transaction binding the contract method 0x8201aa3f.

Solidity: function swapExactAmountIn(address tokenIn, uint256 tokenAmountIn, address tokenOut, uint256 minAmountOut, uint256 maxPrice) returns(uint256 tokenAmountOut, uint256 spotPriceAfter)

func (*BalancerTransactor) SwapExactAmountOut

func (_Balancer *BalancerTransactor) SwapExactAmountOut(opts *bind.TransactOpts, tokenIn common.Address, maxAmountIn *big.Int, tokenOut common.Address, tokenAmountOut *big.Int, maxPrice *big.Int) (*types.Transaction, error)

SwapExactAmountOut is a paid mutator transaction binding the contract method 0x7c5e9ea4.

Solidity: function swapExactAmountOut(address tokenIn, uint256 maxAmountIn, address tokenOut, uint256 tokenAmountOut, uint256 maxPrice) returns(uint256 tokenAmountIn, uint256 spotPriceAfter)

func (*BalancerTransactor) Transfer

func (_Balancer *BalancerTransactor) Transfer(opts *bind.TransactOpts, dst common.Address, amt *big.Int) (*types.Transaction, error)

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

Solidity: function transfer(address dst, uint256 amt) returns(bool)

func (*BalancerTransactor) TransferFrom

func (_Balancer *BalancerTransactor) TransferFrom(opts *bind.TransactOpts, src common.Address, dst common.Address, amt *big.Int) (*types.Transaction, error)

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

Solidity: function transferFrom(address src, address dst, uint256 amt) returns(bool)

func (*BalancerTransactor) Unbind

func (_Balancer *BalancerTransactor) Unbind(opts *bind.TransactOpts, token common.Address) (*types.Transaction, error)

Unbind is a paid mutator transaction binding the contract method 0xcf5e7bd3.

Solidity: function unbind(address token) returns()

type BalancerTransactorRaw

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

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

func (*BalancerTransactorRaw) Transact

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

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

func (*BalancerTransactorRaw) Transfer

func (_Balancer *BalancerTransactorRaw) 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 BalancerTransactorSession

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

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

func (*BalancerTransactorSession) Approve

func (_Balancer *BalancerTransactorSession) Approve(dst common.Address, amt *big.Int) (*types.Transaction, error)

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

Solidity: function approve(address dst, uint256 amt) returns(bool)

func (*BalancerTransactorSession) Bind

func (_Balancer *BalancerTransactorSession) Bind(token common.Address, balance *big.Int, denorm *big.Int) (*types.Transaction, error)

Bind is a paid mutator transaction binding the contract method 0xe4e1e538.

Solidity: function bind(address token, uint256 balance, uint256 denorm) returns()

func (*BalancerTransactorSession) DecreaseApproval

func (_Balancer *BalancerTransactorSession) DecreaseApproval(dst common.Address, amt *big.Int) (*types.Transaction, error)

DecreaseApproval is a paid mutator transaction binding the contract method 0x66188463.

Solidity: function decreaseApproval(address dst, uint256 amt) returns(bool)

func (*BalancerTransactorSession) ExitPool

func (_Balancer *BalancerTransactorSession) ExitPool(poolAmountIn *big.Int, minAmountsOut []*big.Int) (*types.Transaction, error)

ExitPool is a paid mutator transaction binding the contract method 0xb02f0b73.

Solidity: function exitPool(uint256 poolAmountIn, uint256[] minAmountsOut) returns()

func (*BalancerTransactorSession) ExitswapExternAmountOut

func (_Balancer *BalancerTransactorSession) ExitswapExternAmountOut(tokenOut common.Address, tokenAmountOut *big.Int, maxPoolAmountIn *big.Int) (*types.Transaction, error)

ExitswapExternAmountOut is a paid mutator transaction binding the contract method 0x02c96748.

Solidity: function exitswapExternAmountOut(address tokenOut, uint256 tokenAmountOut, uint256 maxPoolAmountIn) returns(uint256 poolAmountIn)

func (*BalancerTransactorSession) ExitswapPoolAmountIn

func (_Balancer *BalancerTransactorSession) ExitswapPoolAmountIn(tokenOut common.Address, poolAmountIn *big.Int, minAmountOut *big.Int) (*types.Transaction, error)

ExitswapPoolAmountIn is a paid mutator transaction binding the contract method 0x46ab38f1.

Solidity: function exitswapPoolAmountIn(address tokenOut, uint256 poolAmountIn, uint256 minAmountOut) returns(uint256 tokenAmountOut)

func (*BalancerTransactorSession) Finalize

func (_Balancer *BalancerTransactorSession) Finalize() (*types.Transaction, error)

Finalize is a paid mutator transaction binding the contract method 0x4bb278f3.

Solidity: function finalize() returns()

func (*BalancerTransactorSession) Gulp

func (_Balancer *BalancerTransactorSession) Gulp(token common.Address) (*types.Transaction, error)

Gulp is a paid mutator transaction binding the contract method 0x8c28cbe8.

Solidity: function gulp(address token) returns()

func (*BalancerTransactorSession) IncreaseApproval

func (_Balancer *BalancerTransactorSession) IncreaseApproval(dst common.Address, amt *big.Int) (*types.Transaction, error)

IncreaseApproval is a paid mutator transaction binding the contract method 0xd73dd623.

Solidity: function increaseApproval(address dst, uint256 amt) returns(bool)

func (*BalancerTransactorSession) JoinPool

func (_Balancer *BalancerTransactorSession) JoinPool(poolAmountOut *big.Int, maxAmountsIn []*big.Int) (*types.Transaction, error)

JoinPool is a paid mutator transaction binding the contract method 0x4f69c0d4.

Solidity: function joinPool(uint256 poolAmountOut, uint256[] maxAmountsIn) returns()

func (*BalancerTransactorSession) JoinswapExternAmountIn

func (_Balancer *BalancerTransactorSession) JoinswapExternAmountIn(tokenIn common.Address, tokenAmountIn *big.Int, minPoolAmountOut *big.Int) (*types.Transaction, error)

JoinswapExternAmountIn is a paid mutator transaction binding the contract method 0x5db34277.

Solidity: function joinswapExternAmountIn(address tokenIn, uint256 tokenAmountIn, uint256 minPoolAmountOut) returns(uint256 poolAmountOut)

func (*BalancerTransactorSession) JoinswapPoolAmountOut

func (_Balancer *BalancerTransactorSession) JoinswapPoolAmountOut(tokenIn common.Address, poolAmountOut *big.Int, maxAmountIn *big.Int) (*types.Transaction, error)

JoinswapPoolAmountOut is a paid mutator transaction binding the contract method 0x6d06dfa0.

Solidity: function joinswapPoolAmountOut(address tokenIn, uint256 poolAmountOut, uint256 maxAmountIn) returns(uint256 tokenAmountIn)

func (*BalancerTransactorSession) Rebind

func (_Balancer *BalancerTransactorSession) Rebind(token common.Address, balance *big.Int, denorm *big.Int) (*types.Transaction, error)

Rebind is a paid mutator transaction binding the contract method 0x3fdddaa2.

Solidity: function rebind(address token, uint256 balance, uint256 denorm) returns()

func (*BalancerTransactorSession) SetController

func (_Balancer *BalancerTransactorSession) SetController(manager common.Address) (*types.Transaction, error)

SetController is a paid mutator transaction binding the contract method 0x92eefe9b.

Solidity: function setController(address manager) returns()

func (*BalancerTransactorSession) SetPublicSwap

func (_Balancer *BalancerTransactorSession) SetPublicSwap(public_ bool) (*types.Transaction, error)

SetPublicSwap is a paid mutator transaction binding the contract method 0x49b59552.

Solidity: function setPublicSwap(bool public_) returns()

func (*BalancerTransactorSession) SetSwapFee

func (_Balancer *BalancerTransactorSession) SetSwapFee(swapFee *big.Int) (*types.Transaction, error)

SetSwapFee is a paid mutator transaction binding the contract method 0x34e19907.

Solidity: function setSwapFee(uint256 swapFee) returns()

func (*BalancerTransactorSession) SwapExactAmountIn

func (_Balancer *BalancerTransactorSession) SwapExactAmountIn(tokenIn common.Address, tokenAmountIn *big.Int, tokenOut common.Address, minAmountOut *big.Int, maxPrice *big.Int) (*types.Transaction, error)

SwapExactAmountIn is a paid mutator transaction binding the contract method 0x8201aa3f.

Solidity: function swapExactAmountIn(address tokenIn, uint256 tokenAmountIn, address tokenOut, uint256 minAmountOut, uint256 maxPrice) returns(uint256 tokenAmountOut, uint256 spotPriceAfter)

func (*BalancerTransactorSession) SwapExactAmountOut

func (_Balancer *BalancerTransactorSession) SwapExactAmountOut(tokenIn common.Address, maxAmountIn *big.Int, tokenOut common.Address, tokenAmountOut *big.Int, maxPrice *big.Int) (*types.Transaction, error)

SwapExactAmountOut is a paid mutator transaction binding the contract method 0x7c5e9ea4.

Solidity: function swapExactAmountOut(address tokenIn, uint256 maxAmountIn, address tokenOut, uint256 tokenAmountOut, uint256 maxPrice) returns(uint256 tokenAmountIn, uint256 spotPriceAfter)

func (*BalancerTransactorSession) Transfer

func (_Balancer *BalancerTransactorSession) Transfer(dst common.Address, amt *big.Int) (*types.Transaction, error)

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

Solidity: function transfer(address dst, uint256 amt) returns(bool)

func (*BalancerTransactorSession) TransferFrom

func (_Balancer *BalancerTransactorSession) TransferFrom(src common.Address, dst common.Address, amt *big.Int) (*types.Transaction, error)

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

Solidity: function transferFrom(address src, address dst, uint256 amt) returns(bool)

func (*BalancerTransactorSession) Unbind

func (_Balancer *BalancerTransactorSession) Unbind(token common.Address) (*types.Transaction, error)

Unbind is a paid mutator transaction binding the contract method 0xcf5e7bd3.

Solidity: function unbind(address token) returns()

type BalancerTransfer

type BalancerTransfer struct {
	Src common.Address
	Dst common.Address
	Amt *big.Int
	Raw types.Log // Blockchain specific contextual infos
}

BalancerTransfer represents a Transfer event raised by the Balancer contract.

type BalancerTransferIterator

type BalancerTransferIterator struct {
	Event *BalancerTransfer // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

BalancerTransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the Balancer contract.

func (*BalancerTransferIterator) Close

func (it *BalancerTransferIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*BalancerTransferIterator) Error

func (it *BalancerTransferIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*BalancerTransferIterator) Next

func (it *BalancerTransferIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type Bancor

type Bancor struct {
	BancorCaller     // Read-only binding to the contract
	BancorTransactor // Write-only binding to the contract
	BancorFilterer   // Log filterer for contract events
}

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

func NewBancor

func NewBancor(address common.Address, backend bind.ContractBackend) (*Bancor, error)

NewBancor creates a new instance of Bancor, bound to a specific deployed contract.

type BancorCaller

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

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

func NewBancorCaller

func NewBancorCaller(address common.Address, caller bind.ContractCaller) (*BancorCaller, error)

NewBancorCaller creates a new read-only instance of Bancor, bound to a specific deployed contract.

func (*BancorCaller) ConversionPath

func (_Bancor *BancorCaller) ConversionPath(opts *bind.CallOpts, _sourceToken common.Address, _targetToken common.Address) ([]common.Address, error)

ConversionPath is a free data retrieval call binding the contract method 0xd734fa19.

Solidity: function conversionPath(address _sourceToken, address _targetToken) view returns(address[])

func (*BancorCaller) EtherTokens

func (_Bancor *BancorCaller) EtherTokens(opts *bind.CallOpts, arg0 common.Address) (bool, error)

EtherTokens is a free data retrieval call binding the contract method 0x8077ccf7.

Solidity: function etherTokens(address ) view returns(bool)

func (*BancorCaller) GetReturnByPath

func (_Bancor *BancorCaller) GetReturnByPath(opts *bind.CallOpts, _path []common.Address, _amount *big.Int) (*big.Int, *big.Int, error)

GetReturnByPath is a free data retrieval call binding the contract method 0x0c8496cc.

Solidity: function getReturnByPath(address[] _path, uint256 _amount) view returns(uint256, uint256)

func (*BancorCaller) MaxAffiliateFee

func (_Bancor *BancorCaller) MaxAffiliateFee(opts *bind.CallOpts) (*big.Int, error)

MaxAffiliateFee is a free data retrieval call binding the contract method 0x5d732ff2.

Solidity: function maxAffiliateFee() view returns(uint256)

func (*BancorCaller) NewOwner

func (_Bancor *BancorCaller) NewOwner(opts *bind.CallOpts) (common.Address, error)

NewOwner is a free data retrieval call binding the contract method 0xd4ee1d90.

Solidity: function newOwner() view returns(address)

func (*BancorCaller) OnlyOwnerCanUpdateRegistry

func (_Bancor *BancorCaller) OnlyOwnerCanUpdateRegistry(opts *bind.CallOpts) (bool, error)

OnlyOwnerCanUpdateRegistry is a free data retrieval call binding the contract method 0x2fe8a6ad.

Solidity: function onlyOwnerCanUpdateRegistry() view returns(bool)

func (*BancorCaller) Owner

func (_Bancor *BancorCaller) 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 (*BancorCaller) PrevRegistry

func (_Bancor *BancorCaller) PrevRegistry(opts *bind.CallOpts) (common.Address, error)

PrevRegistry is a free data retrieval call binding the contract method 0x61cd756e.

Solidity: function prevRegistry() view returns(address)

func (*BancorCaller) RateByPath

func (_Bancor *BancorCaller) RateByPath(opts *bind.CallOpts, _path []common.Address, _amount *big.Int) (*big.Int, error)

RateByPath is a free data retrieval call binding the contract method 0x7f9c0ecd.

Solidity: function rateByPath(address[] _path, uint256 _amount) view returns(uint256)

func (*BancorCaller) Registry

func (_Bancor *BancorCaller) Registry(opts *bind.CallOpts) (common.Address, error)

Registry is a free data retrieval call binding the contract method 0x7b103999.

Solidity: function registry() view returns(address)

type BancorCallerRaw

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

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

func (*BancorCallerRaw) Call

func (_Bancor *BancorCallerRaw) 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 BancorCallerSession

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

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

func (*BancorCallerSession) ConversionPath

func (_Bancor *BancorCallerSession) ConversionPath(_sourceToken common.Address, _targetToken common.Address) ([]common.Address, error)

ConversionPath is a free data retrieval call binding the contract method 0xd734fa19.

Solidity: function conversionPath(address _sourceToken, address _targetToken) view returns(address[])

func (*BancorCallerSession) EtherTokens

func (_Bancor *BancorCallerSession) EtherTokens(arg0 common.Address) (bool, error)

EtherTokens is a free data retrieval call binding the contract method 0x8077ccf7.

Solidity: function etherTokens(address ) view returns(bool)

func (*BancorCallerSession) GetReturnByPath

func (_Bancor *BancorCallerSession) GetReturnByPath(_path []common.Address, _amount *big.Int) (*big.Int, *big.Int, error)

GetReturnByPath is a free data retrieval call binding the contract method 0x0c8496cc.

Solidity: function getReturnByPath(address[] _path, uint256 _amount) view returns(uint256, uint256)

func (*BancorCallerSession) MaxAffiliateFee

func (_Bancor *BancorCallerSession) MaxAffiliateFee() (*big.Int, error)

MaxAffiliateFee is a free data retrieval call binding the contract method 0x5d732ff2.

Solidity: function maxAffiliateFee() view returns(uint256)

func (*BancorCallerSession) NewOwner

func (_Bancor *BancorCallerSession) NewOwner() (common.Address, error)

NewOwner is a free data retrieval call binding the contract method 0xd4ee1d90.

Solidity: function newOwner() view returns(address)

func (*BancorCallerSession) OnlyOwnerCanUpdateRegistry

func (_Bancor *BancorCallerSession) OnlyOwnerCanUpdateRegistry() (bool, error)

OnlyOwnerCanUpdateRegistry is a free data retrieval call binding the contract method 0x2fe8a6ad.

Solidity: function onlyOwnerCanUpdateRegistry() view returns(bool)

func (*BancorCallerSession) Owner

func (_Bancor *BancorCallerSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*BancorCallerSession) PrevRegistry

func (_Bancor *BancorCallerSession) PrevRegistry() (common.Address, error)

PrevRegistry is a free data retrieval call binding the contract method 0x61cd756e.

Solidity: function prevRegistry() view returns(address)

func (*BancorCallerSession) RateByPath

func (_Bancor *BancorCallerSession) RateByPath(_path []common.Address, _amount *big.Int) (*big.Int, error)

RateByPath is a free data retrieval call binding the contract method 0x7f9c0ecd.

Solidity: function rateByPath(address[] _path, uint256 _amount) view returns(uint256)

func (*BancorCallerSession) Registry

func (_Bancor *BancorCallerSession) Registry() (common.Address, error)

Registry is a free data retrieval call binding the contract method 0x7b103999.

Solidity: function registry() view returns(address)

type BancorConversion

type BancorConversion struct {
	SmartToken common.Address
	FromToken  common.Address
	ToToken    common.Address
	FromAmount *big.Int
	ToAmount   *big.Int
	Trader     common.Address
	Raw        types.Log // Blockchain specific contextual infos
}

BancorConversion represents a Conversion event raised by the Bancor contract.

type BancorConversionIterator

type BancorConversionIterator struct {
	Event *BancorConversion // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

BancorConversionIterator is returned from FilterConversion and is used to iterate over the raw logs and unpacked data for Conversion events raised by the Bancor contract.

func (*BancorConversionIterator) Close

func (it *BancorConversionIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*BancorConversionIterator) Error

func (it *BancorConversionIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*BancorConversionIterator) Next

func (it *BancorConversionIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type BancorFilterer

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

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

func NewBancorFilterer

func NewBancorFilterer(address common.Address, filterer bind.ContractFilterer) (*BancorFilterer, error)

NewBancorFilterer creates a new log filterer instance of Bancor, bound to a specific deployed contract.

func (*BancorFilterer) FilterConversion

func (_Bancor *BancorFilterer) FilterConversion(opts *bind.FilterOpts, _smartToken []common.Address, _fromToken []common.Address, _toToken []common.Address) (*BancorConversionIterator, error)

FilterConversion is a free log retrieval operation binding the contract event 0x7154b38b5dd31bb3122436a96d4e09aba5b323ae1fd580025fab55074334c095.

Solidity: event Conversion(address indexed _smartToken, address indexed _fromToken, address indexed _toToken, uint256 _fromAmount, uint256 _toAmount, address _trader)

func (*BancorFilterer) FilterOwnerUpdate

func (_Bancor *BancorFilterer) FilterOwnerUpdate(opts *bind.FilterOpts, _prevOwner []common.Address, _newOwner []common.Address) (*BancorOwnerUpdateIterator, error)

FilterOwnerUpdate is a free log retrieval operation binding the contract event 0x343765429aea5a34b3ff6a3785a98a5abb2597aca87bfbb58632c173d585373a.

Solidity: event OwnerUpdate(address indexed _prevOwner, address indexed _newOwner)

func (*BancorFilterer) ParseConversion

func (_Bancor *BancorFilterer) ParseConversion(log types.Log) (*BancorConversion, error)

ParseConversion is a log parse operation binding the contract event 0x7154b38b5dd31bb3122436a96d4e09aba5b323ae1fd580025fab55074334c095.

Solidity: event Conversion(address indexed _smartToken, address indexed _fromToken, address indexed _toToken, uint256 _fromAmount, uint256 _toAmount, address _trader)

func (*BancorFilterer) ParseOwnerUpdate

func (_Bancor *BancorFilterer) ParseOwnerUpdate(log types.Log) (*BancorOwnerUpdate, error)

ParseOwnerUpdate is a log parse operation binding the contract event 0x343765429aea5a34b3ff6a3785a98a5abb2597aca87bfbb58632c173d585373a.

Solidity: event OwnerUpdate(address indexed _prevOwner, address indexed _newOwner)

func (*BancorFilterer) WatchConversion

func (_Bancor *BancorFilterer) WatchConversion(opts *bind.WatchOpts, sink chan<- *BancorConversion, _smartToken []common.Address, _fromToken []common.Address, _toToken []common.Address) (event.Subscription, error)

WatchConversion is a free log subscription operation binding the contract event 0x7154b38b5dd31bb3122436a96d4e09aba5b323ae1fd580025fab55074334c095.

Solidity: event Conversion(address indexed _smartToken, address indexed _fromToken, address indexed _toToken, uint256 _fromAmount, uint256 _toAmount, address _trader)

func (*BancorFilterer) WatchOwnerUpdate

func (_Bancor *BancorFilterer) WatchOwnerUpdate(opts *bind.WatchOpts, sink chan<- *BancorOwnerUpdate, _prevOwner []common.Address, _newOwner []common.Address) (event.Subscription, error)

WatchOwnerUpdate is a free log subscription operation binding the contract event 0x343765429aea5a34b3ff6a3785a98a5abb2597aca87bfbb58632c173d585373a.

Solidity: event OwnerUpdate(address indexed _prevOwner, address indexed _newOwner)

type BancorOwnerUpdate

type BancorOwnerUpdate struct {
	PrevOwner common.Address
	NewOwner  common.Address
	Raw       types.Log // Blockchain specific contextual infos
}

BancorOwnerUpdate represents a OwnerUpdate event raised by the Bancor contract.

type BancorOwnerUpdateIterator

type BancorOwnerUpdateIterator struct {
	Event *BancorOwnerUpdate // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

BancorOwnerUpdateIterator is returned from FilterOwnerUpdate and is used to iterate over the raw logs and unpacked data for OwnerUpdate events raised by the Bancor contract.

func (*BancorOwnerUpdateIterator) Close

func (it *BancorOwnerUpdateIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*BancorOwnerUpdateIterator) Error

func (it *BancorOwnerUpdateIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*BancorOwnerUpdateIterator) Next

func (it *BancorOwnerUpdateIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type BancorRaw

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

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

func (*BancorRaw) Call

func (_Bancor *BancorRaw) 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 (*BancorRaw) Transact

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

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

func (*BancorRaw) Transfer

func (_Bancor *BancorRaw) 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 BancorSession

type BancorSession struct {
	Contract     *Bancor           // 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
}

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

func (*BancorSession) AcceptOwnership

func (_Bancor *BancorSession) AcceptOwnership() (*types.Transaction, error)

AcceptOwnership is a paid mutator transaction binding the contract method 0x79ba5097.

Solidity: function acceptOwnership() returns()

func (*BancorSession) ClaimAndConvert

func (_Bancor *BancorSession) ClaimAndConvert(_path []common.Address, _amount *big.Int, _minReturn *big.Int) (*types.Transaction, error)

ClaimAndConvert is a paid mutator transaction binding the contract method 0xc7ba24bc.

Solidity: function claimAndConvert(address[] _path, uint256 _amount, uint256 _minReturn) returns(uint256)

func (*BancorSession) ClaimAndConvert2

func (_Bancor *BancorSession) ClaimAndConvert2(_path []common.Address, _amount *big.Int, _minReturn *big.Int, _affiliateAccount common.Address, _affiliateFee *big.Int) (*types.Transaction, error)

ClaimAndConvert2 is a paid mutator transaction binding the contract method 0xe57738e5.

Solidity: function claimAndConvert2(address[] _path, uint256 _amount, uint256 _minReturn, address _affiliateAccount, uint256 _affiliateFee) returns(uint256)

func (*BancorSession) ClaimAndConvertFor

func (_Bancor *BancorSession) ClaimAndConvertFor(_path []common.Address, _amount *big.Int, _minReturn *big.Int, _beneficiary common.Address) (*types.Transaction, error)

ClaimAndConvertFor is a paid mutator transaction binding the contract method 0xb1e9932b.

Solidity: function claimAndConvertFor(address[] _path, uint256 _amount, uint256 _minReturn, address _beneficiary) returns(uint256)

func (*BancorSession) ClaimAndConvertFor2

func (_Bancor *BancorSession) ClaimAndConvertFor2(_path []common.Address, _amount *big.Int, _minReturn *big.Int, _beneficiary common.Address, _affiliateAccount common.Address, _affiliateFee *big.Int) (*types.Transaction, error)

ClaimAndConvertFor2 is a paid mutator transaction binding the contract method 0x2978c10e.

Solidity: function claimAndConvertFor2(address[] _path, uint256 _amount, uint256 _minReturn, address _beneficiary, address _affiliateAccount, uint256 _affiliateFee) returns(uint256)

func (*BancorSession) CompleteXConversion

func (_Bancor *BancorSession) CompleteXConversion(_path []common.Address, _bancorX common.Address, _conversionId *big.Int, _minReturn *big.Int, _beneficiary common.Address) (*types.Transaction, error)

CompleteXConversion is a paid mutator transaction binding the contract method 0x89f9cc61.

Solidity: function completeXConversion(address[] _path, address _bancorX, uint256 _conversionId, uint256 _minReturn, address _beneficiary) returns(uint256)

func (*BancorSession) ConversionPath

func (_Bancor *BancorSession) ConversionPath(_sourceToken common.Address, _targetToken common.Address) ([]common.Address, error)

ConversionPath is a free data retrieval call binding the contract method 0xd734fa19.

Solidity: function conversionPath(address _sourceToken, address _targetToken) view returns(address[])

func (*BancorSession) Convert

func (_Bancor *BancorSession) Convert(_path []common.Address, _amount *big.Int, _minReturn *big.Int) (*types.Transaction, error)

Convert is a paid mutator transaction binding the contract method 0xf3898a97.

Solidity: function convert(address[] _path, uint256 _amount, uint256 _minReturn) payable returns(uint256)

func (*BancorSession) Convert2

func (_Bancor *BancorSession) Convert2(_path []common.Address, _amount *big.Int, _minReturn *big.Int, _affiliateAccount common.Address, _affiliateFee *big.Int) (*types.Transaction, error)

Convert2 is a paid mutator transaction binding the contract method 0x569706eb.

Solidity: function convert2(address[] _path, uint256 _amount, uint256 _minReturn, address _affiliateAccount, uint256 _affiliateFee) payable returns(uint256)

func (*BancorSession) ConvertByPath

func (_Bancor *BancorSession) ConvertByPath(_path []common.Address, _amount *big.Int, _minReturn *big.Int, _beneficiary common.Address, _affiliateAccount common.Address, _affiliateFee *big.Int) (*types.Transaction, error)

ConvertByPath is a paid mutator transaction binding the contract method 0xb77d239b.

Solidity: function convertByPath(address[] _path, uint256 _amount, uint256 _minReturn, address _beneficiary, address _affiliateAccount, uint256 _affiliateFee) payable returns(uint256)

func (*BancorSession) ConvertFor

func (_Bancor *BancorSession) ConvertFor(_path []common.Address, _amount *big.Int, _minReturn *big.Int, _beneficiary common.Address) (*types.Transaction, error)

ConvertFor is a paid mutator transaction binding the contract method 0xc98fefed.

Solidity: function convertFor(address[] _path, uint256 _amount, uint256 _minReturn, address _beneficiary) payable returns(uint256)

func (*BancorSession) ConvertFor2

func (_Bancor *BancorSession) ConvertFor2(_path []common.Address, _amount *big.Int, _minReturn *big.Int, _beneficiary common.Address, _affiliateAccount common.Address, _affiliateFee *big.Int) (*types.Transaction, error)

ConvertFor2 is a paid mutator transaction binding the contract method 0xab6214ce.

Solidity: function convertFor2(address[] _path, uint256 _amount, uint256 _minReturn, address _beneficiary, address _affiliateAccount, uint256 _affiliateFee) payable returns(uint256)

func (*BancorSession) EtherTokens

func (_Bancor *BancorSession) EtherTokens(arg0 common.Address) (bool, error)

EtherTokens is a free data retrieval call binding the contract method 0x8077ccf7.

Solidity: function etherTokens(address ) view returns(bool)

func (*BancorSession) GetReturnByPath

func (_Bancor *BancorSession) GetReturnByPath(_path []common.Address, _amount *big.Int) (*big.Int, *big.Int, error)

GetReturnByPath is a free data retrieval call binding the contract method 0x0c8496cc.

Solidity: function getReturnByPath(address[] _path, uint256 _amount) view returns(uint256, uint256)

func (*BancorSession) MaxAffiliateFee

func (_Bancor *BancorSession) MaxAffiliateFee() (*big.Int, error)

MaxAffiliateFee is a free data retrieval call binding the contract method 0x5d732ff2.

Solidity: function maxAffiliateFee() view returns(uint256)

func (*BancorSession) NewOwner

func (_Bancor *BancorSession) NewOwner() (common.Address, error)

NewOwner is a free data retrieval call binding the contract method 0xd4ee1d90.

Solidity: function newOwner() view returns(address)

func (*BancorSession) OnlyOwnerCanUpdateRegistry

func (_Bancor *BancorSession) OnlyOwnerCanUpdateRegistry() (bool, error)

OnlyOwnerCanUpdateRegistry is a free data retrieval call binding the contract method 0x2fe8a6ad.

Solidity: function onlyOwnerCanUpdateRegistry() view returns(bool)

func (*BancorSession) Owner

func (_Bancor *BancorSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*BancorSession) PrevRegistry

func (_Bancor *BancorSession) PrevRegistry() (common.Address, error)

PrevRegistry is a free data retrieval call binding the contract method 0x61cd756e.

Solidity: function prevRegistry() view returns(address)

func (*BancorSession) RateByPath

func (_Bancor *BancorSession) RateByPath(_path []common.Address, _amount *big.Int) (*big.Int, error)

RateByPath is a free data retrieval call binding the contract method 0x7f9c0ecd.

Solidity: function rateByPath(address[] _path, uint256 _amount) view returns(uint256)

func (*BancorSession) RegisterEtherToken

func (_Bancor *BancorSession) RegisterEtherToken(_token common.Address, _register bool) (*types.Transaction, error)

RegisterEtherToken is a paid mutator transaction binding the contract method 0x02ef521e.

Solidity: function registerEtherToken(address _token, bool _register) returns()

func (*BancorSession) Registry

func (_Bancor *BancorSession) Registry() (common.Address, error)

Registry is a free data retrieval call binding the contract method 0x7b103999.

Solidity: function registry() view returns(address)

func (*BancorSession) RestoreRegistry

func (_Bancor *BancorSession) RestoreRegistry() (*types.Transaction, error)

RestoreRegistry is a paid mutator transaction binding the contract method 0xb4a176d3.

Solidity: function restoreRegistry() returns()

func (*BancorSession) RestrictRegistryUpdate

func (_Bancor *BancorSession) RestrictRegistryUpdate(_onlyOwnerCanUpdateRegistry bool) (*types.Transaction, error)

RestrictRegistryUpdate is a paid mutator transaction binding the contract method 0x024c7ec7.

Solidity: function restrictRegistryUpdate(bool _onlyOwnerCanUpdateRegistry) returns()

func (*BancorSession) SetMaxAffiliateFee

func (_Bancor *BancorSession) SetMaxAffiliateFee(_maxAffiliateFee *big.Int) (*types.Transaction, error)

SetMaxAffiliateFee is a paid mutator transaction binding the contract method 0xf3bc7d2a.

Solidity: function setMaxAffiliateFee(uint256 _maxAffiliateFee) returns()

func (*BancorSession) TransferOwnership

func (_Bancor *BancorSession) 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 (*BancorSession) UpdateRegistry

func (_Bancor *BancorSession) UpdateRegistry() (*types.Transaction, error)

UpdateRegistry is a paid mutator transaction binding the contract method 0x49d10b64.

Solidity: function updateRegistry() returns()

func (*BancorSession) WithdrawTokens

func (_Bancor *BancorSession) WithdrawTokens(_token common.Address, _to common.Address, _amount *big.Int) (*types.Transaction, error)

WithdrawTokens is a paid mutator transaction binding the contract method 0x5e35359e.

Solidity: function withdrawTokens(address _token, address _to, uint256 _amount) returns()

func (*BancorSession) XConvert

func (_Bancor *BancorSession) XConvert(_path []common.Address, _amount *big.Int, _minReturn *big.Int, _targetBlockchain [32]byte, _targetAccount [32]byte, _conversionId *big.Int) (*types.Transaction, error)

XConvert is a paid mutator transaction binding the contract method 0xc52173de.

Solidity: function xConvert(address[] _path, uint256 _amount, uint256 _minReturn, bytes32 _targetBlockchain, bytes32 _targetAccount, uint256 _conversionId) payable returns(uint256)

func (*BancorSession) XConvert2

func (_Bancor *BancorSession) XConvert2(_path []common.Address, _amount *big.Int, _minReturn *big.Int, _targetBlockchain [32]byte, _targetAccount [32]byte, _conversionId *big.Int, _affiliateAccount common.Address, _affiliateFee *big.Int) (*types.Transaction, error)

XConvert2 is a paid mutator transaction binding the contract method 0xcb32564e.

Solidity: function xConvert2(address[] _path, uint256 _amount, uint256 _minReturn, bytes32 _targetBlockchain, bytes32 _targetAccount, uint256 _conversionId, address _affiliateAccount, uint256 _affiliateFee) payable returns(uint256)

type BancorTransactor

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

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

func NewBancorTransactor

func NewBancorTransactor(address common.Address, transactor bind.ContractTransactor) (*BancorTransactor, error)

NewBancorTransactor creates a new write-only instance of Bancor, bound to a specific deployed contract.

func (*BancorTransactor) AcceptOwnership

func (_Bancor *BancorTransactor) AcceptOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

AcceptOwnership is a paid mutator transaction binding the contract method 0x79ba5097.

Solidity: function acceptOwnership() returns()

func (*BancorTransactor) ClaimAndConvert

func (_Bancor *BancorTransactor) ClaimAndConvert(opts *bind.TransactOpts, _path []common.Address, _amount *big.Int, _minReturn *big.Int) (*types.Transaction, error)

ClaimAndConvert is a paid mutator transaction binding the contract method 0xc7ba24bc.

Solidity: function claimAndConvert(address[] _path, uint256 _amount, uint256 _minReturn) returns(uint256)

func (*BancorTransactor) ClaimAndConvert2

func (_Bancor *BancorTransactor) ClaimAndConvert2(opts *bind.TransactOpts, _path []common.Address, _amount *big.Int, _minReturn *big.Int, _affiliateAccount common.Address, _affiliateFee *big.Int) (*types.Transaction, error)

ClaimAndConvert2 is a paid mutator transaction binding the contract method 0xe57738e5.

Solidity: function claimAndConvert2(address[] _path, uint256 _amount, uint256 _minReturn, address _affiliateAccount, uint256 _affiliateFee) returns(uint256)

func (*BancorTransactor) ClaimAndConvertFor

func (_Bancor *BancorTransactor) ClaimAndConvertFor(opts *bind.TransactOpts, _path []common.Address, _amount *big.Int, _minReturn *big.Int, _beneficiary common.Address) (*types.Transaction, error)

ClaimAndConvertFor is a paid mutator transaction binding the contract method 0xb1e9932b.

Solidity: function claimAndConvertFor(address[] _path, uint256 _amount, uint256 _minReturn, address _beneficiary) returns(uint256)

func (*BancorTransactor) ClaimAndConvertFor2

func (_Bancor *BancorTransactor) ClaimAndConvertFor2(opts *bind.TransactOpts, _path []common.Address, _amount *big.Int, _minReturn *big.Int, _beneficiary common.Address, _affiliateAccount common.Address, _affiliateFee *big.Int) (*types.Transaction, error)

ClaimAndConvertFor2 is a paid mutator transaction binding the contract method 0x2978c10e.

Solidity: function claimAndConvertFor2(address[] _path, uint256 _amount, uint256 _minReturn, address _beneficiary, address _affiliateAccount, uint256 _affiliateFee) returns(uint256)

func (*BancorTransactor) CompleteXConversion

func (_Bancor *BancorTransactor) CompleteXConversion(opts *bind.TransactOpts, _path []common.Address, _bancorX common.Address, _conversionId *big.Int, _minReturn *big.Int, _beneficiary common.Address) (*types.Transaction, error)

CompleteXConversion is a paid mutator transaction binding the contract method 0x89f9cc61.

Solidity: function completeXConversion(address[] _path, address _bancorX, uint256 _conversionId, uint256 _minReturn, address _beneficiary) returns(uint256)

func (*BancorTransactor) Convert

func (_Bancor *BancorTransactor) Convert(opts *bind.TransactOpts, _path []common.Address, _amount *big.Int, _minReturn *big.Int) (*types.Transaction, error)

Convert is a paid mutator transaction binding the contract method 0xf3898a97.

Solidity: function convert(address[] _path, uint256 _amount, uint256 _minReturn) payable returns(uint256)

func (*BancorTransactor) Convert2

func (_Bancor *BancorTransactor) Convert2(opts *bind.TransactOpts, _path []common.Address, _amount *big.Int, _minReturn *big.Int, _affiliateAccount common.Address, _affiliateFee *big.Int) (*types.Transaction, error)

Convert2 is a paid mutator transaction binding the contract method 0x569706eb.

Solidity: function convert2(address[] _path, uint256 _amount, uint256 _minReturn, address _affiliateAccount, uint256 _affiliateFee) payable returns(uint256)

func (*BancorTransactor) ConvertByPath

func (_Bancor *BancorTransactor) ConvertByPath(opts *bind.TransactOpts, _path []common.Address, _amount *big.Int, _minReturn *big.Int, _beneficiary common.Address, _affiliateAccount common.Address, _affiliateFee *big.Int) (*types.Transaction, error)

ConvertByPath is a paid mutator transaction binding the contract method 0xb77d239b.

Solidity: function convertByPath(address[] _path, uint256 _amount, uint256 _minReturn, address _beneficiary, address _affiliateAccount, uint256 _affiliateFee) payable returns(uint256)

func (*BancorTransactor) ConvertFor

func (_Bancor *BancorTransactor) ConvertFor(opts *bind.TransactOpts, _path []common.Address, _amount *big.Int, _minReturn *big.Int, _beneficiary common.Address) (*types.Transaction, error)

ConvertFor is a paid mutator transaction binding the contract method 0xc98fefed.

Solidity: function convertFor(address[] _path, uint256 _amount, uint256 _minReturn, address _beneficiary) payable returns(uint256)

func (*BancorTransactor) ConvertFor2

func (_Bancor *BancorTransactor) ConvertFor2(opts *bind.TransactOpts, _path []common.Address, _amount *big.Int, _minReturn *big.Int, _beneficiary common.Address, _affiliateAccount common.Address, _affiliateFee *big.Int) (*types.Transaction, error)

ConvertFor2 is a paid mutator transaction binding the contract method 0xab6214ce.

Solidity: function convertFor2(address[] _path, uint256 _amount, uint256 _minReturn, address _beneficiary, address _affiliateAccount, uint256 _affiliateFee) payable returns(uint256)

func (*BancorTransactor) RegisterEtherToken

func (_Bancor *BancorTransactor) RegisterEtherToken(opts *bind.TransactOpts, _token common.Address, _register bool) (*types.Transaction, error)

RegisterEtherToken is a paid mutator transaction binding the contract method 0x02ef521e.

Solidity: function registerEtherToken(address _token, bool _register) returns()

func (*BancorTransactor) RestoreRegistry

func (_Bancor *BancorTransactor) RestoreRegistry(opts *bind.TransactOpts) (*types.Transaction, error)

RestoreRegistry is a paid mutator transaction binding the contract method 0xb4a176d3.

Solidity: function restoreRegistry() returns()

func (*BancorTransactor) RestrictRegistryUpdate

func (_Bancor *BancorTransactor) RestrictRegistryUpdate(opts *bind.TransactOpts, _onlyOwnerCanUpdateRegistry bool) (*types.Transaction, error)

RestrictRegistryUpdate is a paid mutator transaction binding the contract method 0x024c7ec7.

Solidity: function restrictRegistryUpdate(bool _onlyOwnerCanUpdateRegistry) returns()

func (*BancorTransactor) SetMaxAffiliateFee

func (_Bancor *BancorTransactor) SetMaxAffiliateFee(opts *bind.TransactOpts, _maxAffiliateFee *big.Int) (*types.Transaction, error)

SetMaxAffiliateFee is a paid mutator transaction binding the contract method 0xf3bc7d2a.

Solidity: function setMaxAffiliateFee(uint256 _maxAffiliateFee) returns()

func (*BancorTransactor) TransferOwnership

func (_Bancor *BancorTransactor) 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 (*BancorTransactor) UpdateRegistry

func (_Bancor *BancorTransactor) UpdateRegistry(opts *bind.TransactOpts) (*types.Transaction, error)

UpdateRegistry is a paid mutator transaction binding the contract method 0x49d10b64.

Solidity: function updateRegistry() returns()

func (*BancorTransactor) WithdrawTokens

func (_Bancor *BancorTransactor) WithdrawTokens(opts *bind.TransactOpts, _token common.Address, _to common.Address, _amount *big.Int) (*types.Transaction, error)

WithdrawTokens is a paid mutator transaction binding the contract method 0x5e35359e.

Solidity: function withdrawTokens(address _token, address _to, uint256 _amount) returns()

func (*BancorTransactor) XConvert

func (_Bancor *BancorTransactor) XConvert(opts *bind.TransactOpts, _path []common.Address, _amount *big.Int, _minReturn *big.Int, _targetBlockchain [32]byte, _targetAccount [32]byte, _conversionId *big.Int) (*types.Transaction, error)

XConvert is a paid mutator transaction binding the contract method 0xc52173de.

Solidity: function xConvert(address[] _path, uint256 _amount, uint256 _minReturn, bytes32 _targetBlockchain, bytes32 _targetAccount, uint256 _conversionId) payable returns(uint256)

func (*BancorTransactor) XConvert2

func (_Bancor *BancorTransactor) XConvert2(opts *bind.TransactOpts, _path []common.Address, _amount *big.Int, _minReturn *big.Int, _targetBlockchain [32]byte, _targetAccount [32]byte, _conversionId *big.Int, _affiliateAccount common.Address, _affiliateFee *big.Int) (*types.Transaction, error)

XConvert2 is a paid mutator transaction binding the contract method 0xcb32564e.

Solidity: function xConvert2(address[] _path, uint256 _amount, uint256 _minReturn, bytes32 _targetBlockchain, bytes32 _targetAccount, uint256 _conversionId, address _affiliateAccount, uint256 _affiliateFee) payable returns(uint256)

type BancorTransactorRaw

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

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

func (*BancorTransactorRaw) Transact

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

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

func (*BancorTransactorRaw) Transfer

func (_Bancor *BancorTransactorRaw) 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 BancorTransactorSession

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

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

func (*BancorTransactorSession) AcceptOwnership

func (_Bancor *BancorTransactorSession) AcceptOwnership() (*types.Transaction, error)

AcceptOwnership is a paid mutator transaction binding the contract method 0x79ba5097.

Solidity: function acceptOwnership() returns()

func (*BancorTransactorSession) ClaimAndConvert

func (_Bancor *BancorTransactorSession) ClaimAndConvert(_path []common.Address, _amount *big.Int, _minReturn *big.Int) (*types.Transaction, error)

ClaimAndConvert is a paid mutator transaction binding the contract method 0xc7ba24bc.

Solidity: function claimAndConvert(address[] _path, uint256 _amount, uint256 _minReturn) returns(uint256)

func (*BancorTransactorSession) ClaimAndConvert2

func (_Bancor *BancorTransactorSession) ClaimAndConvert2(_path []common.Address, _amount *big.Int, _minReturn *big.Int, _affiliateAccount common.Address, _affiliateFee *big.Int) (*types.Transaction, error)

ClaimAndConvert2 is a paid mutator transaction binding the contract method 0xe57738e5.

Solidity: function claimAndConvert2(address[] _path, uint256 _amount, uint256 _minReturn, address _affiliateAccount, uint256 _affiliateFee) returns(uint256)

func (*BancorTransactorSession) ClaimAndConvertFor

func (_Bancor *BancorTransactorSession) ClaimAndConvertFor(_path []common.Address, _amount *big.Int, _minReturn *big.Int, _beneficiary common.Address) (*types.Transaction, error)

ClaimAndConvertFor is a paid mutator transaction binding the contract method 0xb1e9932b.

Solidity: function claimAndConvertFor(address[] _path, uint256 _amount, uint256 _minReturn, address _beneficiary) returns(uint256)

func (*BancorTransactorSession) ClaimAndConvertFor2

func (_Bancor *BancorTransactorSession) ClaimAndConvertFor2(_path []common.Address, _amount *big.Int, _minReturn *big.Int, _beneficiary common.Address, _affiliateAccount common.Address, _affiliateFee *big.Int) (*types.Transaction, error)

ClaimAndConvertFor2 is a paid mutator transaction binding the contract method 0x2978c10e.

Solidity: function claimAndConvertFor2(address[] _path, uint256 _amount, uint256 _minReturn, address _beneficiary, address _affiliateAccount, uint256 _affiliateFee) returns(uint256)

func (*BancorTransactorSession) CompleteXConversion

func (_Bancor *BancorTransactorSession) CompleteXConversion(_path []common.Address, _bancorX common.Address, _conversionId *big.Int, _minReturn *big.Int, _beneficiary common.Address) (*types.Transaction, error)

CompleteXConversion is a paid mutator transaction binding the contract method 0x89f9cc61.

Solidity: function completeXConversion(address[] _path, address _bancorX, uint256 _conversionId, uint256 _minReturn, address _beneficiary) returns(uint256)

func (*BancorTransactorSession) Convert

func (_Bancor *BancorTransactorSession) Convert(_path []common.Address, _amount *big.Int, _minReturn *big.Int) (*types.Transaction, error)

Convert is a paid mutator transaction binding the contract method 0xf3898a97.

Solidity: function convert(address[] _path, uint256 _amount, uint256 _minReturn) payable returns(uint256)

func (*BancorTransactorSession) Convert2

func (_Bancor *BancorTransactorSession) Convert2(_path []common.Address, _amount *big.Int, _minReturn *big.Int, _affiliateAccount common.Address, _affiliateFee *big.Int) (*types.Transaction, error)

Convert2 is a paid mutator transaction binding the contract method 0x569706eb.

Solidity: function convert2(address[] _path, uint256 _amount, uint256 _minReturn, address _affiliateAccount, uint256 _affiliateFee) payable returns(uint256)

func (*BancorTransactorSession) ConvertByPath

func (_Bancor *BancorTransactorSession) ConvertByPath(_path []common.Address, _amount *big.Int, _minReturn *big.Int, _beneficiary common.Address, _affiliateAccount common.Address, _affiliateFee *big.Int) (*types.Transaction, error)

ConvertByPath is a paid mutator transaction binding the contract method 0xb77d239b.

Solidity: function convertByPath(address[] _path, uint256 _amount, uint256 _minReturn, address _beneficiary, address _affiliateAccount, uint256 _affiliateFee) payable returns(uint256)

func (*BancorTransactorSession) ConvertFor

func (_Bancor *BancorTransactorSession) ConvertFor(_path []common.Address, _amount *big.Int, _minReturn *big.Int, _beneficiary common.Address) (*types.Transaction, error)

ConvertFor is a paid mutator transaction binding the contract method 0xc98fefed.

Solidity: function convertFor(address[] _path, uint256 _amount, uint256 _minReturn, address _beneficiary) payable returns(uint256)

func (*BancorTransactorSession) ConvertFor2

func (_Bancor *BancorTransactorSession) ConvertFor2(_path []common.Address, _amount *big.Int, _minReturn *big.Int, _beneficiary common.Address, _affiliateAccount common.Address, _affiliateFee *big.Int) (*types.Transaction, error)

ConvertFor2 is a paid mutator transaction binding the contract method 0xab6214ce.

Solidity: function convertFor2(address[] _path, uint256 _amount, uint256 _minReturn, address _beneficiary, address _affiliateAccount, uint256 _affiliateFee) payable returns(uint256)

func (*BancorTransactorSession) RegisterEtherToken

func (_Bancor *BancorTransactorSession) RegisterEtherToken(_token common.Address, _register bool) (*types.Transaction, error)

RegisterEtherToken is a paid mutator transaction binding the contract method 0x02ef521e.

Solidity: function registerEtherToken(address _token, bool _register) returns()

func (*BancorTransactorSession) RestoreRegistry

func (_Bancor *BancorTransactorSession) RestoreRegistry() (*types.Transaction, error)

RestoreRegistry is a paid mutator transaction binding the contract method 0xb4a176d3.

Solidity: function restoreRegistry() returns()

func (*BancorTransactorSession) RestrictRegistryUpdate

func (_Bancor *BancorTransactorSession) RestrictRegistryUpdate(_onlyOwnerCanUpdateRegistry bool) (*types.Transaction, error)

RestrictRegistryUpdate is a paid mutator transaction binding the contract method 0x024c7ec7.

Solidity: function restrictRegistryUpdate(bool _onlyOwnerCanUpdateRegistry) returns()

func (*BancorTransactorSession) SetMaxAffiliateFee

func (_Bancor *BancorTransactorSession) SetMaxAffiliateFee(_maxAffiliateFee *big.Int) (*types.Transaction, error)

SetMaxAffiliateFee is a paid mutator transaction binding the contract method 0xf3bc7d2a.

Solidity: function setMaxAffiliateFee(uint256 _maxAffiliateFee) returns()

func (*BancorTransactorSession) TransferOwnership

func (_Bancor *BancorTransactorSession) 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 (*BancorTransactorSession) UpdateRegistry

func (_Bancor *BancorTransactorSession) UpdateRegistry() (*types.Transaction, error)

UpdateRegistry is a paid mutator transaction binding the contract method 0x49d10b64.

Solidity: function updateRegistry() returns()

func (*BancorTransactorSession) WithdrawTokens

func (_Bancor *BancorTransactorSession) WithdrawTokens(_token common.Address, _to common.Address, _amount *big.Int) (*types.Transaction, error)

WithdrawTokens is a paid mutator transaction binding the contract method 0x5e35359e.

Solidity: function withdrawTokens(address _token, address _to, uint256 _amount) returns()

func (*BancorTransactorSession) XConvert

func (_Bancor *BancorTransactorSession) XConvert(_path []common.Address, _amount *big.Int, _minReturn *big.Int, _targetBlockchain [32]byte, _targetAccount [32]byte, _conversionId *big.Int) (*types.Transaction, error)

XConvert is a paid mutator transaction binding the contract method 0xc52173de.

Solidity: function xConvert(address[] _path, uint256 _amount, uint256 _minReturn, bytes32 _targetBlockchain, bytes32 _targetAccount, uint256 _conversionId) payable returns(uint256)

func (*BancorTransactorSession) XConvert2

func (_Bancor *BancorTransactorSession) XConvert2(_path []common.Address, _amount *big.Int, _minReturn *big.Int, _targetBlockchain [32]byte, _targetAccount [32]byte, _conversionId *big.Int, _affiliateAccount common.Address, _affiliateFee *big.Int) (*types.Transaction, error)

XConvert2 is a paid mutator transaction binding the contract method 0xcb32564e.

Solidity: function xConvert2(address[] _path, uint256 _amount, uint256 _minReturn, bytes32 _targetBlockchain, bytes32 _targetAccount, uint256 _conversionId, address _affiliateAccount, uint256 _affiliateFee) payable returns(uint256)

type ContractAbi

type ContractAbi struct {
	ContractAbiCaller     // Read-only binding to the contract
	ContractAbiTransactor // Write-only binding to the contract
	ContractAbiFilterer   // Log filterer for contract events
}

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

func NewContractAbi

func NewContractAbi(address common.Address, backend bind.ContractBackend) (*ContractAbi, error)

NewContractAbi creates a new instance of ContractAbi, bound to a specific deployed contract.

type ContractAbiCaller

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

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

func NewContractAbiCaller

func NewContractAbiCaller(address common.Address, caller bind.ContractCaller) (*ContractAbiCaller, error)

NewContractAbiCaller creates a new read-only instance of ContractAbi, bound to a specific deployed contract.

func (*ContractAbiCaller) CalculateSwapInAmount

func (_ContractAbi *ContractAbiCaller) CalculateSwapInAmount(opts *bind.CallOpts, reserveIn *big.Int, userIn *big.Int) (*big.Int, error)

CalculateSwapInAmount is a free data retrieval call binding the contract method 0x8d7e41a8.

Solidity: function calculateSwapInAmount(uint256 reserveIn, uint256 userIn) pure returns(uint256)

func (*ContractAbiCaller) CanSwapFromV1

func (_ContractAbi *ContractAbiCaller) CanSwapFromV1(opts *bind.CallOpts, _fromToken common.Address, _toToken common.Address, fromAmount *big.Int, toAmount *big.Int) (bool, error)

CanSwapFromV1 is a free data retrieval call binding the contract method 0x3f975d5f.

Solidity: function canSwapFromV1(address _fromToken, address _toToken, uint256 fromAmount, uint256 toAmount) view returns(bool)

func (*ContractAbiCaller) CanSwapFromV2

func (_ContractAbi *ContractAbiCaller) CanSwapFromV2(opts *bind.CallOpts, _fromToken common.Address, _toToken common.Address) (bool, error)

CanSwapFromV2 is a free data retrieval call binding the contract method 0xf27cf320.

Solidity: function canSwapFromV2(address _fromToken, address _toToken) view returns(bool)

func (*ContractAbiCaller) Goodwill

func (_ContractAbi *ContractAbiCaller) Goodwill(opts *bind.CallOpts) (uint16, error)

Goodwill is a free data retrieval call binding the contract method 0x5de0398e.

Solidity: function goodwill() view returns(uint16)

func (*ContractAbiCaller) IsOwner

func (_ContractAbi *ContractAbiCaller) IsOwner(opts *bind.CallOpts) (bool, error)

IsOwner is a free data retrieval call binding the contract method 0x8f32d59b.

Solidity: function isOwner() view returns(bool)

func (*ContractAbiCaller) Owner

func (_ContractAbi *ContractAbiCaller) Owner(opts *bind.CallOpts) (common.Address, error)

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

Solidity: function _owner() view returns(address)

func (*ContractAbiCaller) Stopped

func (_ContractAbi *ContractAbiCaller) Stopped(opts *bind.CallOpts) (bool, error)

Stopped is a free data retrieval call binding the contract method 0x75f12b21.

Solidity: function stopped() view returns(bool)

type ContractAbiCallerRaw

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

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

func (*ContractAbiCallerRaw) Call

func (_ContractAbi *ContractAbiCallerRaw) 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 ContractAbiCallerSession

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

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

func (*ContractAbiCallerSession) CalculateSwapInAmount

func (_ContractAbi *ContractAbiCallerSession) CalculateSwapInAmount(reserveIn *big.Int, userIn *big.Int) (*big.Int, error)

CalculateSwapInAmount is a free data retrieval call binding the contract method 0x8d7e41a8.

Solidity: function calculateSwapInAmount(uint256 reserveIn, uint256 userIn) pure returns(uint256)

func (*ContractAbiCallerSession) CanSwapFromV1

func (_ContractAbi *ContractAbiCallerSession) CanSwapFromV1(_fromToken common.Address, _toToken common.Address, fromAmount *big.Int, toAmount *big.Int) (bool, error)

CanSwapFromV1 is a free data retrieval call binding the contract method 0x3f975d5f.

Solidity: function canSwapFromV1(address _fromToken, address _toToken, uint256 fromAmount, uint256 toAmount) view returns(bool)

func (*ContractAbiCallerSession) CanSwapFromV2

func (_ContractAbi *ContractAbiCallerSession) CanSwapFromV2(_fromToken common.Address, _toToken common.Address) (bool, error)

CanSwapFromV2 is a free data retrieval call binding the contract method 0xf27cf320.

Solidity: function canSwapFromV2(address _fromToken, address _toToken) view returns(bool)

func (*ContractAbiCallerSession) Goodwill

func (_ContractAbi *ContractAbiCallerSession) Goodwill() (uint16, error)

Goodwill is a free data retrieval call binding the contract method 0x5de0398e.

Solidity: function goodwill() view returns(uint16)

func (*ContractAbiCallerSession) IsOwner

func (_ContractAbi *ContractAbiCallerSession) IsOwner() (bool, error)

IsOwner is a free data retrieval call binding the contract method 0x8f32d59b.

Solidity: function isOwner() view returns(bool)

func (*ContractAbiCallerSession) Owner

func (_ContractAbi *ContractAbiCallerSession) Owner() (common.Address, error)

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

Solidity: function _owner() view returns(address)

func (*ContractAbiCallerSession) Stopped

func (_ContractAbi *ContractAbiCallerSession) Stopped() (bool, error)

Stopped is a free data retrieval call binding the contract method 0x75f12b21.

Solidity: function stopped() view returns(bool)

type ContractAbiFilterer

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

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

func NewContractAbiFilterer

func NewContractAbiFilterer(address common.Address, filterer bind.ContractFilterer) (*ContractAbiFilterer, error)

NewContractAbiFilterer creates a new log filterer instance of ContractAbi, bound to a specific deployed contract.

func (*ContractAbiFilterer) FilterOwnershipTransferred

func (_ContractAbi *ContractAbiFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*ContractAbiOwnershipTransferredIterator, error)

FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*ContractAbiFilterer) ParseOwnershipTransferred

func (_ContractAbi *ContractAbiFilterer) ParseOwnershipTransferred(log types.Log) (*ContractAbiOwnershipTransferred, error)

ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*ContractAbiFilterer) WatchOwnershipTransferred

func (_ContractAbi *ContractAbiFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *ContractAbiOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)

WatchOwnershipTransferred is a free log subscription operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

type ContractAbiOwnershipTransferred

type ContractAbiOwnershipTransferred struct {
	PreviousOwner common.Address
	NewOwner      common.Address
	Raw           types.Log // Blockchain specific contextual infos
}

ContractAbiOwnershipTransferred represents a OwnershipTransferred event raised by the ContractAbi contract.

type ContractAbiOwnershipTransferredIterator

type ContractAbiOwnershipTransferredIterator struct {
	Event *ContractAbiOwnershipTransferred // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

ContractAbiOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the ContractAbi contract.

func (*ContractAbiOwnershipTransferredIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*ContractAbiOwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ContractAbiOwnershipTransferredIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type ContractAbiRaw

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

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

func (*ContractAbiRaw) Call

func (_ContractAbi *ContractAbiRaw) 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 (*ContractAbiRaw) Transact

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

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

func (*ContractAbiRaw) Transfer

func (_ContractAbi *ContractAbiRaw) 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 ContractAbiSession

type ContractAbiSession struct {
	Contract     *ContractAbi      // 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
}

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

func (*ContractAbiSession) CalculateSwapInAmount

func (_ContractAbi *ContractAbiSession) CalculateSwapInAmount(reserveIn *big.Int, userIn *big.Int) (*big.Int, error)

CalculateSwapInAmount is a free data retrieval call binding the contract method 0x8d7e41a8.

Solidity: function calculateSwapInAmount(uint256 reserveIn, uint256 userIn) pure returns(uint256)

func (*ContractAbiSession) CanSwapFromV1

func (_ContractAbi *ContractAbiSession) CanSwapFromV1(_fromToken common.Address, _toToken common.Address, fromAmount *big.Int, toAmount *big.Int) (bool, error)

CanSwapFromV1 is a free data retrieval call binding the contract method 0x3f975d5f.

Solidity: function canSwapFromV1(address _fromToken, address _toToken, uint256 fromAmount, uint256 toAmount) view returns(bool)

func (*ContractAbiSession) CanSwapFromV2

func (_ContractAbi *ContractAbiSession) CanSwapFromV2(_fromToken common.Address, _toToken common.Address) (bool, error)

CanSwapFromV2 is a free data retrieval call binding the contract method 0xf27cf320.

Solidity: function canSwapFromV2(address _fromToken, address _toToken) view returns(bool)

func (*ContractAbiSession) Fallback

func (_ContractAbi *ContractAbiSession) Fallback(calldata []byte) (*types.Transaction, error)

Fallback is a paid mutator transaction binding the contract fallback function.

Solidity: fallback() payable returns()

func (*ContractAbiSession) Goodwill

func (_ContractAbi *ContractAbiSession) Goodwill() (uint16, error)

Goodwill is a free data retrieval call binding the contract method 0x5de0398e.

Solidity: function goodwill() view returns(uint16)

func (*ContractAbiSession) InCaseTokengetsStuck

func (_ContractAbi *ContractAbiSession) InCaseTokengetsStuck(_TokenAddress common.Address) (*types.Transaction, error)

InCaseTokengetsStuck is a paid mutator transaction binding the contract method 0x551196d5.

Solidity: function inCaseTokengetsStuck(address _TokenAddress) returns()

func (*ContractAbiSession) IsOwner

func (_ContractAbi *ContractAbiSession) IsOwner() (bool, error)

IsOwner is a free data retrieval call binding the contract method 0x8f32d59b.

Solidity: function isOwner() view returns(bool)

func (*ContractAbiSession) Owner

func (_ContractAbi *ContractAbiSession) Owner() (common.Address, error)

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

Solidity: function _owner() view returns(address)

func (*ContractAbiSession) RenounceOwnership

func (_ContractAbi *ContractAbiSession) RenounceOwnership() (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*ContractAbiSession) SetNewGoodwill

func (_ContractAbi *ContractAbiSession) SetNewGoodwill(_new_goodwill uint16) (*types.Transaction, error)

SetNewGoodwill is a paid mutator transaction binding the contract method 0xb10e1dbc.

Solidity: function set_new_goodwill(uint16 _new_goodwill) returns()

func (*ContractAbiSession) Stopped

func (_ContractAbi *ContractAbiSession) Stopped() (bool, error)

Stopped is a free data retrieval call binding the contract method 0x75f12b21.

Solidity: function stopped() view returns(bool)

func (*ContractAbiSession) ToggleContractActive

func (_ContractAbi *ContractAbiSession) ToggleContractActive() (*types.Transaction, error)

ToggleContractActive is a paid mutator transaction binding the contract method 0x1385d24c.

Solidity: function toggleContractActive() returns()

func (*ContractAbiSession) TransferOwnership

func (_ContractAbi *ContractAbiSession) 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 (*ContractAbiSession) Withdraw

func (_ContractAbi *ContractAbiSession) Withdraw() (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0x3ccfd60b.

Solidity: function withdraw() returns()

func (*ContractAbiSession) ZapIn

func (_ContractAbi *ContractAbiSession) ZapIn(_toWhomToIssue common.Address, _FromTokenContractAddress common.Address, _ToUnipoolToken0 common.Address, _ToUnipoolToken1 common.Address, _amount *big.Int, _minPoolTokens *big.Int) (*types.Transaction, error)

ZapIn is a paid mutator transaction binding the contract method 0x1d572320.

Solidity: function ZapIn(address _toWhomToIssue, address _FromTokenContractAddress, address _ToUnipoolToken0, address _ToUnipoolToken1, uint256 _amount, uint256 _minPoolTokens) payable returns(uint256)

type ContractAbiTransactor

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

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

func NewContractAbiTransactor

func NewContractAbiTransactor(address common.Address, transactor bind.ContractTransactor) (*ContractAbiTransactor, error)

NewContractAbiTransactor creates a new write-only instance of ContractAbi, bound to a specific deployed contract.

func (*ContractAbiTransactor) Fallback

func (_ContractAbi *ContractAbiTransactor) Fallback(opts *bind.TransactOpts, calldata []byte) (*types.Transaction, error)

Fallback is a paid mutator transaction binding the contract fallback function.

Solidity: fallback() payable returns()

func (*ContractAbiTransactor) InCaseTokengetsStuck

func (_ContractAbi *ContractAbiTransactor) InCaseTokengetsStuck(opts *bind.TransactOpts, _TokenAddress common.Address) (*types.Transaction, error)

InCaseTokengetsStuck is a paid mutator transaction binding the contract method 0x551196d5.

Solidity: function inCaseTokengetsStuck(address _TokenAddress) returns()

func (*ContractAbiTransactor) RenounceOwnership

func (_ContractAbi *ContractAbiTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*ContractAbiTransactor) SetNewGoodwill

func (_ContractAbi *ContractAbiTransactor) SetNewGoodwill(opts *bind.TransactOpts, _new_goodwill uint16) (*types.Transaction, error)

SetNewGoodwill is a paid mutator transaction binding the contract method 0xb10e1dbc.

Solidity: function set_new_goodwill(uint16 _new_goodwill) returns()

func (*ContractAbiTransactor) ToggleContractActive

func (_ContractAbi *ContractAbiTransactor) ToggleContractActive(opts *bind.TransactOpts) (*types.Transaction, error)

ToggleContractActive is a paid mutator transaction binding the contract method 0x1385d24c.

Solidity: function toggleContractActive() returns()

func (*ContractAbiTransactor) TransferOwnership

func (_ContractAbi *ContractAbiTransactor) 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 (*ContractAbiTransactor) Withdraw

func (_ContractAbi *ContractAbiTransactor) Withdraw(opts *bind.TransactOpts) (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0x3ccfd60b.

Solidity: function withdraw() returns()

func (*ContractAbiTransactor) ZapIn

func (_ContractAbi *ContractAbiTransactor) ZapIn(opts *bind.TransactOpts, _toWhomToIssue common.Address, _FromTokenContractAddress common.Address, _ToUnipoolToken0 common.Address, _ToUnipoolToken1 common.Address, _amount *big.Int, _minPoolTokens *big.Int) (*types.Transaction, error)

ZapIn is a paid mutator transaction binding the contract method 0x1d572320.

Solidity: function ZapIn(address _toWhomToIssue, address _FromTokenContractAddress, address _ToUnipoolToken0, address _ToUnipoolToken1, uint256 _amount, uint256 _minPoolTokens) payable returns(uint256)

type ContractAbiTransactorRaw

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

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

func (*ContractAbiTransactorRaw) Transact

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

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

func (*ContractAbiTransactorRaw) Transfer

func (_ContractAbi *ContractAbiTransactorRaw) 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 ContractAbiTransactorSession

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

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

func (*ContractAbiTransactorSession) Fallback

func (_ContractAbi *ContractAbiTransactorSession) Fallback(calldata []byte) (*types.Transaction, error)

Fallback is a paid mutator transaction binding the contract fallback function.

Solidity: fallback() payable returns()

func (*ContractAbiTransactorSession) InCaseTokengetsStuck

func (_ContractAbi *ContractAbiTransactorSession) InCaseTokengetsStuck(_TokenAddress common.Address) (*types.Transaction, error)

InCaseTokengetsStuck is a paid mutator transaction binding the contract method 0x551196d5.

Solidity: function inCaseTokengetsStuck(address _TokenAddress) returns()

func (*ContractAbiTransactorSession) RenounceOwnership

func (_ContractAbi *ContractAbiTransactorSession) RenounceOwnership() (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*ContractAbiTransactorSession) SetNewGoodwill

func (_ContractAbi *ContractAbiTransactorSession) SetNewGoodwill(_new_goodwill uint16) (*types.Transaction, error)

SetNewGoodwill is a paid mutator transaction binding the contract method 0xb10e1dbc.

Solidity: function set_new_goodwill(uint16 _new_goodwill) returns()

func (*ContractAbiTransactorSession) ToggleContractActive

func (_ContractAbi *ContractAbiTransactorSession) ToggleContractActive() (*types.Transaction, error)

ToggleContractActive is a paid mutator transaction binding the contract method 0x1385d24c.

Solidity: function toggleContractActive() returns()

func (*ContractAbiTransactorSession) TransferOwnership

func (_ContractAbi *ContractAbiTransactorSession) 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 (*ContractAbiTransactorSession) Withdraw

func (_ContractAbi *ContractAbiTransactorSession) Withdraw() (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0x3ccfd60b.

Solidity: function withdraw() returns()

func (*ContractAbiTransactorSession) ZapIn

func (_ContractAbi *ContractAbiTransactorSession) ZapIn(_toWhomToIssue common.Address, _FromTokenContractAddress common.Address, _ToUnipoolToken0 common.Address, _ToUnipoolToken1 common.Address, _amount *big.Int, _minPoolTokens *big.Int) (*types.Transaction, error)

ZapIn is a paid mutator transaction binding the contract method 0x1d572320.

Solidity: function ZapIn(address _toWhomToIssue, address _FromTokenContractAddress, address _ToUnipoolToken0, address _ToUnipoolToken1, uint256 _amount, uint256 _minPoolTokens) payable returns(uint256)

type Curve

type Curve struct {
	CurveCaller     // Read-only binding to the contract
	CurveTransactor // Write-only binding to the contract
	CurveFilterer   // Log filterer for contract events
}

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

func NewCurve

func NewCurve(address common.Address, backend bind.ContractBackend) (*Curve, error)

NewCurve creates a new instance of Curve, bound to a specific deployed contract.

type CurveAddLiquidity

type CurveAddLiquidity struct {
	Provider     common.Address
	TokenAmounts [2]*big.Int
	Fees         [2]*big.Int
	Invariant    *big.Int
	TokenSupply  *big.Int
	Raw          types.Log // Blockchain specific contextual infos
}

CurveAddLiquidity represents a AddLiquidity event raised by the Curve contract.

type CurveAddLiquidityIterator

type CurveAddLiquidityIterator struct {
	Event *CurveAddLiquidity // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

CurveAddLiquidityIterator is returned from FilterAddLiquidity and is used to iterate over the raw logs and unpacked data for AddLiquidity events raised by the Curve contract.

func (*CurveAddLiquidityIterator) Close

func (it *CurveAddLiquidityIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*CurveAddLiquidityIterator) Error

func (it *CurveAddLiquidityIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*CurveAddLiquidityIterator) Next

func (it *CurveAddLiquidityIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type CurveCaller

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

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

func NewCurveCaller

func NewCurveCaller(address common.Address, caller bind.ContractCaller) (*CurveCaller, error)

NewCurveCaller creates a new read-only instance of Curve, bound to a specific deployed contract.

func (*CurveCaller) A

func (_Curve *CurveCaller) A(opts *bind.CallOpts) (*big.Int, error)

A is a free data retrieval call binding the contract method 0xf446c1d0.

Solidity: function A() returns(uint256 out)

func (*CurveCaller) AdminActionsDeadline

func (_Curve *CurveCaller) AdminActionsDeadline(opts *bind.CallOpts) (*big.Int, error)

AdminActionsDeadline is a free data retrieval call binding the contract method 0x405e28f8.

Solidity: function admin_actions_deadline() returns(uint256 out)

func (*CurveCaller) AdminFee

func (_Curve *CurveCaller) AdminFee(opts *bind.CallOpts) (*big.Int, error)

AdminFee is a free data retrieval call binding the contract method 0xfee3f7f9.

Solidity: function admin_fee() returns(uint256 out)

func (*CurveCaller) Balances

func (_Curve *CurveCaller) Balances(opts *bind.CallOpts, arg0 *big.Int) (*big.Int, error)

Balances is a free data retrieval call binding the contract method 0x065a80d8.

Solidity: function balances(int128 arg0) returns(uint256 out)

func (*CurveCaller) CalcTokenAmount

func (_Curve *CurveCaller) CalcTokenAmount(opts *bind.CallOpts, amounts [2]*big.Int, deposit bool) (*big.Int, error)

CalcTokenAmount is a free data retrieval call binding the contract method 0xed8e84f3.

Solidity: function calc_token_amount(uint256[2] amounts, bool deposit) returns(uint256 out)

func (*CurveCaller) Coins

func (_Curve *CurveCaller) Coins(opts *bind.CallOpts, arg0 *big.Int) (common.Address, error)

Coins is a free data retrieval call binding the contract method 0x23746eb8.

Solidity: function coins(int128 arg0) returns(address out)

func (*CurveCaller) Fee

func (_Curve *CurveCaller) Fee(opts *bind.CallOpts) (*big.Int, error)

Fee is a free data retrieval call binding the contract method 0xddca3f43.

Solidity: function fee() returns(uint256 out)

func (*CurveCaller) FutureA

func (_Curve *CurveCaller) FutureA(opts *bind.CallOpts) (*big.Int, error)

FutureA is a free data retrieval call binding the contract method 0xb4b577ad.

Solidity: function future_A() returns(uint256 out)

func (*CurveCaller) FutureAdminFee

func (_Curve *CurveCaller) FutureAdminFee(opts *bind.CallOpts) (*big.Int, error)

FutureAdminFee is a free data retrieval call binding the contract method 0xe3824462.

Solidity: function future_admin_fee() returns(uint256 out)

func (*CurveCaller) FutureFee

func (_Curve *CurveCaller) FutureFee(opts *bind.CallOpts) (*big.Int, error)

FutureFee is a free data retrieval call binding the contract method 0x58680d0b.

Solidity: function future_fee() returns(uint256 out)

func (*CurveCaller) FutureOwner

func (_Curve *CurveCaller) FutureOwner(opts *bind.CallOpts) (common.Address, error)

FutureOwner is a free data retrieval call binding the contract method 0x1ec0cdc1.

Solidity: function future_owner() returns(address out)

func (*CurveCaller) GetDx

func (_Curve *CurveCaller) GetDx(opts *bind.CallOpts, i *big.Int, j *big.Int, dy *big.Int) (*big.Int, error)

GetDx is a free data retrieval call binding the contract method 0x67df02ca.

Solidity: function get_dx(int128 i, int128 j, uint256 dy) returns(uint256 out)

func (*CurveCaller) GetDxUnderlying

func (_Curve *CurveCaller) GetDxUnderlying(opts *bind.CallOpts, i *big.Int, j *big.Int, dy *big.Int) (*big.Int, error)

GetDxUnderlying is a free data retrieval call binding the contract method 0x0e71d1b9.

Solidity: function get_dx_underlying(int128 i, int128 j, uint256 dy) returns(uint256 out)

func (*CurveCaller) GetDy

func (_Curve *CurveCaller) GetDy(opts *bind.CallOpts, i *big.Int, j *big.Int, dx *big.Int) (*big.Int, error)

GetDy is a free data retrieval call binding the contract method 0x5e0d443f.

Solidity: function get_dy(int128 i, int128 j, uint256 dx) returns(uint256 out)

func (*CurveCaller) GetDyUnderlying

func (_Curve *CurveCaller) GetDyUnderlying(opts *bind.CallOpts, i *big.Int, j *big.Int, dx *big.Int) (*big.Int, error)

GetDyUnderlying is a free data retrieval call binding the contract method 0x07211ef7.

Solidity: function get_dy_underlying(int128 i, int128 j, uint256 dx) returns(uint256 out)

func (*CurveCaller) GetVirtualPrice

func (_Curve *CurveCaller) GetVirtualPrice(opts *bind.CallOpts) (*big.Int, error)

GetVirtualPrice is a free data retrieval call binding the contract method 0xbb7b8b80.

Solidity: function get_virtual_price() returns(uint256 out)

func (*CurveCaller) Owner

func (_Curve *CurveCaller) Owner(opts *bind.CallOpts) (common.Address, error)

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

Solidity: function owner() returns(address out)

func (*CurveCaller) TransferOwnershipDeadline

func (_Curve *CurveCaller) TransferOwnershipDeadline(opts *bind.CallOpts) (*big.Int, error)

TransferOwnershipDeadline is a free data retrieval call binding the contract method 0xe0a0b586.

Solidity: function transfer_ownership_deadline() returns(uint256 out)

func (*CurveCaller) UnderlyingCoins

func (_Curve *CurveCaller) UnderlyingCoins(opts *bind.CallOpts, arg0 *big.Int) (common.Address, error)

UnderlyingCoins is a free data retrieval call binding the contract method 0xb739953e.

Solidity: function underlying_coins(int128 arg0) returns(address out)

type CurveCallerRaw

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

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

func (*CurveCallerRaw) Call

func (_Curve *CurveCallerRaw) 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 CurveCallerSession

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

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

func (*CurveCallerSession) A

func (_Curve *CurveCallerSession) A() (*big.Int, error)

A is a free data retrieval call binding the contract method 0xf446c1d0.

Solidity: function A() returns(uint256 out)

func (*CurveCallerSession) AdminActionsDeadline

func (_Curve *CurveCallerSession) AdminActionsDeadline() (*big.Int, error)

AdminActionsDeadline is a free data retrieval call binding the contract method 0x405e28f8.

Solidity: function admin_actions_deadline() returns(uint256 out)

func (*CurveCallerSession) AdminFee

func (_Curve *CurveCallerSession) AdminFee() (*big.Int, error)

AdminFee is a free data retrieval call binding the contract method 0xfee3f7f9.

Solidity: function admin_fee() returns(uint256 out)

func (*CurveCallerSession) Balances

func (_Curve *CurveCallerSession) Balances(arg0 *big.Int) (*big.Int, error)

Balances is a free data retrieval call binding the contract method 0x065a80d8.

Solidity: function balances(int128 arg0) returns(uint256 out)

func (*CurveCallerSession) CalcTokenAmount

func (_Curve *CurveCallerSession) CalcTokenAmount(amounts [2]*big.Int, deposit bool) (*big.Int, error)

CalcTokenAmount is a free data retrieval call binding the contract method 0xed8e84f3.

Solidity: function calc_token_amount(uint256[2] amounts, bool deposit) returns(uint256 out)

func (*CurveCallerSession) Coins

func (_Curve *CurveCallerSession) Coins(arg0 *big.Int) (common.Address, error)

Coins is a free data retrieval call binding the contract method 0x23746eb8.

Solidity: function coins(int128 arg0) returns(address out)

func (*CurveCallerSession) Fee

func (_Curve *CurveCallerSession) Fee() (*big.Int, error)

Fee is a free data retrieval call binding the contract method 0xddca3f43.

Solidity: function fee() returns(uint256 out)

func (*CurveCallerSession) FutureA

func (_Curve *CurveCallerSession) FutureA() (*big.Int, error)

FutureA is a free data retrieval call binding the contract method 0xb4b577ad.

Solidity: function future_A() returns(uint256 out)

func (*CurveCallerSession) FutureAdminFee

func (_Curve *CurveCallerSession) FutureAdminFee() (*big.Int, error)

FutureAdminFee is a free data retrieval call binding the contract method 0xe3824462.

Solidity: function future_admin_fee() returns(uint256 out)

func (*CurveCallerSession) FutureFee

func (_Curve *CurveCallerSession) FutureFee() (*big.Int, error)

FutureFee is a free data retrieval call binding the contract method 0x58680d0b.

Solidity: function future_fee() returns(uint256 out)

func (*CurveCallerSession) FutureOwner

func (_Curve *CurveCallerSession) FutureOwner() (common.Address, error)

FutureOwner is a free data retrieval call binding the contract method 0x1ec0cdc1.

Solidity: function future_owner() returns(address out)

func (*CurveCallerSession) GetDx

func (_Curve *CurveCallerSession) GetDx(i *big.Int, j *big.Int, dy *big.Int) (*big.Int, error)

GetDx is a free data retrieval call binding the contract method 0x67df02ca.

Solidity: function get_dx(int128 i, int128 j, uint256 dy) returns(uint256 out)

func (*CurveCallerSession) GetDxUnderlying

func (_Curve *CurveCallerSession) GetDxUnderlying(i *big.Int, j *big.Int, dy *big.Int) (*big.Int, error)

GetDxUnderlying is a free data retrieval call binding the contract method 0x0e71d1b9.

Solidity: function get_dx_underlying(int128 i, int128 j, uint256 dy) returns(uint256 out)

func (*CurveCallerSession) GetDy

func (_Curve *CurveCallerSession) GetDy(i *big.Int, j *big.Int, dx *big.Int) (*big.Int, error)

GetDy is a free data retrieval call binding the contract method 0x5e0d443f.

Solidity: function get_dy(int128 i, int128 j, uint256 dx) returns(uint256 out)

func (*CurveCallerSession) GetDyUnderlying

func (_Curve *CurveCallerSession) GetDyUnderlying(i *big.Int, j *big.Int, dx *big.Int) (*big.Int, error)

GetDyUnderlying is a free data retrieval call binding the contract method 0x07211ef7.

Solidity: function get_dy_underlying(int128 i, int128 j, uint256 dx) returns(uint256 out)

func (*CurveCallerSession) GetVirtualPrice

func (_Curve *CurveCallerSession) GetVirtualPrice() (*big.Int, error)

GetVirtualPrice is a free data retrieval call binding the contract method 0xbb7b8b80.

Solidity: function get_virtual_price() returns(uint256 out)

func (*CurveCallerSession) Owner

func (_Curve *CurveCallerSession) Owner() (common.Address, error)

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

Solidity: function owner() returns(address out)

func (*CurveCallerSession) TransferOwnershipDeadline

func (_Curve *CurveCallerSession) TransferOwnershipDeadline() (*big.Int, error)

TransferOwnershipDeadline is a free data retrieval call binding the contract method 0xe0a0b586.

Solidity: function transfer_ownership_deadline() returns(uint256 out)

func (*CurveCallerSession) UnderlyingCoins

func (_Curve *CurveCallerSession) UnderlyingCoins(arg0 *big.Int) (common.Address, error)

UnderlyingCoins is a free data retrieval call binding the contract method 0xb739953e.

Solidity: function underlying_coins(int128 arg0) returns(address out)

type CurveCommitNewAdmin

type CurveCommitNewAdmin struct {
	Deadline *big.Int
	Admin    common.Address
	Raw      types.Log // Blockchain specific contextual infos
}

CurveCommitNewAdmin represents a CommitNewAdmin event raised by the Curve contract.

type CurveCommitNewAdminIterator

type CurveCommitNewAdminIterator struct {
	Event *CurveCommitNewAdmin // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

CurveCommitNewAdminIterator is returned from FilterCommitNewAdmin and is used to iterate over the raw logs and unpacked data for CommitNewAdmin events raised by the Curve contract.

func (*CurveCommitNewAdminIterator) Close

func (it *CurveCommitNewAdminIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*CurveCommitNewAdminIterator) Error

func (it *CurveCommitNewAdminIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*CurveCommitNewAdminIterator) Next

func (it *CurveCommitNewAdminIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type CurveCommitNewParameters

type CurveCommitNewParameters struct {
	Deadline *big.Int
	A        *big.Int
	Fee      *big.Int
	AdminFee *big.Int
	Raw      types.Log // Blockchain specific contextual infos
}

CurveCommitNewParameters represents a CommitNewParameters event raised by the Curve contract.

type CurveCommitNewParametersIterator

type CurveCommitNewParametersIterator struct {
	Event *CurveCommitNewParameters // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

CurveCommitNewParametersIterator is returned from FilterCommitNewParameters and is used to iterate over the raw logs and unpacked data for CommitNewParameters events raised by the Curve contract.

func (*CurveCommitNewParametersIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*CurveCommitNewParametersIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*CurveCommitNewParametersIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type CurveFilterer

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

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

func NewCurveFilterer

func NewCurveFilterer(address common.Address, filterer bind.ContractFilterer) (*CurveFilterer, error)

NewCurveFilterer creates a new log filterer instance of Curve, bound to a specific deployed contract.

func (*CurveFilterer) FilterAddLiquidity

func (_Curve *CurveFilterer) FilterAddLiquidity(opts *bind.FilterOpts, provider []common.Address) (*CurveAddLiquidityIterator, error)

FilterAddLiquidity is a free log retrieval operation binding the contract event 0x26f55a85081d24974e85c6c00045d0f0453991e95873f52bff0d21af4079a768.

Solidity: event AddLiquidity(address indexed provider, uint256[2] token_amounts, uint256[2] fees, uint256 invariant, uint256 token_supply)

func (*CurveFilterer) FilterCommitNewAdmin

func (_Curve *CurveFilterer) FilterCommitNewAdmin(opts *bind.FilterOpts, deadline []*big.Int, admin []common.Address) (*CurveCommitNewAdminIterator, error)

FilterCommitNewAdmin is a free log retrieval operation binding the contract event 0x181aa3aa17d4cbf99265dd4443eba009433d3cde79d60164fde1d1a192beb935.

Solidity: event CommitNewAdmin(uint256 indexed deadline, address indexed admin)

func (*CurveFilterer) FilterCommitNewParameters

func (_Curve *CurveFilterer) FilterCommitNewParameters(opts *bind.FilterOpts, deadline []*big.Int) (*CurveCommitNewParametersIterator, error)

FilterCommitNewParameters is a free log retrieval operation binding the contract event 0x6081daa3b61098baf24d9c69bcd53af932e0635c89c6fd0617534b9ba76a7f73.

Solidity: event CommitNewParameters(uint256 indexed deadline, uint256 A, uint256 fee, uint256 admin_fee)

func (*CurveFilterer) FilterNewAdmin

func (_Curve *CurveFilterer) FilterNewAdmin(opts *bind.FilterOpts, admin []common.Address) (*CurveNewAdminIterator, error)

FilterNewAdmin is a free log retrieval operation binding the contract event 0x71614071b88dee5e0b2ae578a9dd7b2ebbe9ae832ba419dc0242cd065a290b6c.

Solidity: event NewAdmin(address indexed admin)

func (*CurveFilterer) FilterNewParameters

func (_Curve *CurveFilterer) FilterNewParameters(opts *bind.FilterOpts) (*CurveNewParametersIterator, error)

FilterNewParameters is a free log retrieval operation binding the contract event 0x752a27d1853eb7af3ee4ff764f2c4a51619386af721573dd3809e929c39db99e.

Solidity: event NewParameters(uint256 A, uint256 fee, uint256 admin_fee)

func (*CurveFilterer) FilterRemoveLiquidity

func (_Curve *CurveFilterer) FilterRemoveLiquidity(opts *bind.FilterOpts, provider []common.Address) (*CurveRemoveLiquidityIterator, error)

FilterRemoveLiquidity is a free log retrieval operation binding the contract event 0x7c363854ccf79623411f8995b362bce5eddff18c927edc6f5dbbb5e05819a82c.

Solidity: event RemoveLiquidity(address indexed provider, uint256[2] token_amounts, uint256[2] fees, uint256 token_supply)

func (*CurveFilterer) FilterRemoveLiquidityImbalance

func (_Curve *CurveFilterer) FilterRemoveLiquidityImbalance(opts *bind.FilterOpts, provider []common.Address) (*CurveRemoveLiquidityImbalanceIterator, error)

FilterRemoveLiquidityImbalance is a free log retrieval operation binding the contract event 0x2b5508378d7e19e0d5fa338419034731416c4f5b219a10379956f764317fd47e.

Solidity: event RemoveLiquidityImbalance(address indexed provider, uint256[2] token_amounts, uint256[2] fees, uint256 invariant, uint256 token_supply)

func (*CurveFilterer) FilterTokenExchange

func (_Curve *CurveFilterer) FilterTokenExchange(opts *bind.FilterOpts, buyer []common.Address) (*CurveTokenExchangeIterator, error)

FilterTokenExchange is a free log retrieval operation binding the contract event 0x8b3e96f2b889fa771c53c981b40daf005f63f637f1869f707052d15a3dd97140.

Solidity: event TokenExchange(address indexed buyer, int128 sold_id, uint256 tokens_sold, int128 bought_id, uint256 tokens_bought)

func (*CurveFilterer) FilterTokenExchangeUnderlying

func (_Curve *CurveFilterer) FilterTokenExchangeUnderlying(opts *bind.FilterOpts, buyer []common.Address) (*CurveTokenExchangeUnderlyingIterator, error)

FilterTokenExchangeUnderlying is a free log retrieval operation binding the contract event 0xd013ca23e77a65003c2c659c5442c00c805371b7fc1ebd4c206c41d1536bd90b.

Solidity: event TokenExchangeUnderlying(address indexed buyer, int128 sold_id, uint256 tokens_sold, int128 bought_id, uint256 tokens_bought)

func (*CurveFilterer) ParseAddLiquidity

func (_Curve *CurveFilterer) ParseAddLiquidity(log types.Log) (*CurveAddLiquidity, error)

ParseAddLiquidity is a log parse operation binding the contract event 0x26f55a85081d24974e85c6c00045d0f0453991e95873f52bff0d21af4079a768.

Solidity: event AddLiquidity(address indexed provider, uint256[2] token_amounts, uint256[2] fees, uint256 invariant, uint256 token_supply)

func (*CurveFilterer) ParseCommitNewAdmin

func (_Curve *CurveFilterer) ParseCommitNewAdmin(log types.Log) (*CurveCommitNewAdmin, error)

ParseCommitNewAdmin is a log parse operation binding the contract event 0x181aa3aa17d4cbf99265dd4443eba009433d3cde79d60164fde1d1a192beb935.

Solidity: event CommitNewAdmin(uint256 indexed deadline, address indexed admin)

func (*CurveFilterer) ParseCommitNewParameters

func (_Curve *CurveFilterer) ParseCommitNewParameters(log types.Log) (*CurveCommitNewParameters, error)

ParseCommitNewParameters is a log parse operation binding the contract event 0x6081daa3b61098baf24d9c69bcd53af932e0635c89c6fd0617534b9ba76a7f73.

Solidity: event CommitNewParameters(uint256 indexed deadline, uint256 A, uint256 fee, uint256 admin_fee)

func (*CurveFilterer) ParseNewAdmin

func (_Curve *CurveFilterer) ParseNewAdmin(log types.Log) (*CurveNewAdmin, error)

ParseNewAdmin is a log parse operation binding the contract event 0x71614071b88dee5e0b2ae578a9dd7b2ebbe9ae832ba419dc0242cd065a290b6c.

Solidity: event NewAdmin(address indexed admin)

func (*CurveFilterer) ParseNewParameters

func (_Curve *CurveFilterer) ParseNewParameters(log types.Log) (*CurveNewParameters, error)

ParseNewParameters is a log parse operation binding the contract event 0x752a27d1853eb7af3ee4ff764f2c4a51619386af721573dd3809e929c39db99e.

Solidity: event NewParameters(uint256 A, uint256 fee, uint256 admin_fee)

func (*CurveFilterer) ParseRemoveLiquidity

func (_Curve *CurveFilterer) ParseRemoveLiquidity(log types.Log) (*CurveRemoveLiquidity, error)

ParseRemoveLiquidity is a log parse operation binding the contract event 0x7c363854ccf79623411f8995b362bce5eddff18c927edc6f5dbbb5e05819a82c.

Solidity: event RemoveLiquidity(address indexed provider, uint256[2] token_amounts, uint256[2] fees, uint256 token_supply)

func (*CurveFilterer) ParseRemoveLiquidityImbalance

func (_Curve *CurveFilterer) ParseRemoveLiquidityImbalance(log types.Log) (*CurveRemoveLiquidityImbalance, error)

ParseRemoveLiquidityImbalance is a log parse operation binding the contract event 0x2b5508378d7e19e0d5fa338419034731416c4f5b219a10379956f764317fd47e.

Solidity: event RemoveLiquidityImbalance(address indexed provider, uint256[2] token_amounts, uint256[2] fees, uint256 invariant, uint256 token_supply)

func (*CurveFilterer) ParseTokenExchange

func (_Curve *CurveFilterer) ParseTokenExchange(log types.Log) (*CurveTokenExchange, error)

ParseTokenExchange is a log parse operation binding the contract event 0x8b3e96f2b889fa771c53c981b40daf005f63f637f1869f707052d15a3dd97140.

Solidity: event TokenExchange(address indexed buyer, int128 sold_id, uint256 tokens_sold, int128 bought_id, uint256 tokens_bought)

func (*CurveFilterer) ParseTokenExchangeUnderlying

func (_Curve *CurveFilterer) ParseTokenExchangeUnderlying(log types.Log) (*CurveTokenExchangeUnderlying, error)

ParseTokenExchangeUnderlying is a log parse operation binding the contract event 0xd013ca23e77a65003c2c659c5442c00c805371b7fc1ebd4c206c41d1536bd90b.

Solidity: event TokenExchangeUnderlying(address indexed buyer, int128 sold_id, uint256 tokens_sold, int128 bought_id, uint256 tokens_bought)

func (*CurveFilterer) WatchAddLiquidity

func (_Curve *CurveFilterer) WatchAddLiquidity(opts *bind.WatchOpts, sink chan<- *CurveAddLiquidity, provider []common.Address) (event.Subscription, error)

WatchAddLiquidity is a free log subscription operation binding the contract event 0x26f55a85081d24974e85c6c00045d0f0453991e95873f52bff0d21af4079a768.

Solidity: event AddLiquidity(address indexed provider, uint256[2] token_amounts, uint256[2] fees, uint256 invariant, uint256 token_supply)

func (*CurveFilterer) WatchCommitNewAdmin

func (_Curve *CurveFilterer) WatchCommitNewAdmin(opts *bind.WatchOpts, sink chan<- *CurveCommitNewAdmin, deadline []*big.Int, admin []common.Address) (event.Subscription, error)

WatchCommitNewAdmin is a free log subscription operation binding the contract event 0x181aa3aa17d4cbf99265dd4443eba009433d3cde79d60164fde1d1a192beb935.

Solidity: event CommitNewAdmin(uint256 indexed deadline, address indexed admin)

func (*CurveFilterer) WatchCommitNewParameters

func (_Curve *CurveFilterer) WatchCommitNewParameters(opts *bind.WatchOpts, sink chan<- *CurveCommitNewParameters, deadline []*big.Int) (event.Subscription, error)

WatchCommitNewParameters is a free log subscription operation binding the contract event 0x6081daa3b61098baf24d9c69bcd53af932e0635c89c6fd0617534b9ba76a7f73.

Solidity: event CommitNewParameters(uint256 indexed deadline, uint256 A, uint256 fee, uint256 admin_fee)

func (*CurveFilterer) WatchNewAdmin

func (_Curve *CurveFilterer) WatchNewAdmin(opts *bind.WatchOpts, sink chan<- *CurveNewAdmin, admin []common.Address) (event.Subscription, error)

WatchNewAdmin is a free log subscription operation binding the contract event 0x71614071b88dee5e0b2ae578a9dd7b2ebbe9ae832ba419dc0242cd065a290b6c.

Solidity: event NewAdmin(address indexed admin)

func (*CurveFilterer) WatchNewParameters

func (_Curve *CurveFilterer) WatchNewParameters(opts *bind.WatchOpts, sink chan<- *CurveNewParameters) (event.Subscription, error)

WatchNewParameters is a free log subscription operation binding the contract event 0x752a27d1853eb7af3ee4ff764f2c4a51619386af721573dd3809e929c39db99e.

Solidity: event NewParameters(uint256 A, uint256 fee, uint256 admin_fee)

func (*CurveFilterer) WatchRemoveLiquidity

func (_Curve *CurveFilterer) WatchRemoveLiquidity(opts *bind.WatchOpts, sink chan<- *CurveRemoveLiquidity, provider []common.Address) (event.Subscription, error)

WatchRemoveLiquidity is a free log subscription operation binding the contract event 0x7c363854ccf79623411f8995b362bce5eddff18c927edc6f5dbbb5e05819a82c.

Solidity: event RemoveLiquidity(address indexed provider, uint256[2] token_amounts, uint256[2] fees, uint256 token_supply)

func (*CurveFilterer) WatchRemoveLiquidityImbalance

func (_Curve *CurveFilterer) WatchRemoveLiquidityImbalance(opts *bind.WatchOpts, sink chan<- *CurveRemoveLiquidityImbalance, provider []common.Address) (event.Subscription, error)

WatchRemoveLiquidityImbalance is a free log subscription operation binding the contract event 0x2b5508378d7e19e0d5fa338419034731416c4f5b219a10379956f764317fd47e.

Solidity: event RemoveLiquidityImbalance(address indexed provider, uint256[2] token_amounts, uint256[2] fees, uint256 invariant, uint256 token_supply)

func (*CurveFilterer) WatchTokenExchange

func (_Curve *CurveFilterer) WatchTokenExchange(opts *bind.WatchOpts, sink chan<- *CurveTokenExchange, buyer []common.Address) (event.Subscription, error)

WatchTokenExchange is a free log subscription operation binding the contract event 0x8b3e96f2b889fa771c53c981b40daf005f63f637f1869f707052d15a3dd97140.

Solidity: event TokenExchange(address indexed buyer, int128 sold_id, uint256 tokens_sold, int128 bought_id, uint256 tokens_bought)

func (*CurveFilterer) WatchTokenExchangeUnderlying

func (_Curve *CurveFilterer) WatchTokenExchangeUnderlying(opts *bind.WatchOpts, sink chan<- *CurveTokenExchangeUnderlying, buyer []common.Address) (event.Subscription, error)

WatchTokenExchangeUnderlying is a free log subscription operation binding the contract event 0xd013ca23e77a65003c2c659c5442c00c805371b7fc1ebd4c206c41d1536bd90b.

Solidity: event TokenExchangeUnderlying(address indexed buyer, int128 sold_id, uint256 tokens_sold, int128 bought_id, uint256 tokens_bought)

type CurveNewAdmin

type CurveNewAdmin struct {
	Admin common.Address
	Raw   types.Log // Blockchain specific contextual infos
}

CurveNewAdmin represents a NewAdmin event raised by the Curve contract.

type CurveNewAdminIterator

type CurveNewAdminIterator struct {
	Event *CurveNewAdmin // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

CurveNewAdminIterator is returned from FilterNewAdmin and is used to iterate over the raw logs and unpacked data for NewAdmin events raised by the Curve contract.

func (*CurveNewAdminIterator) Close

func (it *CurveNewAdminIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*CurveNewAdminIterator) Error

func (it *CurveNewAdminIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*CurveNewAdminIterator) Next

func (it *CurveNewAdminIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type CurveNewParameters

type CurveNewParameters struct {
	A        *big.Int
	Fee      *big.Int
	AdminFee *big.Int
	Raw      types.Log // Blockchain specific contextual infos
}

CurveNewParameters represents a NewParameters event raised by the Curve contract.

type CurveNewParametersIterator

type CurveNewParametersIterator struct {
	Event *CurveNewParameters // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

CurveNewParametersIterator is returned from FilterNewParameters and is used to iterate over the raw logs and unpacked data for NewParameters events raised by the Curve contract.

func (*CurveNewParametersIterator) Close

func (it *CurveNewParametersIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*CurveNewParametersIterator) Error

func (it *CurveNewParametersIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*CurveNewParametersIterator) Next

func (it *CurveNewParametersIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type CurveRaw

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

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

func (*CurveRaw) Call

func (_Curve *CurveRaw) 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 (*CurveRaw) Transact

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

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

func (*CurveRaw) Transfer

func (_Curve *CurveRaw) 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 CurveRemoveLiquidity

type CurveRemoveLiquidity struct {
	Provider     common.Address
	TokenAmounts [2]*big.Int
	Fees         [2]*big.Int
	TokenSupply  *big.Int
	Raw          types.Log // Blockchain specific contextual infos
}

CurveRemoveLiquidity represents a RemoveLiquidity event raised by the Curve contract.

type CurveRemoveLiquidityImbalance

type CurveRemoveLiquidityImbalance struct {
	Provider     common.Address
	TokenAmounts [2]*big.Int
	Fees         [2]*big.Int
	Invariant    *big.Int
	TokenSupply  *big.Int
	Raw          types.Log // Blockchain specific contextual infos
}

CurveRemoveLiquidityImbalance represents a RemoveLiquidityImbalance event raised by the Curve contract.

type CurveRemoveLiquidityImbalanceIterator

type CurveRemoveLiquidityImbalanceIterator struct {
	Event *CurveRemoveLiquidityImbalance // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

CurveRemoveLiquidityImbalanceIterator is returned from FilterRemoveLiquidityImbalance and is used to iterate over the raw logs and unpacked data for RemoveLiquidityImbalance events raised by the Curve contract.

func (*CurveRemoveLiquidityImbalanceIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*CurveRemoveLiquidityImbalanceIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*CurveRemoveLiquidityImbalanceIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type CurveRemoveLiquidityIterator

type CurveRemoveLiquidityIterator struct {
	Event *CurveRemoveLiquidity // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

CurveRemoveLiquidityIterator is returned from FilterRemoveLiquidity and is used to iterate over the raw logs and unpacked data for RemoveLiquidity events raised by the Curve contract.

func (*CurveRemoveLiquidityIterator) Close

func (it *CurveRemoveLiquidityIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*CurveRemoveLiquidityIterator) Error

func (it *CurveRemoveLiquidityIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*CurveRemoveLiquidityIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type CurveSession

type CurveSession struct {
	Contract     *Curve            // 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
}

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

func (*CurveSession) A

func (_Curve *CurveSession) A() (*big.Int, error)

A is a free data retrieval call binding the contract method 0xf446c1d0.

Solidity: function A() returns(uint256 out)

func (*CurveSession) AddLiquidity

func (_Curve *CurveSession) AddLiquidity(amounts [2]*big.Int, min_mint_amount *big.Int) (*types.Transaction, error)

AddLiquidity is a paid mutator transaction binding the contract method 0x0b4c7e4d.

Solidity: function add_liquidity(uint256[2] amounts, uint256 min_mint_amount) returns()

func (*CurveSession) AdminActionsDeadline

func (_Curve *CurveSession) AdminActionsDeadline() (*big.Int, error)

AdminActionsDeadline is a free data retrieval call binding the contract method 0x405e28f8.

Solidity: function admin_actions_deadline() returns(uint256 out)

func (*CurveSession) AdminFee

func (_Curve *CurveSession) AdminFee() (*big.Int, error)

AdminFee is a free data retrieval call binding the contract method 0xfee3f7f9.

Solidity: function admin_fee() returns(uint256 out)

func (*CurveSession) ApplyNewParameters

func (_Curve *CurveSession) ApplyNewParameters() (*types.Transaction, error)

ApplyNewParameters is a paid mutator transaction binding the contract method 0x2a7dd7cd.

Solidity: function apply_new_parameters() returns()

func (*CurveSession) ApplyTransferOwnership

func (_Curve *CurveSession) ApplyTransferOwnership() (*types.Transaction, error)

ApplyTransferOwnership is a paid mutator transaction binding the contract method 0x6a1c05ae.

Solidity: function apply_transfer_ownership() returns()

func (*CurveSession) Balances

func (_Curve *CurveSession) Balances(arg0 *big.Int) (*big.Int, error)

Balances is a free data retrieval call binding the contract method 0x065a80d8.

Solidity: function balances(int128 arg0) returns(uint256 out)

func (*CurveSession) CalcTokenAmount

func (_Curve *CurveSession) CalcTokenAmount(amounts [2]*big.Int, deposit bool) (*big.Int, error)

CalcTokenAmount is a free data retrieval call binding the contract method 0xed8e84f3.

Solidity: function calc_token_amount(uint256[2] amounts, bool deposit) returns(uint256 out)

func (*CurveSession) Coins

func (_Curve *CurveSession) Coins(arg0 *big.Int) (common.Address, error)

Coins is a free data retrieval call binding the contract method 0x23746eb8.

Solidity: function coins(int128 arg0) returns(address out)

func (*CurveSession) CommitNewParameters

func (_Curve *CurveSession) CommitNewParameters(amplification *big.Int, new_fee *big.Int, new_admin_fee *big.Int) (*types.Transaction, error)

CommitNewParameters is a paid mutator transaction binding the contract method 0xee11f5b6.

Solidity: function commit_new_parameters(uint256 amplification, uint256 new_fee, uint256 new_admin_fee) returns()

func (*CurveSession) CommitTransferOwnership

func (_Curve *CurveSession) CommitTransferOwnership(_owner common.Address) (*types.Transaction, error)

CommitTransferOwnership is a paid mutator transaction binding the contract method 0x6b441a40.

Solidity: function commit_transfer_ownership(address _owner) returns()

func (*CurveSession) Exchange

func (_Curve *CurveSession) Exchange(i *big.Int, j *big.Int, dx *big.Int, min_dy *big.Int) (*types.Transaction, error)

Exchange is a paid mutator transaction binding the contract method 0x3df02124.

Solidity: function exchange(int128 i, int128 j, uint256 dx, uint256 min_dy) returns()

func (*CurveSession) ExchangeUnderlying

func (_Curve *CurveSession) ExchangeUnderlying(i *big.Int, j *big.Int, dx *big.Int, min_dy *big.Int) (*types.Transaction, error)

ExchangeUnderlying is a paid mutator transaction binding the contract method 0xa6417ed6.

Solidity: function exchange_underlying(int128 i, int128 j, uint256 dx, uint256 min_dy) returns()

func (*CurveSession) Fee

func (_Curve *CurveSession) Fee() (*big.Int, error)

Fee is a free data retrieval call binding the contract method 0xddca3f43.

Solidity: function fee() returns(uint256 out)

func (*CurveSession) FutureA

func (_Curve *CurveSession) FutureA() (*big.Int, error)

FutureA is a free data retrieval call binding the contract method 0xb4b577ad.

Solidity: function future_A() returns(uint256 out)

func (*CurveSession) FutureAdminFee

func (_Curve *CurveSession) FutureAdminFee() (*big.Int, error)

FutureAdminFee is a free data retrieval call binding the contract method 0xe3824462.

Solidity: function future_admin_fee() returns(uint256 out)

func (*CurveSession) FutureFee

func (_Curve *CurveSession) FutureFee() (*big.Int, error)

FutureFee is a free data retrieval call binding the contract method 0x58680d0b.

Solidity: function future_fee() returns(uint256 out)

func (*CurveSession) FutureOwner

func (_Curve *CurveSession) FutureOwner() (common.Address, error)

FutureOwner is a free data retrieval call binding the contract method 0x1ec0cdc1.

Solidity: function future_owner() returns(address out)

func (*CurveSession) GetDx

func (_Curve *CurveSession) GetDx(i *big.Int, j *big.Int, dy *big.Int) (*big.Int, error)

GetDx is a free data retrieval call binding the contract method 0x67df02ca.

Solidity: function get_dx(int128 i, int128 j, uint256 dy) returns(uint256 out)

func (*CurveSession) GetDxUnderlying

func (_Curve *CurveSession) GetDxUnderlying(i *big.Int, j *big.Int, dy *big.Int) (*big.Int, error)

GetDxUnderlying is a free data retrieval call binding the contract method 0x0e71d1b9.

Solidity: function get_dx_underlying(int128 i, int128 j, uint256 dy) returns(uint256 out)

func (*CurveSession) GetDy

func (_Curve *CurveSession) GetDy(i *big.Int, j *big.Int, dx *big.Int) (*big.Int, error)

GetDy is a free data retrieval call binding the contract method 0x5e0d443f.

Solidity: function get_dy(int128 i, int128 j, uint256 dx) returns(uint256 out)

func (*CurveSession) GetDyUnderlying

func (_Curve *CurveSession) GetDyUnderlying(i *big.Int, j *big.Int, dx *big.Int) (*big.Int, error)

GetDyUnderlying is a free data retrieval call binding the contract method 0x07211ef7.

Solidity: function get_dy_underlying(int128 i, int128 j, uint256 dx) returns(uint256 out)

func (*CurveSession) GetVirtualPrice

func (_Curve *CurveSession) GetVirtualPrice() (*big.Int, error)

GetVirtualPrice is a free data retrieval call binding the contract method 0xbb7b8b80.

Solidity: function get_virtual_price() returns(uint256 out)

func (*CurveSession) KillMe

func (_Curve *CurveSession) KillMe() (*types.Transaction, error)

KillMe is a paid mutator transaction binding the contract method 0xe3698853.

Solidity: function kill_me() returns()

func (*CurveSession) Owner

func (_Curve *CurveSession) Owner() (common.Address, error)

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

Solidity: function owner() returns(address out)

func (*CurveSession) RemoveLiquidity

func (_Curve *CurveSession) RemoveLiquidity(_amount *big.Int, min_amounts [2]*big.Int) (*types.Transaction, error)

RemoveLiquidity is a paid mutator transaction binding the contract method 0x5b36389c.

Solidity: function remove_liquidity(uint256 _amount, uint256[2] min_amounts) returns()

func (*CurveSession) RemoveLiquidityImbalance

func (_Curve *CurveSession) RemoveLiquidityImbalance(amounts [2]*big.Int, max_burn_amount *big.Int) (*types.Transaction, error)

RemoveLiquidityImbalance is a paid mutator transaction binding the contract method 0xe3103273.

Solidity: function remove_liquidity_imbalance(uint256[2] amounts, uint256 max_burn_amount) returns()

func (*CurveSession) RevertNewParameters

func (_Curve *CurveSession) RevertNewParameters() (*types.Transaction, error)

RevertNewParameters is a paid mutator transaction binding the contract method 0x226840fb.

Solidity: function revert_new_parameters() returns()

func (*CurveSession) RevertTransferOwnership

func (_Curve *CurveSession) RevertTransferOwnership() (*types.Transaction, error)

RevertTransferOwnership is a paid mutator transaction binding the contract method 0x86fbf193.

Solidity: function revert_transfer_ownership() returns()

func (*CurveSession) TransferOwnershipDeadline

func (_Curve *CurveSession) TransferOwnershipDeadline() (*big.Int, error)

TransferOwnershipDeadline is a free data retrieval call binding the contract method 0xe0a0b586.

Solidity: function transfer_ownership_deadline() returns(uint256 out)

func (*CurveSession) UnderlyingCoins

func (_Curve *CurveSession) UnderlyingCoins(arg0 *big.Int) (common.Address, error)

UnderlyingCoins is a free data retrieval call binding the contract method 0xb739953e.

Solidity: function underlying_coins(int128 arg0) returns(address out)

func (*CurveSession) UnkillMe

func (_Curve *CurveSession) UnkillMe() (*types.Transaction, error)

UnkillMe is a paid mutator transaction binding the contract method 0x3046f972.

Solidity: function unkill_me() returns()

func (*CurveSession) WithdrawAdminFees

func (_Curve *CurveSession) WithdrawAdminFees() (*types.Transaction, error)

WithdrawAdminFees is a paid mutator transaction binding the contract method 0x30c54085.

Solidity: function withdraw_admin_fees() returns()

type CurveTokenExchange

type CurveTokenExchange struct {
	Buyer        common.Address
	SoldId       *big.Int
	TokensSold   *big.Int
	BoughtId     *big.Int
	TokensBought *big.Int
	Raw          types.Log // Blockchain specific contextual infos
}

CurveTokenExchange represents a TokenExchange event raised by the Curve contract.

type CurveTokenExchangeIterator

type CurveTokenExchangeIterator struct {
	Event *CurveTokenExchange // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

CurveTokenExchangeIterator is returned from FilterTokenExchange and is used to iterate over the raw logs and unpacked data for TokenExchange events raised by the Curve contract.

func (*CurveTokenExchangeIterator) Close

func (it *CurveTokenExchangeIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*CurveTokenExchangeIterator) Error

func (it *CurveTokenExchangeIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*CurveTokenExchangeIterator) Next

func (it *CurveTokenExchangeIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type CurveTokenExchangeUnderlying

type CurveTokenExchangeUnderlying struct {
	Buyer        common.Address
	SoldId       *big.Int
	TokensSold   *big.Int
	BoughtId     *big.Int
	TokensBought *big.Int
	Raw          types.Log // Blockchain specific contextual infos
}

CurveTokenExchangeUnderlying represents a TokenExchangeUnderlying event raised by the Curve contract.

type CurveTokenExchangeUnderlyingIterator

type CurveTokenExchangeUnderlyingIterator struct {
	Event *CurveTokenExchangeUnderlying // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

CurveTokenExchangeUnderlyingIterator is returned from FilterTokenExchangeUnderlying and is used to iterate over the raw logs and unpacked data for TokenExchangeUnderlying events raised by the Curve contract.

func (*CurveTokenExchangeUnderlyingIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*CurveTokenExchangeUnderlyingIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*CurveTokenExchangeUnderlyingIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type CurveTransactor

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

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

func NewCurveTransactor

func NewCurveTransactor(address common.Address, transactor bind.ContractTransactor) (*CurveTransactor, error)

NewCurveTransactor creates a new write-only instance of Curve, bound to a specific deployed contract.

func (*CurveTransactor) AddLiquidity

func (_Curve *CurveTransactor) AddLiquidity(opts *bind.TransactOpts, amounts [2]*big.Int, min_mint_amount *big.Int) (*types.Transaction, error)

AddLiquidity is a paid mutator transaction binding the contract method 0x0b4c7e4d.

Solidity: function add_liquidity(uint256[2] amounts, uint256 min_mint_amount) returns()

func (*CurveTransactor) ApplyNewParameters

func (_Curve *CurveTransactor) ApplyNewParameters(opts *bind.TransactOpts) (*types.Transaction, error)

ApplyNewParameters is a paid mutator transaction binding the contract method 0x2a7dd7cd.

Solidity: function apply_new_parameters() returns()

func (*CurveTransactor) ApplyTransferOwnership

func (_Curve *CurveTransactor) ApplyTransferOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

ApplyTransferOwnership is a paid mutator transaction binding the contract method 0x6a1c05ae.

Solidity: function apply_transfer_ownership() returns()

func (*CurveTransactor) CommitNewParameters

func (_Curve *CurveTransactor) CommitNewParameters(opts *bind.TransactOpts, amplification *big.Int, new_fee *big.Int, new_admin_fee *big.Int) (*types.Transaction, error)

CommitNewParameters is a paid mutator transaction binding the contract method 0xee11f5b6.

Solidity: function commit_new_parameters(uint256 amplification, uint256 new_fee, uint256 new_admin_fee) returns()

func (*CurveTransactor) CommitTransferOwnership

func (_Curve *CurveTransactor) CommitTransferOwnership(opts *bind.TransactOpts, _owner common.Address) (*types.Transaction, error)

CommitTransferOwnership is a paid mutator transaction binding the contract method 0x6b441a40.

Solidity: function commit_transfer_ownership(address _owner) returns()

func (*CurveTransactor) Exchange

func (_Curve *CurveTransactor) Exchange(opts *bind.TransactOpts, i *big.Int, j *big.Int, dx *big.Int, min_dy *big.Int) (*types.Transaction, error)

Exchange is a paid mutator transaction binding the contract method 0x3df02124.

Solidity: function exchange(int128 i, int128 j, uint256 dx, uint256 min_dy) returns()

func (*CurveTransactor) ExchangeUnderlying

func (_Curve *CurveTransactor) ExchangeUnderlying(opts *bind.TransactOpts, i *big.Int, j *big.Int, dx *big.Int, min_dy *big.Int) (*types.Transaction, error)

ExchangeUnderlying is a paid mutator transaction binding the contract method 0xa6417ed6.

Solidity: function exchange_underlying(int128 i, int128 j, uint256 dx, uint256 min_dy) returns()

func (*CurveTransactor) KillMe

func (_Curve *CurveTransactor) KillMe(opts *bind.TransactOpts) (*types.Transaction, error)

KillMe is a paid mutator transaction binding the contract method 0xe3698853.

Solidity: function kill_me() returns()

func (*CurveTransactor) RemoveLiquidity

func (_Curve *CurveTransactor) RemoveLiquidity(opts *bind.TransactOpts, _amount *big.Int, min_amounts [2]*big.Int) (*types.Transaction, error)

RemoveLiquidity is a paid mutator transaction binding the contract method 0x5b36389c.

Solidity: function remove_liquidity(uint256 _amount, uint256[2] min_amounts) returns()

func (*CurveTransactor) RemoveLiquidityImbalance

func (_Curve *CurveTransactor) RemoveLiquidityImbalance(opts *bind.TransactOpts, amounts [2]*big.Int, max_burn_amount *big.Int) (*types.Transaction, error)

RemoveLiquidityImbalance is a paid mutator transaction binding the contract method 0xe3103273.

Solidity: function remove_liquidity_imbalance(uint256[2] amounts, uint256 max_burn_amount) returns()

func (*CurveTransactor) RevertNewParameters

func (_Curve *CurveTransactor) RevertNewParameters(opts *bind.TransactOpts) (*types.Transaction, error)

RevertNewParameters is a paid mutator transaction binding the contract method 0x226840fb.

Solidity: function revert_new_parameters() returns()

func (*CurveTransactor) RevertTransferOwnership

func (_Curve *CurveTransactor) RevertTransferOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

RevertTransferOwnership is a paid mutator transaction binding the contract method 0x86fbf193.

Solidity: function revert_transfer_ownership() returns()

func (*CurveTransactor) UnkillMe

func (_Curve *CurveTransactor) UnkillMe(opts *bind.TransactOpts) (*types.Transaction, error)

UnkillMe is a paid mutator transaction binding the contract method 0x3046f972.

Solidity: function unkill_me() returns()

func (*CurveTransactor) WithdrawAdminFees

func (_Curve *CurveTransactor) WithdrawAdminFees(opts *bind.TransactOpts) (*types.Transaction, error)

WithdrawAdminFees is a paid mutator transaction binding the contract method 0x30c54085.

Solidity: function withdraw_admin_fees() returns()

type CurveTransactorRaw

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

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

func (*CurveTransactorRaw) Transact

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

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

func (*CurveTransactorRaw) Transfer

func (_Curve *CurveTransactorRaw) 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 CurveTransactorSession

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

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

func (*CurveTransactorSession) AddLiquidity

func (_Curve *CurveTransactorSession) AddLiquidity(amounts [2]*big.Int, min_mint_amount *big.Int) (*types.Transaction, error)

AddLiquidity is a paid mutator transaction binding the contract method 0x0b4c7e4d.

Solidity: function add_liquidity(uint256[2] amounts, uint256 min_mint_amount) returns()

func (*CurveTransactorSession) ApplyNewParameters

func (_Curve *CurveTransactorSession) ApplyNewParameters() (*types.Transaction, error)

ApplyNewParameters is a paid mutator transaction binding the contract method 0x2a7dd7cd.

Solidity: function apply_new_parameters() returns()

func (*CurveTransactorSession) ApplyTransferOwnership

func (_Curve *CurveTransactorSession) ApplyTransferOwnership() (*types.Transaction, error)

ApplyTransferOwnership is a paid mutator transaction binding the contract method 0x6a1c05ae.

Solidity: function apply_transfer_ownership() returns()

func (*CurveTransactorSession) CommitNewParameters

func (_Curve *CurveTransactorSession) CommitNewParameters(amplification *big.Int, new_fee *big.Int, new_admin_fee *big.Int) (*types.Transaction, error)

CommitNewParameters is a paid mutator transaction binding the contract method 0xee11f5b6.

Solidity: function commit_new_parameters(uint256 amplification, uint256 new_fee, uint256 new_admin_fee) returns()

func (*CurveTransactorSession) CommitTransferOwnership

func (_Curve *CurveTransactorSession) CommitTransferOwnership(_owner common.Address) (*types.Transaction, error)

CommitTransferOwnership is a paid mutator transaction binding the contract method 0x6b441a40.

Solidity: function commit_transfer_ownership(address _owner) returns()

func (*CurveTransactorSession) Exchange

func (_Curve *CurveTransactorSession) Exchange(i *big.Int, j *big.Int, dx *big.Int, min_dy *big.Int) (*types.Transaction, error)

Exchange is a paid mutator transaction binding the contract method 0x3df02124.

Solidity: function exchange(int128 i, int128 j, uint256 dx, uint256 min_dy) returns()

func (*CurveTransactorSession) ExchangeUnderlying

func (_Curve *CurveTransactorSession) ExchangeUnderlying(i *big.Int, j *big.Int, dx *big.Int, min_dy *big.Int) (*types.Transaction, error)

ExchangeUnderlying is a paid mutator transaction binding the contract method 0xa6417ed6.

Solidity: function exchange_underlying(int128 i, int128 j, uint256 dx, uint256 min_dy) returns()

func (*CurveTransactorSession) KillMe

func (_Curve *CurveTransactorSession) KillMe() (*types.Transaction, error)

KillMe is a paid mutator transaction binding the contract method 0xe3698853.

Solidity: function kill_me() returns()

func (*CurveTransactorSession) RemoveLiquidity

func (_Curve *CurveTransactorSession) RemoveLiquidity(_amount *big.Int, min_amounts [2]*big.Int) (*types.Transaction, error)

RemoveLiquidity is a paid mutator transaction binding the contract method 0x5b36389c.

Solidity: function remove_liquidity(uint256 _amount, uint256[2] min_amounts) returns()

func (*CurveTransactorSession) RemoveLiquidityImbalance

func (_Curve *CurveTransactorSession) RemoveLiquidityImbalance(amounts [2]*big.Int, max_burn_amount *big.Int) (*types.Transaction, error)

RemoveLiquidityImbalance is a paid mutator transaction binding the contract method 0xe3103273.

Solidity: function remove_liquidity_imbalance(uint256[2] amounts, uint256 max_burn_amount) returns()

func (*CurveTransactorSession) RevertNewParameters

func (_Curve *CurveTransactorSession) RevertNewParameters() (*types.Transaction, error)

RevertNewParameters is a paid mutator transaction binding the contract method 0x226840fb.

Solidity: function revert_new_parameters() returns()

func (*CurveTransactorSession) RevertTransferOwnership

func (_Curve *CurveTransactorSession) RevertTransferOwnership() (*types.Transaction, error)

RevertTransferOwnership is a paid mutator transaction binding the contract method 0x86fbf193.

Solidity: function revert_transfer_ownership() returns()

func (*CurveTransactorSession) UnkillMe

func (_Curve *CurveTransactorSession) UnkillMe() (*types.Transaction, error)

UnkillMe is a paid mutator transaction binding the contract method 0x3046f972.

Solidity: function unkill_me() returns()

func (*CurveTransactorSession) WithdrawAdminFees

func (_Curve *CurveTransactorSession) WithdrawAdminFees() (*types.Transaction, error)

WithdrawAdminFees is a paid mutator transaction binding the contract method 0x30c54085.

Solidity: function withdraw_admin_fees() returns()

type Dforce

type Dforce struct {
	DforceCaller     // Read-only binding to the contract
	DforceTransactor // Write-only binding to the contract
	DforceFilterer   // Log filterer for contract events
}

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

func NewDforce

func NewDforce(address common.Address, backend bind.ContractBackend) (*Dforce, error)

NewDforce creates a new instance of Dforce, bound to a specific deployed contract.

type DforceCaller

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

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

func NewDforceCaller

func NewDforceCaller(address common.Address, caller bind.ContractCaller) (*DforceCaller, error)

NewDforceCaller creates a new read-only instance of Dforce, bound to a specific deployed contract.

func (*DforceCaller) Authority

func (_Dforce *DforceCaller) Authority(opts *bind.CallOpts) (common.Address, error)

Authority is a free data retrieval call binding the contract method 0xbf7e214f.

Solidity: function authority() view returns(address)

func (*DforceCaller) ExchangeRate

func (_Dforce *DforceCaller) ExchangeRate(opts *bind.CallOpts, _input common.Address, _output common.Address) (*big.Int, error)

ExchangeRate is a free data retrieval call binding the contract method 0xccb0101b.

Solidity: function exchangeRate(address _input, address _output) view returns(uint256)

func (*DforceCaller) Fee

func (_Dforce *DforceCaller) Fee(opts *bind.CallOpts, arg0 common.Address, arg1 common.Address) (*big.Int, error)

Fee is a free data retrieval call binding the contract method 0xbe5011a1.

Solidity: function fee(address , address ) view returns(uint256)

func (*DforceCaller) GetAmountByInput

func (_Dforce *DforceCaller) GetAmountByInput(opts *bind.CallOpts, _input common.Address, _output common.Address, _inputAmount *big.Int) (*big.Int, error)

GetAmountByInput is a free data retrieval call binding the contract method 0xaf77fedb.

Solidity: function getAmountByInput(address _input, address _output, uint256 _inputAmount) view returns(uint256)

func (*DforceCaller) GetAmountByOutput

func (_Dforce *DforceCaller) GetAmountByOutput(opts *bind.CallOpts, _input common.Address, _output common.Address, _outputAmount *big.Int) (*big.Int, error)

GetAmountByOutput is a free data retrieval call binding the contract method 0xf6cf166f.

Solidity: function getAmountByOutput(address _input, address _output, uint256 _outputAmount) view returns(uint256)

func (*DforceCaller) GetBestOutputByInput

func (_Dforce *DforceCaller) GetBestOutputByInput(opts *bind.CallOpts, _input common.Address, _output common.Address, _inputAmount *big.Int) (*big.Int, error)

GetBestOutputByInput is a free data retrieval call binding the contract method 0x858efd4b.

Solidity: function getBestOutputByInput(address _input, address _output, uint256 _inputAmount) view returns(uint256)

func (*DforceCaller) GetLiquidity

func (_Dforce *DforceCaller) GetLiquidity(opts *bind.CallOpts, _token common.Address) (*big.Int, error)

GetLiquidity is a free data retrieval call binding the contract method 0xa747b93b.

Solidity: function getLiquidity(address _token) view returns(uint256)

func (*DforceCaller) IsOpen

func (_Dforce *DforceCaller) IsOpen(opts *bind.CallOpts) (bool, error)

IsOpen is a free data retrieval call binding the contract method 0x47535d7b.

Solidity: function isOpen() view returns(bool)

func (*DforceCaller) MaxSwing

func (_Dforce *DforceCaller) MaxSwing(opts *bind.CallOpts) (*big.Int, error)

MaxSwing is a free data retrieval call binding the contract method 0xc5faf1d5.

Solidity: function maxSwing() view returns(uint256)

func (*DforceCaller) NewOwner

func (_Dforce *DforceCaller) NewOwner(opts *bind.CallOpts) (common.Address, error)

NewOwner is a free data retrieval call binding the contract method 0xd4ee1d90.

Solidity: function newOwner() view returns(address)

func (*DforceCaller) Oracle

func (_Dforce *DforceCaller) Oracle(opts *bind.CallOpts) (common.Address, error)

Oracle is a free data retrieval call binding the contract method 0x7dc0d1d0.

Solidity: function oracle() view returns(address)

func (*DforceCaller) Owner

func (_Dforce *DforceCaller) 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 (*DforceCaller) Paused

func (_Dforce *DforceCaller) Paused(opts *bind.CallOpts) (bool, error)

Paused is a free data retrieval call binding the contract method 0x5c975abb.

Solidity: function paused() view returns(bool)

func (*DforceCaller) RemainingDToken

func (_Dforce *DforceCaller) RemainingDToken(opts *bind.CallOpts, arg0 common.Address) (common.Address, error)

RemainingDToken is a free data retrieval call binding the contract method 0x3a8921a7.

Solidity: function remainingDToken(address ) view returns(address)

func (*DforceCaller) SupportDToken

func (_Dforce *DforceCaller) SupportDToken(opts *bind.CallOpts, arg0 common.Address) (common.Address, error)

SupportDToken is a free data retrieval call binding the contract method 0xd6692462.

Solidity: function supportDToken(address ) view returns(address)

func (*DforceCaller) TokensEnable

func (_Dforce *DforceCaller) TokensEnable(opts *bind.CallOpts, arg0 common.Address) (bool, error)

TokensEnable is a free data retrieval call binding the contract method 0x338a6397.

Solidity: function tokensEnable(address ) view returns(bool)

func (*DforceCaller) TradesDisable

func (_Dforce *DforceCaller) TradesDisable(opts *bind.CallOpts, arg0 common.Address, arg1 common.Address) (bool, error)

TradesDisable is a free data retrieval call binding the contract method 0xb1db0a6e.

Solidity: function tradesDisable(address , address ) view returns(bool)

type DforceCallerRaw

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

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

func (*DforceCallerRaw) Call

func (_Dforce *DforceCallerRaw) 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 DforceCallerSession

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

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

func (*DforceCallerSession) Authority

func (_Dforce *DforceCallerSession) Authority() (common.Address, error)

Authority is a free data retrieval call binding the contract method 0xbf7e214f.

Solidity: function authority() view returns(address)

func (*DforceCallerSession) ExchangeRate

func (_Dforce *DforceCallerSession) ExchangeRate(_input common.Address, _output common.Address) (*big.Int, error)

ExchangeRate is a free data retrieval call binding the contract method 0xccb0101b.

Solidity: function exchangeRate(address _input, address _output) view returns(uint256)

func (*DforceCallerSession) Fee

func (_Dforce *DforceCallerSession) Fee(arg0 common.Address, arg1 common.Address) (*big.Int, error)

Fee is a free data retrieval call binding the contract method 0xbe5011a1.

Solidity: function fee(address , address ) view returns(uint256)

func (*DforceCallerSession) GetAmountByInput

func (_Dforce *DforceCallerSession) GetAmountByInput(_input common.Address, _output common.Address, _inputAmount *big.Int) (*big.Int, error)

GetAmountByInput is a free data retrieval call binding the contract method 0xaf77fedb.

Solidity: function getAmountByInput(address _input, address _output, uint256 _inputAmount) view returns(uint256)

func (*DforceCallerSession) GetAmountByOutput

func (_Dforce *DforceCallerSession) GetAmountByOutput(_input common.Address, _output common.Address, _outputAmount *big.Int) (*big.Int, error)

GetAmountByOutput is a free data retrieval call binding the contract method 0xf6cf166f.

Solidity: function getAmountByOutput(address _input, address _output, uint256 _outputAmount) view returns(uint256)

func (*DforceCallerSession) GetBestOutputByInput

func (_Dforce *DforceCallerSession) GetBestOutputByInput(_input common.Address, _output common.Address, _inputAmount *big.Int) (*big.Int, error)

GetBestOutputByInput is a free data retrieval call binding the contract method 0x858efd4b.

Solidity: function getBestOutputByInput(address _input, address _output, uint256 _inputAmount) view returns(uint256)

func (*DforceCallerSession) GetLiquidity

func (_Dforce *DforceCallerSession) GetLiquidity(_token common.Address) (*big.Int, error)

GetLiquidity is a free data retrieval call binding the contract method 0xa747b93b.

Solidity: function getLiquidity(address _token) view returns(uint256)

func (*DforceCallerSession) IsOpen

func (_Dforce *DforceCallerSession) IsOpen() (bool, error)

IsOpen is a free data retrieval call binding the contract method 0x47535d7b.

Solidity: function isOpen() view returns(bool)

func (*DforceCallerSession) MaxSwing

func (_Dforce *DforceCallerSession) MaxSwing() (*big.Int, error)

MaxSwing is a free data retrieval call binding the contract method 0xc5faf1d5.

Solidity: function maxSwing() view returns(uint256)

func (*DforceCallerSession) NewOwner

func (_Dforce *DforceCallerSession) NewOwner() (common.Address, error)

NewOwner is a free data retrieval call binding the contract method 0xd4ee1d90.

Solidity: function newOwner() view returns(address)

func (*DforceCallerSession) Oracle

func (_Dforce *DforceCallerSession) Oracle() (common.Address, error)

Oracle is a free data retrieval call binding the contract method 0x7dc0d1d0.

Solidity: function oracle() view returns(address)

func (*DforceCallerSession) Owner

func (_Dforce *DforceCallerSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*DforceCallerSession) Paused

func (_Dforce *DforceCallerSession) Paused() (bool, error)

Paused is a free data retrieval call binding the contract method 0x5c975abb.

Solidity: function paused() view returns(bool)

func (*DforceCallerSession) RemainingDToken

func (_Dforce *DforceCallerSession) RemainingDToken(arg0 common.Address) (common.Address, error)

RemainingDToken is a free data retrieval call binding the contract method 0x3a8921a7.

Solidity: function remainingDToken(address ) view returns(address)

func (*DforceCallerSession) SupportDToken

func (_Dforce *DforceCallerSession) SupportDToken(arg0 common.Address) (common.Address, error)

SupportDToken is a free data retrieval call binding the contract method 0xd6692462.

Solidity: function supportDToken(address ) view returns(address)

func (*DforceCallerSession) TokensEnable

func (_Dforce *DforceCallerSession) TokensEnable(arg0 common.Address) (bool, error)

TokensEnable is a free data retrieval call binding the contract method 0x338a6397.

Solidity: function tokensEnable(address ) view returns(bool)

func (*DforceCallerSession) TradesDisable

func (_Dforce *DforceCallerSession) TradesDisable(arg0 common.Address, arg1 common.Address) (bool, error)

TradesDisable is a free data retrieval call binding the contract method 0xb1db0a6e.

Solidity: function tradesDisable(address , address ) view returns(bool)

type DforceDisableDToken

type DforceDisableDToken struct {
	DToken        common.Address
	Token         common.Address
	DTokenBalance *big.Int
	Raw           types.Log // Blockchain specific contextual infos
}

DforceDisableDToken represents a DisableDToken event raised by the Dforce contract.

type DforceDisableDTokenIterator

type DforceDisableDTokenIterator struct {
	Event *DforceDisableDToken // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

DforceDisableDTokenIterator is returned from FilterDisableDToken and is used to iterate over the raw logs and unpacked data for DisableDToken events raised by the Dforce contract.

func (*DforceDisableDTokenIterator) Close

func (it *DforceDisableDTokenIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*DforceDisableDTokenIterator) Error

func (it *DforceDisableDTokenIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*DforceDisableDTokenIterator) Next

func (it *DforceDisableDTokenIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type DforceDisableToken

type DforceDisableToken struct {
	Token common.Address
	Raw   types.Log // Blockchain specific contextual infos
}

DforceDisableToken represents a DisableToken event raised by the Dforce contract.

type DforceDisableTokenIterator

type DforceDisableTokenIterator struct {
	Event *DforceDisableToken // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

DforceDisableTokenIterator is returned from FilterDisableToken and is used to iterate over the raw logs and unpacked data for DisableToken events raised by the Dforce contract.

func (*DforceDisableTokenIterator) Close

func (it *DforceDisableTokenIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*DforceDisableTokenIterator) Error

func (it *DforceDisableTokenIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*DforceDisableTokenIterator) Next

func (it *DforceDisableTokenIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type DforceDisableTrade

type DforceDisableTrade struct {
	Input  common.Address
	Output common.Address
	Raw    types.Log // Blockchain specific contextual infos
}

DforceDisableTrade represents a DisableTrade event raised by the Dforce contract.

type DforceDisableTradeIterator

type DforceDisableTradeIterator struct {
	Event *DforceDisableTrade // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

DforceDisableTradeIterator is returned from FilterDisableTrade and is used to iterate over the raw logs and unpacked data for DisableTrade events raised by the Dforce contract.

func (*DforceDisableTradeIterator) Close

func (it *DforceDisableTradeIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*DforceDisableTradeIterator) Error

func (it *DforceDisableTradeIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*DforceDisableTradeIterator) Next

func (it *DforceDisableTradeIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type DforceEmergencyStop

type DforceEmergencyStop struct {
	IsOpen bool
	Raw    types.Log // Blockchain specific contextual infos
}

DforceEmergencyStop represents a EmergencyStop event raised by the Dforce contract.

type DforceEmergencyStopIterator

type DforceEmergencyStopIterator struct {
	Event *DforceEmergencyStop // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

DforceEmergencyStopIterator is returned from FilterEmergencyStop and is used to iterate over the raw logs and unpacked data for EmergencyStop events raised by the Dforce contract.

func (*DforceEmergencyStopIterator) Close

func (it *DforceEmergencyStopIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*DforceEmergencyStopIterator) Error

func (it *DforceEmergencyStopIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*DforceEmergencyStopIterator) Next

func (it *DforceEmergencyStopIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type DforceEnableDToken

type DforceEnableDToken struct {
	DToken        common.Address
	Token         common.Address
	DTokenBalance *big.Int
	Raw           types.Log // Blockchain specific contextual infos
}

DforceEnableDToken represents a EnableDToken event raised by the Dforce contract.

type DforceEnableDTokenIterator

type DforceEnableDTokenIterator struct {
	Event *DforceEnableDToken // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

DforceEnableDTokenIterator is returned from FilterEnableDToken and is used to iterate over the raw logs and unpacked data for EnableDToken events raised by the Dforce contract.

func (*DforceEnableDTokenIterator) Close

func (it *DforceEnableDTokenIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*DforceEnableDTokenIterator) Error

func (it *DforceEnableDTokenIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*DforceEnableDTokenIterator) Next

func (it *DforceEnableDTokenIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type DforceEnableToken

type DforceEnableToken struct {
	Token common.Address
	Raw   types.Log // Blockchain specific contextual infos
}

DforceEnableToken represents a EnableToken event raised by the Dforce contract.

type DforceEnableTokenIterator

type DforceEnableTokenIterator struct {
	Event *DforceEnableToken // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

DforceEnableTokenIterator is returned from FilterEnableToken and is used to iterate over the raw logs and unpacked data for EnableToken events raised by the Dforce contract.

func (*DforceEnableTokenIterator) Close

func (it *DforceEnableTokenIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*DforceEnableTokenIterator) Error

func (it *DforceEnableTokenIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*DforceEnableTokenIterator) Next

func (it *DforceEnableTokenIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type DforceEnableTrade

type DforceEnableTrade struct {
	Input  common.Address
	Output common.Address
	Raw    types.Log // Blockchain specific contextual infos
}

DforceEnableTrade represents a EnableTrade event raised by the Dforce contract.

type DforceEnableTradeIterator

type DforceEnableTradeIterator struct {
	Event *DforceEnableTrade // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

DforceEnableTradeIterator is returned from FilterEnableTrade and is used to iterate over the raw logs and unpacked data for EnableTrade events raised by the Dforce contract.

func (*DforceEnableTradeIterator) Close

func (it *DforceEnableTradeIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*DforceEnableTradeIterator) Error

func (it *DforceEnableTradeIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*DforceEnableTradeIterator) Next

func (it *DforceEnableTradeIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type DforceFilterer

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

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

func NewDforceFilterer

func NewDforceFilterer(address common.Address, filterer bind.ContractFilterer) (*DforceFilterer, error)

NewDforceFilterer creates a new log filterer instance of Dforce, bound to a specific deployed contract.

func (*DforceFilterer) FilterDisableDToken

func (_Dforce *DforceFilterer) FilterDisableDToken(opts *bind.FilterOpts) (*DforceDisableDTokenIterator, error)

FilterDisableDToken is a free log retrieval operation binding the contract event 0xaf142643cc04854b375c86a81031bf9043111c3757c7e489c0e791dd30fe5252.

Solidity: event DisableDToken(address DToken, address token, uint256 DTokenBalance)

func (*DforceFilterer) FilterDisableToken

func (_Dforce *DforceFilterer) FilterDisableToken(opts *bind.FilterOpts) (*DforceDisableTokenIterator, error)

FilterDisableToken is a free log retrieval operation binding the contract event 0x3907c2f289c906800bbef774e6e4a476623eae8c1abc6cd0a78ef88aba9a6225.

Solidity: event DisableToken(address token)

func (*DforceFilterer) FilterDisableTrade

func (_Dforce *DforceFilterer) FilterDisableTrade(opts *bind.FilterOpts) (*DforceDisableTradeIterator, error)

FilterDisableTrade is a free log retrieval operation binding the contract event 0x48026cd74df281df76fcaf355f758047053aba10579ac0251255ea125d28860b.

Solidity: event DisableTrade(address input, address output)

func (*DforceFilterer) FilterEmergencyStop

func (_Dforce *DforceFilterer) FilterEmergencyStop(opts *bind.FilterOpts) (*DforceEmergencyStopIterator, error)

FilterEmergencyStop is a free log retrieval operation binding the contract event 0xcbe1b789cda412d9e1c647ed03d0c71e2f71484be36f9ca2b2a346b29edf1b70.

Solidity: event EmergencyStop(bool isOpen)

func (*DforceFilterer) FilterEnableDToken

func (_Dforce *DforceFilterer) FilterEnableDToken(opts *bind.FilterOpts) (*DforceEnableDTokenIterator, error)

FilterEnableDToken is a free log retrieval operation binding the contract event 0xb323e69a09394d23d413ed3452a32bfcb64cd9eaf2d5fc27e6a98b3ead0bd501.

Solidity: event EnableDToken(address DToken, address token, uint256 DTokenBalance)

func (*DforceFilterer) FilterEnableToken

func (_Dforce *DforceFilterer) FilterEnableToken(opts *bind.FilterOpts) (*DforceEnableTokenIterator, error)

FilterEnableToken is a free log retrieval operation binding the contract event 0x1f4b6598cc34e310cc34bcfcb372afb5ba5af654fad97b26cc10ae8289f1c62f.

Solidity: event EnableToken(address token)

func (*DforceFilterer) FilterEnableTrade

func (_Dforce *DforceFilterer) FilterEnableTrade(opts *bind.FilterOpts) (*DforceEnableTradeIterator, error)

FilterEnableTrade is a free log retrieval operation binding the contract event 0x5a27ad565647c044a93ca5b40639a1cf6bcc69260317b5f05e4572cec28f773a.

Solidity: event EnableTrade(address input, address output)

func (*DforceFilterer) FilterLogSetAuthority

func (_Dforce *DforceFilterer) FilterLogSetAuthority(opts *bind.FilterOpts, authority []common.Address) (*DforceLogSetAuthorityIterator, error)

FilterLogSetAuthority is a free log retrieval operation binding the contract event 0x1abebea81bfa2637f28358c371278fb15ede7ea8dd28d2e03b112ff6d936ada4.

Solidity: event LogSetAuthority(address indexed authority)

func (*DforceFilterer) FilterLogSetOwner

func (_Dforce *DforceFilterer) FilterLogSetOwner(opts *bind.FilterOpts, owner []common.Address) (*DforceLogSetOwnerIterator, error)

FilterLogSetOwner is a free log retrieval operation binding the contract event 0xce241d7ca1f669fee44b6fc00b8eba2df3bb514eed0f6f668f8f89096e81ed94.

Solidity: event LogSetOwner(address indexed owner)

func (*DforceFilterer) FilterOwnerUpdate

func (_Dforce *DforceFilterer) FilterOwnerUpdate(opts *bind.FilterOpts, owner []common.Address, newOwner []common.Address) (*DforceOwnerUpdateIterator, error)

FilterOwnerUpdate is a free log retrieval operation binding the contract event 0x343765429aea5a34b3ff6a3785a98a5abb2597aca87bfbb58632c173d585373a.

Solidity: event OwnerUpdate(address indexed owner, address indexed newOwner)

func (*DforceFilterer) FilterPaused

func (_Dforce *DforceFilterer) FilterPaused(opts *bind.FilterOpts) (*DforcePausedIterator, error)

FilterPaused is a free log retrieval operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.

Solidity: event Paused(address admin)

func (*DforceFilterer) FilterSetFee

func (_Dforce *DforceFilterer) FilterSetFee(opts *bind.FilterOpts) (*DforceSetFeeIterator, error)

FilterSetFee is a free log retrieval operation binding the contract event 0x44a6d70a601a6f8a85c075467e9d7245897140cbf6dd505c9d9d764459f5fb64.

Solidity: event SetFee(address input, address output, uint256 fee)

func (*DforceFilterer) FilterSetMaxSwing

func (_Dforce *DforceFilterer) FilterSetMaxSwing(opts *bind.FilterOpts) (*DforceSetMaxSwingIterator, error)

FilterSetMaxSwing is a free log retrieval operation binding the contract event 0x2d8b75edba0b3a319274edc8de327c1163f1b657579353fd93e6fc4a5eaafc5e.

Solidity: event SetMaxSwing(uint256 maxSwing)

func (*DforceFilterer) FilterSetOracle

func (_Dforce *DforceFilterer) FilterSetOracle(opts *bind.FilterOpts) (*DforceSetOracleIterator, error)

FilterSetOracle is a free log retrieval operation binding the contract event 0xd3b5d1e0ffaeff528910f3663f0adace7694ab8241d58e17a91351ced2e08031.

Solidity: event SetOracle(address oracle)

func (*DforceFilterer) FilterSwap

func (_Dforce *DforceFilterer) FilterSwap(opts *bind.FilterOpts) (*DforceSwapIterator, error)

FilterSwap is a free log retrieval operation binding the contract event 0x3c659b0d071f4048f56712c66ca2ab11885b2f4d5ad1029adbdd300aaa0c18d6.

Solidity: event Swap(address from, address to, address input, uint256 inputAmount, uint256 inputPrice, address output, uint256 outputAmount, uint256 outputPrice)

func (*DforceFilterer) FilterTransferIn

func (_Dforce *DforceFilterer) FilterTransferIn(opts *bind.FilterOpts) (*DforceTransferInIterator, error)

FilterTransferIn is a free log retrieval operation binding the contract event 0x79f2c52b850a60522f5c49f634599f750fba2a92c9112ea49634c172d3d93ab6.

Solidity: event TransferIn(address token, uint256 amount, uint256 balance)

func (*DforceFilterer) FilterTransferOut

func (_Dforce *DforceFilterer) FilterTransferOut(opts *bind.FilterOpts) (*DforceTransferOutIterator, error)

FilterTransferOut is a free log retrieval operation binding the contract event 0x08d474da06d67ac0e0658410133ac9d6a35c74cfb6c9da5f68bbd68e66230534.

Solidity: event TransferOut(address token, address receiver, uint256 amount, uint256 balance)

func (*DforceFilterer) FilterUnpaused

func (_Dforce *DforceFilterer) FilterUnpaused(opts *bind.FilterOpts) (*DforceUnpausedIterator, error)

FilterUnpaused is a free log retrieval operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.

Solidity: event Unpaused(address admin)

func (*DforceFilterer) ParseDisableDToken

func (_Dforce *DforceFilterer) ParseDisableDToken(log types.Log) (*DforceDisableDToken, error)

ParseDisableDToken is a log parse operation binding the contract event 0xaf142643cc04854b375c86a81031bf9043111c3757c7e489c0e791dd30fe5252.

Solidity: event DisableDToken(address DToken, address token, uint256 DTokenBalance)

func (*DforceFilterer) ParseDisableToken

func (_Dforce *DforceFilterer) ParseDisableToken(log types.Log) (*DforceDisableToken, error)

ParseDisableToken is a log parse operation binding the contract event 0x3907c2f289c906800bbef774e6e4a476623eae8c1abc6cd0a78ef88aba9a6225.

Solidity: event DisableToken(address token)

func (*DforceFilterer) ParseDisableTrade

func (_Dforce *DforceFilterer) ParseDisableTrade(log types.Log) (*DforceDisableTrade, error)

ParseDisableTrade is a log parse operation binding the contract event 0x48026cd74df281df76fcaf355f758047053aba10579ac0251255ea125d28860b.

Solidity: event DisableTrade(address input, address output)

func (*DforceFilterer) ParseEmergencyStop

func (_Dforce *DforceFilterer) ParseEmergencyStop(log types.Log) (*DforceEmergencyStop, error)

ParseEmergencyStop is a log parse operation binding the contract event 0xcbe1b789cda412d9e1c647ed03d0c71e2f71484be36f9ca2b2a346b29edf1b70.

Solidity: event EmergencyStop(bool isOpen)

func (*DforceFilterer) ParseEnableDToken

func (_Dforce *DforceFilterer) ParseEnableDToken(log types.Log) (*DforceEnableDToken, error)

ParseEnableDToken is a log parse operation binding the contract event 0xb323e69a09394d23d413ed3452a32bfcb64cd9eaf2d5fc27e6a98b3ead0bd501.

Solidity: event EnableDToken(address DToken, address token, uint256 DTokenBalance)

func (*DforceFilterer) ParseEnableToken

func (_Dforce *DforceFilterer) ParseEnableToken(log types.Log) (*DforceEnableToken, error)

ParseEnableToken is a log parse operation binding the contract event 0x1f4b6598cc34e310cc34bcfcb372afb5ba5af654fad97b26cc10ae8289f1c62f.

Solidity: event EnableToken(address token)

func (*DforceFilterer) ParseEnableTrade

func (_Dforce *DforceFilterer) ParseEnableTrade(log types.Log) (*DforceEnableTrade, error)

ParseEnableTrade is a log parse operation binding the contract event 0x5a27ad565647c044a93ca5b40639a1cf6bcc69260317b5f05e4572cec28f773a.

Solidity: event EnableTrade(address input, address output)

func (*DforceFilterer) ParseLogSetAuthority

func (_Dforce *DforceFilterer) ParseLogSetAuthority(log types.Log) (*DforceLogSetAuthority, error)

ParseLogSetAuthority is a log parse operation binding the contract event 0x1abebea81bfa2637f28358c371278fb15ede7ea8dd28d2e03b112ff6d936ada4.

Solidity: event LogSetAuthority(address indexed authority)

func (*DforceFilterer) ParseLogSetOwner

func (_Dforce *DforceFilterer) ParseLogSetOwner(log types.Log) (*DforceLogSetOwner, error)

ParseLogSetOwner is a log parse operation binding the contract event 0xce241d7ca1f669fee44b6fc00b8eba2df3bb514eed0f6f668f8f89096e81ed94.

Solidity: event LogSetOwner(address indexed owner)

func (*DforceFilterer) ParseOwnerUpdate

func (_Dforce *DforceFilterer) ParseOwnerUpdate(log types.Log) (*DforceOwnerUpdate, error)

ParseOwnerUpdate is a log parse operation binding the contract event 0x343765429aea5a34b3ff6a3785a98a5abb2597aca87bfbb58632c173d585373a.

Solidity: event OwnerUpdate(address indexed owner, address indexed newOwner)

func (*DforceFilterer) ParsePaused

func (_Dforce *DforceFilterer) ParsePaused(log types.Log) (*DforcePaused, error)

ParsePaused is a log parse operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.

Solidity: event Paused(address admin)

func (*DforceFilterer) ParseSetFee

func (_Dforce *DforceFilterer) ParseSetFee(log types.Log) (*DforceSetFee, error)

ParseSetFee is a log parse operation binding the contract event 0x44a6d70a601a6f8a85c075467e9d7245897140cbf6dd505c9d9d764459f5fb64.

Solidity: event SetFee(address input, address output, uint256 fee)

func (*DforceFilterer) ParseSetMaxSwing

func (_Dforce *DforceFilterer) ParseSetMaxSwing(log types.Log) (*DforceSetMaxSwing, error)

ParseSetMaxSwing is a log parse operation binding the contract event 0x2d8b75edba0b3a319274edc8de327c1163f1b657579353fd93e6fc4a5eaafc5e.

Solidity: event SetMaxSwing(uint256 maxSwing)

func (*DforceFilterer) ParseSetOracle

func (_Dforce *DforceFilterer) ParseSetOracle(log types.Log) (*DforceSetOracle, error)

ParseSetOracle is a log parse operation binding the contract event 0xd3b5d1e0ffaeff528910f3663f0adace7694ab8241d58e17a91351ced2e08031.

Solidity: event SetOracle(address oracle)

func (*DforceFilterer) ParseSwap

func (_Dforce *DforceFilterer) ParseSwap(log types.Log) (*DforceSwap, error)

ParseSwap is a log parse operation binding the contract event 0x3c659b0d071f4048f56712c66ca2ab11885b2f4d5ad1029adbdd300aaa0c18d6.

Solidity: event Swap(address from, address to, address input, uint256 inputAmount, uint256 inputPrice, address output, uint256 outputAmount, uint256 outputPrice)

func (*DforceFilterer) ParseTransferIn

func (_Dforce *DforceFilterer) ParseTransferIn(log types.Log) (*DforceTransferIn, error)

ParseTransferIn is a log parse operation binding the contract event 0x79f2c52b850a60522f5c49f634599f750fba2a92c9112ea49634c172d3d93ab6.

Solidity: event TransferIn(address token, uint256 amount, uint256 balance)

func (*DforceFilterer) ParseTransferOut

func (_Dforce *DforceFilterer) ParseTransferOut(log types.Log) (*DforceTransferOut, error)

ParseTransferOut is a log parse operation binding the contract event 0x08d474da06d67ac0e0658410133ac9d6a35c74cfb6c9da5f68bbd68e66230534.

Solidity: event TransferOut(address token, address receiver, uint256 amount, uint256 balance)

func (*DforceFilterer) ParseUnpaused

func (_Dforce *DforceFilterer) ParseUnpaused(log types.Log) (*DforceUnpaused, error)

ParseUnpaused is a log parse operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.

Solidity: event Unpaused(address admin)

func (*DforceFilterer) WatchDisableDToken

func (_Dforce *DforceFilterer) WatchDisableDToken(opts *bind.WatchOpts, sink chan<- *DforceDisableDToken) (event.Subscription, error)

WatchDisableDToken is a free log subscription operation binding the contract event 0xaf142643cc04854b375c86a81031bf9043111c3757c7e489c0e791dd30fe5252.

Solidity: event DisableDToken(address DToken, address token, uint256 DTokenBalance)

func (*DforceFilterer) WatchDisableToken

func (_Dforce *DforceFilterer) WatchDisableToken(opts *bind.WatchOpts, sink chan<- *DforceDisableToken) (event.Subscription, error)

WatchDisableToken is a free log subscription operation binding the contract event 0x3907c2f289c906800bbef774e6e4a476623eae8c1abc6cd0a78ef88aba9a6225.

Solidity: event DisableToken(address token)

func (*DforceFilterer) WatchDisableTrade

func (_Dforce *DforceFilterer) WatchDisableTrade(opts *bind.WatchOpts, sink chan<- *DforceDisableTrade) (event.Subscription, error)

WatchDisableTrade is a free log subscription operation binding the contract event 0x48026cd74df281df76fcaf355f758047053aba10579ac0251255ea125d28860b.

Solidity: event DisableTrade(address input, address output)

func (*DforceFilterer) WatchEmergencyStop

func (_Dforce *DforceFilterer) WatchEmergencyStop(opts *bind.WatchOpts, sink chan<- *DforceEmergencyStop) (event.Subscription, error)

WatchEmergencyStop is a free log subscription operation binding the contract event 0xcbe1b789cda412d9e1c647ed03d0c71e2f71484be36f9ca2b2a346b29edf1b70.

Solidity: event EmergencyStop(bool isOpen)

func (*DforceFilterer) WatchEnableDToken

func (_Dforce *DforceFilterer) WatchEnableDToken(opts *bind.WatchOpts, sink chan<- *DforceEnableDToken) (event.Subscription, error)

WatchEnableDToken is a free log subscription operation binding the contract event 0xb323e69a09394d23d413ed3452a32bfcb64cd9eaf2d5fc27e6a98b3ead0bd501.

Solidity: event EnableDToken(address DToken, address token, uint256 DTokenBalance)

func (*DforceFilterer) WatchEnableToken

func (_Dforce *DforceFilterer) WatchEnableToken(opts *bind.WatchOpts, sink chan<- *DforceEnableToken) (event.Subscription, error)

WatchEnableToken is a free log subscription operation binding the contract event 0x1f4b6598cc34e310cc34bcfcb372afb5ba5af654fad97b26cc10ae8289f1c62f.

Solidity: event EnableToken(address token)

func (*DforceFilterer) WatchEnableTrade

func (_Dforce *DforceFilterer) WatchEnableTrade(opts *bind.WatchOpts, sink chan<- *DforceEnableTrade) (event.Subscription, error)

WatchEnableTrade is a free log subscription operation binding the contract event 0x5a27ad565647c044a93ca5b40639a1cf6bcc69260317b5f05e4572cec28f773a.

Solidity: event EnableTrade(address input, address output)

func (*DforceFilterer) WatchLogSetAuthority

func (_Dforce *DforceFilterer) WatchLogSetAuthority(opts *bind.WatchOpts, sink chan<- *DforceLogSetAuthority, authority []common.Address) (event.Subscription, error)

WatchLogSetAuthority is a free log subscription operation binding the contract event 0x1abebea81bfa2637f28358c371278fb15ede7ea8dd28d2e03b112ff6d936ada4.

Solidity: event LogSetAuthority(address indexed authority)

func (*DforceFilterer) WatchLogSetOwner

func (_Dforce *DforceFilterer) WatchLogSetOwner(opts *bind.WatchOpts, sink chan<- *DforceLogSetOwner, owner []common.Address) (event.Subscription, error)

WatchLogSetOwner is a free log subscription operation binding the contract event 0xce241d7ca1f669fee44b6fc00b8eba2df3bb514eed0f6f668f8f89096e81ed94.

Solidity: event LogSetOwner(address indexed owner)

func (*DforceFilterer) WatchOwnerUpdate

func (_Dforce *DforceFilterer) WatchOwnerUpdate(opts *bind.WatchOpts, sink chan<- *DforceOwnerUpdate, owner []common.Address, newOwner []common.Address) (event.Subscription, error)

WatchOwnerUpdate is a free log subscription operation binding the contract event 0x343765429aea5a34b3ff6a3785a98a5abb2597aca87bfbb58632c173d585373a.

Solidity: event OwnerUpdate(address indexed owner, address indexed newOwner)

func (*DforceFilterer) WatchPaused

func (_Dforce *DforceFilterer) WatchPaused(opts *bind.WatchOpts, sink chan<- *DforcePaused) (event.Subscription, error)

WatchPaused is a free log subscription operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.

Solidity: event Paused(address admin)

func (*DforceFilterer) WatchSetFee

func (_Dforce *DforceFilterer) WatchSetFee(opts *bind.WatchOpts, sink chan<- *DforceSetFee) (event.Subscription, error)

WatchSetFee is a free log subscription operation binding the contract event 0x44a6d70a601a6f8a85c075467e9d7245897140cbf6dd505c9d9d764459f5fb64.

Solidity: event SetFee(address input, address output, uint256 fee)

func (*DforceFilterer) WatchSetMaxSwing

func (_Dforce *DforceFilterer) WatchSetMaxSwing(opts *bind.WatchOpts, sink chan<- *DforceSetMaxSwing) (event.Subscription, error)

WatchSetMaxSwing is a free log subscription operation binding the contract event 0x2d8b75edba0b3a319274edc8de327c1163f1b657579353fd93e6fc4a5eaafc5e.

Solidity: event SetMaxSwing(uint256 maxSwing)

func (*DforceFilterer) WatchSetOracle

func (_Dforce *DforceFilterer) WatchSetOracle(opts *bind.WatchOpts, sink chan<- *DforceSetOracle) (event.Subscription, error)

WatchSetOracle is a free log subscription operation binding the contract event 0xd3b5d1e0ffaeff528910f3663f0adace7694ab8241d58e17a91351ced2e08031.

Solidity: event SetOracle(address oracle)

func (*DforceFilterer) WatchSwap

func (_Dforce *DforceFilterer) WatchSwap(opts *bind.WatchOpts, sink chan<- *DforceSwap) (event.Subscription, error)

WatchSwap is a free log subscription operation binding the contract event 0x3c659b0d071f4048f56712c66ca2ab11885b2f4d5ad1029adbdd300aaa0c18d6.

Solidity: event Swap(address from, address to, address input, uint256 inputAmount, uint256 inputPrice, address output, uint256 outputAmount, uint256 outputPrice)

func (*DforceFilterer) WatchTransferIn

func (_Dforce *DforceFilterer) WatchTransferIn(opts *bind.WatchOpts, sink chan<- *DforceTransferIn) (event.Subscription, error)

WatchTransferIn is a free log subscription operation binding the contract event 0x79f2c52b850a60522f5c49f634599f750fba2a92c9112ea49634c172d3d93ab6.

Solidity: event TransferIn(address token, uint256 amount, uint256 balance)

func (*DforceFilterer) WatchTransferOut

func (_Dforce *DforceFilterer) WatchTransferOut(opts *bind.WatchOpts, sink chan<- *DforceTransferOut) (event.Subscription, error)

WatchTransferOut is a free log subscription operation binding the contract event 0x08d474da06d67ac0e0658410133ac9d6a35c74cfb6c9da5f68bbd68e66230534.

Solidity: event TransferOut(address token, address receiver, uint256 amount, uint256 balance)

func (*DforceFilterer) WatchUnpaused

func (_Dforce *DforceFilterer) WatchUnpaused(opts *bind.WatchOpts, sink chan<- *DforceUnpaused) (event.Subscription, error)

WatchUnpaused is a free log subscription operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.

Solidity: event Unpaused(address admin)

type DforceLogSetAuthority

type DforceLogSetAuthority struct {
	Authority common.Address
	Raw       types.Log // Blockchain specific contextual infos
}

DforceLogSetAuthority represents a LogSetAuthority event raised by the Dforce contract.

type DforceLogSetAuthorityIterator

type DforceLogSetAuthorityIterator struct {
	Event *DforceLogSetAuthority // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

DforceLogSetAuthorityIterator is returned from FilterLogSetAuthority and is used to iterate over the raw logs and unpacked data for LogSetAuthority events raised by the Dforce contract.

func (*DforceLogSetAuthorityIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*DforceLogSetAuthorityIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*DforceLogSetAuthorityIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type DforceLogSetOwner

type DforceLogSetOwner struct {
	Owner common.Address
	Raw   types.Log // Blockchain specific contextual infos
}

DforceLogSetOwner represents a LogSetOwner event raised by the Dforce contract.

type DforceLogSetOwnerIterator

type DforceLogSetOwnerIterator struct {
	Event *DforceLogSetOwner // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

DforceLogSetOwnerIterator is returned from FilterLogSetOwner and is used to iterate over the raw logs and unpacked data for LogSetOwner events raised by the Dforce contract.

func (*DforceLogSetOwnerIterator) Close

func (it *DforceLogSetOwnerIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*DforceLogSetOwnerIterator) Error

func (it *DforceLogSetOwnerIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*DforceLogSetOwnerIterator) Next

func (it *DforceLogSetOwnerIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type DforceOwnerUpdate

type DforceOwnerUpdate struct {
	Owner    common.Address
	NewOwner common.Address
	Raw      types.Log // Blockchain specific contextual infos
}

DforceOwnerUpdate represents a OwnerUpdate event raised by the Dforce contract.

type DforceOwnerUpdateIterator

type DforceOwnerUpdateIterator struct {
	Event *DforceOwnerUpdate // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

DforceOwnerUpdateIterator is returned from FilterOwnerUpdate and is used to iterate over the raw logs and unpacked data for OwnerUpdate events raised by the Dforce contract.

func (*DforceOwnerUpdateIterator) Close

func (it *DforceOwnerUpdateIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*DforceOwnerUpdateIterator) Error

func (it *DforceOwnerUpdateIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*DforceOwnerUpdateIterator) Next

func (it *DforceOwnerUpdateIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type DforcePaused

type DforcePaused struct {
	Admin common.Address
	Raw   types.Log // Blockchain specific contextual infos
}

DforcePaused represents a Paused event raised by the Dforce contract.

type DforcePausedIterator

type DforcePausedIterator struct {
	Event *DforcePaused // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

DforcePausedIterator is returned from FilterPaused and is used to iterate over the raw logs and unpacked data for Paused events raised by the Dforce contract.

func (*DforcePausedIterator) Close

func (it *DforcePausedIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*DforcePausedIterator) Error

func (it *DforcePausedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*DforcePausedIterator) Next

func (it *DforcePausedIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type DforceRaw

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

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

func (*DforceRaw) Call

func (_Dforce *DforceRaw) 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 (*DforceRaw) Transact

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

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

func (*DforceRaw) Transfer

func (_Dforce *DforceRaw) 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 DforceSession

type DforceSession struct {
	Contract     *Dforce           // 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
}

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

func (*DforceSession) AcceptOwnership

func (_Dforce *DforceSession) AcceptOwnership() (*types.Transaction, error)

AcceptOwnership is a paid mutator transaction binding the contract method 0x79ba5097.

Solidity: function acceptOwnership() returns()

func (*DforceSession) Active

func (_Dforce *DforceSession) Active(_oracle common.Address) (*types.Transaction, error)

Active is a paid mutator transaction binding the contract method 0x4ea71327.

Solidity: function active(address _oracle) returns()

func (*DforceSession) Authority

func (_Dforce *DforceSession) Authority() (common.Address, error)

Authority is a free data retrieval call binding the contract method 0xbf7e214f.

Solidity: function authority() view returns(address)

func (*DforceSession) DisableDToken

func (_Dforce *DforceSession) DisableDToken(_dToken common.Address) (*types.Transaction, error)

DisableDToken is a paid mutator transaction binding the contract method 0xea000b80.

Solidity: function disableDToken(address _dToken) returns()

func (*DforceSession) DisableOwnership

func (_Dforce *DforceSession) DisableOwnership() (*types.Transaction, error)

DisableOwnership is a paid mutator transaction binding the contract method 0x93c0b096.

Solidity: function disableOwnership() returns()

func (*DforceSession) DisableToken

func (_Dforce *DforceSession) DisableToken(_token common.Address) (*types.Transaction, error)

DisableToken is a paid mutator transaction binding the contract method 0x23e27a64.

Solidity: function disableToken(address _token) returns()

func (*DforceSession) DisableTrade

func (_Dforce *DforceSession) DisableTrade(_input common.Address, _output common.Address) (*types.Transaction, error)

DisableTrade is a paid mutator transaction binding the contract method 0xb80e706a.

Solidity: function disableTrade(address _input, address _output) returns()

func (*DforceSession) EmergencyStop

func (_Dforce *DforceSession) EmergencyStop(_changeStateTo bool) (*types.Transaction, error)

EmergencyStop is a paid mutator transaction binding the contract method 0x0ac62e02.

Solidity: function emergencyStop(bool _changeStateTo) returns()

func (*DforceSession) EnableDToken

func (_Dforce *DforceSession) EnableDToken(_dToken common.Address) (*types.Transaction, error)

EnableDToken is a paid mutator transaction binding the contract method 0x4a67645c.

Solidity: function enableDToken(address _dToken) returns()

func (*DforceSession) EnableToken

func (_Dforce *DforceSession) EnableToken(_token common.Address) (*types.Transaction, error)

EnableToken is a paid mutator transaction binding the contract method 0xc690908a.

Solidity: function enableToken(address _token) returns()

func (*DforceSession) EnableTrade

func (_Dforce *DforceSession) EnableTrade(_input common.Address, _output common.Address) (*types.Transaction, error)

EnableTrade is a paid mutator transaction binding the contract method 0x800cf13d.

Solidity: function enableTrade(address _input, address _output) returns()

func (*DforceSession) ExchangeRate

func (_Dforce *DforceSession) ExchangeRate(_input common.Address, _output common.Address) (*big.Int, error)

ExchangeRate is a free data retrieval call binding the contract method 0xccb0101b.

Solidity: function exchangeRate(address _input, address _output) view returns(uint256)

func (*DforceSession) Fee

func (_Dforce *DforceSession) Fee(arg0 common.Address, arg1 common.Address) (*big.Int, error)

Fee is a free data retrieval call binding the contract method 0xbe5011a1.

Solidity: function fee(address , address ) view returns(uint256)

func (*DforceSession) GetAmountByInput

func (_Dforce *DforceSession) GetAmountByInput(_input common.Address, _output common.Address, _inputAmount *big.Int) (*big.Int, error)

GetAmountByInput is a free data retrieval call binding the contract method 0xaf77fedb.

Solidity: function getAmountByInput(address _input, address _output, uint256 _inputAmount) view returns(uint256)

func (*DforceSession) GetAmountByOutput

func (_Dforce *DforceSession) GetAmountByOutput(_input common.Address, _output common.Address, _outputAmount *big.Int) (*big.Int, error)

GetAmountByOutput is a free data retrieval call binding the contract method 0xf6cf166f.

Solidity: function getAmountByOutput(address _input, address _output, uint256 _outputAmount) view returns(uint256)

func (*DforceSession) GetBestOutputByInput

func (_Dforce *DforceSession) GetBestOutputByInput(_input common.Address, _output common.Address, _inputAmount *big.Int) (*big.Int, error)

GetBestOutputByInput is a free data retrieval call binding the contract method 0x858efd4b.

Solidity: function getBestOutputByInput(address _input, address _output, uint256 _inputAmount) view returns(uint256)

func (*DforceSession) GetLiquidity

func (_Dforce *DforceSession) GetLiquidity(_token common.Address) (*big.Int, error)

GetLiquidity is a free data retrieval call binding the contract method 0xa747b93b.

Solidity: function getLiquidity(address _token) view returns(uint256)

func (*DforceSession) IsOpen

func (_Dforce *DforceSession) IsOpen() (bool, error)

IsOpen is a free data retrieval call binding the contract method 0x47535d7b.

Solidity: function isOpen() view returns(bool)

func (*DforceSession) MaxSwing

func (_Dforce *DforceSession) MaxSwing() (*big.Int, error)

MaxSwing is a free data retrieval call binding the contract method 0xc5faf1d5.

Solidity: function maxSwing() view returns(uint256)

func (*DforceSession) NewOwner

func (_Dforce *DforceSession) NewOwner() (common.Address, error)

NewOwner is a free data retrieval call binding the contract method 0xd4ee1d90.

Solidity: function newOwner() view returns(address)

func (*DforceSession) Oracle

func (_Dforce *DforceSession) Oracle() (common.Address, error)

Oracle is a free data retrieval call binding the contract method 0x7dc0d1d0.

Solidity: function oracle() view returns(address)

func (*DforceSession) Owner

func (_Dforce *DforceSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*DforceSession) Pause

func (_Dforce *DforceSession) Pause() (*types.Transaction, error)

Pause is a paid mutator transaction binding the contract method 0x8456cb59.

Solidity: function pause() returns()

func (*DforceSession) Paused

func (_Dforce *DforceSession) Paused() (bool, error)

Paused is a free data retrieval call binding the contract method 0x5c975abb.

Solidity: function paused() view returns(bool)

func (*DforceSession) RemainingDToken

func (_Dforce *DforceSession) RemainingDToken(arg0 common.Address) (common.Address, error)

RemainingDToken is a free data retrieval call binding the contract method 0x3a8921a7.

Solidity: function remainingDToken(address ) view returns(address)

func (*DforceSession) SetAuthority

func (_Dforce *DforceSession) SetAuthority(authority_ common.Address) (*types.Transaction, error)

SetAuthority is a paid mutator transaction binding the contract method 0x7a9e5e4b.

Solidity: function setAuthority(address authority_) returns()

func (*DforceSession) SetFee

func (_Dforce *DforceSession) SetFee(_input common.Address, _output common.Address, _fee *big.Int) (*types.Transaction, error)

SetFee is a paid mutator transaction binding the contract method 0xdc7e98df.

Solidity: function setFee(address _input, address _output, uint256 _fee) returns()

func (*DforceSession) SetFeeBatch

func (_Dforce *DforceSession) SetFeeBatch(_input []common.Address, _output []common.Address, _fee []*big.Int) (*types.Transaction, error)

SetFeeBatch is a paid mutator transaction binding the contract method 0x8ff76519.

Solidity: function setFeeBatch(address[] _input, address[] _output, uint256[] _fee) returns()

func (*DforceSession) SetMaxSwing

func (_Dforce *DforceSession) SetMaxSwing(_maxSwing *big.Int) (*types.Transaction, error)

SetMaxSwing is a paid mutator transaction binding the contract method 0x3e36b146.

Solidity: function setMaxSwing(uint256 _maxSwing) returns()

func (*DforceSession) SetOracle

func (_Dforce *DforceSession) SetOracle(_oracle common.Address) (*types.Transaction, error)

SetOracle is a paid mutator transaction binding the contract method 0x7adbf973.

Solidity: function setOracle(address _oracle) returns()

func (*DforceSession) SupportDToken

func (_Dforce *DforceSession) SupportDToken(arg0 common.Address) (common.Address, error)

SupportDToken is a free data retrieval call binding the contract method 0xd6692462.

Solidity: function supportDToken(address ) view returns(address)

func (*DforceSession) Swap

func (_Dforce *DforceSession) Swap(_input common.Address, _output common.Address, _inputAmount *big.Int, _receiver common.Address) (*types.Transaction, error)

Swap is a paid mutator transaction binding the contract method 0x6e81221c.

Solidity: function swap(address _input, address _output, uint256 _inputAmount, address _receiver) returns()

func (*DforceSession) Swap0

func (_Dforce *DforceSession) Swap0(_input common.Address, _output common.Address, _inputAmount *big.Int) (*types.Transaction, error)

Swap0 is a paid mutator transaction binding the contract method 0xdf791e50.

Solidity: function swap(address _input, address _output, uint256 _inputAmount) returns()

func (*DforceSession) SwapTo

func (_Dforce *DforceSession) SwapTo(_input common.Address, _output common.Address, _outputAmount *big.Int, _receiver common.Address) (*types.Transaction, error)

SwapTo is a paid mutator transaction binding the contract method 0x2f7846a0.

Solidity: function swapTo(address _input, address _output, uint256 _outputAmount, address _receiver) returns()

func (*DforceSession) SwapTo0

func (_Dforce *DforceSession) SwapTo0(_input common.Address, _output common.Address, _outputAmount *big.Int) (*types.Transaction, error)

SwapTo0 is a paid mutator transaction binding the contract method 0x95ff216f.

Solidity: function swapTo(address _input, address _output, uint256 _outputAmount) returns()

func (*DforceSession) TokensEnable

func (_Dforce *DforceSession) TokensEnable(arg0 common.Address) (bool, error)

TokensEnable is a free data retrieval call binding the contract method 0x338a6397.

Solidity: function tokensEnable(address ) view returns(bool)

func (*DforceSession) TradesDisable

func (_Dforce *DforceSession) TradesDisable(arg0 common.Address, arg1 common.Address) (bool, error)

TradesDisable is a free data retrieval call binding the contract method 0xb1db0a6e.

Solidity: function tradesDisable(address , address ) view returns(bool)

func (*DforceSession) TransferIn

func (_Dforce *DforceSession) TransferIn(_token common.Address, _amount *big.Int) (*types.Transaction, error)

TransferIn is a paid mutator transaction binding the contract method 0xe8888915.

Solidity: function transferIn(address _token, uint256 _amount) returns()

func (*DforceSession) TransferOut

func (_Dforce *DforceSession) TransferOut(_token common.Address, _receiver common.Address, _amount *big.Int) (*types.Transaction, error)

TransferOut is a paid mutator transaction binding the contract method 0x078d3b79.

Solidity: function transferOut(address _token, address _receiver, uint256 _amount) returns()

func (*DforceSession) TransferOutALL

func (_Dforce *DforceSession) TransferOutALL(_token common.Address, _receiver common.Address) (*types.Transaction, error)

TransferOutALL is a paid mutator transaction binding the contract method 0x381dc1e5.

Solidity: function transferOutALL(address _token, address _receiver) returns()

func (*DforceSession) TransferOwnership

func (_Dforce *DforceSession) 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 (*DforceSession) Unpause

func (_Dforce *DforceSession) Unpause() (*types.Transaction, error)

Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.

Solidity: function unpause() returns()

type DforceSetFee

type DforceSetFee struct {
	Input  common.Address
	Output common.Address
	Fee    *big.Int
	Raw    types.Log // Blockchain specific contextual infos
}

DforceSetFee represents a SetFee event raised by the Dforce contract.

type DforceSetFeeIterator

type DforceSetFeeIterator struct {
	Event *DforceSetFee // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

DforceSetFeeIterator is returned from FilterSetFee and is used to iterate over the raw logs and unpacked data for SetFee events raised by the Dforce contract.

func (*DforceSetFeeIterator) Close

func (it *DforceSetFeeIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*DforceSetFeeIterator) Error

func (it *DforceSetFeeIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*DforceSetFeeIterator) Next

func (it *DforceSetFeeIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type DforceSetMaxSwing

type DforceSetMaxSwing struct {
	MaxSwing *big.Int
	Raw      types.Log // Blockchain specific contextual infos
}

DforceSetMaxSwing represents a SetMaxSwing event raised by the Dforce contract.

type DforceSetMaxSwingIterator

type DforceSetMaxSwingIterator struct {
	Event *DforceSetMaxSwing // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

DforceSetMaxSwingIterator is returned from FilterSetMaxSwing and is used to iterate over the raw logs and unpacked data for SetMaxSwing events raised by the Dforce contract.

func (*DforceSetMaxSwingIterator) Close

func (it *DforceSetMaxSwingIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*DforceSetMaxSwingIterator) Error

func (it *DforceSetMaxSwingIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*DforceSetMaxSwingIterator) Next

func (it *DforceSetMaxSwingIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type DforceSetOracle

type DforceSetOracle struct {
	Oracle common.Address
	Raw    types.Log // Blockchain specific contextual infos
}

DforceSetOracle represents a SetOracle event raised by the Dforce contract.

type DforceSetOracleIterator

type DforceSetOracleIterator struct {
	Event *DforceSetOracle // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

DforceSetOracleIterator is returned from FilterSetOracle and is used to iterate over the raw logs and unpacked data for SetOracle events raised by the Dforce contract.

func (*DforceSetOracleIterator) Close

func (it *DforceSetOracleIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*DforceSetOracleIterator) Error

func (it *DforceSetOracleIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*DforceSetOracleIterator) Next

func (it *DforceSetOracleIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type DforceSwap

type DforceSwap struct {
	From         common.Address
	To           common.Address
	Input        common.Address
	InputAmount  *big.Int
	InputPrice   *big.Int
	Output       common.Address
	OutputAmount *big.Int
	OutputPrice  *big.Int
	Raw          types.Log // Blockchain specific contextual infos
}

DforceSwap represents a Swap event raised by the Dforce contract.

type DforceSwapIterator

type DforceSwapIterator struct {
	Event *DforceSwap // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

DforceSwapIterator is returned from FilterSwap and is used to iterate over the raw logs and unpacked data for Swap events raised by the Dforce contract.

func (*DforceSwapIterator) Close

func (it *DforceSwapIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*DforceSwapIterator) Error

func (it *DforceSwapIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*DforceSwapIterator) Next

func (it *DforceSwapIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type DforceTransactor

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

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

func NewDforceTransactor

func NewDforceTransactor(address common.Address, transactor bind.ContractTransactor) (*DforceTransactor, error)

NewDforceTransactor creates a new write-only instance of Dforce, bound to a specific deployed contract.

func (*DforceTransactor) AcceptOwnership

func (_Dforce *DforceTransactor) AcceptOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

AcceptOwnership is a paid mutator transaction binding the contract method 0x79ba5097.

Solidity: function acceptOwnership() returns()

func (*DforceTransactor) Active

func (_Dforce *DforceTransactor) Active(opts *bind.TransactOpts, _oracle common.Address) (*types.Transaction, error)

Active is a paid mutator transaction binding the contract method 0x4ea71327.

Solidity: function active(address _oracle) returns()

func (*DforceTransactor) DisableDToken

func (_Dforce *DforceTransactor) DisableDToken(opts *bind.TransactOpts, _dToken common.Address) (*types.Transaction, error)

DisableDToken is a paid mutator transaction binding the contract method 0xea000b80.

Solidity: function disableDToken(address _dToken) returns()

func (*DforceTransactor) DisableOwnership

func (_Dforce *DforceTransactor) DisableOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

DisableOwnership is a paid mutator transaction binding the contract method 0x93c0b096.

Solidity: function disableOwnership() returns()

func (*DforceTransactor) DisableToken

func (_Dforce *DforceTransactor) DisableToken(opts *bind.TransactOpts, _token common.Address) (*types.Transaction, error)

DisableToken is a paid mutator transaction binding the contract method 0x23e27a64.

Solidity: function disableToken(address _token) returns()

func (*DforceTransactor) DisableTrade

func (_Dforce *DforceTransactor) DisableTrade(opts *bind.TransactOpts, _input common.Address, _output common.Address) (*types.Transaction, error)

DisableTrade is a paid mutator transaction binding the contract method 0xb80e706a.

Solidity: function disableTrade(address _input, address _output) returns()

func (*DforceTransactor) EmergencyStop

func (_Dforce *DforceTransactor) EmergencyStop(opts *bind.TransactOpts, _changeStateTo bool) (*types.Transaction, error)

EmergencyStop is a paid mutator transaction binding the contract method 0x0ac62e02.

Solidity: function emergencyStop(bool _changeStateTo) returns()

func (*DforceTransactor) EnableDToken

func (_Dforce *DforceTransactor) EnableDToken(opts *bind.TransactOpts, _dToken common.Address) (*types.Transaction, error)

EnableDToken is a paid mutator transaction binding the contract method 0x4a67645c.

Solidity: function enableDToken(address _dToken) returns()

func (*DforceTransactor) EnableToken

func (_Dforce *DforceTransactor) EnableToken(opts *bind.TransactOpts, _token common.Address) (*types.Transaction, error)

EnableToken is a paid mutator transaction binding the contract method 0xc690908a.

Solidity: function enableToken(address _token) returns()

func (*DforceTransactor) EnableTrade

func (_Dforce *DforceTransactor) EnableTrade(opts *bind.TransactOpts, _input common.Address, _output common.Address) (*types.Transaction, error)

EnableTrade is a paid mutator transaction binding the contract method 0x800cf13d.

Solidity: function enableTrade(address _input, address _output) returns()

func (*DforceTransactor) Pause

func (_Dforce *DforceTransactor) Pause(opts *bind.TransactOpts) (*types.Transaction, error)

Pause is a paid mutator transaction binding the contract method 0x8456cb59.

Solidity: function pause() returns()

func (*DforceTransactor) SetAuthority

func (_Dforce *DforceTransactor) SetAuthority(opts *bind.TransactOpts, authority_ common.Address) (*types.Transaction, error)

SetAuthority is a paid mutator transaction binding the contract method 0x7a9e5e4b.

Solidity: function setAuthority(address authority_) returns()

func (*DforceTransactor) SetFee

func (_Dforce *DforceTransactor) SetFee(opts *bind.TransactOpts, _input common.Address, _output common.Address, _fee *big.Int) (*types.Transaction, error)

SetFee is a paid mutator transaction binding the contract method 0xdc7e98df.

Solidity: function setFee(address _input, address _output, uint256 _fee) returns()

func (*DforceTransactor) SetFeeBatch

func (_Dforce *DforceTransactor) SetFeeBatch(opts *bind.TransactOpts, _input []common.Address, _output []common.Address, _fee []*big.Int) (*types.Transaction, error)

SetFeeBatch is a paid mutator transaction binding the contract method 0x8ff76519.

Solidity: function setFeeBatch(address[] _input, address[] _output, uint256[] _fee) returns()

func (*DforceTransactor) SetMaxSwing

func (_Dforce *DforceTransactor) SetMaxSwing(opts *bind.TransactOpts, _maxSwing *big.Int) (*types.Transaction, error)

SetMaxSwing is a paid mutator transaction binding the contract method 0x3e36b146.

Solidity: function setMaxSwing(uint256 _maxSwing) returns()

func (*DforceTransactor) SetOracle

func (_Dforce *DforceTransactor) SetOracle(opts *bind.TransactOpts, _oracle common.Address) (*types.Transaction, error)

SetOracle is a paid mutator transaction binding the contract method 0x7adbf973.

Solidity: function setOracle(address _oracle) returns()

func (*DforceTransactor) Swap

func (_Dforce *DforceTransactor) Swap(opts *bind.TransactOpts, _input common.Address, _output common.Address, _inputAmount *big.Int, _receiver common.Address) (*types.Transaction, error)

Swap is a paid mutator transaction binding the contract method 0x6e81221c.

Solidity: function swap(address _input, address _output, uint256 _inputAmount, address _receiver) returns()

func (*DforceTransactor) Swap0

func (_Dforce *DforceTransactor) Swap0(opts *bind.TransactOpts, _input common.Address, _output common.Address, _inputAmount *big.Int) (*types.Transaction, error)

Swap0 is a paid mutator transaction binding the contract method 0xdf791e50.

Solidity: function swap(address _input, address _output, uint256 _inputAmount) returns()

func (*DforceTransactor) SwapTo

func (_Dforce *DforceTransactor) SwapTo(opts *bind.TransactOpts, _input common.Address, _output common.Address, _outputAmount *big.Int, _receiver common.Address) (*types.Transaction, error)

SwapTo is a paid mutator transaction binding the contract method 0x2f7846a0.

Solidity: function swapTo(address _input, address _output, uint256 _outputAmount, address _receiver) returns()

func (*DforceTransactor) SwapTo0

func (_Dforce *DforceTransactor) SwapTo0(opts *bind.TransactOpts, _input common.Address, _output common.Address, _outputAmount *big.Int) (*types.Transaction, error)

SwapTo0 is a paid mutator transaction binding the contract method 0x95ff216f.

Solidity: function swapTo(address _input, address _output, uint256 _outputAmount) returns()

func (*DforceTransactor) TransferIn

func (_Dforce *DforceTransactor) TransferIn(opts *bind.TransactOpts, _token common.Address, _amount *big.Int) (*types.Transaction, error)

TransferIn is a paid mutator transaction binding the contract method 0xe8888915.

Solidity: function transferIn(address _token, uint256 _amount) returns()

func (*DforceTransactor) TransferOut

func (_Dforce *DforceTransactor) TransferOut(opts *bind.TransactOpts, _token common.Address, _receiver common.Address, _amount *big.Int) (*types.Transaction, error)

TransferOut is a paid mutator transaction binding the contract method 0x078d3b79.

Solidity: function transferOut(address _token, address _receiver, uint256 _amount) returns()

func (*DforceTransactor) TransferOutALL

func (_Dforce *DforceTransactor) TransferOutALL(opts *bind.TransactOpts, _token common.Address, _receiver common.Address) (*types.Transaction, error)

TransferOutALL is a paid mutator transaction binding the contract method 0x381dc1e5.

Solidity: function transferOutALL(address _token, address _receiver) returns()

func (*DforceTransactor) TransferOwnership

func (_Dforce *DforceTransactor) 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 (*DforceTransactor) Unpause

func (_Dforce *DforceTransactor) Unpause(opts *bind.TransactOpts) (*types.Transaction, error)

Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.

Solidity: function unpause() returns()

type DforceTransactorRaw

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

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

func (*DforceTransactorRaw) Transact

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

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

func (*DforceTransactorRaw) Transfer

func (_Dforce *DforceTransactorRaw) 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 DforceTransactorSession

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

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

func (*DforceTransactorSession) AcceptOwnership

func (_Dforce *DforceTransactorSession) AcceptOwnership() (*types.Transaction, error)

AcceptOwnership is a paid mutator transaction binding the contract method 0x79ba5097.

Solidity: function acceptOwnership() returns()

func (*DforceTransactorSession) Active

func (_Dforce *DforceTransactorSession) Active(_oracle common.Address) (*types.Transaction, error)

Active is a paid mutator transaction binding the contract method 0x4ea71327.

Solidity: function active(address _oracle) returns()

func (*DforceTransactorSession) DisableDToken

func (_Dforce *DforceTransactorSession) DisableDToken(_dToken common.Address) (*types.Transaction, error)

DisableDToken is a paid mutator transaction binding the contract method 0xea000b80.

Solidity: function disableDToken(address _dToken) returns()

func (*DforceTransactorSession) DisableOwnership

func (_Dforce *DforceTransactorSession) DisableOwnership() (*types.Transaction, error)

DisableOwnership is a paid mutator transaction binding the contract method 0x93c0b096.

Solidity: function disableOwnership() returns()

func (*DforceTransactorSession) DisableToken

func (_Dforce *DforceTransactorSession) DisableToken(_token common.Address) (*types.Transaction, error)

DisableToken is a paid mutator transaction binding the contract method 0x23e27a64.

Solidity: function disableToken(address _token) returns()

func (*DforceTransactorSession) DisableTrade

func (_Dforce *DforceTransactorSession) DisableTrade(_input common.Address, _output common.Address) (*types.Transaction, error)

DisableTrade is a paid mutator transaction binding the contract method 0xb80e706a.

Solidity: function disableTrade(address _input, address _output) returns()

func (*DforceTransactorSession) EmergencyStop

func (_Dforce *DforceTransactorSession) EmergencyStop(_changeStateTo bool) (*types.Transaction, error)

EmergencyStop is a paid mutator transaction binding the contract method 0x0ac62e02.

Solidity: function emergencyStop(bool _changeStateTo) returns()

func (*DforceTransactorSession) EnableDToken

func (_Dforce *DforceTransactorSession) EnableDToken(_dToken common.Address) (*types.Transaction, error)

EnableDToken is a paid mutator transaction binding the contract method 0x4a67645c.

Solidity: function enableDToken(address _dToken) returns()

func (*DforceTransactorSession) EnableToken

func (_Dforce *DforceTransactorSession) EnableToken(_token common.Address) (*types.Transaction, error)

EnableToken is a paid mutator transaction binding the contract method 0xc690908a.

Solidity: function enableToken(address _token) returns()

func (*DforceTransactorSession) EnableTrade

func (_Dforce *DforceTransactorSession) EnableTrade(_input common.Address, _output common.Address) (*types.Transaction, error)

EnableTrade is a paid mutator transaction binding the contract method 0x800cf13d.

Solidity: function enableTrade(address _input, address _output) returns()

func (*DforceTransactorSession) Pause

func (_Dforce *DforceTransactorSession) Pause() (*types.Transaction, error)

Pause is a paid mutator transaction binding the contract method 0x8456cb59.

Solidity: function pause() returns()

func (*DforceTransactorSession) SetAuthority

func (_Dforce *DforceTransactorSession) SetAuthority(authority_ common.Address) (*types.Transaction, error)

SetAuthority is a paid mutator transaction binding the contract method 0x7a9e5e4b.

Solidity: function setAuthority(address authority_) returns()

func (*DforceTransactorSession) SetFee

func (_Dforce *DforceTransactorSession) SetFee(_input common.Address, _output common.Address, _fee *big.Int) (*types.Transaction, error)

SetFee is a paid mutator transaction binding the contract method 0xdc7e98df.

Solidity: function setFee(address _input, address _output, uint256 _fee) returns()

func (*DforceTransactorSession) SetFeeBatch

func (_Dforce *DforceTransactorSession) SetFeeBatch(_input []common.Address, _output []common.Address, _fee []*big.Int) (*types.Transaction, error)

SetFeeBatch is a paid mutator transaction binding the contract method 0x8ff76519.

Solidity: function setFeeBatch(address[] _input, address[] _output, uint256[] _fee) returns()

func (*DforceTransactorSession) SetMaxSwing

func (_Dforce *DforceTransactorSession) SetMaxSwing(_maxSwing *big.Int) (*types.Transaction, error)

SetMaxSwing is a paid mutator transaction binding the contract method 0x3e36b146.

Solidity: function setMaxSwing(uint256 _maxSwing) returns()

func (*DforceTransactorSession) SetOracle

func (_Dforce *DforceTransactorSession) SetOracle(_oracle common.Address) (*types.Transaction, error)

SetOracle is a paid mutator transaction binding the contract method 0x7adbf973.

Solidity: function setOracle(address _oracle) returns()

func (*DforceTransactorSession) Swap

func (_Dforce *DforceTransactorSession) Swap(_input common.Address, _output common.Address, _inputAmount *big.Int, _receiver common.Address) (*types.Transaction, error)

Swap is a paid mutator transaction binding the contract method 0x6e81221c.

Solidity: function swap(address _input, address _output, uint256 _inputAmount, address _receiver) returns()

func (*DforceTransactorSession) Swap0

func (_Dforce *DforceTransactorSession) Swap0(_input common.Address, _output common.Address, _inputAmount *big.Int) (*types.Transaction, error)

Swap0 is a paid mutator transaction binding the contract method 0xdf791e50.

Solidity: function swap(address _input, address _output, uint256 _inputAmount) returns()

func (*DforceTransactorSession) SwapTo

func (_Dforce *DforceTransactorSession) SwapTo(_input common.Address, _output common.Address, _outputAmount *big.Int, _receiver common.Address) (*types.Transaction, error)

SwapTo is a paid mutator transaction binding the contract method 0x2f7846a0.

Solidity: function swapTo(address _input, address _output, uint256 _outputAmount, address _receiver) returns()

func (*DforceTransactorSession) SwapTo0

func (_Dforce *DforceTransactorSession) SwapTo0(_input common.Address, _output common.Address, _outputAmount *big.Int) (*types.Transaction, error)

SwapTo0 is a paid mutator transaction binding the contract method 0x95ff216f.

Solidity: function swapTo(address _input, address _output, uint256 _outputAmount) returns()

func (*DforceTransactorSession) TransferIn

func (_Dforce *DforceTransactorSession) TransferIn(_token common.Address, _amount *big.Int) (*types.Transaction, error)

TransferIn is a paid mutator transaction binding the contract method 0xe8888915.

Solidity: function transferIn(address _token, uint256 _amount) returns()

func (*DforceTransactorSession) TransferOut

func (_Dforce *DforceTransactorSession) TransferOut(_token common.Address, _receiver common.Address, _amount *big.Int) (*types.Transaction, error)

TransferOut is a paid mutator transaction binding the contract method 0x078d3b79.

Solidity: function transferOut(address _token, address _receiver, uint256 _amount) returns()

func (*DforceTransactorSession) TransferOutALL

func (_Dforce *DforceTransactorSession) TransferOutALL(_token common.Address, _receiver common.Address) (*types.Transaction, error)

TransferOutALL is a paid mutator transaction binding the contract method 0x381dc1e5.

Solidity: function transferOutALL(address _token, address _receiver) returns()

func (*DforceTransactorSession) TransferOwnership

func (_Dforce *DforceTransactorSession) 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 (*DforceTransactorSession) Unpause

func (_Dforce *DforceTransactorSession) Unpause() (*types.Transaction, error)

Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.

Solidity: function unpause() returns()

type DforceTransferIn

type DforceTransferIn struct {
	Token   common.Address
	Amount  *big.Int
	Balance *big.Int
	Raw     types.Log // Blockchain specific contextual infos
}

DforceTransferIn represents a TransferIn event raised by the Dforce contract.

type DforceTransferInIterator

type DforceTransferInIterator struct {
	Event *DforceTransferIn // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

DforceTransferInIterator is returned from FilterTransferIn and is used to iterate over the raw logs and unpacked data for TransferIn events raised by the Dforce contract.

func (*DforceTransferInIterator) Close

func (it *DforceTransferInIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*DforceTransferInIterator) Error

func (it *DforceTransferInIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*DforceTransferInIterator) Next

func (it *DforceTransferInIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type DforceTransferOut

type DforceTransferOut struct {
	Token    common.Address
	Receiver common.Address
	Amount   *big.Int
	Balance  *big.Int
	Raw      types.Log // Blockchain specific contextual infos
}

DforceTransferOut represents a TransferOut event raised by the Dforce contract.

type DforceTransferOutIterator

type DforceTransferOutIterator struct {
	Event *DforceTransferOut // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

DforceTransferOutIterator is returned from FilterTransferOut and is used to iterate over the raw logs and unpacked data for TransferOut events raised by the Dforce contract.

func (*DforceTransferOutIterator) Close

func (it *DforceTransferOutIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*DforceTransferOutIterator) Error

func (it *DforceTransferOutIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*DforceTransferOutIterator) Next

func (it *DforceTransferOutIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type DforceUnpaused

type DforceUnpaused struct {
	Admin common.Address
	Raw   types.Log // Blockchain specific contextual infos
}

DforceUnpaused represents a Unpaused event raised by the Dforce contract.

type DforceUnpausedIterator

type DforceUnpausedIterator struct {
	Event *DforceUnpaused // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

DforceUnpausedIterator is returned from FilterUnpaused and is used to iterate over the raw logs and unpacked data for Unpaused events raised by the Dforce contract.

func (*DforceUnpausedIterator) Close

func (it *DforceUnpausedIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*DforceUnpausedIterator) Error

func (it *DforceUnpausedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*DforceUnpausedIterator) Next

func (it *DforceUnpausedIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type ERC20Token

type ERC20Token struct {
	ERC20TokenCaller     // Read-only binding to the contract
	ERC20TokenTransactor // Write-only binding to the contract
	ERC20TokenFilterer   // Log filterer for contract events
}

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

func NewERC20Token

func NewERC20Token(address common.Address, backend bind.ContractBackend) (*ERC20Token, error)

NewERC20Token creates a new instance of ERC20Token, bound to a specific deployed contract.

type ERC20TokenApproval

type ERC20TokenApproval struct {
	Owner   common.Address
	Spender common.Address
	Value   *big.Int
	Raw     types.Log // Blockchain specific contextual infos
}

ERC20TokenApproval represents a Approval event raised by the ERC20Token contract.

type ERC20TokenApprovalIterator

type ERC20TokenApprovalIterator struct {
	Event *ERC20TokenApproval // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

ERC20TokenApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the ERC20Token contract.

func (*ERC20TokenApprovalIterator) Close

func (it *ERC20TokenApprovalIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*ERC20TokenApprovalIterator) Error

func (it *ERC20TokenApprovalIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ERC20TokenApprovalIterator) Next

func (it *ERC20TokenApprovalIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type ERC20TokenCaller

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

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

func NewERC20TokenCaller

func NewERC20TokenCaller(address common.Address, caller bind.ContractCaller) (*ERC20TokenCaller, error)

NewERC20TokenCaller creates a new read-only instance of ERC20Token, bound to a specific deployed contract.

func (*ERC20TokenCaller) Allowance

func (_ERC20Token *ERC20TokenCaller) 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 (*ERC20TokenCaller) BalanceOf

func (_ERC20Token *ERC20TokenCaller) BalanceOf(opts *bind.CallOpts, _owner common.Address) (*big.Int, error)

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

Solidity: function balanceOf(address _owner) view returns(uint256 balance)

func (*ERC20TokenCaller) Decimals

func (_ERC20Token *ERC20TokenCaller) 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 (*ERC20TokenCaller) Name

func (_ERC20Token *ERC20TokenCaller) 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 (*ERC20TokenCaller) Symbol

func (_ERC20Token *ERC20TokenCaller) 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 (*ERC20TokenCaller) TotalSupply

func (_ERC20Token *ERC20TokenCaller) 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)

type ERC20TokenCallerRaw

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

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

func (*ERC20TokenCallerRaw) Call

func (_ERC20Token *ERC20TokenCallerRaw) 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 ERC20TokenCallerSession

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

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

func (*ERC20TokenCallerSession) Allowance

func (_ERC20Token *ERC20TokenCallerSession) 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 (*ERC20TokenCallerSession) BalanceOf

func (_ERC20Token *ERC20TokenCallerSession) BalanceOf(_owner common.Address) (*big.Int, error)

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

Solidity: function balanceOf(address _owner) view returns(uint256 balance)

func (*ERC20TokenCallerSession) Decimals

func (_ERC20Token *ERC20TokenCallerSession) Decimals() (uint8, error)

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

Solidity: function decimals() view returns(uint8)

func (*ERC20TokenCallerSession) Name

func (_ERC20Token *ERC20TokenCallerSession) Name() (string, error)

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

Solidity: function name() view returns(string)

func (*ERC20TokenCallerSession) Symbol

func (_ERC20Token *ERC20TokenCallerSession) Symbol() (string, error)

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

Solidity: function symbol() view returns(string)

func (*ERC20TokenCallerSession) TotalSupply

func (_ERC20Token *ERC20TokenCallerSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

type ERC20TokenFilterer

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

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

func NewERC20TokenFilterer

func NewERC20TokenFilterer(address common.Address, filterer bind.ContractFilterer) (*ERC20TokenFilterer, error)

NewERC20TokenFilterer creates a new log filterer instance of ERC20Token, bound to a specific deployed contract.

func (*ERC20TokenFilterer) FilterApproval

func (_ERC20Token *ERC20TokenFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*ERC20TokenApprovalIterator, error)

FilterApproval is a free log retrieval operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)

func (*ERC20TokenFilterer) FilterTransfer

func (_ERC20Token *ERC20TokenFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*ERC20TokenTransferIterator, error)

FilterTransfer is a free log retrieval operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed from, address indexed to, uint256 value)

func (*ERC20TokenFilterer) ParseApproval

func (_ERC20Token *ERC20TokenFilterer) ParseApproval(log types.Log) (*ERC20TokenApproval, error)

ParseApproval is a log parse operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)

func (*ERC20TokenFilterer) ParseTransfer

func (_ERC20Token *ERC20TokenFilterer) ParseTransfer(log types.Log) (*ERC20TokenTransfer, error)

ParseTransfer is a log parse operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed from, address indexed to, uint256 value)

func (*ERC20TokenFilterer) WatchApproval

func (_ERC20Token *ERC20TokenFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *ERC20TokenApproval, owner []common.Address, spender []common.Address) (event.Subscription, error)

WatchApproval is a free log subscription operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)

func (*ERC20TokenFilterer) WatchTransfer

func (_ERC20Token *ERC20TokenFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *ERC20TokenTransfer, from []common.Address, to []common.Address) (event.Subscription, error)

WatchTransfer is a free log subscription operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed from, address indexed to, uint256 value)

type ERC20TokenRaw

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

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

func (*ERC20TokenRaw) Call

func (_ERC20Token *ERC20TokenRaw) 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 (*ERC20TokenRaw) Transact

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

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

func (*ERC20TokenRaw) Transfer

func (_ERC20Token *ERC20TokenRaw) 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 ERC20TokenSession

type ERC20TokenSession struct {
	Contract     *ERC20Token       // 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
}

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

func (*ERC20TokenSession) Allowance

func (_ERC20Token *ERC20TokenSession) 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 (*ERC20TokenSession) Approve

func (_ERC20Token *ERC20TokenSession) Approve(_spender common.Address, _value *big.Int) (*types.Transaction, error)

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

Solidity: function approve(address _spender, uint256 _value) returns(bool)

func (*ERC20TokenSession) BalanceOf

func (_ERC20Token *ERC20TokenSession) BalanceOf(_owner common.Address) (*big.Int, error)

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

Solidity: function balanceOf(address _owner) view returns(uint256 balance)

func (*ERC20TokenSession) Decimals

func (_ERC20Token *ERC20TokenSession) Decimals() (uint8, error)

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

Solidity: function decimals() view returns(uint8)

func (*ERC20TokenSession) Fallback

func (_ERC20Token *ERC20TokenSession) Fallback(calldata []byte) (*types.Transaction, error)

Fallback is a paid mutator transaction binding the contract fallback function.

Solidity: fallback() payable returns()

func (*ERC20TokenSession) Name

func (_ERC20Token *ERC20TokenSession) Name() (string, error)

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

Solidity: function name() view returns(string)

func (*ERC20TokenSession) Symbol

func (_ERC20Token *ERC20TokenSession) Symbol() (string, error)

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

Solidity: function symbol() view returns(string)

func (*ERC20TokenSession) TotalSupply

func (_ERC20Token *ERC20TokenSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

func (*ERC20TokenSession) Transfer

func (_ERC20Token *ERC20TokenSession) Transfer(_to common.Address, _value *big.Int) (*types.Transaction, error)

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

Solidity: function transfer(address _to, uint256 _value) returns(bool)

func (*ERC20TokenSession) TransferFrom

func (_ERC20Token *ERC20TokenSession) TransferFrom(_from common.Address, _to common.Address, _value *big.Int) (*types.Transaction, error)

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

Solidity: function transferFrom(address _from, address _to, uint256 _value) returns(bool)

type ERC20TokenTransactor

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

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

func NewERC20TokenTransactor

func NewERC20TokenTransactor(address common.Address, transactor bind.ContractTransactor) (*ERC20TokenTransactor, error)

NewERC20TokenTransactor creates a new write-only instance of ERC20Token, bound to a specific deployed contract.

func (*ERC20TokenTransactor) Approve

func (_ERC20Token *ERC20TokenTransactor) Approve(opts *bind.TransactOpts, _spender common.Address, _value *big.Int) (*types.Transaction, error)

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

Solidity: function approve(address _spender, uint256 _value) returns(bool)

func (*ERC20TokenTransactor) Fallback

func (_ERC20Token *ERC20TokenTransactor) Fallback(opts *bind.TransactOpts, calldata []byte) (*types.Transaction, error)

Fallback is a paid mutator transaction binding the contract fallback function.

Solidity: fallback() payable returns()

func (*ERC20TokenTransactor) Transfer

func (_ERC20Token *ERC20TokenTransactor) Transfer(opts *bind.TransactOpts, _to common.Address, _value *big.Int) (*types.Transaction, error)

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

Solidity: function transfer(address _to, uint256 _value) returns(bool)

func (*ERC20TokenTransactor) TransferFrom

func (_ERC20Token *ERC20TokenTransactor) TransferFrom(opts *bind.TransactOpts, _from common.Address, _to common.Address, _value *big.Int) (*types.Transaction, error)

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

Solidity: function transferFrom(address _from, address _to, uint256 _value) returns(bool)

type ERC20TokenTransactorRaw

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

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

func (*ERC20TokenTransactorRaw) Transact

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

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

func (*ERC20TokenTransactorRaw) Transfer

func (_ERC20Token *ERC20TokenTransactorRaw) 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 ERC20TokenTransactorSession

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

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

func (*ERC20TokenTransactorSession) Approve

func (_ERC20Token *ERC20TokenTransactorSession) Approve(_spender common.Address, _value *big.Int) (*types.Transaction, error)

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

Solidity: function approve(address _spender, uint256 _value) returns(bool)

func (*ERC20TokenTransactorSession) Fallback

func (_ERC20Token *ERC20TokenTransactorSession) Fallback(calldata []byte) (*types.Transaction, error)

Fallback is a paid mutator transaction binding the contract fallback function.

Solidity: fallback() payable returns()

func (*ERC20TokenTransactorSession) Transfer

func (_ERC20Token *ERC20TokenTransactorSession) Transfer(_to common.Address, _value *big.Int) (*types.Transaction, error)

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

Solidity: function transfer(address _to, uint256 _value) returns(bool)

func (*ERC20TokenTransactorSession) TransferFrom

func (_ERC20Token *ERC20TokenTransactorSession) TransferFrom(_from common.Address, _to common.Address, _value *big.Int) (*types.Transaction, error)

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

Solidity: function transferFrom(address _from, address _to, uint256 _value) returns(bool)

type ERC20TokenTransfer

type ERC20TokenTransfer struct {
	From  common.Address
	To    common.Address
	Value *big.Int
	Raw   types.Log // Blockchain specific contextual infos
}

ERC20TokenTransfer represents a Transfer event raised by the ERC20Token contract.

type ERC20TokenTransferIterator

type ERC20TokenTransferIterator struct {
	Event *ERC20TokenTransfer // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

ERC20TokenTransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the ERC20Token contract.

func (*ERC20TokenTransferIterator) Close

func (it *ERC20TokenTransferIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*ERC20TokenTransferIterator) Error

func (it *ERC20TokenTransferIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ERC20TokenTransferIterator) Next

func (it *ERC20TokenTransferIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type ExchangeProxySwap

type ExchangeProxySwap struct {
	Pool              common.Address
	TokenIn           common.Address
	TokenOut          common.Address
	SwapAmount        *big.Int
	LimitReturnAmount *big.Int
	MaxPrice          *big.Int
}

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

type HarvestAutoStake

type HarvestAutoStake struct {
	HarvestAutoStakeCaller     // Read-only binding to the contract
	HarvestAutoStakeTransactor // Write-only binding to the contract
	HarvestAutoStakeFilterer   // Log filterer for contract events
}

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

func NewHarvestAutoStake

func NewHarvestAutoStake(address common.Address, backend bind.ContractBackend) (*HarvestAutoStake, error)

NewHarvestAutoStake creates a new instance of HarvestAutoStake, bound to a specific deployed contract.

type HarvestAutoStakeCaller

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

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

func NewHarvestAutoStakeCaller

func NewHarvestAutoStakeCaller(address common.Address, caller bind.ContractCaller) (*HarvestAutoStakeCaller, error)

NewHarvestAutoStakeCaller creates a new read-only instance of HarvestAutoStake, bound to a specific deployed contract.

func (*HarvestAutoStakeCaller) BalanceOf

func (_HarvestAutoStake *HarvestAutoStakeCaller) BalanceOf(opts *bind.CallOpts, who common.Address) (*big.Int, error)

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

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

func (*HarvestAutoStakeCaller) Controller

func (_HarvestAutoStake *HarvestAutoStakeCaller) Controller(opts *bind.CallOpts) (common.Address, error)

Controller is a free data retrieval call binding the contract method 0xf77c4791.

Solidity: function controller() view returns(address)

func (*HarvestAutoStakeCaller) Governance

func (_HarvestAutoStake *HarvestAutoStakeCaller) Governance(opts *bind.CallOpts) (common.Address, error)

Governance is a free data retrieval call binding the contract method 0x5aa6e675.

Solidity: function governance() view returns(address)

func (*HarvestAutoStakeCaller) GreylistEscrow

func (_HarvestAutoStake *HarvestAutoStakeCaller) GreylistEscrow(opts *bind.CallOpts) (common.Address, error)

GreylistEscrow is a free data retrieval call binding the contract method 0x54fa9b25.

Solidity: function greylistEscrow() view returns(address)

func (*HarvestAutoStakeCaller) LpToken

func (_HarvestAutoStake *HarvestAutoStakeCaller) LpToken(opts *bind.CallOpts) (common.Address, error)

LpToken is a free data retrieval call binding the contract method 0x5fcbd285.

Solidity: function lpToken() view returns(address)

func (*HarvestAutoStakeCaller) RewardPool

func (_HarvestAutoStake *HarvestAutoStakeCaller) RewardPool(opts *bind.CallOpts) (common.Address, error)

RewardPool is a free data retrieval call binding the contract method 0x66666aa9.

Solidity: function rewardPool() view returns(address)

func (*HarvestAutoStakeCaller) Share

func (_HarvestAutoStake *HarvestAutoStakeCaller) Share(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

Share is a free data retrieval call binding the contract method 0x1877bb5c.

Solidity: function share(address ) view returns(uint256)

func (*HarvestAutoStakeCaller) Store

func (_HarvestAutoStake *HarvestAutoStakeCaller) Store(opts *bind.CallOpts) (common.Address, error)

Store is a free data retrieval call binding the contract method 0x975057e7.

Solidity: function store() view returns(address)

func (*HarvestAutoStakeCaller) TotalShares

func (_HarvestAutoStake *HarvestAutoStakeCaller) TotalShares(opts *bind.CallOpts) (*big.Int, error)

TotalShares is a free data retrieval call binding the contract method 0x3a98ef39.

Solidity: function totalShares() view returns(uint256)

func (*HarvestAutoStakeCaller) TotalValue

func (_HarvestAutoStake *HarvestAutoStakeCaller) TotalValue(opts *bind.CallOpts) (*big.Int, error)

TotalValue is a free data retrieval call binding the contract method 0xd4c3eea0.

Solidity: function totalValue() view returns(uint256)

func (*HarvestAutoStakeCaller) Unit

func (_HarvestAutoStake *HarvestAutoStakeCaller) Unit(opts *bind.CallOpts) (*big.Int, error)

Unit is a free data retrieval call binding the contract method 0x907af6c0.

Solidity: function unit() view returns(uint256)

func (*HarvestAutoStakeCaller) ValuePerShare

func (_HarvestAutoStake *HarvestAutoStakeCaller) ValuePerShare(opts *bind.CallOpts) (*big.Int, error)

ValuePerShare is a free data retrieval call binding the contract method 0xc0a239e3.

Solidity: function valuePerShare() view returns(uint256)

type HarvestAutoStakeCallerRaw

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

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

func (*HarvestAutoStakeCallerRaw) Call

func (_HarvestAutoStake *HarvestAutoStakeCallerRaw) 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 HarvestAutoStakeCallerSession

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

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

func (*HarvestAutoStakeCallerSession) BalanceOf

func (_HarvestAutoStake *HarvestAutoStakeCallerSession) BalanceOf(who common.Address) (*big.Int, error)

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

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

func (*HarvestAutoStakeCallerSession) Controller

func (_HarvestAutoStake *HarvestAutoStakeCallerSession) Controller() (common.Address, error)

Controller is a free data retrieval call binding the contract method 0xf77c4791.

Solidity: function controller() view returns(address)

func (*HarvestAutoStakeCallerSession) Governance

func (_HarvestAutoStake *HarvestAutoStakeCallerSession) Governance() (common.Address, error)

Governance is a free data retrieval call binding the contract method 0x5aa6e675.

Solidity: function governance() view returns(address)

func (*HarvestAutoStakeCallerSession) GreylistEscrow

func (_HarvestAutoStake *HarvestAutoStakeCallerSession) GreylistEscrow() (common.Address, error)

GreylistEscrow is a free data retrieval call binding the contract method 0x54fa9b25.

Solidity: function greylistEscrow() view returns(address)

func (*HarvestAutoStakeCallerSession) LpToken

func (_HarvestAutoStake *HarvestAutoStakeCallerSession) LpToken() (common.Address, error)

LpToken is a free data retrieval call binding the contract method 0x5fcbd285.

Solidity: function lpToken() view returns(address)

func (*HarvestAutoStakeCallerSession) RewardPool

func (_HarvestAutoStake *HarvestAutoStakeCallerSession) RewardPool() (common.Address, error)

RewardPool is a free data retrieval call binding the contract method 0x66666aa9.

Solidity: function rewardPool() view returns(address)

func (*HarvestAutoStakeCallerSession) Share

func (_HarvestAutoStake *HarvestAutoStakeCallerSession) Share(arg0 common.Address) (*big.Int, error)

Share is a free data retrieval call binding the contract method 0x1877bb5c.

Solidity: function share(address ) view returns(uint256)

func (*HarvestAutoStakeCallerSession) Store

func (_HarvestAutoStake *HarvestAutoStakeCallerSession) Store() (common.Address, error)

Store is a free data retrieval call binding the contract method 0x975057e7.

Solidity: function store() view returns(address)

func (*HarvestAutoStakeCallerSession) TotalShares

func (_HarvestAutoStake *HarvestAutoStakeCallerSession) TotalShares() (*big.Int, error)

TotalShares is a free data retrieval call binding the contract method 0x3a98ef39.

Solidity: function totalShares() view returns(uint256)

func (*HarvestAutoStakeCallerSession) TotalValue

func (_HarvestAutoStake *HarvestAutoStakeCallerSession) TotalValue() (*big.Int, error)

TotalValue is a free data retrieval call binding the contract method 0xd4c3eea0.

Solidity: function totalValue() view returns(uint256)

func (*HarvestAutoStakeCallerSession) Unit

func (_HarvestAutoStake *HarvestAutoStakeCallerSession) Unit() (*big.Int, error)

Unit is a free data retrieval call binding the contract method 0x907af6c0.

Solidity: function unit() view returns(uint256)

func (*HarvestAutoStakeCallerSession) ValuePerShare

func (_HarvestAutoStake *HarvestAutoStakeCallerSession) ValuePerShare() (*big.Int, error)

ValuePerShare is a free data retrieval call binding the contract method 0xc0a239e3.

Solidity: function valuePerShare() view returns(uint256)

type HarvestAutoStakeFilterer

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

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

func NewHarvestAutoStakeFilterer

func NewHarvestAutoStakeFilterer(address common.Address, filterer bind.ContractFilterer) (*HarvestAutoStakeFilterer, error)

NewHarvestAutoStakeFilterer creates a new log filterer instance of HarvestAutoStake, bound to a specific deployed contract.

func (*HarvestAutoStakeFilterer) FilterForceGreylistExited

func (_HarvestAutoStake *HarvestAutoStakeFilterer) FilterForceGreylistExited(opts *bind.FilterOpts, grelisted []common.Address) (*HarvestAutoStakeForceGreylistExitedIterator, error)

FilterForceGreylistExited is a free log retrieval operation binding the contract event 0xfdea438d520d62b10e952801cabbc6230ed26b93327317afa464ea2a73c38308.

Solidity: event ForceGreylistExited(address indexed grelisted, uint256 amount)

func (*HarvestAutoStakeFilterer) FilterSmartContractDenied

func (_HarvestAutoStake *HarvestAutoStakeFilterer) FilterSmartContractDenied(opts *bind.FilterOpts, greylistedAddress []common.Address) (*HarvestAutoStakeSmartContractDeniedIterator, error)

FilterSmartContractDenied is a free log retrieval operation binding the contract event 0x4bc6394fa32e66e0212dedb00dde8d1e32f233b0a398952a84dd95930f56c9de.

Solidity: event SmartContractDenied(address indexed greylistedAddress)

func (*HarvestAutoStakeFilterer) FilterSmartContractRecorded

func (_HarvestAutoStake *HarvestAutoStakeFilterer) FilterSmartContractRecorded(opts *bind.FilterOpts, smartContractAddress []common.Address, smartContractInitiator []common.Address) (*HarvestAutoStakeSmartContractRecordedIterator, error)

FilterSmartContractRecorded is a free log retrieval operation binding the contract event 0x70da7b97c021a1e9d5c080587a8ecf9eae97ef5f9bc39e1ac9bfc054104e9e06.

Solidity: event SmartContractRecorded(address indexed smartContractAddress, address indexed smartContractInitiator)

func (*HarvestAutoStakeFilterer) FilterStaked

func (_HarvestAutoStake *HarvestAutoStakeFilterer) FilterStaked(opts *bind.FilterOpts, user []common.Address) (*HarvestAutoStakeStakedIterator, error)

FilterStaked is a free log retrieval operation binding the contract event 0x6381ea17a5324d29cc015352644672ead5185c1c61a0d3a521eda97e35cec97e.

Solidity: event Staked(address indexed user, uint256 amount, uint256 sharesIssued, uint256 oldShareVaule, uint256 newShareValue, uint256 balanceOf)

func (*HarvestAutoStakeFilterer) FilterStakingDenied

func (_HarvestAutoStake *HarvestAutoStakeFilterer) FilterStakingDenied(opts *bind.FilterOpts, user []common.Address) (*HarvestAutoStakeStakingDeniedIterator, error)

FilterStakingDenied is a free log retrieval operation binding the contract event 0x8534c36eb5138fbd97b21b177423caf9dbbb77468a91ffe5c40f7112b06e5d9e.

Solidity: event StakingDenied(address indexed user, uint256 amount)

func (*HarvestAutoStakeFilterer) FilterWithdrawn

func (_HarvestAutoStake *HarvestAutoStakeFilterer) FilterWithdrawn(opts *bind.FilterOpts, user []common.Address) (*HarvestAutoStakeWithdrawnIterator, error)

FilterWithdrawn is a free log retrieval operation binding the contract event 0x7084f5476618d8e60b11ef0d7d3f06914655adb8793e28ff7f018d4c76d505d5.

Solidity: event Withdrawn(address indexed user, uint256 total)

func (*HarvestAutoStakeFilterer) ParseForceGreylistExited

func (_HarvestAutoStake *HarvestAutoStakeFilterer) ParseForceGreylistExited(log types.Log) (*HarvestAutoStakeForceGreylistExited, error)

ParseForceGreylistExited is a log parse operation binding the contract event 0xfdea438d520d62b10e952801cabbc6230ed26b93327317afa464ea2a73c38308.

Solidity: event ForceGreylistExited(address indexed grelisted, uint256 amount)

func (*HarvestAutoStakeFilterer) ParseSmartContractDenied

func (_HarvestAutoStake *HarvestAutoStakeFilterer) ParseSmartContractDenied(log types.Log) (*HarvestAutoStakeSmartContractDenied, error)

ParseSmartContractDenied is a log parse operation binding the contract event 0x4bc6394fa32e66e0212dedb00dde8d1e32f233b0a398952a84dd95930f56c9de.

Solidity: event SmartContractDenied(address indexed greylistedAddress)

func (*HarvestAutoStakeFilterer) ParseSmartContractRecorded

func (_HarvestAutoStake *HarvestAutoStakeFilterer) ParseSmartContractRecorded(log types.Log) (*HarvestAutoStakeSmartContractRecorded, error)

ParseSmartContractRecorded is a log parse operation binding the contract event 0x70da7b97c021a1e9d5c080587a8ecf9eae97ef5f9bc39e1ac9bfc054104e9e06.

Solidity: event SmartContractRecorded(address indexed smartContractAddress, address indexed smartContractInitiator)

func (*HarvestAutoStakeFilterer) ParseStaked

func (_HarvestAutoStake *HarvestAutoStakeFilterer) ParseStaked(log types.Log) (*HarvestAutoStakeStaked, error)

ParseStaked is a log parse operation binding the contract event 0x6381ea17a5324d29cc015352644672ead5185c1c61a0d3a521eda97e35cec97e.

Solidity: event Staked(address indexed user, uint256 amount, uint256 sharesIssued, uint256 oldShareVaule, uint256 newShareValue, uint256 balanceOf)

func (*HarvestAutoStakeFilterer) ParseStakingDenied

func (_HarvestAutoStake *HarvestAutoStakeFilterer) ParseStakingDenied(log types.Log) (*HarvestAutoStakeStakingDenied, error)

ParseStakingDenied is a log parse operation binding the contract event 0x8534c36eb5138fbd97b21b177423caf9dbbb77468a91ffe5c40f7112b06e5d9e.

Solidity: event StakingDenied(address indexed user, uint256 amount)

func (*HarvestAutoStakeFilterer) ParseWithdrawn

func (_HarvestAutoStake *HarvestAutoStakeFilterer) ParseWithdrawn(log types.Log) (*HarvestAutoStakeWithdrawn, error)

ParseWithdrawn is a log parse operation binding the contract event 0x7084f5476618d8e60b11ef0d7d3f06914655adb8793e28ff7f018d4c76d505d5.

Solidity: event Withdrawn(address indexed user, uint256 total)

func (*HarvestAutoStakeFilterer) WatchForceGreylistExited

func (_HarvestAutoStake *HarvestAutoStakeFilterer) WatchForceGreylistExited(opts *bind.WatchOpts, sink chan<- *HarvestAutoStakeForceGreylistExited, grelisted []common.Address) (event.Subscription, error)

WatchForceGreylistExited is a free log subscription operation binding the contract event 0xfdea438d520d62b10e952801cabbc6230ed26b93327317afa464ea2a73c38308.

Solidity: event ForceGreylistExited(address indexed grelisted, uint256 amount)

func (*HarvestAutoStakeFilterer) WatchSmartContractDenied

func (_HarvestAutoStake *HarvestAutoStakeFilterer) WatchSmartContractDenied(opts *bind.WatchOpts, sink chan<- *HarvestAutoStakeSmartContractDenied, greylistedAddress []common.Address) (event.Subscription, error)

WatchSmartContractDenied is a free log subscription operation binding the contract event 0x4bc6394fa32e66e0212dedb00dde8d1e32f233b0a398952a84dd95930f56c9de.

Solidity: event SmartContractDenied(address indexed greylistedAddress)

func (*HarvestAutoStakeFilterer) WatchSmartContractRecorded

func (_HarvestAutoStake *HarvestAutoStakeFilterer) WatchSmartContractRecorded(opts *bind.WatchOpts, sink chan<- *HarvestAutoStakeSmartContractRecorded, smartContractAddress []common.Address, smartContractInitiator []common.Address) (event.Subscription, error)

WatchSmartContractRecorded is a free log subscription operation binding the contract event 0x70da7b97c021a1e9d5c080587a8ecf9eae97ef5f9bc39e1ac9bfc054104e9e06.

Solidity: event SmartContractRecorded(address indexed smartContractAddress, address indexed smartContractInitiator)

func (*HarvestAutoStakeFilterer) WatchStaked

func (_HarvestAutoStake *HarvestAutoStakeFilterer) WatchStaked(opts *bind.WatchOpts, sink chan<- *HarvestAutoStakeStaked, user []common.Address) (event.Subscription, error)

WatchStaked is a free log subscription operation binding the contract event 0x6381ea17a5324d29cc015352644672ead5185c1c61a0d3a521eda97e35cec97e.

Solidity: event Staked(address indexed user, uint256 amount, uint256 sharesIssued, uint256 oldShareVaule, uint256 newShareValue, uint256 balanceOf)

func (*HarvestAutoStakeFilterer) WatchStakingDenied

func (_HarvestAutoStake *HarvestAutoStakeFilterer) WatchStakingDenied(opts *bind.WatchOpts, sink chan<- *HarvestAutoStakeStakingDenied, user []common.Address) (event.Subscription, error)

WatchStakingDenied is a free log subscription operation binding the contract event 0x8534c36eb5138fbd97b21b177423caf9dbbb77468a91ffe5c40f7112b06e5d9e.

Solidity: event StakingDenied(address indexed user, uint256 amount)

func (*HarvestAutoStakeFilterer) WatchWithdrawn

func (_HarvestAutoStake *HarvestAutoStakeFilterer) WatchWithdrawn(opts *bind.WatchOpts, sink chan<- *HarvestAutoStakeWithdrawn, user []common.Address) (event.Subscription, error)

WatchWithdrawn is a free log subscription operation binding the contract event 0x7084f5476618d8e60b11ef0d7d3f06914655adb8793e28ff7f018d4c76d505d5.

Solidity: event Withdrawn(address indexed user, uint256 total)

type HarvestAutoStakeForceGreylistExited

type HarvestAutoStakeForceGreylistExited struct {
	Grelisted common.Address
	Amount    *big.Int
	Raw       types.Log // Blockchain specific contextual infos
}

HarvestAutoStakeForceGreylistExited represents a ForceGreylistExited event raised by the HarvestAutoStake contract.

type HarvestAutoStakeForceGreylistExitedIterator

type HarvestAutoStakeForceGreylistExitedIterator struct {
	Event *HarvestAutoStakeForceGreylistExited // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

HarvestAutoStakeForceGreylistExitedIterator is returned from FilterForceGreylistExited and is used to iterate over the raw logs and unpacked data for ForceGreylistExited events raised by the HarvestAutoStake contract.

func (*HarvestAutoStakeForceGreylistExitedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*HarvestAutoStakeForceGreylistExitedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*HarvestAutoStakeForceGreylistExitedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type HarvestAutoStakeRaw

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

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

func (*HarvestAutoStakeRaw) Call

func (_HarvestAutoStake *HarvestAutoStakeRaw) 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 (*HarvestAutoStakeRaw) Transact

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

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

func (*HarvestAutoStakeRaw) Transfer

func (_HarvestAutoStake *HarvestAutoStakeRaw) 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 HarvestAutoStakeSession

type HarvestAutoStakeSession struct {
	Contract     *HarvestAutoStake // 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
}

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

func (*HarvestAutoStakeSession) BalanceOf

func (_HarvestAutoStake *HarvestAutoStakeSession) BalanceOf(who common.Address) (*big.Int, error)

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

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

func (*HarvestAutoStakeSession) Controller

func (_HarvestAutoStake *HarvestAutoStakeSession) Controller() (common.Address, error)

Controller is a free data retrieval call binding the contract method 0xf77c4791.

Solidity: function controller() view returns(address)

func (*HarvestAutoStakeSession) Exit

func (_HarvestAutoStake *HarvestAutoStakeSession) Exit() (*types.Transaction, error)

Exit is a paid mutator transaction binding the contract method 0xe9fad8ee.

Solidity: function exit() returns()

func (*HarvestAutoStakeSession) ForceGreyListedExit

func (_HarvestAutoStake *HarvestAutoStakeSession) ForceGreyListedExit(greyListed common.Address) (*types.Transaction, error)

ForceGreyListedExit is a paid mutator transaction binding the contract method 0xf4ff64c3.

Solidity: function forceGreyListedExit(address greyListed) returns()

func (*HarvestAutoStakeSession) Governance

func (_HarvestAutoStake *HarvestAutoStakeSession) Governance() (common.Address, error)

Governance is a free data retrieval call binding the contract method 0x5aa6e675.

Solidity: function governance() view returns(address)

func (*HarvestAutoStakeSession) GreylistEscrow

func (_HarvestAutoStake *HarvestAutoStakeSession) GreylistEscrow() (common.Address, error)

GreylistEscrow is a free data retrieval call binding the contract method 0x54fa9b25.

Solidity: function greylistEscrow() view returns(address)

func (*HarvestAutoStakeSession) LpToken

func (_HarvestAutoStake *HarvestAutoStakeSession) LpToken() (common.Address, error)

LpToken is a free data retrieval call binding the contract method 0x5fcbd285.

Solidity: function lpToken() view returns(address)

func (*HarvestAutoStakeSession) RefreshAutoStake

func (_HarvestAutoStake *HarvestAutoStakeSession) RefreshAutoStake() (*types.Transaction, error)

RefreshAutoStake is a paid mutator transaction binding the contract method 0xb540652e.

Solidity: function refreshAutoStake() returns()

func (*HarvestAutoStakeSession) RewardPool

func (_HarvestAutoStake *HarvestAutoStakeSession) RewardPool() (common.Address, error)

RewardPool is a free data retrieval call binding the contract method 0x66666aa9.

Solidity: function rewardPool() view returns(address)

func (*HarvestAutoStakeSession) SetGreylistEscrow

func (_HarvestAutoStake *HarvestAutoStakeSession) SetGreylistEscrow(_greylistEscrow common.Address) (*types.Transaction, error)

SetGreylistEscrow is a paid mutator transaction binding the contract method 0x906a397d.

Solidity: function setGreylistEscrow(address _greylistEscrow) returns()

func (*HarvestAutoStakeSession) SetStorage

func (_HarvestAutoStake *HarvestAutoStakeSession) SetStorage(_store common.Address) (*types.Transaction, error)

SetStorage is a paid mutator transaction binding the contract method 0x9137c1a7.

Solidity: function setStorage(address _store) returns()

func (*HarvestAutoStakeSession) Share

func (_HarvestAutoStake *HarvestAutoStakeSession) Share(arg0 common.Address) (*big.Int, error)

Share is a free data retrieval call binding the contract method 0x1877bb5c.

Solidity: function share(address ) view returns(uint256)

func (*HarvestAutoStakeSession) Stake

func (_HarvestAutoStake *HarvestAutoStakeSession) Stake(amount *big.Int) (*types.Transaction, error)

Stake is a paid mutator transaction binding the contract method 0xa694fc3a.

Solidity: function stake(uint256 amount) returns()

func (*HarvestAutoStakeSession) Store

func (_HarvestAutoStake *HarvestAutoStakeSession) Store() (common.Address, error)

Store is a free data retrieval call binding the contract method 0x975057e7.

Solidity: function store() view returns(address)

func (*HarvestAutoStakeSession) TotalShares

func (_HarvestAutoStake *HarvestAutoStakeSession) TotalShares() (*big.Int, error)

TotalShares is a free data retrieval call binding the contract method 0x3a98ef39.

Solidity: function totalShares() view returns(uint256)

func (*HarvestAutoStakeSession) TotalValue

func (_HarvestAutoStake *HarvestAutoStakeSession) TotalValue() (*big.Int, error)

TotalValue is a free data retrieval call binding the contract method 0xd4c3eea0.

Solidity: function totalValue() view returns(uint256)

func (*HarvestAutoStakeSession) Unit

func (_HarvestAutoStake *HarvestAutoStakeSession) Unit() (*big.Int, error)

Unit is a free data retrieval call binding the contract method 0x907af6c0.

Solidity: function unit() view returns(uint256)

func (*HarvestAutoStakeSession) ValuePerShare

func (_HarvestAutoStake *HarvestAutoStakeSession) ValuePerShare() (*big.Int, error)

ValuePerShare is a free data retrieval call binding the contract method 0xc0a239e3.

Solidity: function valuePerShare() view returns(uint256)

type HarvestAutoStakeSmartContractDenied

type HarvestAutoStakeSmartContractDenied struct {
	GreylistedAddress common.Address
	Raw               types.Log // Blockchain specific contextual infos
}

HarvestAutoStakeSmartContractDenied represents a SmartContractDenied event raised by the HarvestAutoStake contract.

type HarvestAutoStakeSmartContractDeniedIterator

type HarvestAutoStakeSmartContractDeniedIterator struct {
	Event *HarvestAutoStakeSmartContractDenied // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

HarvestAutoStakeSmartContractDeniedIterator is returned from FilterSmartContractDenied and is used to iterate over the raw logs and unpacked data for SmartContractDenied events raised by the HarvestAutoStake contract.

func (*HarvestAutoStakeSmartContractDeniedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*HarvestAutoStakeSmartContractDeniedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*HarvestAutoStakeSmartContractDeniedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type HarvestAutoStakeSmartContractRecorded

type HarvestAutoStakeSmartContractRecorded struct {
	SmartContractAddress   common.Address
	SmartContractInitiator common.Address
	Raw                    types.Log // Blockchain specific contextual infos
}

HarvestAutoStakeSmartContractRecorded represents a SmartContractRecorded event raised by the HarvestAutoStake contract.

type HarvestAutoStakeSmartContractRecordedIterator

type HarvestAutoStakeSmartContractRecordedIterator struct {
	Event *HarvestAutoStakeSmartContractRecorded // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

HarvestAutoStakeSmartContractRecordedIterator is returned from FilterSmartContractRecorded and is used to iterate over the raw logs and unpacked data for SmartContractRecorded events raised by the HarvestAutoStake contract.

func (*HarvestAutoStakeSmartContractRecordedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*HarvestAutoStakeSmartContractRecordedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*HarvestAutoStakeSmartContractRecordedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type HarvestAutoStakeStaked

type HarvestAutoStakeStaked struct {
	User          common.Address
	Amount        *big.Int
	SharesIssued  *big.Int
	OldShareVaule *big.Int
	NewShareValue *big.Int
	BalanceOf     *big.Int
	Raw           types.Log // Blockchain specific contextual infos
}

HarvestAutoStakeStaked represents a Staked event raised by the HarvestAutoStake contract.

type HarvestAutoStakeStakedIterator

type HarvestAutoStakeStakedIterator struct {
	Event *HarvestAutoStakeStaked // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

HarvestAutoStakeStakedIterator is returned from FilterStaked and is used to iterate over the raw logs and unpacked data for Staked events raised by the HarvestAutoStake contract.

func (*HarvestAutoStakeStakedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*HarvestAutoStakeStakedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*HarvestAutoStakeStakedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type HarvestAutoStakeStakingDenied

type HarvestAutoStakeStakingDenied struct {
	User   common.Address
	Amount *big.Int
	Raw    types.Log // Blockchain specific contextual infos
}

HarvestAutoStakeStakingDenied represents a StakingDenied event raised by the HarvestAutoStake contract.

type HarvestAutoStakeStakingDeniedIterator

type HarvestAutoStakeStakingDeniedIterator struct {
	Event *HarvestAutoStakeStakingDenied // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

HarvestAutoStakeStakingDeniedIterator is returned from FilterStakingDenied and is used to iterate over the raw logs and unpacked data for StakingDenied events raised by the HarvestAutoStake contract.

func (*HarvestAutoStakeStakingDeniedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*HarvestAutoStakeStakingDeniedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*HarvestAutoStakeStakingDeniedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type HarvestAutoStakeTransactor

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

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

func NewHarvestAutoStakeTransactor

func NewHarvestAutoStakeTransactor(address common.Address, transactor bind.ContractTransactor) (*HarvestAutoStakeTransactor, error)

NewHarvestAutoStakeTransactor creates a new write-only instance of HarvestAutoStake, bound to a specific deployed contract.

func (*HarvestAutoStakeTransactor) Exit

func (_HarvestAutoStake *HarvestAutoStakeTransactor) Exit(opts *bind.TransactOpts) (*types.Transaction, error)

Exit is a paid mutator transaction binding the contract method 0xe9fad8ee.

Solidity: function exit() returns()

func (*HarvestAutoStakeTransactor) ForceGreyListedExit

func (_HarvestAutoStake *HarvestAutoStakeTransactor) ForceGreyListedExit(opts *bind.TransactOpts, greyListed common.Address) (*types.Transaction, error)

ForceGreyListedExit is a paid mutator transaction binding the contract method 0xf4ff64c3.

Solidity: function forceGreyListedExit(address greyListed) returns()

func (*HarvestAutoStakeTransactor) RefreshAutoStake

func (_HarvestAutoStake *HarvestAutoStakeTransactor) RefreshAutoStake(opts *bind.TransactOpts) (*types.Transaction, error)

RefreshAutoStake is a paid mutator transaction binding the contract method 0xb540652e.

Solidity: function refreshAutoStake() returns()

func (*HarvestAutoStakeTransactor) SetGreylistEscrow

func (_HarvestAutoStake *HarvestAutoStakeTransactor) SetGreylistEscrow(opts *bind.TransactOpts, _greylistEscrow common.Address) (*types.Transaction, error)

SetGreylistEscrow is a paid mutator transaction binding the contract method 0x906a397d.

Solidity: function setGreylistEscrow(address _greylistEscrow) returns()

func (*HarvestAutoStakeTransactor) SetStorage

func (_HarvestAutoStake *HarvestAutoStakeTransactor) SetStorage(opts *bind.TransactOpts, _store common.Address) (*types.Transaction, error)

SetStorage is a paid mutator transaction binding the contract method 0x9137c1a7.

Solidity: function setStorage(address _store) returns()

func (*HarvestAutoStakeTransactor) Stake

func (_HarvestAutoStake *HarvestAutoStakeTransactor) Stake(opts *bind.TransactOpts, amount *big.Int) (*types.Transaction, error)

Stake is a paid mutator transaction binding the contract method 0xa694fc3a.

Solidity: function stake(uint256 amount) returns()

type HarvestAutoStakeTransactorRaw

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

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

func (*HarvestAutoStakeTransactorRaw) Transact

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

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

func (*HarvestAutoStakeTransactorRaw) Transfer

func (_HarvestAutoStake *HarvestAutoStakeTransactorRaw) 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 HarvestAutoStakeTransactorSession

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

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

func (*HarvestAutoStakeTransactorSession) Exit

func (_HarvestAutoStake *HarvestAutoStakeTransactorSession) Exit() (*types.Transaction, error)

Exit is a paid mutator transaction binding the contract method 0xe9fad8ee.

Solidity: function exit() returns()

func (*HarvestAutoStakeTransactorSession) ForceGreyListedExit

func (_HarvestAutoStake *HarvestAutoStakeTransactorSession) ForceGreyListedExit(greyListed common.Address) (*types.Transaction, error)

ForceGreyListedExit is a paid mutator transaction binding the contract method 0xf4ff64c3.

Solidity: function forceGreyListedExit(address greyListed) returns()

func (*HarvestAutoStakeTransactorSession) RefreshAutoStake

func (_HarvestAutoStake *HarvestAutoStakeTransactorSession) RefreshAutoStake() (*types.Transaction, error)

RefreshAutoStake is a paid mutator transaction binding the contract method 0xb540652e.

Solidity: function refreshAutoStake() returns()

func (*HarvestAutoStakeTransactorSession) SetGreylistEscrow

func (_HarvestAutoStake *HarvestAutoStakeTransactorSession) SetGreylistEscrow(_greylistEscrow common.Address) (*types.Transaction, error)

SetGreylistEscrow is a paid mutator transaction binding the contract method 0x906a397d.

Solidity: function setGreylistEscrow(address _greylistEscrow) returns()

func (*HarvestAutoStakeTransactorSession) SetStorage

func (_HarvestAutoStake *HarvestAutoStakeTransactorSession) SetStorage(_store common.Address) (*types.Transaction, error)

SetStorage is a paid mutator transaction binding the contract method 0x9137c1a7.

Solidity: function setStorage(address _store) returns()

func (*HarvestAutoStakeTransactorSession) Stake

func (_HarvestAutoStake *HarvestAutoStakeTransactorSession) Stake(amount *big.Int) (*types.Transaction, error)

Stake is a paid mutator transaction binding the contract method 0xa694fc3a.

Solidity: function stake(uint256 amount) returns()

type HarvestAutoStakeWithdrawn

type HarvestAutoStakeWithdrawn struct {
	User  common.Address
	Total *big.Int
	Raw   types.Log // Blockchain specific contextual infos
}

HarvestAutoStakeWithdrawn represents a Withdrawn event raised by the HarvestAutoStake contract.

type HarvestAutoStakeWithdrawnIterator

type HarvestAutoStakeWithdrawnIterator struct {
	Event *HarvestAutoStakeWithdrawn // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

HarvestAutoStakeWithdrawnIterator is returned from FilterWithdrawn and is used to iterate over the raw logs and unpacked data for Withdrawn events raised by the HarvestAutoStake contract.

func (*HarvestAutoStakeWithdrawnIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*HarvestAutoStakeWithdrawnIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*HarvestAutoStakeWithdrawnIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type HarvestNomintrewardpool

type HarvestNomintrewardpool struct {
	HarvestNomintrewardpoolCaller     // Read-only binding to the contract
	HarvestNomintrewardpoolTransactor // Write-only binding to the contract
	HarvestNomintrewardpoolFilterer   // Log filterer for contract events
}

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

func NewHarvestNomintrewardpool

func NewHarvestNomintrewardpool(address common.Address, backend bind.ContractBackend) (*HarvestNomintrewardpool, error)

NewHarvestNomintrewardpool creates a new instance of HarvestNomintrewardpool, bound to a specific deployed contract.

type HarvestNomintrewardpoolCaller

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

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

func NewHarvestNomintrewardpoolCaller

func NewHarvestNomintrewardpoolCaller(address common.Address, caller bind.ContractCaller) (*HarvestNomintrewardpoolCaller, error)

NewHarvestNomintrewardpoolCaller creates a new read-only instance of HarvestNomintrewardpool, bound to a specific deployed contract.

func (*HarvestNomintrewardpoolCaller) BalanceOf

func (_HarvestNomintrewardpool *HarvestNomintrewardpoolCaller) 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 (*HarvestNomintrewardpoolCaller) CanMigrate

func (_HarvestNomintrewardpool *HarvestNomintrewardpoolCaller) CanMigrate(opts *bind.CallOpts) (bool, error)

CanMigrate is a free data retrieval call binding the contract method 0x19ed21bd.

Solidity: function canMigrate() view returns(bool)

func (*HarvestNomintrewardpoolCaller) Controller

func (_HarvestNomintrewardpool *HarvestNomintrewardpoolCaller) Controller(opts *bind.CallOpts) (common.Address, error)

Controller is a free data retrieval call binding the contract method 0xf77c4791.

Solidity: function controller() view returns(address)

func (*HarvestNomintrewardpoolCaller) Duration

func (_HarvestNomintrewardpool *HarvestNomintrewardpoolCaller) Duration(opts *bind.CallOpts) (*big.Int, error)

Duration is a free data retrieval call binding the contract method 0x0fb5a6b4.

Solidity: function duration() view returns(uint256)

func (*HarvestNomintrewardpoolCaller) Earned

func (_HarvestNomintrewardpool *HarvestNomintrewardpoolCaller) Earned(opts *bind.CallOpts, account common.Address) (*big.Int, error)

Earned is a free data retrieval call binding the contract method 0x008cc262.

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

func (*HarvestNomintrewardpoolCaller) Governance

func (_HarvestNomintrewardpool *HarvestNomintrewardpoolCaller) Governance(opts *bind.CallOpts) (common.Address, error)

Governance is a free data retrieval call binding the contract method 0x5aa6e675.

Solidity: function governance() view returns(address)

func (*HarvestNomintrewardpoolCaller) IsOwner

func (_HarvestNomintrewardpool *HarvestNomintrewardpoolCaller) IsOwner(opts *bind.CallOpts) (bool, error)

IsOwner is a free data retrieval call binding the contract method 0x8f32d59b.

Solidity: function isOwner() view returns(bool)

func (*HarvestNomintrewardpoolCaller) LastTimeRewardApplicable

func (_HarvestNomintrewardpool *HarvestNomintrewardpoolCaller) LastTimeRewardApplicable(opts *bind.CallOpts) (*big.Int, error)

LastTimeRewardApplicable is a free data retrieval call binding the contract method 0x80faa57d.

Solidity: function lastTimeRewardApplicable() view returns(uint256)

func (*HarvestNomintrewardpoolCaller) LastUpdateTime

func (_HarvestNomintrewardpool *HarvestNomintrewardpoolCaller) LastUpdateTime(opts *bind.CallOpts) (*big.Int, error)

LastUpdateTime is a free data retrieval call binding the contract method 0xc8f33c91.

Solidity: function lastUpdateTime() view returns(uint256)

func (*HarvestNomintrewardpoolCaller) LpToken

func (_HarvestNomintrewardpool *HarvestNomintrewardpoolCaller) LpToken(opts *bind.CallOpts) (common.Address, error)

LpToken is a free data retrieval call binding the contract method 0x5fcbd285.

Solidity: function lpToken() view returns(address)

func (*HarvestNomintrewardpoolCaller) MigrationStrategy

func (_HarvestNomintrewardpool *HarvestNomintrewardpoolCaller) MigrationStrategy(opts *bind.CallOpts) (common.Address, error)

MigrationStrategy is a free data retrieval call binding the contract method 0xe5e3a9b0.

Solidity: function migrationStrategy() view returns(address)

func (*HarvestNomintrewardpoolCaller) Owner

func (_HarvestNomintrewardpool *HarvestNomintrewardpoolCaller) 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 (*HarvestNomintrewardpoolCaller) PeriodFinish

func (_HarvestNomintrewardpool *HarvestNomintrewardpoolCaller) PeriodFinish(opts *bind.CallOpts) (*big.Int, error)

PeriodFinish is a free data retrieval call binding the contract method 0xebe2b12b.

Solidity: function periodFinish() view returns(uint256)

func (*HarvestNomintrewardpoolCaller) RewardPerToken

func (_HarvestNomintrewardpool *HarvestNomintrewardpoolCaller) RewardPerToken(opts *bind.CallOpts) (*big.Int, error)

RewardPerToken is a free data retrieval call binding the contract method 0xcd3daf9d.

Solidity: function rewardPerToken() view returns(uint256)

func (*HarvestNomintrewardpoolCaller) RewardPerTokenStored

func (_HarvestNomintrewardpool *HarvestNomintrewardpoolCaller) RewardPerTokenStored(opts *bind.CallOpts) (*big.Int, error)

RewardPerTokenStored is a free data retrieval call binding the contract method 0xdf136d65.

Solidity: function rewardPerTokenStored() view returns(uint256)

func (*HarvestNomintrewardpoolCaller) RewardRate

func (_HarvestNomintrewardpool *HarvestNomintrewardpoolCaller) RewardRate(opts *bind.CallOpts) (*big.Int, error)

RewardRate is a free data retrieval call binding the contract method 0x7b0a47ee.

Solidity: function rewardRate() view returns(uint256)

func (*HarvestNomintrewardpoolCaller) RewardToken

func (_HarvestNomintrewardpool *HarvestNomintrewardpoolCaller) RewardToken(opts *bind.CallOpts) (common.Address, error)

RewardToken is a free data retrieval call binding the contract method 0xf7c618c1.

Solidity: function rewardToken() view returns(address)

func (*HarvestNomintrewardpoolCaller) Rewards

func (_HarvestNomintrewardpool *HarvestNomintrewardpoolCaller) Rewards(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

Rewards is a free data retrieval call binding the contract method 0x0700037d.

Solidity: function rewards(address ) view returns(uint256)

func (*HarvestNomintrewardpoolCaller) SourceVault

func (_HarvestNomintrewardpool *HarvestNomintrewardpoolCaller) SourceVault(opts *bind.CallOpts) (common.Address, error)

SourceVault is a free data retrieval call binding the contract method 0xce970630.

Solidity: function sourceVault() view returns(address)

func (*HarvestNomintrewardpoolCaller) Store

func (_HarvestNomintrewardpool *HarvestNomintrewardpoolCaller) Store(opts *bind.CallOpts) (common.Address, error)

Store is a free data retrieval call binding the contract method 0x975057e7.

Solidity: function store() view returns(address)

func (*HarvestNomintrewardpoolCaller) TotalSupply

func (_HarvestNomintrewardpool *HarvestNomintrewardpoolCaller) 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 (*HarvestNomintrewardpoolCaller) UserRewardPerTokenPaid

func (_HarvestNomintrewardpool *HarvestNomintrewardpoolCaller) UserRewardPerTokenPaid(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

UserRewardPerTokenPaid is a free data retrieval call binding the contract method 0x8b876347.

Solidity: function userRewardPerTokenPaid(address ) view returns(uint256)

type HarvestNomintrewardpoolCallerRaw

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

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

func (*HarvestNomintrewardpoolCallerRaw) Call

func (_HarvestNomintrewardpool *HarvestNomintrewardpoolCallerRaw) 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 HarvestNomintrewardpoolCallerSession

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

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

func (*HarvestNomintrewardpoolCallerSession) BalanceOf

func (_HarvestNomintrewardpool *HarvestNomintrewardpoolCallerSession) 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 (*HarvestNomintrewardpoolCallerSession) CanMigrate

func (_HarvestNomintrewardpool *HarvestNomintrewardpoolCallerSession) CanMigrate() (bool, error)

CanMigrate is a free data retrieval call binding the contract method 0x19ed21bd.

Solidity: function canMigrate() view returns(bool)

func (*HarvestNomintrewardpoolCallerSession) Controller

func (_HarvestNomintrewardpool *HarvestNomintrewardpoolCallerSession) Controller() (common.Address, error)

Controller is a free data retrieval call binding the contract method 0xf77c4791.

Solidity: function controller() view returns(address)

func (*HarvestNomintrewardpoolCallerSession) Duration

func (_HarvestNomintrewardpool *HarvestNomintrewardpoolCallerSession) Duration() (*big.Int, error)

Duration is a free data retrieval call binding the contract method 0x0fb5a6b4.

Solidity: function duration() view returns(uint256)

func (*HarvestNomintrewardpoolCallerSession) Earned

func (_HarvestNomintrewardpool *HarvestNomintrewardpoolCallerSession) Earned(account common.Address) (*big.Int, error)

Earned is a free data retrieval call binding the contract method 0x008cc262.

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

func (*HarvestNomintrewardpoolCallerSession) Governance

func (_HarvestNomintrewardpool *HarvestNomintrewardpoolCallerSession) Governance() (common.Address, error)

Governance is a free data retrieval call binding the contract method 0x5aa6e675.

Solidity: function governance() view returns(address)

func (*HarvestNomintrewardpoolCallerSession) IsOwner

func (_HarvestNomintrewardpool *HarvestNomintrewardpoolCallerSession) IsOwner() (bool, error)

IsOwner is a free data retrieval call binding the contract method 0x8f32d59b.

Solidity: function isOwner() view returns(bool)

func (*HarvestNomintrewardpoolCallerSession) LastTimeRewardApplicable

func (_HarvestNomintrewardpool *HarvestNomintrewardpoolCallerSession) LastTimeRewardApplicable() (*big.Int, error)

LastTimeRewardApplicable is a free data retrieval call binding the contract method 0x80faa57d.

Solidity: function lastTimeRewardApplicable() view returns(uint256)

func (*HarvestNomintrewardpoolCallerSession) LastUpdateTime

func (_HarvestNomintrewardpool *HarvestNomintrewardpoolCallerSession) LastUpdateTime() (*big.Int, error)

LastUpdateTime is a free data retrieval call binding the contract method 0xc8f33c91.

Solidity: function lastUpdateTime() view returns(uint256)

func (*HarvestNomintrewardpoolCallerSession) LpToken

func (_HarvestNomintrewardpool *HarvestNomintrewardpoolCallerSession) LpToken() (common.Address, error)

LpToken is a free data retrieval call binding the contract method 0x5fcbd285.

Solidity: function lpToken() view returns(address)

func (*HarvestNomintrewardpoolCallerSession) MigrationStrategy

func (_HarvestNomintrewardpool *HarvestNomintrewardpoolCallerSession) MigrationStrategy() (common.Address, error)

MigrationStrategy is a free data retrieval call binding the contract method 0xe5e3a9b0.

Solidity: function migrationStrategy() view returns(address)

func (*HarvestNomintrewardpoolCallerSession) Owner

func (_HarvestNomintrewardpool *HarvestNomintrewardpoolCallerSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*HarvestNomintrewardpoolCallerSession) PeriodFinish

func (_HarvestNomintrewardpool *HarvestNomintrewardpoolCallerSession) PeriodFinish() (*big.Int, error)

PeriodFinish is a free data retrieval call binding the contract method 0xebe2b12b.

Solidity: function periodFinish() view returns(uint256)

func (*HarvestNomintrewardpoolCallerSession) RewardPerToken

func (_HarvestNomintrewardpool *HarvestNomintrewardpoolCallerSession) RewardPerToken() (*big.Int, error)

RewardPerToken is a free data retrieval call binding the contract method 0xcd3daf9d.

Solidity: function rewardPerToken() view returns(uint256)

func (*HarvestNomintrewardpoolCallerSession) RewardPerTokenStored

func (_HarvestNomintrewardpool *HarvestNomintrewardpoolCallerSession) RewardPerTokenStored() (*big.Int, error)

RewardPerTokenStored is a free data retrieval call binding the contract method 0xdf136d65.

Solidity: function rewardPerTokenStored() view returns(uint256)

func (*HarvestNomintrewardpoolCallerSession) RewardRate

func (_HarvestNomintrewardpool *HarvestNomintrewardpoolCallerSession) RewardRate() (*big.Int, error)

RewardRate is a free data retrieval call binding the contract method 0x7b0a47ee.

Solidity: function rewardRate() view returns(uint256)

func (*HarvestNomintrewardpoolCallerSession) RewardToken

func (_HarvestNomintrewardpool *HarvestNomintrewardpoolCallerSession) RewardToken() (common.Address, error)

RewardToken is a free data retrieval call binding the contract method 0xf7c618c1.

Solidity: function rewardToken() view returns(address)

func (*HarvestNomintrewardpoolCallerSession) Rewards

func (_HarvestNomintrewardpool *HarvestNomintrewardpoolCallerSession) Rewards(arg0 common.Address) (*big.Int, error)

Rewards is a free data retrieval call binding the contract method 0x0700037d.

Solidity: function rewards(address ) view returns(uint256)

func (*HarvestNomintrewardpoolCallerSession) SourceVault

func (_HarvestNomintrewardpool *HarvestNomintrewardpoolCallerSession) SourceVault() (common.Address, error)

SourceVault is a free data retrieval call binding the contract method 0xce970630.

Solidity: function sourceVault() view returns(address)

func (*HarvestNomintrewardpoolCallerSession) Store

func (_HarvestNomintrewardpool *HarvestNomintrewardpoolCallerSession) Store() (common.Address, error)

Store is a free data retrieval call binding the contract method 0x975057e7.

Solidity: function store() view returns(address)

func (*HarvestNomintrewardpoolCallerSession) TotalSupply

func (_HarvestNomintrewardpool *HarvestNomintrewardpoolCallerSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

func (*HarvestNomintrewardpoolCallerSession) UserRewardPerTokenPaid

func (_HarvestNomintrewardpool *HarvestNomintrewardpoolCallerSession) UserRewardPerTokenPaid(arg0 common.Address) (*big.Int, error)

UserRewardPerTokenPaid is a free data retrieval call binding the contract method 0x8b876347.

Solidity: function userRewardPerTokenPaid(address ) view returns(uint256)

type HarvestNomintrewardpoolFilterer

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

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

func NewHarvestNomintrewardpoolFilterer

func NewHarvestNomintrewardpoolFilterer(address common.Address, filterer bind.ContractFilterer) (*HarvestNomintrewardpoolFilterer, error)

NewHarvestNomintrewardpoolFilterer creates a new log filterer instance of HarvestNomintrewardpool, bound to a specific deployed contract.

func (*HarvestNomintrewardpoolFilterer) FilterMigrated

func (_HarvestNomintrewardpool *HarvestNomintrewardpoolFilterer) FilterMigrated(opts *bind.FilterOpts, account []common.Address) (*HarvestNomintrewardpoolMigratedIterator, error)

FilterMigrated is a free log retrieval operation binding the contract event 0xd083678824038160bef3975359ab29f19c3f0e9bcf9d7ead540a492d4d678b63.

Solidity: event Migrated(address indexed account, uint256 legacyShare, uint256 newShare)

func (*HarvestNomintrewardpoolFilterer) FilterOwnershipTransferred

func (_HarvestNomintrewardpool *HarvestNomintrewardpoolFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*HarvestNomintrewardpoolOwnershipTransferredIterator, error)

FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*HarvestNomintrewardpoolFilterer) FilterRewardAdded

func (_HarvestNomintrewardpool *HarvestNomintrewardpoolFilterer) FilterRewardAdded(opts *bind.FilterOpts) (*HarvestNomintrewardpoolRewardAddedIterator, error)

FilterRewardAdded is a free log retrieval operation binding the contract event 0xde88a922e0d3b88b24e9623efeb464919c6bf9f66857a65e2bfcf2ce87a9433d.

Solidity: event RewardAdded(uint256 reward)

func (*HarvestNomintrewardpoolFilterer) FilterRewardDenied

func (_HarvestNomintrewardpool *HarvestNomintrewardpoolFilterer) FilterRewardDenied(opts *bind.FilterOpts, user []common.Address) (*HarvestNomintrewardpoolRewardDeniedIterator, error)

FilterRewardDenied is a free log retrieval operation binding the contract event 0x3c053e6b7030f90e85c5a23cdadc6806d9e2fc865df1be2a1261580a1ecd1da9.

Solidity: event RewardDenied(address indexed user, uint256 reward)

func (*HarvestNomintrewardpoolFilterer) FilterRewardPaid

func (_HarvestNomintrewardpool *HarvestNomintrewardpoolFilterer) FilterRewardPaid(opts *bind.FilterOpts, user []common.Address) (*HarvestNomintrewardpoolRewardPaidIterator, error)

FilterRewardPaid is a free log retrieval operation binding the contract event 0xe2403640ba68fed3a2f88b7557551d1993f84b99bb10ff833f0cf8db0c5e0486.

Solidity: event RewardPaid(address indexed user, uint256 reward)

func (*HarvestNomintrewardpoolFilterer) FilterSmartContractRecorded

func (_HarvestNomintrewardpool *HarvestNomintrewardpoolFilterer) FilterSmartContractRecorded(opts *bind.FilterOpts, smartContractAddress []common.Address, smartContractInitiator []common.Address) (*HarvestNomintrewardpoolSmartContractRecordedIterator, error)

FilterSmartContractRecorded is a free log retrieval operation binding the contract event 0x70da7b97c021a1e9d5c080587a8ecf9eae97ef5f9bc39e1ac9bfc054104e9e06.

Solidity: event SmartContractRecorded(address indexed smartContractAddress, address indexed smartContractInitiator)

func (*HarvestNomintrewardpoolFilterer) FilterStaked

func (_HarvestNomintrewardpool *HarvestNomintrewardpoolFilterer) FilterStaked(opts *bind.FilterOpts, user []common.Address) (*HarvestNomintrewardpoolStakedIterator, error)

FilterStaked is a free log retrieval operation binding the contract event 0x9e71bc8eea02a63969f509818f2dafb9254532904319f9dbda79b67bd34a5f3d.

Solidity: event Staked(address indexed user, uint256 amount)

func (*HarvestNomintrewardpoolFilterer) FilterWithdrawn

func (_HarvestNomintrewardpool *HarvestNomintrewardpoolFilterer) FilterWithdrawn(opts *bind.FilterOpts, user []common.Address) (*HarvestNomintrewardpoolWithdrawnIterator, error)

FilterWithdrawn is a free log retrieval operation binding the contract event 0x7084f5476618d8e60b11ef0d7d3f06914655adb8793e28ff7f018d4c76d505d5.

Solidity: event Withdrawn(address indexed user, uint256 amount)

func (*HarvestNomintrewardpoolFilterer) ParseMigrated

func (_HarvestNomintrewardpool *HarvestNomintrewardpoolFilterer) ParseMigrated(log types.Log) (*HarvestNomintrewardpoolMigrated, error)

ParseMigrated is a log parse operation binding the contract event 0xd083678824038160bef3975359ab29f19c3f0e9bcf9d7ead540a492d4d678b63.

Solidity: event Migrated(address indexed account, uint256 legacyShare, uint256 newShare)

func (*HarvestNomintrewardpoolFilterer) ParseOwnershipTransferred

func (_HarvestNomintrewardpool *HarvestNomintrewardpoolFilterer) ParseOwnershipTransferred(log types.Log) (*HarvestNomintrewardpoolOwnershipTransferred, error)

ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*HarvestNomintrewardpoolFilterer) ParseRewardAdded

func (_HarvestNomintrewardpool *HarvestNomintrewardpoolFilterer) ParseRewardAdded(log types.Log) (*HarvestNomintrewardpoolRewardAdded, error)

ParseRewardAdded is a log parse operation binding the contract event 0xde88a922e0d3b88b24e9623efeb464919c6bf9f66857a65e2bfcf2ce87a9433d.

Solidity: event RewardAdded(uint256 reward)

func (*HarvestNomintrewardpoolFilterer) ParseRewardDenied

func (_HarvestNomintrewardpool *HarvestNomintrewardpoolFilterer) ParseRewardDenied(log types.Log) (*HarvestNomintrewardpoolRewardDenied, error)

ParseRewardDenied is a log parse operation binding the contract event 0x3c053e6b7030f90e85c5a23cdadc6806d9e2fc865df1be2a1261580a1ecd1da9.

Solidity: event RewardDenied(address indexed user, uint256 reward)

func (*HarvestNomintrewardpoolFilterer) ParseRewardPaid

func (_HarvestNomintrewardpool *HarvestNomintrewardpoolFilterer) ParseRewardPaid(log types.Log) (*HarvestNomintrewardpoolRewardPaid, error)

ParseRewardPaid is a log parse operation binding the contract event 0xe2403640ba68fed3a2f88b7557551d1993f84b99bb10ff833f0cf8db0c5e0486.

Solidity: event RewardPaid(address indexed user, uint256 reward)

func (*HarvestNomintrewardpoolFilterer) ParseSmartContractRecorded

func (_HarvestNomintrewardpool *HarvestNomintrewardpoolFilterer) ParseSmartContractRecorded(log types.Log) (*HarvestNomintrewardpoolSmartContractRecorded, error)

ParseSmartContractRecorded is a log parse operation binding the contract event 0x70da7b97c021a1e9d5c080587a8ecf9eae97ef5f9bc39e1ac9bfc054104e9e06.

Solidity: event SmartContractRecorded(address indexed smartContractAddress, address indexed smartContractInitiator)

func (*HarvestNomintrewardpoolFilterer) ParseStaked

func (_HarvestNomintrewardpool *HarvestNomintrewardpoolFilterer) ParseStaked(log types.Log) (*HarvestNomintrewardpoolStaked, error)

ParseStaked is a log parse operation binding the contract event 0x9e71bc8eea02a63969f509818f2dafb9254532904319f9dbda79b67bd34a5f3d.

Solidity: event Staked(address indexed user, uint256 amount)

func (*HarvestNomintrewardpoolFilterer) ParseWithdrawn

func (_HarvestNomintrewardpool *HarvestNomintrewardpoolFilterer) ParseWithdrawn(log types.Log) (*HarvestNomintrewardpoolWithdrawn, error)

ParseWithdrawn is a log parse operation binding the contract event 0x7084f5476618d8e60b11ef0d7d3f06914655adb8793e28ff7f018d4c76d505d5.

Solidity: event Withdrawn(address indexed user, uint256 amount)

func (*HarvestNomintrewardpoolFilterer) WatchMigrated

func (_HarvestNomintrewardpool *HarvestNomintrewardpoolFilterer) WatchMigrated(opts *bind.WatchOpts, sink chan<- *HarvestNomintrewardpoolMigrated, account []common.Address) (event.Subscription, error)

WatchMigrated is a free log subscription operation binding the contract event 0xd083678824038160bef3975359ab29f19c3f0e9bcf9d7ead540a492d4d678b63.

Solidity: event Migrated(address indexed account, uint256 legacyShare, uint256 newShare)

func (*HarvestNomintrewardpoolFilterer) WatchOwnershipTransferred

func (_HarvestNomintrewardpool *HarvestNomintrewardpoolFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *HarvestNomintrewardpoolOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)

WatchOwnershipTransferred is a free log subscription operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*HarvestNomintrewardpoolFilterer) WatchRewardAdded

func (_HarvestNomintrewardpool *HarvestNomintrewardpoolFilterer) WatchRewardAdded(opts *bind.WatchOpts, sink chan<- *HarvestNomintrewardpoolRewardAdded) (event.Subscription, error)

WatchRewardAdded is a free log subscription operation binding the contract event 0xde88a922e0d3b88b24e9623efeb464919c6bf9f66857a65e2bfcf2ce87a9433d.

Solidity: event RewardAdded(uint256 reward)

func (*HarvestNomintrewardpoolFilterer) WatchRewardDenied

func (_HarvestNomintrewardpool *HarvestNomintrewardpoolFilterer) WatchRewardDenied(opts *bind.WatchOpts, sink chan<- *HarvestNomintrewardpoolRewardDenied, user []common.Address) (event.Subscription, error)

WatchRewardDenied is a free log subscription operation binding the contract event 0x3c053e6b7030f90e85c5a23cdadc6806d9e2fc865df1be2a1261580a1ecd1da9.

Solidity: event RewardDenied(address indexed user, uint256 reward)

func (*HarvestNomintrewardpoolFilterer) WatchRewardPaid

func (_HarvestNomintrewardpool *HarvestNomintrewardpoolFilterer) WatchRewardPaid(opts *bind.WatchOpts, sink chan<- *HarvestNomintrewardpoolRewardPaid, user []common.Address) (event.Subscription, error)

WatchRewardPaid is a free log subscription operation binding the contract event 0xe2403640ba68fed3a2f88b7557551d1993f84b99bb10ff833f0cf8db0c5e0486.

Solidity: event RewardPaid(address indexed user, uint256 reward)

func (*HarvestNomintrewardpoolFilterer) WatchSmartContractRecorded

func (_HarvestNomintrewardpool *HarvestNomintrewardpoolFilterer) WatchSmartContractRecorded(opts *bind.WatchOpts, sink chan<- *HarvestNomintrewardpoolSmartContractRecorded, smartContractAddress []common.Address, smartContractInitiator []common.Address) (event.Subscription, error)

WatchSmartContractRecorded is a free log subscription operation binding the contract event 0x70da7b97c021a1e9d5c080587a8ecf9eae97ef5f9bc39e1ac9bfc054104e9e06.

Solidity: event SmartContractRecorded(address indexed smartContractAddress, address indexed smartContractInitiator)

func (*HarvestNomintrewardpoolFilterer) WatchStaked

func (_HarvestNomintrewardpool *HarvestNomintrewardpoolFilterer) WatchStaked(opts *bind.WatchOpts, sink chan<- *HarvestNomintrewardpoolStaked, user []common.Address) (event.Subscription, error)

WatchStaked is a free log subscription operation binding the contract event 0x9e71bc8eea02a63969f509818f2dafb9254532904319f9dbda79b67bd34a5f3d.

Solidity: event Staked(address indexed user, uint256 amount)

func (*HarvestNomintrewardpoolFilterer) WatchWithdrawn

func (_HarvestNomintrewardpool *HarvestNomintrewardpoolFilterer) WatchWithdrawn(opts *bind.WatchOpts, sink chan<- *HarvestNomintrewardpoolWithdrawn, user []common.Address) (event.Subscription, error)

WatchWithdrawn is a free log subscription operation binding the contract event 0x7084f5476618d8e60b11ef0d7d3f06914655adb8793e28ff7f018d4c76d505d5.

Solidity: event Withdrawn(address indexed user, uint256 amount)

type HarvestNomintrewardpoolMigrated

type HarvestNomintrewardpoolMigrated struct {
	Account     common.Address
	LegacyShare *big.Int
	NewShare    *big.Int
	Raw         types.Log // Blockchain specific contextual infos
}

HarvestNomintrewardpoolMigrated represents a Migrated event raised by the HarvestNomintrewardpool contract.

type HarvestNomintrewardpoolMigratedIterator

type HarvestNomintrewardpoolMigratedIterator struct {
	Event *HarvestNomintrewardpoolMigrated // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

HarvestNomintrewardpoolMigratedIterator is returned from FilterMigrated and is used to iterate over the raw logs and unpacked data for Migrated events raised by the HarvestNomintrewardpool contract.

func (*HarvestNomintrewardpoolMigratedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*HarvestNomintrewardpoolMigratedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*HarvestNomintrewardpoolMigratedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type HarvestNomintrewardpoolOwnershipTransferred

type HarvestNomintrewardpoolOwnershipTransferred struct {
	PreviousOwner common.Address
	NewOwner      common.Address
	Raw           types.Log // Blockchain specific contextual infos
}

HarvestNomintrewardpoolOwnershipTransferred represents a OwnershipTransferred event raised by the HarvestNomintrewardpool contract.

type HarvestNomintrewardpoolOwnershipTransferredIterator

type HarvestNomintrewardpoolOwnershipTransferredIterator struct {
	Event *HarvestNomintrewardpoolOwnershipTransferred // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

HarvestNomintrewardpoolOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the HarvestNomintrewardpool contract.

func (*HarvestNomintrewardpoolOwnershipTransferredIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*HarvestNomintrewardpoolOwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*HarvestNomintrewardpoolOwnershipTransferredIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type HarvestNomintrewardpoolRaw

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

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

func (*HarvestNomintrewardpoolRaw) Call

func (_HarvestNomintrewardpool *HarvestNomintrewardpoolRaw) 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 (*HarvestNomintrewardpoolRaw) Transact

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

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

func (*HarvestNomintrewardpoolRaw) Transfer

func (_HarvestNomintrewardpool *HarvestNomintrewardpoolRaw) 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 HarvestNomintrewardpoolRewardAdded

type HarvestNomintrewardpoolRewardAdded struct {
	Reward *big.Int
	Raw    types.Log // Blockchain specific contextual infos
}

HarvestNomintrewardpoolRewardAdded represents a RewardAdded event raised by the HarvestNomintrewardpool contract.

type HarvestNomintrewardpoolRewardAddedIterator

type HarvestNomintrewardpoolRewardAddedIterator struct {
	Event *HarvestNomintrewardpoolRewardAdded // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

HarvestNomintrewardpoolRewardAddedIterator is returned from FilterRewardAdded and is used to iterate over the raw logs and unpacked data for RewardAdded events raised by the HarvestNomintrewardpool contract.

func (*HarvestNomintrewardpoolRewardAddedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*HarvestNomintrewardpoolRewardAddedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*HarvestNomintrewardpoolRewardAddedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type HarvestNomintrewardpoolRewardDenied

type HarvestNomintrewardpoolRewardDenied struct {
	User   common.Address
	Reward *big.Int
	Raw    types.Log // Blockchain specific contextual infos
}

HarvestNomintrewardpoolRewardDenied represents a RewardDenied event raised by the HarvestNomintrewardpool contract.

type HarvestNomintrewardpoolRewardDeniedIterator

type HarvestNomintrewardpoolRewardDeniedIterator struct {
	Event *HarvestNomintrewardpoolRewardDenied // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

HarvestNomintrewardpoolRewardDeniedIterator is returned from FilterRewardDenied and is used to iterate over the raw logs and unpacked data for RewardDenied events raised by the HarvestNomintrewardpool contract.

func (*HarvestNomintrewardpoolRewardDeniedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*HarvestNomintrewardpoolRewardDeniedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*HarvestNomintrewardpoolRewardDeniedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type HarvestNomintrewardpoolRewardPaid

type HarvestNomintrewardpoolRewardPaid struct {
	User   common.Address
	Reward *big.Int
	Raw    types.Log // Blockchain specific contextual infos
}

HarvestNomintrewardpoolRewardPaid represents a RewardPaid event raised by the HarvestNomintrewardpool contract.

type HarvestNomintrewardpoolRewardPaidIterator

type HarvestNomintrewardpoolRewardPaidIterator struct {
	Event *HarvestNomintrewardpoolRewardPaid // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

HarvestNomintrewardpoolRewardPaidIterator is returned from FilterRewardPaid and is used to iterate over the raw logs and unpacked data for RewardPaid events raised by the HarvestNomintrewardpool contract.

func (*HarvestNomintrewardpoolRewardPaidIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*HarvestNomintrewardpoolRewardPaidIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*HarvestNomintrewardpoolRewardPaidIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type HarvestNomintrewardpoolSession

type HarvestNomintrewardpoolSession struct {
	Contract     *HarvestNomintrewardpool // 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
}

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

func (*HarvestNomintrewardpoolSession) BalanceOf

func (_HarvestNomintrewardpool *HarvestNomintrewardpoolSession) 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 (*HarvestNomintrewardpoolSession) CanMigrate

func (_HarvestNomintrewardpool *HarvestNomintrewardpoolSession) CanMigrate() (bool, error)

CanMigrate is a free data retrieval call binding the contract method 0x19ed21bd.

Solidity: function canMigrate() view returns(bool)

func (*HarvestNomintrewardpoolSession) Controller

func (_HarvestNomintrewardpool *HarvestNomintrewardpoolSession) Controller() (common.Address, error)

Controller is a free data retrieval call binding the contract method 0xf77c4791.

Solidity: function controller() view returns(address)

func (*HarvestNomintrewardpoolSession) Duration

func (_HarvestNomintrewardpool *HarvestNomintrewardpoolSession) Duration() (*big.Int, error)

Duration is a free data retrieval call binding the contract method 0x0fb5a6b4.

Solidity: function duration() view returns(uint256)

func (*HarvestNomintrewardpoolSession) Earned

func (_HarvestNomintrewardpool *HarvestNomintrewardpoolSession) Earned(account common.Address) (*big.Int, error)

Earned is a free data retrieval call binding the contract method 0x008cc262.

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

func (*HarvestNomintrewardpoolSession) Exit

func (_HarvestNomintrewardpool *HarvestNomintrewardpoolSession) Exit() (*types.Transaction, error)

Exit is a paid mutator transaction binding the contract method 0xe9fad8ee.

Solidity: function exit() returns()

func (*HarvestNomintrewardpoolSession) GetReward

func (_HarvestNomintrewardpool *HarvestNomintrewardpoolSession) GetReward() (*types.Transaction, error)

GetReward is a paid mutator transaction binding the contract method 0x3d18b912.

Solidity: function getReward() returns()

func (*HarvestNomintrewardpoolSession) Governance

func (_HarvestNomintrewardpool *HarvestNomintrewardpoolSession) Governance() (common.Address, error)

Governance is a free data retrieval call binding the contract method 0x5aa6e675.

Solidity: function governance() view returns(address)

func (*HarvestNomintrewardpoolSession) IsOwner

func (_HarvestNomintrewardpool *HarvestNomintrewardpoolSession) IsOwner() (bool, error)

IsOwner is a free data retrieval call binding the contract method 0x8f32d59b.

Solidity: function isOwner() view returns(bool)

func (*HarvestNomintrewardpoolSession) LastTimeRewardApplicable

func (_HarvestNomintrewardpool *HarvestNomintrewardpoolSession) LastTimeRewardApplicable() (*big.Int, error)

LastTimeRewardApplicable is a free data retrieval call binding the contract method 0x80faa57d.

Solidity: function lastTimeRewardApplicable() view returns(uint256)

func (*HarvestNomintrewardpoolSession) LastUpdateTime

func (_HarvestNomintrewardpool *HarvestNomintrewardpoolSession) LastUpdateTime() (*big.Int, error)

LastUpdateTime is a free data retrieval call binding the contract method 0xc8f33c91.

Solidity: function lastUpdateTime() view returns(uint256)

func (*HarvestNomintrewardpoolSession) LpToken

func (_HarvestNomintrewardpool *HarvestNomintrewardpoolSession) LpToken() (common.Address, error)

LpToken is a free data retrieval call binding the contract method 0x5fcbd285.

Solidity: function lpToken() view returns(address)

func (*HarvestNomintrewardpoolSession) Migrate

func (_HarvestNomintrewardpool *HarvestNomintrewardpoolSession) Migrate() (*types.Transaction, error)

Migrate is a paid mutator transaction binding the contract method 0x8fd3ab80.

Solidity: function migrate() returns()

func (*HarvestNomintrewardpoolSession) MigrationStrategy

func (_HarvestNomintrewardpool *HarvestNomintrewardpoolSession) MigrationStrategy() (common.Address, error)

MigrationStrategy is a free data retrieval call binding the contract method 0xe5e3a9b0.

Solidity: function migrationStrategy() view returns(address)

func (*HarvestNomintrewardpoolSession) NotifyRewardAmount

func (_HarvestNomintrewardpool *HarvestNomintrewardpoolSession) NotifyRewardAmount(reward *big.Int) (*types.Transaction, error)

NotifyRewardAmount is a paid mutator transaction binding the contract method 0x3c6b16ab.

Solidity: function notifyRewardAmount(uint256 reward) returns()

func (*HarvestNomintrewardpoolSession) Owner

func (_HarvestNomintrewardpool *HarvestNomintrewardpoolSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*HarvestNomintrewardpoolSession) PeriodFinish

func (_HarvestNomintrewardpool *HarvestNomintrewardpoolSession) PeriodFinish() (*big.Int, error)

PeriodFinish is a free data retrieval call binding the contract method 0xebe2b12b.

Solidity: function periodFinish() view returns(uint256)

func (*HarvestNomintrewardpoolSession) PullFromStrategy

func (_HarvestNomintrewardpool *HarvestNomintrewardpoolSession) PullFromStrategy() (*types.Transaction, error)

PullFromStrategy is a paid mutator transaction binding the contract method 0xc9a8b55a.

Solidity: function pullFromStrategy() returns()

func (*HarvestNomintrewardpoolSession) PushReward

func (_HarvestNomintrewardpool *HarvestNomintrewardpoolSession) PushReward(recipient common.Address) (*types.Transaction, error)

PushReward is a paid mutator transaction binding the contract method 0xfa9389a2.

Solidity: function pushReward(address recipient) returns()

func (*HarvestNomintrewardpoolSession) RenounceOwnership

func (_HarvestNomintrewardpool *HarvestNomintrewardpoolSession) RenounceOwnership() (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*HarvestNomintrewardpoolSession) RewardPerToken

func (_HarvestNomintrewardpool *HarvestNomintrewardpoolSession) RewardPerToken() (*big.Int, error)

RewardPerToken is a free data retrieval call binding the contract method 0xcd3daf9d.

Solidity: function rewardPerToken() view returns(uint256)

func (*HarvestNomintrewardpoolSession) RewardPerTokenStored

func (_HarvestNomintrewardpool *HarvestNomintrewardpoolSession) RewardPerTokenStored() (*big.Int, error)

RewardPerTokenStored is a free data retrieval call binding the contract method 0xdf136d65.

Solidity: function rewardPerTokenStored() view returns(uint256)

func (*HarvestNomintrewardpoolSession) RewardRate

func (_HarvestNomintrewardpool *HarvestNomintrewardpoolSession) RewardRate() (*big.Int, error)

RewardRate is a free data retrieval call binding the contract method 0x7b0a47ee.

Solidity: function rewardRate() view returns(uint256)

func (*HarvestNomintrewardpoolSession) RewardToken

func (_HarvestNomintrewardpool *HarvestNomintrewardpoolSession) RewardToken() (common.Address, error)

RewardToken is a free data retrieval call binding the contract method 0xf7c618c1.

Solidity: function rewardToken() view returns(address)

func (*HarvestNomintrewardpoolSession) Rewards

func (_HarvestNomintrewardpool *HarvestNomintrewardpoolSession) Rewards(arg0 common.Address) (*big.Int, error)

Rewards is a free data retrieval call binding the contract method 0x0700037d.

Solidity: function rewards(address ) view returns(uint256)

func (*HarvestNomintrewardpoolSession) SetCanMigrate

func (_HarvestNomintrewardpool *HarvestNomintrewardpoolSession) SetCanMigrate(_canMigrate bool) (*types.Transaction, error)

SetCanMigrate is a paid mutator transaction binding the contract method 0x15672d58.

Solidity: function setCanMigrate(bool _canMigrate) returns()

func (*HarvestNomintrewardpoolSession) SetRewardDistribution

func (_HarvestNomintrewardpool *HarvestNomintrewardpoolSession) SetRewardDistribution(_rewardDistribution common.Address) (*types.Transaction, error)

SetRewardDistribution is a paid mutator transaction binding the contract method 0x0d68b761.

Solidity: function setRewardDistribution(address _rewardDistribution) returns()

func (*HarvestNomintrewardpoolSession) SetStorage

func (_HarvestNomintrewardpool *HarvestNomintrewardpoolSession) SetStorage(_store common.Address) (*types.Transaction, error)

SetStorage is a paid mutator transaction binding the contract method 0x9137c1a7.

Solidity: function setStorage(address _store) returns()

func (*HarvestNomintrewardpoolSession) SourceVault

func (_HarvestNomintrewardpool *HarvestNomintrewardpoolSession) SourceVault() (common.Address, error)

SourceVault is a free data retrieval call binding the contract method 0xce970630.

Solidity: function sourceVault() view returns(address)

func (*HarvestNomintrewardpoolSession) Stake

func (_HarvestNomintrewardpool *HarvestNomintrewardpoolSession) Stake(amount *big.Int) (*types.Transaction, error)

Stake is a paid mutator transaction binding the contract method 0xa694fc3a.

Solidity: function stake(uint256 amount) returns()

func (*HarvestNomintrewardpoolSession) Store

func (_HarvestNomintrewardpool *HarvestNomintrewardpoolSession) Store() (common.Address, error)

Store is a free data retrieval call binding the contract method 0x975057e7.

Solidity: function store() view returns(address)

func (*HarvestNomintrewardpoolSession) TotalSupply

func (_HarvestNomintrewardpool *HarvestNomintrewardpoolSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

func (*HarvestNomintrewardpoolSession) TransferOwnership

func (_HarvestNomintrewardpool *HarvestNomintrewardpoolSession) 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 (*HarvestNomintrewardpoolSession) UserRewardPerTokenPaid

func (_HarvestNomintrewardpool *HarvestNomintrewardpoolSession) UserRewardPerTokenPaid(arg0 common.Address) (*big.Int, error)

UserRewardPerTokenPaid is a free data retrieval call binding the contract method 0x8b876347.

Solidity: function userRewardPerTokenPaid(address ) view returns(uint256)

func (*HarvestNomintrewardpoolSession) Withdraw

func (_HarvestNomintrewardpool *HarvestNomintrewardpoolSession) Withdraw(amount *big.Int) (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0x2e1a7d4d.

Solidity: function withdraw(uint256 amount) returns()

type HarvestNomintrewardpoolSmartContractRecorded

type HarvestNomintrewardpoolSmartContractRecorded struct {
	SmartContractAddress   common.Address
	SmartContractInitiator common.Address
	Raw                    types.Log // Blockchain specific contextual infos
}

HarvestNomintrewardpoolSmartContractRecorded represents a SmartContractRecorded event raised by the HarvestNomintrewardpool contract.

type HarvestNomintrewardpoolSmartContractRecordedIterator

type HarvestNomintrewardpoolSmartContractRecordedIterator struct {
	Event *HarvestNomintrewardpoolSmartContractRecorded // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

HarvestNomintrewardpoolSmartContractRecordedIterator is returned from FilterSmartContractRecorded and is used to iterate over the raw logs and unpacked data for SmartContractRecorded events raised by the HarvestNomintrewardpool contract.

func (*HarvestNomintrewardpoolSmartContractRecordedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*HarvestNomintrewardpoolSmartContractRecordedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*HarvestNomintrewardpoolSmartContractRecordedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type HarvestNomintrewardpoolStaked

type HarvestNomintrewardpoolStaked struct {
	User   common.Address
	Amount *big.Int
	Raw    types.Log // Blockchain specific contextual infos
}

HarvestNomintrewardpoolStaked represents a Staked event raised by the HarvestNomintrewardpool contract.

type HarvestNomintrewardpoolStakedIterator

type HarvestNomintrewardpoolStakedIterator struct {
	Event *HarvestNomintrewardpoolStaked // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

HarvestNomintrewardpoolStakedIterator is returned from FilterStaked and is used to iterate over the raw logs and unpacked data for Staked events raised by the HarvestNomintrewardpool contract.

func (*HarvestNomintrewardpoolStakedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*HarvestNomintrewardpoolStakedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*HarvestNomintrewardpoolStakedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type HarvestNomintrewardpoolTransactor

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

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

func NewHarvestNomintrewardpoolTransactor

func NewHarvestNomintrewardpoolTransactor(address common.Address, transactor bind.ContractTransactor) (*HarvestNomintrewardpoolTransactor, error)

NewHarvestNomintrewardpoolTransactor creates a new write-only instance of HarvestNomintrewardpool, bound to a specific deployed contract.

func (*HarvestNomintrewardpoolTransactor) Exit

func (_HarvestNomintrewardpool *HarvestNomintrewardpoolTransactor) Exit(opts *bind.TransactOpts) (*types.Transaction, error)

Exit is a paid mutator transaction binding the contract method 0xe9fad8ee.

Solidity: function exit() returns()

func (*HarvestNomintrewardpoolTransactor) GetReward

func (_HarvestNomintrewardpool *HarvestNomintrewardpoolTransactor) GetReward(opts *bind.TransactOpts) (*types.Transaction, error)

GetReward is a paid mutator transaction binding the contract method 0x3d18b912.

Solidity: function getReward() returns()

func (*HarvestNomintrewardpoolTransactor) Migrate

func (_HarvestNomintrewardpool *HarvestNomintrewardpoolTransactor) Migrate(opts *bind.TransactOpts) (*types.Transaction, error)

Migrate is a paid mutator transaction binding the contract method 0x8fd3ab80.

Solidity: function migrate() returns()

func (*HarvestNomintrewardpoolTransactor) NotifyRewardAmount

func (_HarvestNomintrewardpool *HarvestNomintrewardpoolTransactor) NotifyRewardAmount(opts *bind.TransactOpts, reward *big.Int) (*types.Transaction, error)

NotifyRewardAmount is a paid mutator transaction binding the contract method 0x3c6b16ab.

Solidity: function notifyRewardAmount(uint256 reward) returns()

func (*HarvestNomintrewardpoolTransactor) PullFromStrategy

func (_HarvestNomintrewardpool *HarvestNomintrewardpoolTransactor) PullFromStrategy(opts *bind.TransactOpts) (*types.Transaction, error)

PullFromStrategy is a paid mutator transaction binding the contract method 0xc9a8b55a.

Solidity: function pullFromStrategy() returns()

func (*HarvestNomintrewardpoolTransactor) PushReward

func (_HarvestNomintrewardpool *HarvestNomintrewardpoolTransactor) PushReward(opts *bind.TransactOpts, recipient common.Address) (*types.Transaction, error)

PushReward is a paid mutator transaction binding the contract method 0xfa9389a2.

Solidity: function pushReward(address recipient) returns()

func (*HarvestNomintrewardpoolTransactor) RenounceOwnership

func (_HarvestNomintrewardpool *HarvestNomintrewardpoolTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*HarvestNomintrewardpoolTransactor) SetCanMigrate

func (_HarvestNomintrewardpool *HarvestNomintrewardpoolTransactor) SetCanMigrate(opts *bind.TransactOpts, _canMigrate bool) (*types.Transaction, error)

SetCanMigrate is a paid mutator transaction binding the contract method 0x15672d58.

Solidity: function setCanMigrate(bool _canMigrate) returns()

func (*HarvestNomintrewardpoolTransactor) SetRewardDistribution

func (_HarvestNomintrewardpool *HarvestNomintrewardpoolTransactor) SetRewardDistribution(opts *bind.TransactOpts, _rewardDistribution common.Address) (*types.Transaction, error)

SetRewardDistribution is a paid mutator transaction binding the contract method 0x0d68b761.

Solidity: function setRewardDistribution(address _rewardDistribution) returns()

func (*HarvestNomintrewardpoolTransactor) SetStorage

func (_HarvestNomintrewardpool *HarvestNomintrewardpoolTransactor) SetStorage(opts *bind.TransactOpts, _store common.Address) (*types.Transaction, error)

SetStorage is a paid mutator transaction binding the contract method 0x9137c1a7.

Solidity: function setStorage(address _store) returns()

func (*HarvestNomintrewardpoolTransactor) Stake

func (_HarvestNomintrewardpool *HarvestNomintrewardpoolTransactor) Stake(opts *bind.TransactOpts, amount *big.Int) (*types.Transaction, error)

Stake is a paid mutator transaction binding the contract method 0xa694fc3a.

Solidity: function stake(uint256 amount) returns()

func (*HarvestNomintrewardpoolTransactor) TransferOwnership

func (_HarvestNomintrewardpool *HarvestNomintrewardpoolTransactor) 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 (*HarvestNomintrewardpoolTransactor) Withdraw

func (_HarvestNomintrewardpool *HarvestNomintrewardpoolTransactor) Withdraw(opts *bind.TransactOpts, amount *big.Int) (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0x2e1a7d4d.

Solidity: function withdraw(uint256 amount) returns()

type HarvestNomintrewardpoolTransactorRaw

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

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

func (*HarvestNomintrewardpoolTransactorRaw) Transact

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

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

func (*HarvestNomintrewardpoolTransactorRaw) Transfer

func (_HarvestNomintrewardpool *HarvestNomintrewardpoolTransactorRaw) 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 HarvestNomintrewardpoolTransactorSession

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

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

func (*HarvestNomintrewardpoolTransactorSession) Exit

func (_HarvestNomintrewardpool *HarvestNomintrewardpoolTransactorSession) Exit() (*types.Transaction, error)

Exit is a paid mutator transaction binding the contract method 0xe9fad8ee.

Solidity: function exit() returns()

func (*HarvestNomintrewardpoolTransactorSession) GetReward

func (_HarvestNomintrewardpool *HarvestNomintrewardpoolTransactorSession) GetReward() (*types.Transaction, error)

GetReward is a paid mutator transaction binding the contract method 0x3d18b912.

Solidity: function getReward() returns()

func (*HarvestNomintrewardpoolTransactorSession) Migrate

func (_HarvestNomintrewardpool *HarvestNomintrewardpoolTransactorSession) Migrate() (*types.Transaction, error)

Migrate is a paid mutator transaction binding the contract method 0x8fd3ab80.

Solidity: function migrate() returns()

func (*HarvestNomintrewardpoolTransactorSession) NotifyRewardAmount

func (_HarvestNomintrewardpool *HarvestNomintrewardpoolTransactorSession) NotifyRewardAmount(reward *big.Int) (*types.Transaction, error)

NotifyRewardAmount is a paid mutator transaction binding the contract method 0x3c6b16ab.

Solidity: function notifyRewardAmount(uint256 reward) returns()

func (*HarvestNomintrewardpoolTransactorSession) PullFromStrategy

func (_HarvestNomintrewardpool *HarvestNomintrewardpoolTransactorSession) PullFromStrategy() (*types.Transaction, error)

PullFromStrategy is a paid mutator transaction binding the contract method 0xc9a8b55a.

Solidity: function pullFromStrategy() returns()

func (*HarvestNomintrewardpoolTransactorSession) PushReward

func (_HarvestNomintrewardpool *HarvestNomintrewardpoolTransactorSession) PushReward(recipient common.Address) (*types.Transaction, error)

PushReward is a paid mutator transaction binding the contract method 0xfa9389a2.

Solidity: function pushReward(address recipient) returns()

func (*HarvestNomintrewardpoolTransactorSession) RenounceOwnership

func (_HarvestNomintrewardpool *HarvestNomintrewardpoolTransactorSession) RenounceOwnership() (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*HarvestNomintrewardpoolTransactorSession) SetCanMigrate

func (_HarvestNomintrewardpool *HarvestNomintrewardpoolTransactorSession) SetCanMigrate(_canMigrate bool) (*types.Transaction, error)

SetCanMigrate is a paid mutator transaction binding the contract method 0x15672d58.

Solidity: function setCanMigrate(bool _canMigrate) returns()

func (*HarvestNomintrewardpoolTransactorSession) SetRewardDistribution

func (_HarvestNomintrewardpool *HarvestNomintrewardpoolTransactorSession) SetRewardDistribution(_rewardDistribution common.Address) (*types.Transaction, error)

SetRewardDistribution is a paid mutator transaction binding the contract method 0x0d68b761.

Solidity: function setRewardDistribution(address _rewardDistribution) returns()

func (*HarvestNomintrewardpoolTransactorSession) SetStorage

func (_HarvestNomintrewardpool *HarvestNomintrewardpoolTransactorSession) SetStorage(_store common.Address) (*types.Transaction, error)

SetStorage is a paid mutator transaction binding the contract method 0x9137c1a7.

Solidity: function setStorage(address _store) returns()

func (*HarvestNomintrewardpoolTransactorSession) Stake

func (_HarvestNomintrewardpool *HarvestNomintrewardpoolTransactorSession) Stake(amount *big.Int) (*types.Transaction, error)

Stake is a paid mutator transaction binding the contract method 0xa694fc3a.

Solidity: function stake(uint256 amount) returns()

func (*HarvestNomintrewardpoolTransactorSession) TransferOwnership

func (_HarvestNomintrewardpool *HarvestNomintrewardpoolTransactorSession) 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 (*HarvestNomintrewardpoolTransactorSession) Withdraw

func (_HarvestNomintrewardpool *HarvestNomintrewardpoolTransactorSession) Withdraw(amount *big.Int) (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0x2e1a7d4d.

Solidity: function withdraw(uint256 amount) returns()

type HarvestNomintrewardpoolWithdrawn

type HarvestNomintrewardpoolWithdrawn struct {
	User   common.Address
	Amount *big.Int
	Raw    types.Log // Blockchain specific contextual infos
}

HarvestNomintrewardpoolWithdrawn represents a Withdrawn event raised by the HarvestNomintrewardpool contract.

type HarvestNomintrewardpoolWithdrawnIterator

type HarvestNomintrewardpoolWithdrawnIterator struct {
	Event *HarvestNomintrewardpoolWithdrawn // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

HarvestNomintrewardpoolWithdrawnIterator is returned from FilterWithdrawn and is used to iterate over the raw logs and unpacked data for Withdrawn events raised by the HarvestNomintrewardpool contract.

func (*HarvestNomintrewardpoolWithdrawnIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*HarvestNomintrewardpoolWithdrawnIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*HarvestNomintrewardpoolWithdrawnIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type HarvestVault

type HarvestVault struct {
	HarvestVaultCaller     // Read-only binding to the contract
	HarvestVaultTransactor // Write-only binding to the contract
	HarvestVaultFilterer   // Log filterer for contract events
}

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

func NewHarvestVault

func NewHarvestVault(address common.Address, backend bind.ContractBackend) (*HarvestVault, error)

NewHarvestVault creates a new instance of HarvestVault, bound to a specific deployed contract.

type HarvestVaultApproval

type HarvestVaultApproval struct {
	Owner   common.Address
	Spender common.Address
	Value   *big.Int
	Raw     types.Log // Blockchain specific contextual infos
}

HarvestVaultApproval represents a Approval event raised by the HarvestVault contract.

type HarvestVaultApprovalIterator

type HarvestVaultApprovalIterator struct {
	Event *HarvestVaultApproval // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

HarvestVaultApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the HarvestVault contract.

func (*HarvestVaultApprovalIterator) Close

func (it *HarvestVaultApprovalIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*HarvestVaultApprovalIterator) Error

func (it *HarvestVaultApprovalIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*HarvestVaultApprovalIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type HarvestVaultCaller

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

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

func NewHarvestVaultCaller

func NewHarvestVaultCaller(address common.Address, caller bind.ContractCaller) (*HarvestVaultCaller, error)

NewHarvestVaultCaller creates a new read-only instance of HarvestVault, bound to a specific deployed contract.

func (*HarvestVaultCaller) Allowance

func (_HarvestVault *HarvestVaultCaller) 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 (*HarvestVaultCaller) AvailableToInvestOut

func (_HarvestVault *HarvestVaultCaller) AvailableToInvestOut(opts *bind.CallOpts) (*big.Int, error)

AvailableToInvestOut is a free data retrieval call binding the contract method 0xb592c390.

Solidity: function availableToInvestOut() view returns(uint256)

func (*HarvestVaultCaller) BalanceOf

func (_HarvestVault *HarvestVaultCaller) 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 (*HarvestVaultCaller) CanUpdateStrategy

func (_HarvestVault *HarvestVaultCaller) CanUpdateStrategy(opts *bind.CallOpts, _strategy common.Address) (bool, error)

CanUpdateStrategy is a free data retrieval call binding the contract method 0xf0cf91e7.

Solidity: function canUpdateStrategy(address _strategy) view returns(bool)

func (*HarvestVaultCaller) Controller

func (_HarvestVault *HarvestVaultCaller) Controller(opts *bind.CallOpts) (common.Address, error)

Controller is a free data retrieval call binding the contract method 0xf77c4791.

Solidity: function controller() view returns(address)

func (*HarvestVaultCaller) Decimals

func (_HarvestVault *HarvestVaultCaller) 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 (*HarvestVaultCaller) FutureStrategy

func (_HarvestVault *HarvestVaultCaller) FutureStrategy(opts *bind.CallOpts) (common.Address, error)

FutureStrategy is a free data retrieval call binding the contract method 0x5fe51e6d.

Solidity: function futureStrategy() view returns(address)

func (*HarvestVaultCaller) GetPricePerFullShare

func (_HarvestVault *HarvestVaultCaller) GetPricePerFullShare(opts *bind.CallOpts) (*big.Int, error)

GetPricePerFullShare is a free data retrieval call binding the contract method 0x77c7b8fc.

Solidity: function getPricePerFullShare() view returns(uint256)

func (*HarvestVaultCaller) Governance

func (_HarvestVault *HarvestVaultCaller) Governance(opts *bind.CallOpts) (common.Address, error)

Governance is a free data retrieval call binding the contract method 0x5aa6e675.

Solidity: function governance() view returns(address)

func (*HarvestVaultCaller) Name

func (_HarvestVault *HarvestVaultCaller) 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 (*HarvestVaultCaller) NextImplementation

func (_HarvestVault *HarvestVaultCaller) NextImplementation(opts *bind.CallOpts) (common.Address, error)

NextImplementation is a free data retrieval call binding the contract method 0x09ff18f0.

Solidity: function nextImplementation() view returns(address)

func (*HarvestVaultCaller) NextImplementationDelay

func (_HarvestVault *HarvestVaultCaller) NextImplementationDelay(opts *bind.CallOpts) (*big.Int, error)

NextImplementationDelay is a free data retrieval call binding the contract method 0xa8365693.

Solidity: function nextImplementationDelay() view returns(uint256)

func (*HarvestVaultCaller) NextImplementationTimestamp

func (_HarvestVault *HarvestVaultCaller) NextImplementationTimestamp(opts *bind.CallOpts) (*big.Int, error)

NextImplementationTimestamp is a free data retrieval call binding the contract method 0x82de9c1b.

Solidity: function nextImplementationTimestamp() view returns(uint256)

func (*HarvestVaultCaller) ShouldUpgrade

func (_HarvestVault *HarvestVaultCaller) ShouldUpgrade(opts *bind.CallOpts) (bool, common.Address, error)

ShouldUpgrade is a free data retrieval call binding the contract method 0x9d16acfd.

Solidity: function shouldUpgrade() view returns(bool, address)

func (*HarvestVaultCaller) Strategy

func (_HarvestVault *HarvestVaultCaller) Strategy(opts *bind.CallOpts) (common.Address, error)

Strategy is a free data retrieval call binding the contract method 0xa8c62e76.

Solidity: function strategy() view returns(address)

func (*HarvestVaultCaller) StrategyTimeLock

func (_HarvestVault *HarvestVaultCaller) StrategyTimeLock(opts *bind.CallOpts) (*big.Int, error)

StrategyTimeLock is a free data retrieval call binding the contract method 0x0ad2239d.

Solidity: function strategyTimeLock() view returns(uint256)

func (*HarvestVaultCaller) StrategyUpdateTime

func (_HarvestVault *HarvestVaultCaller) StrategyUpdateTime(opts *bind.CallOpts) (*big.Int, error)

StrategyUpdateTime is a free data retrieval call binding the contract method 0xaa044625.

Solidity: function strategyUpdateTime() view returns(uint256)

func (*HarvestVaultCaller) Symbol

func (_HarvestVault *HarvestVaultCaller) 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 (*HarvestVaultCaller) TotalSupply

func (_HarvestVault *HarvestVaultCaller) 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 (*HarvestVaultCaller) Underlying

func (_HarvestVault *HarvestVaultCaller) Underlying(opts *bind.CallOpts) (common.Address, error)

Underlying is a free data retrieval call binding the contract method 0x6f307dc3.

Solidity: function underlying() view returns(address)

func (*HarvestVaultCaller) UnderlyingBalanceInVault

func (_HarvestVault *HarvestVaultCaller) UnderlyingBalanceInVault(opts *bind.CallOpts) (*big.Int, error)

UnderlyingBalanceInVault is a free data retrieval call binding the contract method 0xc2baf356.

Solidity: function underlyingBalanceInVault() view returns(uint256)

func (*HarvestVaultCaller) UnderlyingBalanceWithInvestment

func (_HarvestVault *HarvestVaultCaller) UnderlyingBalanceWithInvestment(opts *bind.CallOpts) (*big.Int, error)

UnderlyingBalanceWithInvestment is a free data retrieval call binding the contract method 0x1bf8e7be.

Solidity: function underlyingBalanceWithInvestment() view returns(uint256)

func (*HarvestVaultCaller) UnderlyingBalanceWithInvestmentForHolder

func (_HarvestVault *HarvestVaultCaller) UnderlyingBalanceWithInvestmentForHolder(opts *bind.CallOpts, holder common.Address) (*big.Int, error)

UnderlyingBalanceWithInvestmentForHolder is a free data retrieval call binding the contract method 0x8cb1d67f.

Solidity: function underlyingBalanceWithInvestmentForHolder(address holder) view returns(uint256)

func (*HarvestVaultCaller) UnderlyingUnit

func (_HarvestVault *HarvestVaultCaller) UnderlyingUnit(opts *bind.CallOpts) (*big.Int, error)

UnderlyingUnit is a free data retrieval call binding the contract method 0x53ceb01c.

Solidity: function underlyingUnit() view returns(uint256)

func (*HarvestVaultCaller) VaultFractionToInvestDenominator

func (_HarvestVault *HarvestVaultCaller) VaultFractionToInvestDenominator(opts *bind.CallOpts) (*big.Int, error)

VaultFractionToInvestDenominator is a free data retrieval call binding the contract method 0xf2768c1e.

Solidity: function vaultFractionToInvestDenominator() view returns(uint256)

func (*HarvestVaultCaller) VaultFractionToInvestNumerator

func (_HarvestVault *HarvestVaultCaller) VaultFractionToInvestNumerator(opts *bind.CallOpts) (*big.Int, error)

VaultFractionToInvestNumerator is a free data retrieval call binding the contract method 0x4af1758b.

Solidity: function vaultFractionToInvestNumerator() view returns(uint256)

type HarvestVaultCallerRaw

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

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

func (*HarvestVaultCallerRaw) Call

func (_HarvestVault *HarvestVaultCallerRaw) 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 HarvestVaultCallerSession

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

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

func (*HarvestVaultCallerSession) Allowance

func (_HarvestVault *HarvestVaultCallerSession) 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 (*HarvestVaultCallerSession) AvailableToInvestOut

func (_HarvestVault *HarvestVaultCallerSession) AvailableToInvestOut() (*big.Int, error)

AvailableToInvestOut is a free data retrieval call binding the contract method 0xb592c390.

Solidity: function availableToInvestOut() view returns(uint256)

func (*HarvestVaultCallerSession) BalanceOf

func (_HarvestVault *HarvestVaultCallerSession) 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 (*HarvestVaultCallerSession) CanUpdateStrategy

func (_HarvestVault *HarvestVaultCallerSession) CanUpdateStrategy(_strategy common.Address) (bool, error)

CanUpdateStrategy is a free data retrieval call binding the contract method 0xf0cf91e7.

Solidity: function canUpdateStrategy(address _strategy) view returns(bool)

func (*HarvestVaultCallerSession) Controller

func (_HarvestVault *HarvestVaultCallerSession) Controller() (common.Address, error)

Controller is a free data retrieval call binding the contract method 0xf77c4791.

Solidity: function controller() view returns(address)

func (*HarvestVaultCallerSession) Decimals

func (_HarvestVault *HarvestVaultCallerSession) Decimals() (uint8, error)

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

Solidity: function decimals() view returns(uint8)

func (*HarvestVaultCallerSession) FutureStrategy

func (_HarvestVault *HarvestVaultCallerSession) FutureStrategy() (common.Address, error)

FutureStrategy is a free data retrieval call binding the contract method 0x5fe51e6d.

Solidity: function futureStrategy() view returns(address)

func (*HarvestVaultCallerSession) GetPricePerFullShare

func (_HarvestVault *HarvestVaultCallerSession) GetPricePerFullShare() (*big.Int, error)

GetPricePerFullShare is a free data retrieval call binding the contract method 0x77c7b8fc.

Solidity: function getPricePerFullShare() view returns(uint256)

func (*HarvestVaultCallerSession) Governance

func (_HarvestVault *HarvestVaultCallerSession) Governance() (common.Address, error)

Governance is a free data retrieval call binding the contract method 0x5aa6e675.

Solidity: function governance() view returns(address)

func (*HarvestVaultCallerSession) Name

func (_HarvestVault *HarvestVaultCallerSession) Name() (string, error)

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

Solidity: function name() view returns(string)

func (*HarvestVaultCallerSession) NextImplementation

func (_HarvestVault *HarvestVaultCallerSession) NextImplementation() (common.Address, error)

NextImplementation is a free data retrieval call binding the contract method 0x09ff18f0.

Solidity: function nextImplementation() view returns(address)

func (*HarvestVaultCallerSession) NextImplementationDelay

func (_HarvestVault *HarvestVaultCallerSession) NextImplementationDelay() (*big.Int, error)

NextImplementationDelay is a free data retrieval call binding the contract method 0xa8365693.

Solidity: function nextImplementationDelay() view returns(uint256)

func (*HarvestVaultCallerSession) NextImplementationTimestamp

func (_HarvestVault *HarvestVaultCallerSession) NextImplementationTimestamp() (*big.Int, error)

NextImplementationTimestamp is a free data retrieval call binding the contract method 0x82de9c1b.

Solidity: function nextImplementationTimestamp() view returns(uint256)

func (*HarvestVaultCallerSession) ShouldUpgrade

func (_HarvestVault *HarvestVaultCallerSession) ShouldUpgrade() (bool, common.Address, error)

ShouldUpgrade is a free data retrieval call binding the contract method 0x9d16acfd.

Solidity: function shouldUpgrade() view returns(bool, address)

func (*HarvestVaultCallerSession) Strategy

func (_HarvestVault *HarvestVaultCallerSession) Strategy() (common.Address, error)

Strategy is a free data retrieval call binding the contract method 0xa8c62e76.

Solidity: function strategy() view returns(address)

func (*HarvestVaultCallerSession) StrategyTimeLock

func (_HarvestVault *HarvestVaultCallerSession) StrategyTimeLock() (*big.Int, error)

StrategyTimeLock is a free data retrieval call binding the contract method 0x0ad2239d.

Solidity: function strategyTimeLock() view returns(uint256)

func (*HarvestVaultCallerSession) StrategyUpdateTime

func (_HarvestVault *HarvestVaultCallerSession) StrategyUpdateTime() (*big.Int, error)

StrategyUpdateTime is a free data retrieval call binding the contract method 0xaa044625.

Solidity: function strategyUpdateTime() view returns(uint256)

func (*HarvestVaultCallerSession) Symbol

func (_HarvestVault *HarvestVaultCallerSession) Symbol() (string, error)

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

Solidity: function symbol() view returns(string)

func (*HarvestVaultCallerSession) TotalSupply

func (_HarvestVault *HarvestVaultCallerSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

func (*HarvestVaultCallerSession) Underlying

func (_HarvestVault *HarvestVaultCallerSession) Underlying() (common.Address, error)

Underlying is a free data retrieval call binding the contract method 0x6f307dc3.

Solidity: function underlying() view returns(address)

func (*HarvestVaultCallerSession) UnderlyingBalanceInVault

func (_HarvestVault *HarvestVaultCallerSession) UnderlyingBalanceInVault() (*big.Int, error)

UnderlyingBalanceInVault is a free data retrieval call binding the contract method 0xc2baf356.

Solidity: function underlyingBalanceInVault() view returns(uint256)

func (*HarvestVaultCallerSession) UnderlyingBalanceWithInvestment

func (_HarvestVault *HarvestVaultCallerSession) UnderlyingBalanceWithInvestment() (*big.Int, error)

UnderlyingBalanceWithInvestment is a free data retrieval call binding the contract method 0x1bf8e7be.

Solidity: function underlyingBalanceWithInvestment() view returns(uint256)

func (*HarvestVaultCallerSession) UnderlyingBalanceWithInvestmentForHolder

func (_HarvestVault *HarvestVaultCallerSession) UnderlyingBalanceWithInvestmentForHolder(holder common.Address) (*big.Int, error)

UnderlyingBalanceWithInvestmentForHolder is a free data retrieval call binding the contract method 0x8cb1d67f.

Solidity: function underlyingBalanceWithInvestmentForHolder(address holder) view returns(uint256)

func (*HarvestVaultCallerSession) UnderlyingUnit

func (_HarvestVault *HarvestVaultCallerSession) UnderlyingUnit() (*big.Int, error)

UnderlyingUnit is a free data retrieval call binding the contract method 0x53ceb01c.

Solidity: function underlyingUnit() view returns(uint256)

func (*HarvestVaultCallerSession) VaultFractionToInvestDenominator

func (_HarvestVault *HarvestVaultCallerSession) VaultFractionToInvestDenominator() (*big.Int, error)

VaultFractionToInvestDenominator is a free data retrieval call binding the contract method 0xf2768c1e.

Solidity: function vaultFractionToInvestDenominator() view returns(uint256)

func (*HarvestVaultCallerSession) VaultFractionToInvestNumerator

func (_HarvestVault *HarvestVaultCallerSession) VaultFractionToInvestNumerator() (*big.Int, error)

VaultFractionToInvestNumerator is a free data retrieval call binding the contract method 0x4af1758b.

Solidity: function vaultFractionToInvestNumerator() view returns(uint256)

type HarvestVaultDeposit

type HarvestVaultDeposit struct {
	Beneficiary common.Address
	Amount      *big.Int
	Raw         types.Log // Blockchain specific contextual infos
}

HarvestVaultDeposit represents a Deposit event raised by the HarvestVault contract.

type HarvestVaultDepositIterator

type HarvestVaultDepositIterator struct {
	Event *HarvestVaultDeposit // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

HarvestVaultDepositIterator is returned from FilterDeposit and is used to iterate over the raw logs and unpacked data for Deposit events raised by the HarvestVault contract.

func (*HarvestVaultDepositIterator) Close

func (it *HarvestVaultDepositIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*HarvestVaultDepositIterator) Error

func (it *HarvestVaultDepositIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*HarvestVaultDepositIterator) Next

func (it *HarvestVaultDepositIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type HarvestVaultFilterer

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

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

func NewHarvestVaultFilterer

func NewHarvestVaultFilterer(address common.Address, filterer bind.ContractFilterer) (*HarvestVaultFilterer, error)

NewHarvestVaultFilterer creates a new log filterer instance of HarvestVault, bound to a specific deployed contract.

func (*HarvestVaultFilterer) FilterApproval

func (_HarvestVault *HarvestVaultFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*HarvestVaultApprovalIterator, error)

FilterApproval is a free log retrieval operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)

func (*HarvestVaultFilterer) FilterDeposit

func (_HarvestVault *HarvestVaultFilterer) FilterDeposit(opts *bind.FilterOpts, beneficiary []common.Address) (*HarvestVaultDepositIterator, error)

FilterDeposit is a free log retrieval operation binding the contract event 0xe1fffcc4923d04b559f4d29a8bfc6cda04eb5b0d3c460751c2402c5c5cc9109c.

Solidity: event Deposit(address indexed beneficiary, uint256 amount)

func (*HarvestVaultFilterer) FilterInvest

func (_HarvestVault *HarvestVaultFilterer) FilterInvest(opts *bind.FilterOpts) (*HarvestVaultInvestIterator, error)

FilterInvest is a free log retrieval operation binding the contract event 0xa09b7ae452b7bffb9e204c3a016e80caeecf46f554d112644f36fa114dac6ffa.

Solidity: event Invest(uint256 amount)

func (*HarvestVaultFilterer) FilterStrategyAnnounced

func (_HarvestVault *HarvestVaultFilterer) FilterStrategyAnnounced(opts *bind.FilterOpts) (*HarvestVaultStrategyAnnouncedIterator, error)

FilterStrategyAnnounced is a free log retrieval operation binding the contract event 0x7d5e1cfe55788983acd19d248da36a27c9413e8e43445ed36a76ae0e741a04ed.

Solidity: event StrategyAnnounced(address newStrategy, uint256 time)

func (*HarvestVaultFilterer) FilterStrategyChanged

func (_HarvestVault *HarvestVaultFilterer) FilterStrategyChanged(opts *bind.FilterOpts) (*HarvestVaultStrategyChangedIterator, error)

FilterStrategyChanged is a free log retrieval operation binding the contract event 0x254c88e7a2ea123aeeb89b7cc413fb949188fefcdb7584c4f3d493294daf65c5.

Solidity: event StrategyChanged(address newStrategy, address oldStrategy)

func (*HarvestVaultFilterer) FilterTransfer

func (_HarvestVault *HarvestVaultFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*HarvestVaultTransferIterator, error)

FilterTransfer is a free log retrieval operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed from, address indexed to, uint256 value)

func (*HarvestVaultFilterer) FilterWithdraw

func (_HarvestVault *HarvestVaultFilterer) FilterWithdraw(opts *bind.FilterOpts, beneficiary []common.Address) (*HarvestVaultWithdrawIterator, error)

FilterWithdraw is a free log retrieval operation binding the contract event 0x884edad9ce6fa2440d8a54cc123490eb96d2768479d49ff9c7366125a9424364.

Solidity: event Withdraw(address indexed beneficiary, uint256 amount)

func (*HarvestVaultFilterer) ParseApproval

func (_HarvestVault *HarvestVaultFilterer) ParseApproval(log types.Log) (*HarvestVaultApproval, error)

ParseApproval is a log parse operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)

func (*HarvestVaultFilterer) ParseDeposit

func (_HarvestVault *HarvestVaultFilterer) ParseDeposit(log types.Log) (*HarvestVaultDeposit, error)

ParseDeposit is a log parse operation binding the contract event 0xe1fffcc4923d04b559f4d29a8bfc6cda04eb5b0d3c460751c2402c5c5cc9109c.

Solidity: event Deposit(address indexed beneficiary, uint256 amount)

func (*HarvestVaultFilterer) ParseInvest

func (_HarvestVault *HarvestVaultFilterer) ParseInvest(log types.Log) (*HarvestVaultInvest, error)

ParseInvest is a log parse operation binding the contract event 0xa09b7ae452b7bffb9e204c3a016e80caeecf46f554d112644f36fa114dac6ffa.

Solidity: event Invest(uint256 amount)

func (*HarvestVaultFilterer) ParseStrategyAnnounced

func (_HarvestVault *HarvestVaultFilterer) ParseStrategyAnnounced(log types.Log) (*HarvestVaultStrategyAnnounced, error)

ParseStrategyAnnounced is a log parse operation binding the contract event 0x7d5e1cfe55788983acd19d248da36a27c9413e8e43445ed36a76ae0e741a04ed.

Solidity: event StrategyAnnounced(address newStrategy, uint256 time)

func (*HarvestVaultFilterer) ParseStrategyChanged

func (_HarvestVault *HarvestVaultFilterer) ParseStrategyChanged(log types.Log) (*HarvestVaultStrategyChanged, error)

ParseStrategyChanged is a log parse operation binding the contract event 0x254c88e7a2ea123aeeb89b7cc413fb949188fefcdb7584c4f3d493294daf65c5.

Solidity: event StrategyChanged(address newStrategy, address oldStrategy)

func (*HarvestVaultFilterer) ParseTransfer

func (_HarvestVault *HarvestVaultFilterer) ParseTransfer(log types.Log) (*HarvestVaultTransfer, error)

ParseTransfer is a log parse operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed from, address indexed to, uint256 value)

func (*HarvestVaultFilterer) ParseWithdraw

func (_HarvestVault *HarvestVaultFilterer) ParseWithdraw(log types.Log) (*HarvestVaultWithdraw, error)

ParseWithdraw is a log parse operation binding the contract event 0x884edad9ce6fa2440d8a54cc123490eb96d2768479d49ff9c7366125a9424364.

Solidity: event Withdraw(address indexed beneficiary, uint256 amount)

func (*HarvestVaultFilterer) WatchApproval

func (_HarvestVault *HarvestVaultFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *HarvestVaultApproval, owner []common.Address, spender []common.Address) (event.Subscription, error)

WatchApproval is a free log subscription operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)

func (*HarvestVaultFilterer) WatchDeposit

func (_HarvestVault *HarvestVaultFilterer) WatchDeposit(opts *bind.WatchOpts, sink chan<- *HarvestVaultDeposit, beneficiary []common.Address) (event.Subscription, error)

WatchDeposit is a free log subscription operation binding the contract event 0xe1fffcc4923d04b559f4d29a8bfc6cda04eb5b0d3c460751c2402c5c5cc9109c.

Solidity: event Deposit(address indexed beneficiary, uint256 amount)

func (*HarvestVaultFilterer) WatchInvest

func (_HarvestVault *HarvestVaultFilterer) WatchInvest(opts *bind.WatchOpts, sink chan<- *HarvestVaultInvest) (event.Subscription, error)

WatchInvest is a free log subscription operation binding the contract event 0xa09b7ae452b7bffb9e204c3a016e80caeecf46f554d112644f36fa114dac6ffa.

Solidity: event Invest(uint256 amount)

func (*HarvestVaultFilterer) WatchStrategyAnnounced

func (_HarvestVault *HarvestVaultFilterer) WatchStrategyAnnounced(opts *bind.WatchOpts, sink chan<- *HarvestVaultStrategyAnnounced) (event.Subscription, error)

WatchStrategyAnnounced is a free log subscription operation binding the contract event 0x7d5e1cfe55788983acd19d248da36a27c9413e8e43445ed36a76ae0e741a04ed.

Solidity: event StrategyAnnounced(address newStrategy, uint256 time)

func (*HarvestVaultFilterer) WatchStrategyChanged

func (_HarvestVault *HarvestVaultFilterer) WatchStrategyChanged(opts *bind.WatchOpts, sink chan<- *HarvestVaultStrategyChanged) (event.Subscription, error)

WatchStrategyChanged is a free log subscription operation binding the contract event 0x254c88e7a2ea123aeeb89b7cc413fb949188fefcdb7584c4f3d493294daf65c5.

Solidity: event StrategyChanged(address newStrategy, address oldStrategy)

func (*HarvestVaultFilterer) WatchTransfer

func (_HarvestVault *HarvestVaultFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *HarvestVaultTransfer, from []common.Address, to []common.Address) (event.Subscription, error)

WatchTransfer is a free log subscription operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed from, address indexed to, uint256 value)

func (*HarvestVaultFilterer) WatchWithdraw

func (_HarvestVault *HarvestVaultFilterer) WatchWithdraw(opts *bind.WatchOpts, sink chan<- *HarvestVaultWithdraw, beneficiary []common.Address) (event.Subscription, error)

WatchWithdraw is a free log subscription operation binding the contract event 0x884edad9ce6fa2440d8a54cc123490eb96d2768479d49ff9c7366125a9424364.

Solidity: event Withdraw(address indexed beneficiary, uint256 amount)

type HarvestVaultInvest

type HarvestVaultInvest struct {
	Amount *big.Int
	Raw    types.Log // Blockchain specific contextual infos
}

HarvestVaultInvest represents a Invest event raised by the HarvestVault contract.

type HarvestVaultInvestIterator

type HarvestVaultInvestIterator struct {
	Event *HarvestVaultInvest // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

HarvestVaultInvestIterator is returned from FilterInvest and is used to iterate over the raw logs and unpacked data for Invest events raised by the HarvestVault contract.

func (*HarvestVaultInvestIterator) Close

func (it *HarvestVaultInvestIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*HarvestVaultInvestIterator) Error

func (it *HarvestVaultInvestIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*HarvestVaultInvestIterator) Next

func (it *HarvestVaultInvestIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type HarvestVaultRaw

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

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

func (*HarvestVaultRaw) Call

func (_HarvestVault *HarvestVaultRaw) 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 (*HarvestVaultRaw) Transact

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

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

func (*HarvestVaultRaw) Transfer

func (_HarvestVault *HarvestVaultRaw) 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 HarvestVaultSession

type HarvestVaultSession struct {
	Contract     *HarvestVault     // 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
}

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

func (*HarvestVaultSession) Allowance

func (_HarvestVault *HarvestVaultSession) 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 (*HarvestVaultSession) AnnounceStrategyUpdate

func (_HarvestVault *HarvestVaultSession) AnnounceStrategyUpdate(_strategy common.Address) (*types.Transaction, error)

AnnounceStrategyUpdate is a paid mutator transaction binding the contract method 0x0a6bbeb3.

Solidity: function announceStrategyUpdate(address _strategy) returns()

func (*HarvestVaultSession) Approve

func (_HarvestVault *HarvestVaultSession) 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 (*HarvestVaultSession) AvailableToInvestOut

func (_HarvestVault *HarvestVaultSession) AvailableToInvestOut() (*big.Int, error)

AvailableToInvestOut is a free data retrieval call binding the contract method 0xb592c390.

Solidity: function availableToInvestOut() view returns(uint256)

func (*HarvestVaultSession) BalanceOf

func (_HarvestVault *HarvestVaultSession) 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 (*HarvestVaultSession) CanUpdateStrategy

func (_HarvestVault *HarvestVaultSession) CanUpdateStrategy(_strategy common.Address) (bool, error)

CanUpdateStrategy is a free data retrieval call binding the contract method 0xf0cf91e7.

Solidity: function canUpdateStrategy(address _strategy) view returns(bool)

func (*HarvestVaultSession) Controller

func (_HarvestVault *HarvestVaultSession) Controller() (common.Address, error)

Controller is a free data retrieval call binding the contract method 0xf77c4791.

Solidity: function controller() view returns(address)

func (*HarvestVaultSession) Decimals

func (_HarvestVault *HarvestVaultSession) Decimals() (uint8, error)

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

Solidity: function decimals() view returns(uint8)

func (*HarvestVaultSession) DecreaseAllowance

func (_HarvestVault *HarvestVaultSession) 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 (*HarvestVaultSession) Deposit

func (_HarvestVault *HarvestVaultSession) Deposit(amount *big.Int) (*types.Transaction, error)

Deposit is a paid mutator transaction binding the contract method 0xb6b55f25.

Solidity: function deposit(uint256 amount) returns()

func (*HarvestVaultSession) DepositFor

func (_HarvestVault *HarvestVaultSession) DepositFor(amount *big.Int, holder common.Address) (*types.Transaction, error)

DepositFor is a paid mutator transaction binding the contract method 0x36efd16f.

Solidity: function depositFor(uint256 amount, address holder) returns()

func (*HarvestVaultSession) DoHardWork

func (_HarvestVault *HarvestVaultSession) DoHardWork() (*types.Transaction, error)

DoHardWork is a paid mutator transaction binding the contract method 0x4fa5d854.

Solidity: function doHardWork() returns()

func (*HarvestVaultSession) FinalizeStrategyUpdate

func (_HarvestVault *HarvestVaultSession) FinalizeStrategyUpdate() (*types.Transaction, error)

FinalizeStrategyUpdate is a paid mutator transaction binding the contract method 0xeda199aa.

Solidity: function finalizeStrategyUpdate() returns()

func (*HarvestVaultSession) FinalizeUpgrade

func (_HarvestVault *HarvestVaultSession) FinalizeUpgrade() (*types.Transaction, error)

FinalizeUpgrade is a paid mutator transaction binding the contract method 0x9a508c8e.

Solidity: function finalizeUpgrade() returns()

func (*HarvestVaultSession) FutureStrategy

func (_HarvestVault *HarvestVaultSession) FutureStrategy() (common.Address, error)

FutureStrategy is a free data retrieval call binding the contract method 0x5fe51e6d.

Solidity: function futureStrategy() view returns(address)

func (*HarvestVaultSession) GetPricePerFullShare

func (_HarvestVault *HarvestVaultSession) GetPricePerFullShare() (*big.Int, error)

GetPricePerFullShare is a free data retrieval call binding the contract method 0x77c7b8fc.

Solidity: function getPricePerFullShare() view returns(uint256)

func (*HarvestVaultSession) Governance

func (_HarvestVault *HarvestVaultSession) Governance() (common.Address, error)

Governance is a free data retrieval call binding the contract method 0x5aa6e675.

Solidity: function governance() view returns(address)

func (*HarvestVaultSession) IncreaseAllowance

func (_HarvestVault *HarvestVaultSession) 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 (*HarvestVaultSession) Initialize

func (_HarvestVault *HarvestVaultSession) Initialize(name string, symbol string, decimals uint8) (*types.Transaction, error)

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

Solidity: function initialize(string name, string symbol, uint8 decimals) returns()

func (*HarvestVaultSession) Initialize0

func (_HarvestVault *HarvestVaultSession) Initialize0(_underlying common.Address, _toInvestNumerator *big.Int, _toInvestDenominator *big.Int, _underlyingUnit *big.Int, _implementationChangeDelay *big.Int, _strategyChangeDelay *big.Int) (*types.Transaction, error)

Initialize0 is a paid mutator transaction binding the contract method 0x45ff4c80.

Solidity: function initialize(address _underlying, uint256 _toInvestNumerator, uint256 _toInvestDenominator, uint256 _underlyingUnit, uint256 _implementationChangeDelay, uint256 _strategyChangeDelay) returns()

func (*HarvestVaultSession) Initialize1

func (_HarvestVault *HarvestVaultSession) Initialize1(_storage common.Address) (*types.Transaction, error)

Initialize1 is a paid mutator transaction binding the contract method 0xc4d66de8.

Solidity: function initialize(address _storage) returns()

func (*HarvestVaultSession) InitializeVault

func (_HarvestVault *HarvestVaultSession) InitializeVault(_storage common.Address, _underlying common.Address, _toInvestNumerator *big.Int, _toInvestDenominator *big.Int) (*types.Transaction, error)

InitializeVault is a paid mutator transaction binding the contract method 0x8fc1708c.

Solidity: function initializeVault(address _storage, address _underlying, uint256 _toInvestNumerator, uint256 _toInvestDenominator) returns()

func (*HarvestVaultSession) Name

func (_HarvestVault *HarvestVaultSession) Name() (string, error)

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

Solidity: function name() view returns(string)

func (*HarvestVaultSession) NextImplementation

func (_HarvestVault *HarvestVaultSession) NextImplementation() (common.Address, error)

NextImplementation is a free data retrieval call binding the contract method 0x09ff18f0.

Solidity: function nextImplementation() view returns(address)

func (*HarvestVaultSession) NextImplementationDelay

func (_HarvestVault *HarvestVaultSession) NextImplementationDelay() (*big.Int, error)

NextImplementationDelay is a free data retrieval call binding the contract method 0xa8365693.

Solidity: function nextImplementationDelay() view returns(uint256)

func (*HarvestVaultSession) NextImplementationTimestamp

func (_HarvestVault *HarvestVaultSession) NextImplementationTimestamp() (*big.Int, error)

NextImplementationTimestamp is a free data retrieval call binding the contract method 0x82de9c1b.

Solidity: function nextImplementationTimestamp() view returns(uint256)

func (*HarvestVaultSession) Rebalance

func (_HarvestVault *HarvestVaultSession) Rebalance() (*types.Transaction, error)

Rebalance is a paid mutator transaction binding the contract method 0x7d7c2a1c.

Solidity: function rebalance() returns()

func (*HarvestVaultSession) ScheduleUpgrade

func (_HarvestVault *HarvestVaultSession) ScheduleUpgrade(impl common.Address) (*types.Transaction, error)

ScheduleUpgrade is a paid mutator transaction binding the contract method 0x0c80447a.

Solidity: function scheduleUpgrade(address impl) returns()

func (*HarvestVaultSession) SetStorage

func (_HarvestVault *HarvestVaultSession) SetStorage(_store common.Address) (*types.Transaction, error)

SetStorage is a paid mutator transaction binding the contract method 0x9137c1a7.

Solidity: function setStorage(address _store) returns()

func (*HarvestVaultSession) SetStrategy

func (_HarvestVault *HarvestVaultSession) SetStrategy(_strategy common.Address) (*types.Transaction, error)

SetStrategy is a paid mutator transaction binding the contract method 0x33a100ca.

Solidity: function setStrategy(address _strategy) returns()

func (*HarvestVaultSession) SetVaultFractionToInvest

func (_HarvestVault *HarvestVaultSession) SetVaultFractionToInvest(numerator *big.Int, denominator *big.Int) (*types.Transaction, error)

SetVaultFractionToInvest is a paid mutator transaction binding the contract method 0xa5b1a24d.

Solidity: function setVaultFractionToInvest(uint256 numerator, uint256 denominator) returns()

func (*HarvestVaultSession) ShouldUpgrade

func (_HarvestVault *HarvestVaultSession) ShouldUpgrade() (bool, common.Address, error)

ShouldUpgrade is a free data retrieval call binding the contract method 0x9d16acfd.

Solidity: function shouldUpgrade() view returns(bool, address)

func (*HarvestVaultSession) Strategy

func (_HarvestVault *HarvestVaultSession) Strategy() (common.Address, error)

Strategy is a free data retrieval call binding the contract method 0xa8c62e76.

Solidity: function strategy() view returns(address)

func (*HarvestVaultSession) StrategyTimeLock

func (_HarvestVault *HarvestVaultSession) StrategyTimeLock() (*big.Int, error)

StrategyTimeLock is a free data retrieval call binding the contract method 0x0ad2239d.

Solidity: function strategyTimeLock() view returns(uint256)

func (*HarvestVaultSession) StrategyUpdateTime

func (_HarvestVault *HarvestVaultSession) StrategyUpdateTime() (*big.Int, error)

StrategyUpdateTime is a free data retrieval call binding the contract method 0xaa044625.

Solidity: function strategyUpdateTime() view returns(uint256)

func (*HarvestVaultSession) Symbol

func (_HarvestVault *HarvestVaultSession) Symbol() (string, error)

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

Solidity: function symbol() view returns(string)

func (*HarvestVaultSession) TotalSupply

func (_HarvestVault *HarvestVaultSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

func (*HarvestVaultSession) Transfer

func (_HarvestVault *HarvestVaultSession) 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 (*HarvestVaultSession) TransferFrom

func (_HarvestVault *HarvestVaultSession) 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 (*HarvestVaultSession) Underlying

func (_HarvestVault *HarvestVaultSession) Underlying() (common.Address, error)

Underlying is a free data retrieval call binding the contract method 0x6f307dc3.

Solidity: function underlying() view returns(address)

func (*HarvestVaultSession) UnderlyingBalanceInVault

func (_HarvestVault *HarvestVaultSession) UnderlyingBalanceInVault() (*big.Int, error)

UnderlyingBalanceInVault is a free data retrieval call binding the contract method 0xc2baf356.

Solidity: function underlyingBalanceInVault() view returns(uint256)

func (*HarvestVaultSession) UnderlyingBalanceWithInvestment

func (_HarvestVault *HarvestVaultSession) UnderlyingBalanceWithInvestment() (*big.Int, error)

UnderlyingBalanceWithInvestment is a free data retrieval call binding the contract method 0x1bf8e7be.

Solidity: function underlyingBalanceWithInvestment() view returns(uint256)

func (*HarvestVaultSession) UnderlyingBalanceWithInvestmentForHolder

func (_HarvestVault *HarvestVaultSession) UnderlyingBalanceWithInvestmentForHolder(holder common.Address) (*big.Int, error)

UnderlyingBalanceWithInvestmentForHolder is a free data retrieval call binding the contract method 0x8cb1d67f.

Solidity: function underlyingBalanceWithInvestmentForHolder(address holder) view returns(uint256)

func (*HarvestVaultSession) UnderlyingUnit

func (_HarvestVault *HarvestVaultSession) UnderlyingUnit() (*big.Int, error)

UnderlyingUnit is a free data retrieval call binding the contract method 0x53ceb01c.

Solidity: function underlyingUnit() view returns(uint256)

func (*HarvestVaultSession) VaultFractionToInvestDenominator

func (_HarvestVault *HarvestVaultSession) VaultFractionToInvestDenominator() (*big.Int, error)

VaultFractionToInvestDenominator is a free data retrieval call binding the contract method 0xf2768c1e.

Solidity: function vaultFractionToInvestDenominator() view returns(uint256)

func (*HarvestVaultSession) VaultFractionToInvestNumerator

func (_HarvestVault *HarvestVaultSession) VaultFractionToInvestNumerator() (*big.Int, error)

VaultFractionToInvestNumerator is a free data retrieval call binding the contract method 0x4af1758b.

Solidity: function vaultFractionToInvestNumerator() view returns(uint256)

func (*HarvestVaultSession) Withdraw

func (_HarvestVault *HarvestVaultSession) Withdraw(numberOfShares *big.Int) (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0x2e1a7d4d.

Solidity: function withdraw(uint256 numberOfShares) returns()

func (*HarvestVaultSession) WithdrawAll

func (_HarvestVault *HarvestVaultSession) WithdrawAll() (*types.Transaction, error)

WithdrawAll is a paid mutator transaction binding the contract method 0x853828b6.

Solidity: function withdrawAll() returns()

type HarvestVaultStrategyAnnounced

type HarvestVaultStrategyAnnounced struct {
	NewStrategy common.Address
	Time        *big.Int
	Raw         types.Log // Blockchain specific contextual infos
}

HarvestVaultStrategyAnnounced represents a StrategyAnnounced event raised by the HarvestVault contract.

type HarvestVaultStrategyAnnouncedIterator

type HarvestVaultStrategyAnnouncedIterator struct {
	Event *HarvestVaultStrategyAnnounced // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

HarvestVaultStrategyAnnouncedIterator is returned from FilterStrategyAnnounced and is used to iterate over the raw logs and unpacked data for StrategyAnnounced events raised by the HarvestVault contract.

func (*HarvestVaultStrategyAnnouncedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*HarvestVaultStrategyAnnouncedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*HarvestVaultStrategyAnnouncedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type HarvestVaultStrategyChanged

type HarvestVaultStrategyChanged struct {
	NewStrategy common.Address
	OldStrategy common.Address
	Raw         types.Log // Blockchain specific contextual infos
}

HarvestVaultStrategyChanged represents a StrategyChanged event raised by the HarvestVault contract.

type HarvestVaultStrategyChangedIterator

type HarvestVaultStrategyChangedIterator struct {
	Event *HarvestVaultStrategyChanged // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

HarvestVaultStrategyChangedIterator is returned from FilterStrategyChanged and is used to iterate over the raw logs and unpacked data for StrategyChanged events raised by the HarvestVault contract.

func (*HarvestVaultStrategyChangedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*HarvestVaultStrategyChangedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*HarvestVaultStrategyChangedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type HarvestVaultTransactor

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

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

func NewHarvestVaultTransactor

func NewHarvestVaultTransactor(address common.Address, transactor bind.ContractTransactor) (*HarvestVaultTransactor, error)

NewHarvestVaultTransactor creates a new write-only instance of HarvestVault, bound to a specific deployed contract.

func (*HarvestVaultTransactor) AnnounceStrategyUpdate

func (_HarvestVault *HarvestVaultTransactor) AnnounceStrategyUpdate(opts *bind.TransactOpts, _strategy common.Address) (*types.Transaction, error)

AnnounceStrategyUpdate is a paid mutator transaction binding the contract method 0x0a6bbeb3.

Solidity: function announceStrategyUpdate(address _strategy) returns()

func (*HarvestVaultTransactor) Approve

func (_HarvestVault *HarvestVaultTransactor) 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 (*HarvestVaultTransactor) DecreaseAllowance

func (_HarvestVault *HarvestVaultTransactor) 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 (*HarvestVaultTransactor) Deposit

func (_HarvestVault *HarvestVaultTransactor) Deposit(opts *bind.TransactOpts, amount *big.Int) (*types.Transaction, error)

Deposit is a paid mutator transaction binding the contract method 0xb6b55f25.

Solidity: function deposit(uint256 amount) returns()

func (*HarvestVaultTransactor) DepositFor

func (_HarvestVault *HarvestVaultTransactor) DepositFor(opts *bind.TransactOpts, amount *big.Int, holder common.Address) (*types.Transaction, error)

DepositFor is a paid mutator transaction binding the contract method 0x36efd16f.

Solidity: function depositFor(uint256 amount, address holder) returns()

func (*HarvestVaultTransactor) DoHardWork

func (_HarvestVault *HarvestVaultTransactor) DoHardWork(opts *bind.TransactOpts) (*types.Transaction, error)

DoHardWork is a paid mutator transaction binding the contract method 0x4fa5d854.

Solidity: function doHardWork() returns()

func (*HarvestVaultTransactor) FinalizeStrategyUpdate

func (_HarvestVault *HarvestVaultTransactor) FinalizeStrategyUpdate(opts *bind.TransactOpts) (*types.Transaction, error)

FinalizeStrategyUpdate is a paid mutator transaction binding the contract method 0xeda199aa.

Solidity: function finalizeStrategyUpdate() returns()

func (*HarvestVaultTransactor) FinalizeUpgrade

func (_HarvestVault *HarvestVaultTransactor) FinalizeUpgrade(opts *bind.TransactOpts) (*types.Transaction, error)

FinalizeUpgrade is a paid mutator transaction binding the contract method 0x9a508c8e.

Solidity: function finalizeUpgrade() returns()

func (*HarvestVaultTransactor) IncreaseAllowance

func (_HarvestVault *HarvestVaultTransactor) 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 (*HarvestVaultTransactor) Initialize

func (_HarvestVault *HarvestVaultTransactor) Initialize(opts *bind.TransactOpts, name string, symbol string, decimals uint8) (*types.Transaction, error)

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

Solidity: function initialize(string name, string symbol, uint8 decimals) returns()

func (*HarvestVaultTransactor) Initialize0

func (_HarvestVault *HarvestVaultTransactor) Initialize0(opts *bind.TransactOpts, _underlying common.Address, _toInvestNumerator *big.Int, _toInvestDenominator *big.Int, _underlyingUnit *big.Int, _implementationChangeDelay *big.Int, _strategyChangeDelay *big.Int) (*types.Transaction, error)

Initialize0 is a paid mutator transaction binding the contract method 0x45ff4c80.

Solidity: function initialize(address _underlying, uint256 _toInvestNumerator, uint256 _toInvestDenominator, uint256 _underlyingUnit, uint256 _implementationChangeDelay, uint256 _strategyChangeDelay) returns()

func (*HarvestVaultTransactor) Initialize1

func (_HarvestVault *HarvestVaultTransactor) Initialize1(opts *bind.TransactOpts, _storage common.Address) (*types.Transaction, error)

Initialize1 is a paid mutator transaction binding the contract method 0xc4d66de8.

Solidity: function initialize(address _storage) returns()

func (*HarvestVaultTransactor) InitializeVault

func (_HarvestVault *HarvestVaultTransactor) InitializeVault(opts *bind.TransactOpts, _storage common.Address, _underlying common.Address, _toInvestNumerator *big.Int, _toInvestDenominator *big.Int) (*types.Transaction, error)

InitializeVault is a paid mutator transaction binding the contract method 0x8fc1708c.

Solidity: function initializeVault(address _storage, address _underlying, uint256 _toInvestNumerator, uint256 _toInvestDenominator) returns()

func (*HarvestVaultTransactor) Rebalance

func (_HarvestVault *HarvestVaultTransactor) Rebalance(opts *bind.TransactOpts) (*types.Transaction, error)

Rebalance is a paid mutator transaction binding the contract method 0x7d7c2a1c.

Solidity: function rebalance() returns()

func (*HarvestVaultTransactor) ScheduleUpgrade

func (_HarvestVault *HarvestVaultTransactor) ScheduleUpgrade(opts *bind.TransactOpts, impl common.Address) (*types.Transaction, error)

ScheduleUpgrade is a paid mutator transaction binding the contract method 0x0c80447a.

Solidity: function scheduleUpgrade(address impl) returns()

func (*HarvestVaultTransactor) SetStorage

func (_HarvestVault *HarvestVaultTransactor) SetStorage(opts *bind.TransactOpts, _store common.Address) (*types.Transaction, error)

SetStorage is a paid mutator transaction binding the contract method 0x9137c1a7.

Solidity: function setStorage(address _store) returns()

func (*HarvestVaultTransactor) SetStrategy

func (_HarvestVault *HarvestVaultTransactor) SetStrategy(opts *bind.TransactOpts, _strategy common.Address) (*types.Transaction, error)

SetStrategy is a paid mutator transaction binding the contract method 0x33a100ca.

Solidity: function setStrategy(address _strategy) returns()

func (*HarvestVaultTransactor) SetVaultFractionToInvest

func (_HarvestVault *HarvestVaultTransactor) SetVaultFractionToInvest(opts *bind.TransactOpts, numerator *big.Int, denominator *big.Int) (*types.Transaction, error)

SetVaultFractionToInvest is a paid mutator transaction binding the contract method 0xa5b1a24d.

Solidity: function setVaultFractionToInvest(uint256 numerator, uint256 denominator) returns()

func (*HarvestVaultTransactor) Transfer

func (_HarvestVault *HarvestVaultTransactor) 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 (*HarvestVaultTransactor) TransferFrom

func (_HarvestVault *HarvestVaultTransactor) 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 (*HarvestVaultTransactor) Withdraw

func (_HarvestVault *HarvestVaultTransactor) Withdraw(opts *bind.TransactOpts, numberOfShares *big.Int) (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0x2e1a7d4d.

Solidity: function withdraw(uint256 numberOfShares) returns()

func (*HarvestVaultTransactor) WithdrawAll

func (_HarvestVault *HarvestVaultTransactor) WithdrawAll(opts *bind.TransactOpts) (*types.Transaction, error)

WithdrawAll is a paid mutator transaction binding the contract method 0x853828b6.

Solidity: function withdrawAll() returns()

type HarvestVaultTransactorRaw

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

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

func (*HarvestVaultTransactorRaw) Transact

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

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

func (*HarvestVaultTransactorRaw) Transfer

func (_HarvestVault *HarvestVaultTransactorRaw) 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 HarvestVaultTransactorSession

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

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

func (*HarvestVaultTransactorSession) AnnounceStrategyUpdate

func (_HarvestVault *HarvestVaultTransactorSession) AnnounceStrategyUpdate(_strategy common.Address) (*types.Transaction, error)

AnnounceStrategyUpdate is a paid mutator transaction binding the contract method 0x0a6bbeb3.

Solidity: function announceStrategyUpdate(address _strategy) returns()

func (*HarvestVaultTransactorSession) Approve

func (_HarvestVault *HarvestVaultTransactorSession) 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 (*HarvestVaultTransactorSession) DecreaseAllowance

func (_HarvestVault *HarvestVaultTransactorSession) 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 (*HarvestVaultTransactorSession) Deposit

func (_HarvestVault *HarvestVaultTransactorSession) Deposit(amount *big.Int) (*types.Transaction, error)

Deposit is a paid mutator transaction binding the contract method 0xb6b55f25.

Solidity: function deposit(uint256 amount) returns()

func (*HarvestVaultTransactorSession) DepositFor

func (_HarvestVault *HarvestVaultTransactorSession) DepositFor(amount *big.Int, holder common.Address) (*types.Transaction, error)

DepositFor is a paid mutator transaction binding the contract method 0x36efd16f.

Solidity: function depositFor(uint256 amount, address holder) returns()

func (*HarvestVaultTransactorSession) DoHardWork

func (_HarvestVault *HarvestVaultTransactorSession) DoHardWork() (*types.Transaction, error)

DoHardWork is a paid mutator transaction binding the contract method 0x4fa5d854.

Solidity: function doHardWork() returns()

func (*HarvestVaultTransactorSession) FinalizeStrategyUpdate

func (_HarvestVault *HarvestVaultTransactorSession) FinalizeStrategyUpdate() (*types.Transaction, error)

FinalizeStrategyUpdate is a paid mutator transaction binding the contract method 0xeda199aa.

Solidity: function finalizeStrategyUpdate() returns()

func (*HarvestVaultTransactorSession) FinalizeUpgrade

func (_HarvestVault *HarvestVaultTransactorSession) FinalizeUpgrade() (*types.Transaction, error)

FinalizeUpgrade is a paid mutator transaction binding the contract method 0x9a508c8e.

Solidity: function finalizeUpgrade() returns()

func (*HarvestVaultTransactorSession) IncreaseAllowance

func (_HarvestVault *HarvestVaultTransactorSession) 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 (*HarvestVaultTransactorSession) Initialize

func (_HarvestVault *HarvestVaultTransactorSession) Initialize(name string, symbol string, decimals uint8) (*types.Transaction, error)

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

Solidity: function initialize(string name, string symbol, uint8 decimals) returns()

func (*HarvestVaultTransactorSession) Initialize0

func (_HarvestVault *HarvestVaultTransactorSession) Initialize0(_underlying common.Address, _toInvestNumerator *big.Int, _toInvestDenominator *big.Int, _underlyingUnit *big.Int, _implementationChangeDelay *big.Int, _strategyChangeDelay *big.Int) (*types.Transaction, error)

Initialize0 is a paid mutator transaction binding the contract method 0x45ff4c80.

Solidity: function initialize(address _underlying, uint256 _toInvestNumerator, uint256 _toInvestDenominator, uint256 _underlyingUnit, uint256 _implementationChangeDelay, uint256 _strategyChangeDelay) returns()

func (*HarvestVaultTransactorSession) Initialize1

func (_HarvestVault *HarvestVaultTransactorSession) Initialize1(_storage common.Address) (*types.Transaction, error)

Initialize1 is a paid mutator transaction binding the contract method 0xc4d66de8.

Solidity: function initialize(address _storage) returns()

func (*HarvestVaultTransactorSession) InitializeVault

func (_HarvestVault *HarvestVaultTransactorSession) InitializeVault(_storage common.Address, _underlying common.Address, _toInvestNumerator *big.Int, _toInvestDenominator *big.Int) (*types.Transaction, error)

InitializeVault is a paid mutator transaction binding the contract method 0x8fc1708c.

Solidity: function initializeVault(address _storage, address _underlying, uint256 _toInvestNumerator, uint256 _toInvestDenominator) returns()

func (*HarvestVaultTransactorSession) Rebalance

func (_HarvestVault *HarvestVaultTransactorSession) Rebalance() (*types.Transaction, error)

Rebalance is a paid mutator transaction binding the contract method 0x7d7c2a1c.

Solidity: function rebalance() returns()

func (*HarvestVaultTransactorSession) ScheduleUpgrade

func (_HarvestVault *HarvestVaultTransactorSession) ScheduleUpgrade(impl common.Address) (*types.Transaction, error)

ScheduleUpgrade is a paid mutator transaction binding the contract method 0x0c80447a.

Solidity: function scheduleUpgrade(address impl) returns()

func (*HarvestVaultTransactorSession) SetStorage

func (_HarvestVault *HarvestVaultTransactorSession) SetStorage(_store common.Address) (*types.Transaction, error)

SetStorage is a paid mutator transaction binding the contract method 0x9137c1a7.

Solidity: function setStorage(address _store) returns()

func (*HarvestVaultTransactorSession) SetStrategy

func (_HarvestVault *HarvestVaultTransactorSession) SetStrategy(_strategy common.Address) (*types.Transaction, error)

SetStrategy is a paid mutator transaction binding the contract method 0x33a100ca.

Solidity: function setStrategy(address _strategy) returns()

func (*HarvestVaultTransactorSession) SetVaultFractionToInvest

func (_HarvestVault *HarvestVaultTransactorSession) SetVaultFractionToInvest(numerator *big.Int, denominator *big.Int) (*types.Transaction, error)

SetVaultFractionToInvest is a paid mutator transaction binding the contract method 0xa5b1a24d.

Solidity: function setVaultFractionToInvest(uint256 numerator, uint256 denominator) returns()

func (*HarvestVaultTransactorSession) Transfer

func (_HarvestVault *HarvestVaultTransactorSession) 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 (*HarvestVaultTransactorSession) TransferFrom

func (_HarvestVault *HarvestVaultTransactorSession) 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 (*HarvestVaultTransactorSession) Withdraw

func (_HarvestVault *HarvestVaultTransactorSession) Withdraw(numberOfShares *big.Int) (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0x2e1a7d4d.

Solidity: function withdraw(uint256 numberOfShares) returns()

func (*HarvestVaultTransactorSession) WithdrawAll

func (_HarvestVault *HarvestVaultTransactorSession) WithdrawAll() (*types.Transaction, error)

WithdrawAll is a paid mutator transaction binding the contract method 0x853828b6.

Solidity: function withdrawAll() returns()

type HarvestVaultTransfer

type HarvestVaultTransfer struct {
	From  common.Address
	To    common.Address
	Value *big.Int
	Raw   types.Log // Blockchain specific contextual infos
}

HarvestVaultTransfer represents a Transfer event raised by the HarvestVault contract.

type HarvestVaultTransferIterator

type HarvestVaultTransferIterator struct {
	Event *HarvestVaultTransfer // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

HarvestVaultTransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the HarvestVault contract.

func (*HarvestVaultTransferIterator) Close

func (it *HarvestVaultTransferIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*HarvestVaultTransferIterator) Error

func (it *HarvestVaultTransferIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*HarvestVaultTransferIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type HarvestVaultWithdraw

type HarvestVaultWithdraw struct {
	Beneficiary common.Address
	Amount      *big.Int
	Raw         types.Log // Blockchain specific contextual infos
}

HarvestVaultWithdraw represents a Withdraw event raised by the HarvestVault contract.

type HarvestVaultWithdrawIterator

type HarvestVaultWithdrawIterator struct {
	Event *HarvestVaultWithdraw // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

HarvestVaultWithdrawIterator is returned from FilterWithdraw and is used to iterate over the raw logs and unpacked data for Withdraw events raised by the HarvestVault contract.

func (*HarvestVaultWithdrawIterator) Close

func (it *HarvestVaultWithdrawIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*HarvestVaultWithdrawIterator) Error

func (it *HarvestVaultWithdrawIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*HarvestVaultWithdrawIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type IERC20

type IERC20 struct {
	IERC20Caller     // Read-only binding to the contract
	IERC20Transactor // Write-only binding to the contract
	IERC20Filterer   // Log filterer for contract events
}

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

func NewIERC20

func NewIERC20(address common.Address, backend bind.ContractBackend) (*IERC20, error)

NewIERC20 creates a new instance of IERC20, bound to a specific deployed contract.

type IERC20Approval

type IERC20Approval struct {
	Owner   common.Address
	Spender common.Address
	Value   *big.Int
	Raw     types.Log // Blockchain specific contextual infos
}

IERC20Approval represents a Approval event raised by the IERC20 contract.

type IERC20ApprovalIterator

type IERC20ApprovalIterator struct {
	Event *IERC20Approval // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

IERC20ApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the IERC20 contract.

func (*IERC20ApprovalIterator) Close

func (it *IERC20ApprovalIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*IERC20ApprovalIterator) Error

func (it *IERC20ApprovalIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*IERC20ApprovalIterator) Next

func (it *IERC20ApprovalIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type IERC20Caller

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

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

func NewIERC20Caller

func NewIERC20Caller(address common.Address, caller bind.ContractCaller) (*IERC20Caller, error)

NewIERC20Caller creates a new read-only instance of IERC20, bound to a specific deployed contract.

func (*IERC20Caller) Allowance

func (_IERC20 *IERC20Caller) 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 (*IERC20Caller) BalanceOf

func (_IERC20 *IERC20Caller) BalanceOf(opts *bind.CallOpts, owner common.Address) (*big.Int, error)

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

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

func (*IERC20Caller) Decimals

func (_IERC20 *IERC20Caller) 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 (*IERC20Caller) Name

func (_IERC20 *IERC20Caller) 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 (*IERC20Caller) Symbol

func (_IERC20 *IERC20Caller) 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 (*IERC20Caller) TotalSupply

func (_IERC20 *IERC20Caller) 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)

type IERC20CallerRaw

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

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

func (*IERC20CallerRaw) Call

func (_IERC20 *IERC20CallerRaw) 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 IERC20CallerSession

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

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

func (*IERC20CallerSession) Allowance

func (_IERC20 *IERC20CallerSession) 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 (*IERC20CallerSession) BalanceOf

func (_IERC20 *IERC20CallerSession) BalanceOf(owner common.Address) (*big.Int, error)

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

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

func (*IERC20CallerSession) Decimals

func (_IERC20 *IERC20CallerSession) Decimals() (uint8, error)

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

Solidity: function decimals() view returns(uint8)

func (*IERC20CallerSession) Name

func (_IERC20 *IERC20CallerSession) Name() (string, error)

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

Solidity: function name() view returns(string)

func (*IERC20CallerSession) Symbol

func (_IERC20 *IERC20CallerSession) Symbol() (string, error)

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

Solidity: function symbol() view returns(string)

func (*IERC20CallerSession) TotalSupply

func (_IERC20 *IERC20CallerSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

type IERC20Filterer

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

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

func NewIERC20Filterer

func NewIERC20Filterer(address common.Address, filterer bind.ContractFilterer) (*IERC20Filterer, error)

NewIERC20Filterer creates a new log filterer instance of IERC20, bound to a specific deployed contract.

func (*IERC20Filterer) FilterApproval

func (_IERC20 *IERC20Filterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*IERC20ApprovalIterator, error)

FilterApproval is a free log retrieval operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)

func (*IERC20Filterer) FilterTransfer

func (_IERC20 *IERC20Filterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*IERC20TransferIterator, error)

FilterTransfer is a free log retrieval operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed from, address indexed to, uint256 value)

func (*IERC20Filterer) ParseApproval

func (_IERC20 *IERC20Filterer) ParseApproval(log types.Log) (*IERC20Approval, error)

ParseApproval is a log parse operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)

func (*IERC20Filterer) ParseTransfer

func (_IERC20 *IERC20Filterer) ParseTransfer(log types.Log) (*IERC20Transfer, error)

ParseTransfer is a log parse operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed from, address indexed to, uint256 value)

func (*IERC20Filterer) WatchApproval

func (_IERC20 *IERC20Filterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *IERC20Approval, owner []common.Address, spender []common.Address) (event.Subscription, error)

WatchApproval is a free log subscription operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)

func (*IERC20Filterer) WatchTransfer

func (_IERC20 *IERC20Filterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *IERC20Transfer, from []common.Address, to []common.Address) (event.Subscription, error)

WatchTransfer is a free log subscription operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed from, address indexed to, uint256 value)

type IERC20Raw

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

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

func (*IERC20Raw) Call

func (_IERC20 *IERC20Raw) 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 (*IERC20Raw) Transact

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

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

func (*IERC20Raw) Transfer

func (_IERC20 *IERC20Raw) 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 IERC20Session

type IERC20Session struct {
	Contract     *IERC20           // 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
}

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

func (*IERC20Session) Allowance

func (_IERC20 *IERC20Session) 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 (*IERC20Session) Approve

func (_IERC20 *IERC20Session) Approve(spender common.Address, value *big.Int) (*types.Transaction, error)

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

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

func (*IERC20Session) BalanceOf

func (_IERC20 *IERC20Session) BalanceOf(owner common.Address) (*big.Int, error)

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

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

func (*IERC20Session) Decimals

func (_IERC20 *IERC20Session) Decimals() (uint8, error)

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

Solidity: function decimals() view returns(uint8)

func (*IERC20Session) Name

func (_IERC20 *IERC20Session) Name() (string, error)

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

Solidity: function name() view returns(string)

func (*IERC20Session) Symbol

func (_IERC20 *IERC20Session) Symbol() (string, error)

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

Solidity: function symbol() view returns(string)

func (*IERC20Session) TotalSupply

func (_IERC20 *IERC20Session) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

func (*IERC20Session) Transfer

func (_IERC20 *IERC20Session) Transfer(to common.Address, value *big.Int) (*types.Transaction, error)

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

Solidity: function transfer(address to, uint256 value) returns(bool)

func (*IERC20Session) TransferFrom

func (_IERC20 *IERC20Session) TransferFrom(from common.Address, to common.Address, value *big.Int) (*types.Transaction, error)

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

Solidity: function transferFrom(address from, address to, uint256 value) returns(bool)

type IERC20Transactor

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

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

func NewIERC20Transactor

func NewIERC20Transactor(address common.Address, transactor bind.ContractTransactor) (*IERC20Transactor, error)

NewIERC20Transactor creates a new write-only instance of IERC20, bound to a specific deployed contract.

func (*IERC20Transactor) Approve

func (_IERC20 *IERC20Transactor) Approve(opts *bind.TransactOpts, spender common.Address, value *big.Int) (*types.Transaction, error)

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

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

func (*IERC20Transactor) Transfer

func (_IERC20 *IERC20Transactor) Transfer(opts *bind.TransactOpts, to common.Address, value *big.Int) (*types.Transaction, error)

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

Solidity: function transfer(address to, uint256 value) returns(bool)

func (*IERC20Transactor) TransferFrom

func (_IERC20 *IERC20Transactor) TransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, value *big.Int) (*types.Transaction, error)

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

Solidity: function transferFrom(address from, address to, uint256 value) returns(bool)

type IERC20TransactorRaw

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

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

func (*IERC20TransactorRaw) Transact

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

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

func (*IERC20TransactorRaw) Transfer

func (_IERC20 *IERC20TransactorRaw) 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 IERC20TransactorSession

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

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

func (*IERC20TransactorSession) Approve

func (_IERC20 *IERC20TransactorSession) Approve(spender common.Address, value *big.Int) (*types.Transaction, error)

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

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

func (*IERC20TransactorSession) Transfer

func (_IERC20 *IERC20TransactorSession) Transfer(to common.Address, value *big.Int) (*types.Transaction, error)

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

Solidity: function transfer(address to, uint256 value) returns(bool)

func (*IERC20TransactorSession) TransferFrom

func (_IERC20 *IERC20TransactorSession) TransferFrom(from common.Address, to common.Address, value *big.Int) (*types.Transaction, error)

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

Solidity: function transferFrom(address from, address to, uint256 value) returns(bool)

type IERC20Transfer

type IERC20Transfer struct {
	From  common.Address
	To    common.Address
	Value *big.Int
	Raw   types.Log // Blockchain specific contextual infos
}

IERC20Transfer represents a Transfer event raised by the IERC20 contract.

type IERC20TransferIterator

type IERC20TransferIterator struct {
	Event *IERC20Transfer // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

IERC20TransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the IERC20 contract.

func (*IERC20TransferIterator) Close

func (it *IERC20TransferIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*IERC20TransferIterator) Error

func (it *IERC20TransferIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*IERC20TransferIterator) Next

func (it *IERC20TransferIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type IUniswapV2Callee

type IUniswapV2Callee struct {
	IUniswapV2CalleeCaller     // Read-only binding to the contract
	IUniswapV2CalleeTransactor // Write-only binding to the contract
	IUniswapV2CalleeFilterer   // Log filterer for contract events
}

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

func NewIUniswapV2Callee

func NewIUniswapV2Callee(address common.Address, backend bind.ContractBackend) (*IUniswapV2Callee, error)

NewIUniswapV2Callee creates a new instance of IUniswapV2Callee, bound to a specific deployed contract.

type IUniswapV2CalleeCaller

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

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

func NewIUniswapV2CalleeCaller

func NewIUniswapV2CalleeCaller(address common.Address, caller bind.ContractCaller) (*IUniswapV2CalleeCaller, error)

NewIUniswapV2CalleeCaller creates a new read-only instance of IUniswapV2Callee, bound to a specific deployed contract.

type IUniswapV2CalleeCallerRaw

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

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

func (*IUniswapV2CalleeCallerRaw) Call

func (_IUniswapV2Callee *IUniswapV2CalleeCallerRaw) 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 IUniswapV2CalleeCallerSession

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

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

type IUniswapV2CalleeFilterer

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

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

func NewIUniswapV2CalleeFilterer

func NewIUniswapV2CalleeFilterer(address common.Address, filterer bind.ContractFilterer) (*IUniswapV2CalleeFilterer, error)

NewIUniswapV2CalleeFilterer creates a new log filterer instance of IUniswapV2Callee, bound to a specific deployed contract.

type IUniswapV2CalleeRaw

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

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

func (*IUniswapV2CalleeRaw) Call

func (_IUniswapV2Callee *IUniswapV2CalleeRaw) 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 (*IUniswapV2CalleeRaw) Transact

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

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

func (*IUniswapV2CalleeRaw) Transfer

func (_IUniswapV2Callee *IUniswapV2CalleeRaw) 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 IUniswapV2CalleeSession

type IUniswapV2CalleeSession struct {
	Contract     *IUniswapV2Callee // 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
}

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

func (*IUniswapV2CalleeSession) UniswapV2Call

func (_IUniswapV2Callee *IUniswapV2CalleeSession) UniswapV2Call(sender common.Address, amount0 *big.Int, amount1 *big.Int, data []byte) (*types.Transaction, error)

UniswapV2Call is a paid mutator transaction binding the contract method 0x10d1e85c.

Solidity: function uniswapV2Call(address sender, uint256 amount0, uint256 amount1, bytes data) returns()

type IUniswapV2CalleeTransactor

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

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

func NewIUniswapV2CalleeTransactor

func NewIUniswapV2CalleeTransactor(address common.Address, transactor bind.ContractTransactor) (*IUniswapV2CalleeTransactor, error)

NewIUniswapV2CalleeTransactor creates a new write-only instance of IUniswapV2Callee, bound to a specific deployed contract.

func (*IUniswapV2CalleeTransactor) UniswapV2Call

func (_IUniswapV2Callee *IUniswapV2CalleeTransactor) UniswapV2Call(opts *bind.TransactOpts, sender common.Address, amount0 *big.Int, amount1 *big.Int, data []byte) (*types.Transaction, error)

UniswapV2Call is a paid mutator transaction binding the contract method 0x10d1e85c.

Solidity: function uniswapV2Call(address sender, uint256 amount0, uint256 amount1, bytes data) returns()

type IUniswapV2CalleeTransactorRaw

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

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

func (*IUniswapV2CalleeTransactorRaw) Transact

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

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

func (*IUniswapV2CalleeTransactorRaw) Transfer

func (_IUniswapV2Callee *IUniswapV2CalleeTransactorRaw) 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 IUniswapV2CalleeTransactorSession

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

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

func (*IUniswapV2CalleeTransactorSession) UniswapV2Call

func (_IUniswapV2Callee *IUniswapV2CalleeTransactorSession) UniswapV2Call(sender common.Address, amount0 *big.Int, amount1 *big.Int, data []byte) (*types.Transaction, error)

UniswapV2Call is a paid mutator transaction binding the contract method 0x10d1e85c.

Solidity: function uniswapV2Call(address sender, uint256 amount0, uint256 amount1, bytes data) returns()

type IUniswapV2ERC20

type IUniswapV2ERC20 struct {
	IUniswapV2ERC20Caller     // Read-only binding to the contract
	IUniswapV2ERC20Transactor // Write-only binding to the contract
	IUniswapV2ERC20Filterer   // Log filterer for contract events
}

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

func NewIUniswapV2ERC20

func NewIUniswapV2ERC20(address common.Address, backend bind.ContractBackend) (*IUniswapV2ERC20, error)

NewIUniswapV2ERC20 creates a new instance of IUniswapV2ERC20, bound to a specific deployed contract.

type IUniswapV2ERC20Approval

type IUniswapV2ERC20Approval struct {
	Owner   common.Address
	Spender common.Address
	Value   *big.Int
	Raw     types.Log // Blockchain specific contextual infos
}

IUniswapV2ERC20Approval represents a Approval event raised by the IUniswapV2ERC20 contract.

type IUniswapV2ERC20ApprovalIterator

type IUniswapV2ERC20ApprovalIterator struct {
	Event *IUniswapV2ERC20Approval // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

IUniswapV2ERC20ApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the IUniswapV2ERC20 contract.

func (*IUniswapV2ERC20ApprovalIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*IUniswapV2ERC20ApprovalIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*IUniswapV2ERC20ApprovalIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type IUniswapV2ERC20Caller

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

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

func NewIUniswapV2ERC20Caller

func NewIUniswapV2ERC20Caller(address common.Address, caller bind.ContractCaller) (*IUniswapV2ERC20Caller, error)

NewIUniswapV2ERC20Caller creates a new read-only instance of IUniswapV2ERC20, bound to a specific deployed contract.

func (*IUniswapV2ERC20Caller) Allowance

func (_IUniswapV2ERC20 *IUniswapV2ERC20Caller) 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 (*IUniswapV2ERC20Caller) BalanceOf

func (_IUniswapV2ERC20 *IUniswapV2ERC20Caller) BalanceOf(opts *bind.CallOpts, owner common.Address) (*big.Int, error)

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

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

func (*IUniswapV2ERC20Caller) DOMAINSEPARATOR

func (_IUniswapV2ERC20 *IUniswapV2ERC20Caller) DOMAINSEPARATOR(opts *bind.CallOpts) ([32]byte, error)

DOMAINSEPARATOR is a free data retrieval call binding the contract method 0x3644e515.

Solidity: function DOMAIN_SEPARATOR() view returns(bytes32)

func (*IUniswapV2ERC20Caller) Decimals

func (_IUniswapV2ERC20 *IUniswapV2ERC20Caller) Decimals(opts *bind.CallOpts) (uint8, error)

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

Solidity: function decimals() pure returns(uint8)

func (*IUniswapV2ERC20Caller) Name

func (_IUniswapV2ERC20 *IUniswapV2ERC20Caller) Name(opts *bind.CallOpts) (string, error)

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

Solidity: function name() pure returns(string)

func (*IUniswapV2ERC20Caller) Nonces

func (_IUniswapV2ERC20 *IUniswapV2ERC20Caller) Nonces(opts *bind.CallOpts, owner common.Address) (*big.Int, error)

Nonces is a free data retrieval call binding the contract method 0x7ecebe00.

Solidity: function nonces(address owner) view returns(uint256)

func (*IUniswapV2ERC20Caller) PERMITTYPEHASH

func (_IUniswapV2ERC20 *IUniswapV2ERC20Caller) PERMITTYPEHASH(opts *bind.CallOpts) ([32]byte, error)

PERMITTYPEHASH is a free data retrieval call binding the contract method 0x30adf81f.

Solidity: function PERMIT_TYPEHASH() pure returns(bytes32)

func (*IUniswapV2ERC20Caller) Symbol

func (_IUniswapV2ERC20 *IUniswapV2ERC20Caller) Symbol(opts *bind.CallOpts) (string, error)

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

Solidity: function symbol() pure returns(string)

func (*IUniswapV2ERC20Caller) TotalSupply

func (_IUniswapV2ERC20 *IUniswapV2ERC20Caller) 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)

type IUniswapV2ERC20CallerRaw

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

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

func (*IUniswapV2ERC20CallerRaw) Call

func (_IUniswapV2ERC20 *IUniswapV2ERC20CallerRaw) 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 IUniswapV2ERC20CallerSession

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

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

func (*IUniswapV2ERC20CallerSession) Allowance

func (_IUniswapV2ERC20 *IUniswapV2ERC20CallerSession) 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 (*IUniswapV2ERC20CallerSession) BalanceOf

func (_IUniswapV2ERC20 *IUniswapV2ERC20CallerSession) BalanceOf(owner common.Address) (*big.Int, error)

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

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

func (*IUniswapV2ERC20CallerSession) DOMAINSEPARATOR

func (_IUniswapV2ERC20 *IUniswapV2ERC20CallerSession) DOMAINSEPARATOR() ([32]byte, error)

DOMAINSEPARATOR is a free data retrieval call binding the contract method 0x3644e515.

Solidity: function DOMAIN_SEPARATOR() view returns(bytes32)

func (*IUniswapV2ERC20CallerSession) Decimals

func (_IUniswapV2ERC20 *IUniswapV2ERC20CallerSession) Decimals() (uint8, error)

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

Solidity: function decimals() pure returns(uint8)

func (*IUniswapV2ERC20CallerSession) Name

func (_IUniswapV2ERC20 *IUniswapV2ERC20CallerSession) Name() (string, error)

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

Solidity: function name() pure returns(string)

func (*IUniswapV2ERC20CallerSession) Nonces

func (_IUniswapV2ERC20 *IUniswapV2ERC20CallerSession) Nonces(owner common.Address) (*big.Int, error)

Nonces is a free data retrieval call binding the contract method 0x7ecebe00.

Solidity: function nonces(address owner) view returns(uint256)

func (*IUniswapV2ERC20CallerSession) PERMITTYPEHASH

func (_IUniswapV2ERC20 *IUniswapV2ERC20CallerSession) PERMITTYPEHASH() ([32]byte, error)

PERMITTYPEHASH is a free data retrieval call binding the contract method 0x30adf81f.

Solidity: function PERMIT_TYPEHASH() pure returns(bytes32)

func (*IUniswapV2ERC20CallerSession) Symbol

func (_IUniswapV2ERC20 *IUniswapV2ERC20CallerSession) Symbol() (string, error)

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

Solidity: function symbol() pure returns(string)

func (*IUniswapV2ERC20CallerSession) TotalSupply

func (_IUniswapV2ERC20 *IUniswapV2ERC20CallerSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

type IUniswapV2ERC20Filterer

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

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

func NewIUniswapV2ERC20Filterer

func NewIUniswapV2ERC20Filterer(address common.Address, filterer bind.ContractFilterer) (*IUniswapV2ERC20Filterer, error)

NewIUniswapV2ERC20Filterer creates a new log filterer instance of IUniswapV2ERC20, bound to a specific deployed contract.

func (*IUniswapV2ERC20Filterer) FilterApproval

func (_IUniswapV2ERC20 *IUniswapV2ERC20Filterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*IUniswapV2ERC20ApprovalIterator, error)

FilterApproval is a free log retrieval operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)

func (*IUniswapV2ERC20Filterer) FilterTransfer

func (_IUniswapV2ERC20 *IUniswapV2ERC20Filterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*IUniswapV2ERC20TransferIterator, error)

FilterTransfer is a free log retrieval operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed from, address indexed to, uint256 value)

func (*IUniswapV2ERC20Filterer) ParseApproval

func (_IUniswapV2ERC20 *IUniswapV2ERC20Filterer) ParseApproval(log types.Log) (*IUniswapV2ERC20Approval, error)

ParseApproval is a log parse operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)

func (*IUniswapV2ERC20Filterer) ParseTransfer

func (_IUniswapV2ERC20 *IUniswapV2ERC20Filterer) ParseTransfer(log types.Log) (*IUniswapV2ERC20Transfer, error)

ParseTransfer is a log parse operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed from, address indexed to, uint256 value)

func (*IUniswapV2ERC20Filterer) WatchApproval

func (_IUniswapV2ERC20 *IUniswapV2ERC20Filterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *IUniswapV2ERC20Approval, owner []common.Address, spender []common.Address) (event.Subscription, error)

WatchApproval is a free log subscription operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)

func (*IUniswapV2ERC20Filterer) WatchTransfer

func (_IUniswapV2ERC20 *IUniswapV2ERC20Filterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *IUniswapV2ERC20Transfer, from []common.Address, to []common.Address) (event.Subscription, error)

WatchTransfer is a free log subscription operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed from, address indexed to, uint256 value)

type IUniswapV2ERC20Raw

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

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

func (*IUniswapV2ERC20Raw) Call

func (_IUniswapV2ERC20 *IUniswapV2ERC20Raw) 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 (*IUniswapV2ERC20Raw) Transact

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

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

func (*IUniswapV2ERC20Raw) Transfer

func (_IUniswapV2ERC20 *IUniswapV2ERC20Raw) 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 IUniswapV2ERC20Session

type IUniswapV2ERC20Session struct {
	Contract     *IUniswapV2ERC20  // 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
}

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

func (*IUniswapV2ERC20Session) Allowance

func (_IUniswapV2ERC20 *IUniswapV2ERC20Session) 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 (*IUniswapV2ERC20Session) Approve

func (_IUniswapV2ERC20 *IUniswapV2ERC20Session) Approve(spender common.Address, value *big.Int) (*types.Transaction, error)

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

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

func (*IUniswapV2ERC20Session) BalanceOf

func (_IUniswapV2ERC20 *IUniswapV2ERC20Session) BalanceOf(owner common.Address) (*big.Int, error)

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

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

func (*IUniswapV2ERC20Session) DOMAINSEPARATOR

func (_IUniswapV2ERC20 *IUniswapV2ERC20Session) DOMAINSEPARATOR() ([32]byte, error)

DOMAINSEPARATOR is a free data retrieval call binding the contract method 0x3644e515.

Solidity: function DOMAIN_SEPARATOR() view returns(bytes32)

func (*IUniswapV2ERC20Session) Decimals

func (_IUniswapV2ERC20 *IUniswapV2ERC20Session) Decimals() (uint8, error)

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

Solidity: function decimals() pure returns(uint8)

func (*IUniswapV2ERC20Session) Name

func (_IUniswapV2ERC20 *IUniswapV2ERC20Session) Name() (string, error)

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

Solidity: function name() pure returns(string)

func (*IUniswapV2ERC20Session) Nonces

func (_IUniswapV2ERC20 *IUniswapV2ERC20Session) Nonces(owner common.Address) (*big.Int, error)

Nonces is a free data retrieval call binding the contract method 0x7ecebe00.

Solidity: function nonces(address owner) view returns(uint256)

func (*IUniswapV2ERC20Session) PERMITTYPEHASH

func (_IUniswapV2ERC20 *IUniswapV2ERC20Session) PERMITTYPEHASH() ([32]byte, error)

PERMITTYPEHASH is a free data retrieval call binding the contract method 0x30adf81f.

Solidity: function PERMIT_TYPEHASH() pure returns(bytes32)

func (*IUniswapV2ERC20Session) Permit

func (_IUniswapV2ERC20 *IUniswapV2ERC20Session) Permit(owner common.Address, spender common.Address, value *big.Int, deadline *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

Permit is a paid mutator transaction binding the contract method 0xd505accf.

Solidity: function permit(address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) returns()

func (*IUniswapV2ERC20Session) Symbol

func (_IUniswapV2ERC20 *IUniswapV2ERC20Session) Symbol() (string, error)

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

Solidity: function symbol() pure returns(string)

func (*IUniswapV2ERC20Session) TotalSupply

func (_IUniswapV2ERC20 *IUniswapV2ERC20Session) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

func (*IUniswapV2ERC20Session) Transfer

func (_IUniswapV2ERC20 *IUniswapV2ERC20Session) Transfer(to common.Address, value *big.Int) (*types.Transaction, error)

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

Solidity: function transfer(address to, uint256 value) returns(bool)

func (*IUniswapV2ERC20Session) TransferFrom

func (_IUniswapV2ERC20 *IUniswapV2ERC20Session) TransferFrom(from common.Address, to common.Address, value *big.Int) (*types.Transaction, error)

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

Solidity: function transferFrom(address from, address to, uint256 value) returns(bool)

type IUniswapV2ERC20Transactor

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

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

func NewIUniswapV2ERC20Transactor

func NewIUniswapV2ERC20Transactor(address common.Address, transactor bind.ContractTransactor) (*IUniswapV2ERC20Transactor, error)

NewIUniswapV2ERC20Transactor creates a new write-only instance of IUniswapV2ERC20, bound to a specific deployed contract.

func (*IUniswapV2ERC20Transactor) Approve

func (_IUniswapV2ERC20 *IUniswapV2ERC20Transactor) Approve(opts *bind.TransactOpts, spender common.Address, value *big.Int) (*types.Transaction, error)

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

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

func (*IUniswapV2ERC20Transactor) Permit

func (_IUniswapV2ERC20 *IUniswapV2ERC20Transactor) Permit(opts *bind.TransactOpts, owner common.Address, spender common.Address, value *big.Int, deadline *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

Permit is a paid mutator transaction binding the contract method 0xd505accf.

Solidity: function permit(address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) returns()

func (*IUniswapV2ERC20Transactor) Transfer

func (_IUniswapV2ERC20 *IUniswapV2ERC20Transactor) Transfer(opts *bind.TransactOpts, to common.Address, value *big.Int) (*types.Transaction, error)

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

Solidity: function transfer(address to, uint256 value) returns(bool)

func (*IUniswapV2ERC20Transactor) TransferFrom

func (_IUniswapV2ERC20 *IUniswapV2ERC20Transactor) TransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, value *big.Int) (*types.Transaction, error)

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

Solidity: function transferFrom(address from, address to, uint256 value) returns(bool)

type IUniswapV2ERC20TransactorRaw

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

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

func (*IUniswapV2ERC20TransactorRaw) Transact

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

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

func (*IUniswapV2ERC20TransactorRaw) Transfer

func (_IUniswapV2ERC20 *IUniswapV2ERC20TransactorRaw) 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 IUniswapV2ERC20TransactorSession

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

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

func (*IUniswapV2ERC20TransactorSession) Approve

func (_IUniswapV2ERC20 *IUniswapV2ERC20TransactorSession) Approve(spender common.Address, value *big.Int) (*types.Transaction, error)

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

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

func (*IUniswapV2ERC20TransactorSession) Permit

func (_IUniswapV2ERC20 *IUniswapV2ERC20TransactorSession) Permit(owner common.Address, spender common.Address, value *big.Int, deadline *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

Permit is a paid mutator transaction binding the contract method 0xd505accf.

Solidity: function permit(address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) returns()

func (*IUniswapV2ERC20TransactorSession) Transfer

func (_IUniswapV2ERC20 *IUniswapV2ERC20TransactorSession) Transfer(to common.Address, value *big.Int) (*types.Transaction, error)

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

Solidity: function transfer(address to, uint256 value) returns(bool)

func (*IUniswapV2ERC20TransactorSession) TransferFrom

func (_IUniswapV2ERC20 *IUniswapV2ERC20TransactorSession) TransferFrom(from common.Address, to common.Address, value *big.Int) (*types.Transaction, error)

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

Solidity: function transferFrom(address from, address to, uint256 value) returns(bool)

type IUniswapV2ERC20Transfer

type IUniswapV2ERC20Transfer struct {
	From  common.Address
	To    common.Address
	Value *big.Int
	Raw   types.Log // Blockchain specific contextual infos
}

IUniswapV2ERC20Transfer represents a Transfer event raised by the IUniswapV2ERC20 contract.

type IUniswapV2ERC20TransferIterator

type IUniswapV2ERC20TransferIterator struct {
	Event *IUniswapV2ERC20Transfer // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

IUniswapV2ERC20TransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the IUniswapV2ERC20 contract.

func (*IUniswapV2ERC20TransferIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*IUniswapV2ERC20TransferIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*IUniswapV2ERC20TransferIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type IUniswapV2Factory

type IUniswapV2Factory struct {
	IUniswapV2FactoryCaller     // Read-only binding to the contract
	IUniswapV2FactoryTransactor // Write-only binding to the contract
	IUniswapV2FactoryFilterer   // Log filterer for contract events
}

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

func NewIUniswapV2Factory

func NewIUniswapV2Factory(address common.Address, backend bind.ContractBackend) (*IUniswapV2Factory, error)

NewIUniswapV2Factory creates a new instance of IUniswapV2Factory, bound to a specific deployed contract.

type IUniswapV2FactoryCaller

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

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

func NewIUniswapV2FactoryCaller

func NewIUniswapV2FactoryCaller(address common.Address, caller bind.ContractCaller) (*IUniswapV2FactoryCaller, error)

NewIUniswapV2FactoryCaller creates a new read-only instance of IUniswapV2Factory, bound to a specific deployed contract.

func (*IUniswapV2FactoryCaller) AllPairs

func (_IUniswapV2Factory *IUniswapV2FactoryCaller) AllPairs(opts *bind.CallOpts, arg0 *big.Int) (common.Address, error)

AllPairs is a free data retrieval call binding the contract method 0x1e3dd18b.

Solidity: function allPairs(uint256 ) view returns(address pair)

func (*IUniswapV2FactoryCaller) AllPairsLength

func (_IUniswapV2Factory *IUniswapV2FactoryCaller) AllPairsLength(opts *bind.CallOpts) (*big.Int, error)

AllPairsLength is a free data retrieval call binding the contract method 0x574f2ba3.

Solidity: function allPairsLength() view returns(uint256)

func (*IUniswapV2FactoryCaller) FeeTo

func (_IUniswapV2Factory *IUniswapV2FactoryCaller) FeeTo(opts *bind.CallOpts) (common.Address, error)

FeeTo is a free data retrieval call binding the contract method 0x017e7e58.

Solidity: function feeTo() view returns(address)

func (*IUniswapV2FactoryCaller) FeeToSetter

func (_IUniswapV2Factory *IUniswapV2FactoryCaller) FeeToSetter(opts *bind.CallOpts) (common.Address, error)

FeeToSetter is a free data retrieval call binding the contract method 0x094b7415.

Solidity: function feeToSetter() view returns(address)

func (*IUniswapV2FactoryCaller) GetPair

func (_IUniswapV2Factory *IUniswapV2FactoryCaller) GetPair(opts *bind.CallOpts, tokenA common.Address, tokenB common.Address) (common.Address, error)

GetPair is a free data retrieval call binding the contract method 0xe6a43905.

Solidity: function getPair(address tokenA, address tokenB) view returns(address pair)

type IUniswapV2FactoryCallerRaw

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

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

func (*IUniswapV2FactoryCallerRaw) Call

func (_IUniswapV2Factory *IUniswapV2FactoryCallerRaw) 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 IUniswapV2FactoryCallerSession

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

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

func (*IUniswapV2FactoryCallerSession) AllPairs

func (_IUniswapV2Factory *IUniswapV2FactoryCallerSession) AllPairs(arg0 *big.Int) (common.Address, error)

AllPairs is a free data retrieval call binding the contract method 0x1e3dd18b.

Solidity: function allPairs(uint256 ) view returns(address pair)

func (*IUniswapV2FactoryCallerSession) AllPairsLength

func (_IUniswapV2Factory *IUniswapV2FactoryCallerSession) AllPairsLength() (*big.Int, error)

AllPairsLength is a free data retrieval call binding the contract method 0x574f2ba3.

Solidity: function allPairsLength() view returns(uint256)

func (*IUniswapV2FactoryCallerSession) FeeTo

func (_IUniswapV2Factory *IUniswapV2FactoryCallerSession) FeeTo() (common.Address, error)

FeeTo is a free data retrieval call binding the contract method 0x017e7e58.

Solidity: function feeTo() view returns(address)

func (*IUniswapV2FactoryCallerSession) FeeToSetter

func (_IUniswapV2Factory *IUniswapV2FactoryCallerSession) FeeToSetter() (common.Address, error)

FeeToSetter is a free data retrieval call binding the contract method 0x094b7415.

Solidity: function feeToSetter() view returns(address)

func (*IUniswapV2FactoryCallerSession) GetPair

func (_IUniswapV2Factory *IUniswapV2FactoryCallerSession) GetPair(tokenA common.Address, tokenB common.Address) (common.Address, error)

GetPair is a free data retrieval call binding the contract method 0xe6a43905.

Solidity: function getPair(address tokenA, address tokenB) view returns(address pair)

type IUniswapV2FactoryFilterer

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

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

func NewIUniswapV2FactoryFilterer

func NewIUniswapV2FactoryFilterer(address common.Address, filterer bind.ContractFilterer) (*IUniswapV2FactoryFilterer, error)

NewIUniswapV2FactoryFilterer creates a new log filterer instance of IUniswapV2Factory, bound to a specific deployed contract.

func (*IUniswapV2FactoryFilterer) FilterPairCreated

func (_IUniswapV2Factory *IUniswapV2FactoryFilterer) FilterPairCreated(opts *bind.FilterOpts, token0 []common.Address, token1 []common.Address) (*IUniswapV2FactoryPairCreatedIterator, error)

FilterPairCreated is a free log retrieval operation binding the contract event 0x0d3648bd0f6ba80134a33ba9275ac585d9d315f0ad8355cddefde31afa28d0e9.

Solidity: event PairCreated(address indexed token0, address indexed token1, address pair, uint256 arg3)

func (*IUniswapV2FactoryFilterer) ParsePairCreated

func (_IUniswapV2Factory *IUniswapV2FactoryFilterer) ParsePairCreated(log types.Log) (*IUniswapV2FactoryPairCreated, error)

ParsePairCreated is a log parse operation binding the contract event 0x0d3648bd0f6ba80134a33ba9275ac585d9d315f0ad8355cddefde31afa28d0e9.

Solidity: event PairCreated(address indexed token0, address indexed token1, address pair, uint256 arg3)

func (*IUniswapV2FactoryFilterer) WatchPairCreated

func (_IUniswapV2Factory *IUniswapV2FactoryFilterer) WatchPairCreated(opts *bind.WatchOpts, sink chan<- *IUniswapV2FactoryPairCreated, token0 []common.Address, token1 []common.Address) (event.Subscription, error)

WatchPairCreated is a free log subscription operation binding the contract event 0x0d3648bd0f6ba80134a33ba9275ac585d9d315f0ad8355cddefde31afa28d0e9.

Solidity: event PairCreated(address indexed token0, address indexed token1, address pair, uint256 arg3)

type IUniswapV2FactoryPairCreated

type IUniswapV2FactoryPairCreated struct {
	Token0 common.Address
	Token1 common.Address
	Pair   common.Address
	Arg3   *big.Int
	Raw    types.Log // Blockchain specific contextual infos
}

IUniswapV2FactoryPairCreated represents a PairCreated event raised by the IUniswapV2Factory contract.

type IUniswapV2FactoryPairCreatedIterator

type IUniswapV2FactoryPairCreatedIterator struct {
	Event *IUniswapV2FactoryPairCreated // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

IUniswapV2FactoryPairCreatedIterator is returned from FilterPairCreated and is used to iterate over the raw logs and unpacked data for PairCreated events raised by the IUniswapV2Factory contract.

func (*IUniswapV2FactoryPairCreatedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*IUniswapV2FactoryPairCreatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*IUniswapV2FactoryPairCreatedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type IUniswapV2FactoryRaw

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

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

func (*IUniswapV2FactoryRaw) Call

func (_IUniswapV2Factory *IUniswapV2FactoryRaw) 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 (*IUniswapV2FactoryRaw) Transact

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

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

func (*IUniswapV2FactoryRaw) Transfer

func (_IUniswapV2Factory *IUniswapV2FactoryRaw) 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 IUniswapV2FactorySession

type IUniswapV2FactorySession struct {
	Contract     *IUniswapV2Factory // 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
}

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

func (*IUniswapV2FactorySession) AllPairs

func (_IUniswapV2Factory *IUniswapV2FactorySession) AllPairs(arg0 *big.Int) (common.Address, error)

AllPairs is a free data retrieval call binding the contract method 0x1e3dd18b.

Solidity: function allPairs(uint256 ) view returns(address pair)

func (*IUniswapV2FactorySession) AllPairsLength

func (_IUniswapV2Factory *IUniswapV2FactorySession) AllPairsLength() (*big.Int, error)

AllPairsLength is a free data retrieval call binding the contract method 0x574f2ba3.

Solidity: function allPairsLength() view returns(uint256)

func (*IUniswapV2FactorySession) CreatePair

func (_IUniswapV2Factory *IUniswapV2FactorySession) CreatePair(tokenA common.Address, tokenB common.Address) (*types.Transaction, error)

CreatePair is a paid mutator transaction binding the contract method 0xc9c65396.

Solidity: function createPair(address tokenA, address tokenB) returns(address pair)

func (*IUniswapV2FactorySession) FeeTo

func (_IUniswapV2Factory *IUniswapV2FactorySession) FeeTo() (common.Address, error)

FeeTo is a free data retrieval call binding the contract method 0x017e7e58.

Solidity: function feeTo() view returns(address)

func (*IUniswapV2FactorySession) FeeToSetter

func (_IUniswapV2Factory *IUniswapV2FactorySession) FeeToSetter() (common.Address, error)

FeeToSetter is a free data retrieval call binding the contract method 0x094b7415.

Solidity: function feeToSetter() view returns(address)

func (*IUniswapV2FactorySession) GetPair

func (_IUniswapV2Factory *IUniswapV2FactorySession) GetPair(tokenA common.Address, tokenB common.Address) (common.Address, error)

GetPair is a free data retrieval call binding the contract method 0xe6a43905.

Solidity: function getPair(address tokenA, address tokenB) view returns(address pair)

func (*IUniswapV2FactorySession) SetFeeTo

func (_IUniswapV2Factory *IUniswapV2FactorySession) SetFeeTo(arg0 common.Address) (*types.Transaction, error)

SetFeeTo is a paid mutator transaction binding the contract method 0xf46901ed.

Solidity: function setFeeTo(address ) returns()

func (*IUniswapV2FactorySession) SetFeeToSetter

func (_IUniswapV2Factory *IUniswapV2FactorySession) SetFeeToSetter(arg0 common.Address) (*types.Transaction, error)

SetFeeToSetter is a paid mutator transaction binding the contract method 0xa2e74af6.

Solidity: function setFeeToSetter(address ) returns()

type IUniswapV2FactoryTransactor

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

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

func NewIUniswapV2FactoryTransactor

func NewIUniswapV2FactoryTransactor(address common.Address, transactor bind.ContractTransactor) (*IUniswapV2FactoryTransactor, error)

NewIUniswapV2FactoryTransactor creates a new write-only instance of IUniswapV2Factory, bound to a specific deployed contract.

func (*IUniswapV2FactoryTransactor) CreatePair

func (_IUniswapV2Factory *IUniswapV2FactoryTransactor) CreatePair(opts *bind.TransactOpts, tokenA common.Address, tokenB common.Address) (*types.Transaction, error)

CreatePair is a paid mutator transaction binding the contract method 0xc9c65396.

Solidity: function createPair(address tokenA, address tokenB) returns(address pair)

func (*IUniswapV2FactoryTransactor) SetFeeTo

func (_IUniswapV2Factory *IUniswapV2FactoryTransactor) SetFeeTo(opts *bind.TransactOpts, arg0 common.Address) (*types.Transaction, error)

SetFeeTo is a paid mutator transaction binding the contract method 0xf46901ed.

Solidity: function setFeeTo(address ) returns()

func (*IUniswapV2FactoryTransactor) SetFeeToSetter

func (_IUniswapV2Factory *IUniswapV2FactoryTransactor) SetFeeToSetter(opts *bind.TransactOpts, arg0 common.Address) (*types.Transaction, error)

SetFeeToSetter is a paid mutator transaction binding the contract method 0xa2e74af6.

Solidity: function setFeeToSetter(address ) returns()

type IUniswapV2FactoryTransactorRaw

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

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

func (*IUniswapV2FactoryTransactorRaw) Transact

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

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

func (*IUniswapV2FactoryTransactorRaw) Transfer

func (_IUniswapV2Factory *IUniswapV2FactoryTransactorRaw) 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 IUniswapV2FactoryTransactorSession

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

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

func (*IUniswapV2FactoryTransactorSession) CreatePair

func (_IUniswapV2Factory *IUniswapV2FactoryTransactorSession) CreatePair(tokenA common.Address, tokenB common.Address) (*types.Transaction, error)

CreatePair is a paid mutator transaction binding the contract method 0xc9c65396.

Solidity: function createPair(address tokenA, address tokenB) returns(address pair)

func (*IUniswapV2FactoryTransactorSession) SetFeeTo

func (_IUniswapV2Factory *IUniswapV2FactoryTransactorSession) SetFeeTo(arg0 common.Address) (*types.Transaction, error)

SetFeeTo is a paid mutator transaction binding the contract method 0xf46901ed.

Solidity: function setFeeTo(address ) returns()

func (*IUniswapV2FactoryTransactorSession) SetFeeToSetter

func (_IUniswapV2Factory *IUniswapV2FactoryTransactorSession) SetFeeToSetter(arg0 common.Address) (*types.Transaction, error)

SetFeeToSetter is a paid mutator transaction binding the contract method 0xa2e74af6.

Solidity: function setFeeToSetter(address ) returns()

type IUniswapV2Pair

type IUniswapV2Pair struct {
	IUniswapV2PairCaller     // Read-only binding to the contract
	IUniswapV2PairTransactor // Write-only binding to the contract
	IUniswapV2PairFilterer   // Log filterer for contract events
}

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

func NewIUniswapV2Pair

func NewIUniswapV2Pair(address common.Address, backend bind.ContractBackend) (*IUniswapV2Pair, error)

NewIUniswapV2Pair creates a new instance of IUniswapV2Pair, bound to a specific deployed contract.

type IUniswapV2PairApproval

type IUniswapV2PairApproval struct {
	Owner   common.Address
	Spender common.Address
	Value   *big.Int
	Raw     types.Log // Blockchain specific contextual infos
}

IUniswapV2PairApproval represents a Approval event raised by the IUniswapV2Pair contract.

type IUniswapV2PairApprovalIterator

type IUniswapV2PairApprovalIterator struct {
	Event *IUniswapV2PairApproval // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

IUniswapV2PairApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the IUniswapV2Pair contract.

func (*IUniswapV2PairApprovalIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*IUniswapV2PairApprovalIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*IUniswapV2PairApprovalIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type IUniswapV2PairBurn

type IUniswapV2PairBurn struct {
	Sender  common.Address
	Amount0 *big.Int
	Amount1 *big.Int
	To      common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

IUniswapV2PairBurn represents a Burn event raised by the IUniswapV2Pair contract.

type IUniswapV2PairBurnIterator

type IUniswapV2PairBurnIterator struct {
	Event *IUniswapV2PairBurn // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

IUniswapV2PairBurnIterator is returned from FilterBurn and is used to iterate over the raw logs and unpacked data for Burn events raised by the IUniswapV2Pair contract.

func (*IUniswapV2PairBurnIterator) Close

func (it *IUniswapV2PairBurnIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*IUniswapV2PairBurnIterator) Error

func (it *IUniswapV2PairBurnIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*IUniswapV2PairBurnIterator) Next

func (it *IUniswapV2PairBurnIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type IUniswapV2PairCaller

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

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

func NewIUniswapV2PairCaller

func NewIUniswapV2PairCaller(address common.Address, caller bind.ContractCaller) (*IUniswapV2PairCaller, error)

NewIUniswapV2PairCaller creates a new read-only instance of IUniswapV2Pair, bound to a specific deployed contract.

func (*IUniswapV2PairCaller) Allowance

func (_IUniswapV2Pair *IUniswapV2PairCaller) 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 (*IUniswapV2PairCaller) BalanceOf

func (_IUniswapV2Pair *IUniswapV2PairCaller) BalanceOf(opts *bind.CallOpts, owner common.Address) (*big.Int, error)

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

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

func (*IUniswapV2PairCaller) DOMAINSEPARATOR

func (_IUniswapV2Pair *IUniswapV2PairCaller) DOMAINSEPARATOR(opts *bind.CallOpts) ([32]byte, error)

DOMAINSEPARATOR is a free data retrieval call binding the contract method 0x3644e515.

Solidity: function DOMAIN_SEPARATOR() view returns(bytes32)

func (*IUniswapV2PairCaller) Decimals

func (_IUniswapV2Pair *IUniswapV2PairCaller) Decimals(opts *bind.CallOpts) (uint8, error)

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

Solidity: function decimals() pure returns(uint8)

func (*IUniswapV2PairCaller) Factory

func (_IUniswapV2Pair *IUniswapV2PairCaller) Factory(opts *bind.CallOpts) (common.Address, error)

Factory is a free data retrieval call binding the contract method 0xc45a0155.

Solidity: function factory() view returns(address)

func (*IUniswapV2PairCaller) GetReserves

func (_IUniswapV2Pair *IUniswapV2PairCaller) GetReserves(opts *bind.CallOpts) (struct {
	Reserve0           *big.Int
	Reserve1           *big.Int
	BlockTimestampLast uint32
}, error)

GetReserves is a free data retrieval call binding the contract method 0x0902f1ac.

Solidity: function getReserves() view returns(uint112 reserve0, uint112 reserve1, uint32 blockTimestampLast)

func (*IUniswapV2PairCaller) KLast

func (_IUniswapV2Pair *IUniswapV2PairCaller) KLast(opts *bind.CallOpts) (*big.Int, error)

KLast is a free data retrieval call binding the contract method 0x7464fc3d.

Solidity: function kLast() view returns(uint256)

func (*IUniswapV2PairCaller) MINIMUMLIQUIDITY

func (_IUniswapV2Pair *IUniswapV2PairCaller) MINIMUMLIQUIDITY(opts *bind.CallOpts) (*big.Int, error)

MINIMUMLIQUIDITY is a free data retrieval call binding the contract method 0xba9a7a56.

Solidity: function MINIMUM_LIQUIDITY() pure returns(uint256)

func (*IUniswapV2PairCaller) Name

func (_IUniswapV2Pair *IUniswapV2PairCaller) Name(opts *bind.CallOpts) (string, error)

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

Solidity: function name() pure returns(string)

func (*IUniswapV2PairCaller) Nonces

func (_IUniswapV2Pair *IUniswapV2PairCaller) Nonces(opts *bind.CallOpts, owner common.Address) (*big.Int, error)

Nonces is a free data retrieval call binding the contract method 0x7ecebe00.

Solidity: function nonces(address owner) view returns(uint256)

func (*IUniswapV2PairCaller) PERMITTYPEHASH

func (_IUniswapV2Pair *IUniswapV2PairCaller) PERMITTYPEHASH(opts *bind.CallOpts) ([32]byte, error)

PERMITTYPEHASH is a free data retrieval call binding the contract method 0x30adf81f.

Solidity: function PERMIT_TYPEHASH() pure returns(bytes32)

func (*IUniswapV2PairCaller) Price0CumulativeLast

func (_IUniswapV2Pair *IUniswapV2PairCaller) Price0CumulativeLast(opts *bind.CallOpts) (*big.Int, error)

Price0CumulativeLast is a free data retrieval call binding the contract method 0x5909c0d5.

Solidity: function price0CumulativeLast() view returns(uint256)

func (*IUniswapV2PairCaller) Price1CumulativeLast

func (_IUniswapV2Pair *IUniswapV2PairCaller) Price1CumulativeLast(opts *bind.CallOpts) (*big.Int, error)

Price1CumulativeLast is a free data retrieval call binding the contract method 0x5a3d5493.

Solidity: function price1CumulativeLast() view returns(uint256)

func (*IUniswapV2PairCaller) Symbol

func (_IUniswapV2Pair *IUniswapV2PairCaller) Symbol(opts *bind.CallOpts) (string, error)

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

Solidity: function symbol() pure returns(string)

func (*IUniswapV2PairCaller) Token0

func (_IUniswapV2Pair *IUniswapV2PairCaller) Token0(opts *bind.CallOpts) (common.Address, error)

Token0 is a free data retrieval call binding the contract method 0x0dfe1681.

Solidity: function token0() view returns(address)

func (*IUniswapV2PairCaller) Token1

func (_IUniswapV2Pair *IUniswapV2PairCaller) Token1(opts *bind.CallOpts) (common.Address, error)

Token1 is a free data retrieval call binding the contract method 0xd21220a7.

Solidity: function token1() view returns(address)

func (*IUniswapV2PairCaller) TotalSupply

func (_IUniswapV2Pair *IUniswapV2PairCaller) 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)

type IUniswapV2PairCallerRaw

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

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

func (*IUniswapV2PairCallerRaw) Call

func (_IUniswapV2Pair *IUniswapV2PairCallerRaw) 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 IUniswapV2PairCallerSession

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

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

func (*IUniswapV2PairCallerSession) Allowance

func (_IUniswapV2Pair *IUniswapV2PairCallerSession) 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 (*IUniswapV2PairCallerSession) BalanceOf

func (_IUniswapV2Pair *IUniswapV2PairCallerSession) BalanceOf(owner common.Address) (*big.Int, error)

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

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

func (*IUniswapV2PairCallerSession) DOMAINSEPARATOR

func (_IUniswapV2Pair *IUniswapV2PairCallerSession) DOMAINSEPARATOR() ([32]byte, error)

DOMAINSEPARATOR is a free data retrieval call binding the contract method 0x3644e515.

Solidity: function DOMAIN_SEPARATOR() view returns(bytes32)

func (*IUniswapV2PairCallerSession) Decimals

func (_IUniswapV2Pair *IUniswapV2PairCallerSession) Decimals() (uint8, error)

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

Solidity: function decimals() pure returns(uint8)

func (*IUniswapV2PairCallerSession) Factory

func (_IUniswapV2Pair *IUniswapV2PairCallerSession) Factory() (common.Address, error)

Factory is a free data retrieval call binding the contract method 0xc45a0155.

Solidity: function factory() view returns(address)

func (*IUniswapV2PairCallerSession) GetReserves

func (_IUniswapV2Pair *IUniswapV2PairCallerSession) GetReserves() (struct {
	Reserve0           *big.Int
	Reserve1           *big.Int
	BlockTimestampLast uint32
}, error)

GetReserves is a free data retrieval call binding the contract method 0x0902f1ac.

Solidity: function getReserves() view returns(uint112 reserve0, uint112 reserve1, uint32 blockTimestampLast)

func (*IUniswapV2PairCallerSession) KLast

func (_IUniswapV2Pair *IUniswapV2PairCallerSession) KLast() (*big.Int, error)

KLast is a free data retrieval call binding the contract method 0x7464fc3d.

Solidity: function kLast() view returns(uint256)

func (*IUniswapV2PairCallerSession) MINIMUMLIQUIDITY

func (_IUniswapV2Pair *IUniswapV2PairCallerSession) MINIMUMLIQUIDITY() (*big.Int, error)

MINIMUMLIQUIDITY is a free data retrieval call binding the contract method 0xba9a7a56.

Solidity: function MINIMUM_LIQUIDITY() pure returns(uint256)

func (*IUniswapV2PairCallerSession) Name

func (_IUniswapV2Pair *IUniswapV2PairCallerSession) Name() (string, error)

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

Solidity: function name() pure returns(string)

func (*IUniswapV2PairCallerSession) Nonces

func (_IUniswapV2Pair *IUniswapV2PairCallerSession) Nonces(owner common.Address) (*big.Int, error)

Nonces is a free data retrieval call binding the contract method 0x7ecebe00.

Solidity: function nonces(address owner) view returns(uint256)

func (*IUniswapV2PairCallerSession) PERMITTYPEHASH

func (_IUniswapV2Pair *IUniswapV2PairCallerSession) PERMITTYPEHASH() ([32]byte, error)

PERMITTYPEHASH is a free data retrieval call binding the contract method 0x30adf81f.

Solidity: function PERMIT_TYPEHASH() pure returns(bytes32)

func (*IUniswapV2PairCallerSession) Price0CumulativeLast

func (_IUniswapV2Pair *IUniswapV2PairCallerSession) Price0CumulativeLast() (*big.Int, error)

Price0CumulativeLast is a free data retrieval call binding the contract method 0x5909c0d5.

Solidity: function price0CumulativeLast() view returns(uint256)

func (*IUniswapV2PairCallerSession) Price1CumulativeLast

func (_IUniswapV2Pair *IUniswapV2PairCallerSession) Price1CumulativeLast() (*big.Int, error)

Price1CumulativeLast is a free data retrieval call binding the contract method 0x5a3d5493.

Solidity: function price1CumulativeLast() view returns(uint256)

func (*IUniswapV2PairCallerSession) Symbol

func (_IUniswapV2Pair *IUniswapV2PairCallerSession) Symbol() (string, error)

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

Solidity: function symbol() pure returns(string)

func (*IUniswapV2PairCallerSession) Token0

func (_IUniswapV2Pair *IUniswapV2PairCallerSession) Token0() (common.Address, error)

Token0 is a free data retrieval call binding the contract method 0x0dfe1681.

Solidity: function token0() view returns(address)

func (*IUniswapV2PairCallerSession) Token1

func (_IUniswapV2Pair *IUniswapV2PairCallerSession) Token1() (common.Address, error)

Token1 is a free data retrieval call binding the contract method 0xd21220a7.

Solidity: function token1() view returns(address)

func (*IUniswapV2PairCallerSession) TotalSupply

func (_IUniswapV2Pair *IUniswapV2PairCallerSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

type IUniswapV2PairFilterer

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

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

func NewIUniswapV2PairFilterer

func NewIUniswapV2PairFilterer(address common.Address, filterer bind.ContractFilterer) (*IUniswapV2PairFilterer, error)

NewIUniswapV2PairFilterer creates a new log filterer instance of IUniswapV2Pair, bound to a specific deployed contract.

func (*IUniswapV2PairFilterer) FilterApproval

func (_IUniswapV2Pair *IUniswapV2PairFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*IUniswapV2PairApprovalIterator, error)

FilterApproval is a free log retrieval operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)

func (*IUniswapV2PairFilterer) FilterBurn

func (_IUniswapV2Pair *IUniswapV2PairFilterer) FilterBurn(opts *bind.FilterOpts, sender []common.Address, to []common.Address) (*IUniswapV2PairBurnIterator, error)

FilterBurn is a free log retrieval operation binding the contract event 0xdccd412f0b1252819cb1fd330b93224ca42612892bb3f4f789976e6d81936496.

Solidity: event Burn(address indexed sender, uint256 amount0, uint256 amount1, address indexed to)

func (*IUniswapV2PairFilterer) FilterMint

func (_IUniswapV2Pair *IUniswapV2PairFilterer) FilterMint(opts *bind.FilterOpts, sender []common.Address) (*IUniswapV2PairMintIterator, error)

FilterMint is a free log retrieval operation binding the contract event 0x4c209b5fc8ad50758f13e2e1088ba56a560dff690a1c6fef26394f4c03821c4f.

Solidity: event Mint(address indexed sender, uint256 amount0, uint256 amount1)

func (*IUniswapV2PairFilterer) FilterSwap

func (_IUniswapV2Pair *IUniswapV2PairFilterer) FilterSwap(opts *bind.FilterOpts, sender []common.Address, to []common.Address) (*IUniswapV2PairSwapIterator, error)

FilterSwap is a free log retrieval operation binding the contract event 0xd78ad95fa46c994b6551d0da85fc275fe613ce37657fb8d5e3d130840159d822.

Solidity: event Swap(address indexed sender, uint256 amount0In, uint256 amount1In, uint256 amount0Out, uint256 amount1Out, address indexed to)

func (*IUniswapV2PairFilterer) FilterSync

func (_IUniswapV2Pair *IUniswapV2PairFilterer) FilterSync(opts *bind.FilterOpts) (*IUniswapV2PairSyncIterator, error)

FilterSync is a free log retrieval operation binding the contract event 0x1c411e9a96e071241c2f21f7726b17ae89e3cab4c78be50e062b03a9fffbbad1.

Solidity: event Sync(uint112 reserve0, uint112 reserve1)

func (*IUniswapV2PairFilterer) FilterTransfer

func (_IUniswapV2Pair *IUniswapV2PairFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*IUniswapV2PairTransferIterator, error)

FilterTransfer is a free log retrieval operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed from, address indexed to, uint256 value)

func (*IUniswapV2PairFilterer) ParseApproval

func (_IUniswapV2Pair *IUniswapV2PairFilterer) ParseApproval(log types.Log) (*IUniswapV2PairApproval, error)

ParseApproval is a log parse operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)

func (*IUniswapV2PairFilterer) ParseBurn

func (_IUniswapV2Pair *IUniswapV2PairFilterer) ParseBurn(log types.Log) (*IUniswapV2PairBurn, error)

ParseBurn is a log parse operation binding the contract event 0xdccd412f0b1252819cb1fd330b93224ca42612892bb3f4f789976e6d81936496.

Solidity: event Burn(address indexed sender, uint256 amount0, uint256 amount1, address indexed to)

func (*IUniswapV2PairFilterer) ParseMint

func (_IUniswapV2Pair *IUniswapV2PairFilterer) ParseMint(log types.Log) (*IUniswapV2PairMint, error)

ParseMint is a log parse operation binding the contract event 0x4c209b5fc8ad50758f13e2e1088ba56a560dff690a1c6fef26394f4c03821c4f.

Solidity: event Mint(address indexed sender, uint256 amount0, uint256 amount1)

func (*IUniswapV2PairFilterer) ParseSwap

func (_IUniswapV2Pair *IUniswapV2PairFilterer) ParseSwap(log types.Log) (*IUniswapV2PairSwap, error)

ParseSwap is a log parse operation binding the contract event 0xd78ad95fa46c994b6551d0da85fc275fe613ce37657fb8d5e3d130840159d822.

Solidity: event Swap(address indexed sender, uint256 amount0In, uint256 amount1In, uint256 amount0Out, uint256 amount1Out, address indexed to)

func (*IUniswapV2PairFilterer) ParseSync

func (_IUniswapV2Pair *IUniswapV2PairFilterer) ParseSync(log types.Log) (*IUniswapV2PairSync, error)

ParseSync is a log parse operation binding the contract event 0x1c411e9a96e071241c2f21f7726b17ae89e3cab4c78be50e062b03a9fffbbad1.

Solidity: event Sync(uint112 reserve0, uint112 reserve1)

func (*IUniswapV2PairFilterer) ParseTransfer

func (_IUniswapV2Pair *IUniswapV2PairFilterer) ParseTransfer(log types.Log) (*IUniswapV2PairTransfer, error)

ParseTransfer is a log parse operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed from, address indexed to, uint256 value)

func (*IUniswapV2PairFilterer) WatchApproval

func (_IUniswapV2Pair *IUniswapV2PairFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *IUniswapV2PairApproval, owner []common.Address, spender []common.Address) (event.Subscription, error)

WatchApproval is a free log subscription operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)

func (*IUniswapV2PairFilterer) WatchBurn

func (_IUniswapV2Pair *IUniswapV2PairFilterer) WatchBurn(opts *bind.WatchOpts, sink chan<- *IUniswapV2PairBurn, sender []common.Address, to []common.Address) (event.Subscription, error)

WatchBurn is a free log subscription operation binding the contract event 0xdccd412f0b1252819cb1fd330b93224ca42612892bb3f4f789976e6d81936496.

Solidity: event Burn(address indexed sender, uint256 amount0, uint256 amount1, address indexed to)

func (*IUniswapV2PairFilterer) WatchMint

func (_IUniswapV2Pair *IUniswapV2PairFilterer) WatchMint(opts *bind.WatchOpts, sink chan<- *IUniswapV2PairMint, sender []common.Address) (event.Subscription, error)

WatchMint is a free log subscription operation binding the contract event 0x4c209b5fc8ad50758f13e2e1088ba56a560dff690a1c6fef26394f4c03821c4f.

Solidity: event Mint(address indexed sender, uint256 amount0, uint256 amount1)

func (*IUniswapV2PairFilterer) WatchSwap

func (_IUniswapV2Pair *IUniswapV2PairFilterer) WatchSwap(opts *bind.WatchOpts, sink chan<- *IUniswapV2PairSwap, sender []common.Address, to []common.Address) (event.Subscription, error)

WatchSwap is a free log subscription operation binding the contract event 0xd78ad95fa46c994b6551d0da85fc275fe613ce37657fb8d5e3d130840159d822.

Solidity: event Swap(address indexed sender, uint256 amount0In, uint256 amount1In, uint256 amount0Out, uint256 amount1Out, address indexed to)

func (*IUniswapV2PairFilterer) WatchSync

func (_IUniswapV2Pair *IUniswapV2PairFilterer) WatchSync(opts *bind.WatchOpts, sink chan<- *IUniswapV2PairSync) (event.Subscription, error)

WatchSync is a free log subscription operation binding the contract event 0x1c411e9a96e071241c2f21f7726b17ae89e3cab4c78be50e062b03a9fffbbad1.

Solidity: event Sync(uint112 reserve0, uint112 reserve1)

func (*IUniswapV2PairFilterer) WatchTransfer

func (_IUniswapV2Pair *IUniswapV2PairFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *IUniswapV2PairTransfer, from []common.Address, to []common.Address) (event.Subscription, error)

WatchTransfer is a free log subscription operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed from, address indexed to, uint256 value)

type IUniswapV2PairMint

type IUniswapV2PairMint struct {
	Sender  common.Address
	Amount0 *big.Int
	Amount1 *big.Int
	Raw     types.Log // Blockchain specific contextual infos
}

IUniswapV2PairMint represents a Mint event raised by the IUniswapV2Pair contract.

type IUniswapV2PairMintIterator

type IUniswapV2PairMintIterator struct {
	Event *IUniswapV2PairMint // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

IUniswapV2PairMintIterator is returned from FilterMint and is used to iterate over the raw logs and unpacked data for Mint events raised by the IUniswapV2Pair contract.

func (*IUniswapV2PairMintIterator) Close

func (it *IUniswapV2PairMintIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*IUniswapV2PairMintIterator) Error

func (it *IUniswapV2PairMintIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*IUniswapV2PairMintIterator) Next

func (it *IUniswapV2PairMintIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type IUniswapV2PairRaw

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

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

func (*IUniswapV2PairRaw) Call

func (_IUniswapV2Pair *IUniswapV2PairRaw) 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 (*IUniswapV2PairRaw) Transact

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

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

func (*IUniswapV2PairRaw) Transfer

func (_IUniswapV2Pair *IUniswapV2PairRaw) 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 IUniswapV2PairSession

type IUniswapV2PairSession struct {
	Contract     *IUniswapV2Pair   // 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
}

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

func (*IUniswapV2PairSession) Allowance

func (_IUniswapV2Pair *IUniswapV2PairSession) 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 (*IUniswapV2PairSession) Approve

func (_IUniswapV2Pair *IUniswapV2PairSession) Approve(spender common.Address, value *big.Int) (*types.Transaction, error)

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

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

func (*IUniswapV2PairSession) BalanceOf

func (_IUniswapV2Pair *IUniswapV2PairSession) BalanceOf(owner common.Address) (*big.Int, error)

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

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

func (*IUniswapV2PairSession) Burn

func (_IUniswapV2Pair *IUniswapV2PairSession) Burn(to common.Address) (*types.Transaction, error)

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

Solidity: function burn(address to) returns(uint256 amount0, uint256 amount1)

func (*IUniswapV2PairSession) DOMAINSEPARATOR

func (_IUniswapV2Pair *IUniswapV2PairSession) DOMAINSEPARATOR() ([32]byte, error)

DOMAINSEPARATOR is a free data retrieval call binding the contract method 0x3644e515.

Solidity: function DOMAIN_SEPARATOR() view returns(bytes32)

func (*IUniswapV2PairSession) Decimals

func (_IUniswapV2Pair *IUniswapV2PairSession) Decimals() (uint8, error)

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

Solidity: function decimals() pure returns(uint8)

func (*IUniswapV2PairSession) Factory

func (_IUniswapV2Pair *IUniswapV2PairSession) Factory() (common.Address, error)

Factory is a free data retrieval call binding the contract method 0xc45a0155.

Solidity: function factory() view returns(address)

func (*IUniswapV2PairSession) GetReserves

func (_IUniswapV2Pair *IUniswapV2PairSession) GetReserves() (struct {
	Reserve0           *big.Int
	Reserve1           *big.Int
	BlockTimestampLast uint32
}, error)

GetReserves is a free data retrieval call binding the contract method 0x0902f1ac.

Solidity: function getReserves() view returns(uint112 reserve0, uint112 reserve1, uint32 blockTimestampLast)

func (*IUniswapV2PairSession) Initialize

func (_IUniswapV2Pair *IUniswapV2PairSession) Initialize(arg0 common.Address, arg1 common.Address) (*types.Transaction, error)

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

Solidity: function initialize(address , address ) returns()

func (*IUniswapV2PairSession) KLast

func (_IUniswapV2Pair *IUniswapV2PairSession) KLast() (*big.Int, error)

KLast is a free data retrieval call binding the contract method 0x7464fc3d.

Solidity: function kLast() view returns(uint256)

func (*IUniswapV2PairSession) MINIMUMLIQUIDITY

func (_IUniswapV2Pair *IUniswapV2PairSession) MINIMUMLIQUIDITY() (*big.Int, error)

MINIMUMLIQUIDITY is a free data retrieval call binding the contract method 0xba9a7a56.

Solidity: function MINIMUM_LIQUIDITY() pure returns(uint256)

func (*IUniswapV2PairSession) Mint

func (_IUniswapV2Pair *IUniswapV2PairSession) Mint(to common.Address) (*types.Transaction, error)

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

Solidity: function mint(address to) returns(uint256 liquidity)

func (*IUniswapV2PairSession) Name

func (_IUniswapV2Pair *IUniswapV2PairSession) Name() (string, error)

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

Solidity: function name() pure returns(string)

func (*IUniswapV2PairSession) Nonces

func (_IUniswapV2Pair *IUniswapV2PairSession) Nonces(owner common.Address) (*big.Int, error)

Nonces is a free data retrieval call binding the contract method 0x7ecebe00.

Solidity: function nonces(address owner) view returns(uint256)

func (*IUniswapV2PairSession) PERMITTYPEHASH

func (_IUniswapV2Pair *IUniswapV2PairSession) PERMITTYPEHASH() ([32]byte, error)

PERMITTYPEHASH is a free data retrieval call binding the contract method 0x30adf81f.

Solidity: function PERMIT_TYPEHASH() pure returns(bytes32)

func (*IUniswapV2PairSession) Permit

func (_IUniswapV2Pair *IUniswapV2PairSession) Permit(owner common.Address, spender common.Address, value *big.Int, deadline *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

Permit is a paid mutator transaction binding the contract method 0xd505accf.

Solidity: function permit(address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) returns()

func (*IUniswapV2PairSession) Price0CumulativeLast

func (_IUniswapV2Pair *IUniswapV2PairSession) Price0CumulativeLast() (*big.Int, error)

Price0CumulativeLast is a free data retrieval call binding the contract method 0x5909c0d5.

Solidity: function price0CumulativeLast() view returns(uint256)

func (*IUniswapV2PairSession) Price1CumulativeLast

func (_IUniswapV2Pair *IUniswapV2PairSession) Price1CumulativeLast() (*big.Int, error)

Price1CumulativeLast is a free data retrieval call binding the contract method 0x5a3d5493.

Solidity: function price1CumulativeLast() view returns(uint256)

func (*IUniswapV2PairSession) Skim

func (_IUniswapV2Pair *IUniswapV2PairSession) Skim(to common.Address) (*types.Transaction, error)

Skim is a paid mutator transaction binding the contract method 0xbc25cf77.

Solidity: function skim(address to) returns()

func (*IUniswapV2PairSession) Swap

func (_IUniswapV2Pair *IUniswapV2PairSession) Swap(amount0Out *big.Int, amount1Out *big.Int, to common.Address, data []byte) (*types.Transaction, error)

Swap is a paid mutator transaction binding the contract method 0x022c0d9f.

Solidity: function swap(uint256 amount0Out, uint256 amount1Out, address to, bytes data) returns()

func (*IUniswapV2PairSession) Symbol

func (_IUniswapV2Pair *IUniswapV2PairSession) Symbol() (string, error)

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

Solidity: function symbol() pure returns(string)

func (*IUniswapV2PairSession) Sync

func (_IUniswapV2Pair *IUniswapV2PairSession) Sync() (*types.Transaction, error)

Sync is a paid mutator transaction binding the contract method 0xfff6cae9.

Solidity: function sync() returns()

func (*IUniswapV2PairSession) Token0

func (_IUniswapV2Pair *IUniswapV2PairSession) Token0() (common.Address, error)

Token0 is a free data retrieval call binding the contract method 0x0dfe1681.

Solidity: function token0() view returns(address)

func (*IUniswapV2PairSession) Token1

func (_IUniswapV2Pair *IUniswapV2PairSession) Token1() (common.Address, error)

Token1 is a free data retrieval call binding the contract method 0xd21220a7.

Solidity: function token1() view returns(address)

func (*IUniswapV2PairSession) TotalSupply

func (_IUniswapV2Pair *IUniswapV2PairSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

func (*IUniswapV2PairSession) Transfer

func (_IUniswapV2Pair *IUniswapV2PairSession) Transfer(to common.Address, value *big.Int) (*types.Transaction, error)

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

Solidity: function transfer(address to, uint256 value) returns(bool)

func (*IUniswapV2PairSession) TransferFrom

func (_IUniswapV2Pair *IUniswapV2PairSession) TransferFrom(from common.Address, to common.Address, value *big.Int) (*types.Transaction, error)

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

Solidity: function transferFrom(address from, address to, uint256 value) returns(bool)

type IUniswapV2PairSwap

type IUniswapV2PairSwap struct {
	Sender     common.Address
	Amount0In  *big.Int
	Amount1In  *big.Int
	Amount0Out *big.Int
	Amount1Out *big.Int
	To         common.Address
	Raw        types.Log // Blockchain specific contextual infos
}

IUniswapV2PairSwap represents a Swap event raised by the IUniswapV2Pair contract.

type IUniswapV2PairSwapIterator

type IUniswapV2PairSwapIterator struct {
	Event *IUniswapV2PairSwap // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

IUniswapV2PairSwapIterator is returned from FilterSwap and is used to iterate over the raw logs and unpacked data for Swap events raised by the IUniswapV2Pair contract.

func (*IUniswapV2PairSwapIterator) Close

func (it *IUniswapV2PairSwapIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*IUniswapV2PairSwapIterator) Error

func (it *IUniswapV2PairSwapIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*IUniswapV2PairSwapIterator) Next

func (it *IUniswapV2PairSwapIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type IUniswapV2PairSync

type IUniswapV2PairSync struct {
	Reserve0 *big.Int
	Reserve1 *big.Int
	Raw      types.Log // Blockchain specific contextual infos
}

IUniswapV2PairSync represents a Sync event raised by the IUniswapV2Pair contract.

type IUniswapV2PairSyncIterator

type IUniswapV2PairSyncIterator struct {
	Event *IUniswapV2PairSync // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

IUniswapV2PairSyncIterator is returned from FilterSync and is used to iterate over the raw logs and unpacked data for Sync events raised by the IUniswapV2Pair contract.

func (*IUniswapV2PairSyncIterator) Close

func (it *IUniswapV2PairSyncIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*IUniswapV2PairSyncIterator) Error

func (it *IUniswapV2PairSyncIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*IUniswapV2PairSyncIterator) Next

func (it *IUniswapV2PairSyncIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type IUniswapV2PairTransactor

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

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

func NewIUniswapV2PairTransactor

func NewIUniswapV2PairTransactor(address common.Address, transactor bind.ContractTransactor) (*IUniswapV2PairTransactor, error)

NewIUniswapV2PairTransactor creates a new write-only instance of IUniswapV2Pair, bound to a specific deployed contract.

func (*IUniswapV2PairTransactor) Approve

func (_IUniswapV2Pair *IUniswapV2PairTransactor) Approve(opts *bind.TransactOpts, spender common.Address, value *big.Int) (*types.Transaction, error)

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

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

func (*IUniswapV2PairTransactor) Burn

func (_IUniswapV2Pair *IUniswapV2PairTransactor) Burn(opts *bind.TransactOpts, to common.Address) (*types.Transaction, error)

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

Solidity: function burn(address to) returns(uint256 amount0, uint256 amount1)

func (*IUniswapV2PairTransactor) Initialize

func (_IUniswapV2Pair *IUniswapV2PairTransactor) Initialize(opts *bind.TransactOpts, arg0 common.Address, arg1 common.Address) (*types.Transaction, error)

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

Solidity: function initialize(address , address ) returns()

func (*IUniswapV2PairTransactor) Mint

func (_IUniswapV2Pair *IUniswapV2PairTransactor) Mint(opts *bind.TransactOpts, to common.Address) (*types.Transaction, error)

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

Solidity: function mint(address to) returns(uint256 liquidity)

func (*IUniswapV2PairTransactor) Permit

func (_IUniswapV2Pair *IUniswapV2PairTransactor) Permit(opts *bind.TransactOpts, owner common.Address, spender common.Address, value *big.Int, deadline *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

Permit is a paid mutator transaction binding the contract method 0xd505accf.

Solidity: function permit(address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) returns()

func (*IUniswapV2PairTransactor) Skim

func (_IUniswapV2Pair *IUniswapV2PairTransactor) Skim(opts *bind.TransactOpts, to common.Address) (*types.Transaction, error)

Skim is a paid mutator transaction binding the contract method 0xbc25cf77.

Solidity: function skim(address to) returns()

func (*IUniswapV2PairTransactor) Swap

func (_IUniswapV2Pair *IUniswapV2PairTransactor) Swap(opts *bind.TransactOpts, amount0Out *big.Int, amount1Out *big.Int, to common.Address, data []byte) (*types.Transaction, error)

Swap is a paid mutator transaction binding the contract method 0x022c0d9f.

Solidity: function swap(uint256 amount0Out, uint256 amount1Out, address to, bytes data) returns()

func (*IUniswapV2PairTransactor) Sync

func (_IUniswapV2Pair *IUniswapV2PairTransactor) Sync(opts *bind.TransactOpts) (*types.Transaction, error)

Sync is a paid mutator transaction binding the contract method 0xfff6cae9.

Solidity: function sync() returns()

func (*IUniswapV2PairTransactor) Transfer

func (_IUniswapV2Pair *IUniswapV2PairTransactor) Transfer(opts *bind.TransactOpts, to common.Address, value *big.Int) (*types.Transaction, error)

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

Solidity: function transfer(address to, uint256 value) returns(bool)

func (*IUniswapV2PairTransactor) TransferFrom

func (_IUniswapV2Pair *IUniswapV2PairTransactor) TransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, value *big.Int) (*types.Transaction, error)

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

Solidity: function transferFrom(address from, address to, uint256 value) returns(bool)

type IUniswapV2PairTransactorRaw

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

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

func (*IUniswapV2PairTransactorRaw) Transact

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

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

func (*IUniswapV2PairTransactorRaw) Transfer

func (_IUniswapV2Pair *IUniswapV2PairTransactorRaw) 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 IUniswapV2PairTransactorSession

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

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

func (*IUniswapV2PairTransactorSession) Approve

func (_IUniswapV2Pair *IUniswapV2PairTransactorSession) Approve(spender common.Address, value *big.Int) (*types.Transaction, error)

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

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

func (*IUniswapV2PairTransactorSession) Burn

func (_IUniswapV2Pair *IUniswapV2PairTransactorSession) Burn(to common.Address) (*types.Transaction, error)

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

Solidity: function burn(address to) returns(uint256 amount0, uint256 amount1)

func (*IUniswapV2PairTransactorSession) Initialize

func (_IUniswapV2Pair *IUniswapV2PairTransactorSession) Initialize(arg0 common.Address, arg1 common.Address) (*types.Transaction, error)

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

Solidity: function initialize(address , address ) returns()

func (*IUniswapV2PairTransactorSession) Mint

func (_IUniswapV2Pair *IUniswapV2PairTransactorSession) Mint(to common.Address) (*types.Transaction, error)

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

Solidity: function mint(address to) returns(uint256 liquidity)

func (*IUniswapV2PairTransactorSession) Permit

func (_IUniswapV2Pair *IUniswapV2PairTransactorSession) Permit(owner common.Address, spender common.Address, value *big.Int, deadline *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

Permit is a paid mutator transaction binding the contract method 0xd505accf.

Solidity: function permit(address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) returns()

func (*IUniswapV2PairTransactorSession) Skim

func (_IUniswapV2Pair *IUniswapV2PairTransactorSession) Skim(to common.Address) (*types.Transaction, error)

Skim is a paid mutator transaction binding the contract method 0xbc25cf77.

Solidity: function skim(address to) returns()

func (*IUniswapV2PairTransactorSession) Swap

func (_IUniswapV2Pair *IUniswapV2PairTransactorSession) Swap(amount0Out *big.Int, amount1Out *big.Int, to common.Address, data []byte) (*types.Transaction, error)

Swap is a paid mutator transaction binding the contract method 0x022c0d9f.

Solidity: function swap(uint256 amount0Out, uint256 amount1Out, address to, bytes data) returns()

func (*IUniswapV2PairTransactorSession) Sync

func (_IUniswapV2Pair *IUniswapV2PairTransactorSession) Sync() (*types.Transaction, error)

Sync is a paid mutator transaction binding the contract method 0xfff6cae9.

Solidity: function sync() returns()

func (*IUniswapV2PairTransactorSession) Transfer

func (_IUniswapV2Pair *IUniswapV2PairTransactorSession) Transfer(to common.Address, value *big.Int) (*types.Transaction, error)

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

Solidity: function transfer(address to, uint256 value) returns(bool)

func (*IUniswapV2PairTransactorSession) TransferFrom

func (_IUniswapV2Pair *IUniswapV2PairTransactorSession) TransferFrom(from common.Address, to common.Address, value *big.Int) (*types.Transaction, error)

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

Solidity: function transferFrom(address from, address to, uint256 value) returns(bool)

type IUniswapV2PairTransfer

type IUniswapV2PairTransfer struct {
	From  common.Address
	To    common.Address
	Value *big.Int
	Raw   types.Log // Blockchain specific contextual infos
}

IUniswapV2PairTransfer represents a Transfer event raised by the IUniswapV2Pair contract.

type IUniswapV2PairTransferIterator

type IUniswapV2PairTransferIterator struct {
	Event *IUniswapV2PairTransfer // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

IUniswapV2PairTransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the IUniswapV2Pair contract.

func (*IUniswapV2PairTransferIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*IUniswapV2PairTransferIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*IUniswapV2PairTransferIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type Kyber

type Kyber struct {
	KyberCaller     // Read-only binding to the contract
	KyberTransactor // Write-only binding to the contract
	KyberFilterer   // Log filterer for contract events
}

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

func NewKyber

func NewKyber(address common.Address, backend bind.ContractBackend) (*Kyber, error)

NewKyber creates a new instance of Kyber, bound to a specific deployed contract.

type KyberAdminClaimed

type KyberAdminClaimed struct {
	NewAdmin      common.Address
	PreviousAdmin common.Address
	Raw           types.Log // Blockchain specific contextual infos
}

KyberAdminClaimed represents a AdminClaimed event raised by the Kyber contract.

type KyberAdminClaimedIterator

type KyberAdminClaimedIterator struct {
	Event *KyberAdminClaimed // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

KyberAdminClaimedIterator is returned from FilterAdminClaimed and is used to iterate over the raw logs and unpacked data for AdminClaimed events raised by the Kyber contract.

func (*KyberAdminClaimedIterator) Close

func (it *KyberAdminClaimedIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*KyberAdminClaimedIterator) Error

func (it *KyberAdminClaimedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*KyberAdminClaimedIterator) Next

func (it *KyberAdminClaimedIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type KyberAlerterAdded

type KyberAlerterAdded struct {
	NewAlerter common.Address
	IsAdd      bool
	Raw        types.Log // Blockchain specific contextual infos
}

KyberAlerterAdded represents a AlerterAdded event raised by the Kyber contract.

type KyberAlerterAddedIterator

type KyberAlerterAddedIterator struct {
	Event *KyberAlerterAdded // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

KyberAlerterAddedIterator is returned from FilterAlerterAdded and is used to iterate over the raw logs and unpacked data for AlerterAdded events raised by the Kyber contract.

func (*KyberAlerterAddedIterator) Close

func (it *KyberAlerterAddedIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*KyberAlerterAddedIterator) Error

func (it *KyberAlerterAddedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*KyberAlerterAddedIterator) Next

func (it *KyberAlerterAddedIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type KyberCaller

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

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

func NewKyberCaller

func NewKyberCaller(address common.Address, caller bind.ContractCaller) (*KyberCaller, error)

NewKyberCaller creates a new read-only instance of Kyber, bound to a specific deployed contract.

func (*KyberCaller) Admin

func (_Kyber *KyberCaller) Admin(opts *bind.CallOpts) (common.Address, error)

Admin is a free data retrieval call binding the contract method 0xf851a440.

Solidity: function admin() view returns(address)

func (*KyberCaller) Enabled

func (_Kyber *KyberCaller) Enabled(opts *bind.CallOpts) (bool, error)

Enabled is a free data retrieval call binding the contract method 0x238dafe0.

Solidity: function enabled() view returns(bool)

func (*KyberCaller) GetAlerters

func (_Kyber *KyberCaller) GetAlerters(opts *bind.CallOpts) ([]common.Address, error)

GetAlerters is a free data retrieval call binding the contract method 0x7c423f54.

Solidity: function getAlerters() view returns(address[])

func (*KyberCaller) GetBalance

func (_Kyber *KyberCaller) GetBalance(opts *bind.CallOpts, token common.Address, user common.Address) (*big.Int, error)

GetBalance is a free data retrieval call binding the contract method 0xd4fac45d.

Solidity: function getBalance(address token, address user) view returns(uint256)

func (*KyberCaller) GetExpectedRate

func (_Kyber *KyberCaller) GetExpectedRate(opts *bind.CallOpts, src common.Address, dest common.Address, srcQty *big.Int) (struct {
	ExpectedRate *big.Int
	SlippageRate *big.Int
}, error)

GetExpectedRate is a free data retrieval call binding the contract method 0x809a9e55.

Solidity: function getExpectedRate(address src, address dest, uint256 srcQty) view returns(uint256 expectedRate, uint256 slippageRate)

func (*KyberCaller) GetOperators

func (_Kyber *KyberCaller) GetOperators(opts *bind.CallOpts) ([]common.Address, error)

GetOperators is a free data retrieval call binding the contract method 0x27a099d8.

Solidity: function getOperators() view returns(address[])

func (*KyberCaller) GetUserCapInTokenWei

func (_Kyber *KyberCaller) GetUserCapInTokenWei(opts *bind.CallOpts, user common.Address, token common.Address) (*big.Int, error)

GetUserCapInTokenWei is a free data retrieval call binding the contract method 0x8eaaeecf.

Solidity: function getUserCapInTokenWei(address user, address token) view returns(uint256)

func (*KyberCaller) GetUserCapInWei

func (_Kyber *KyberCaller) GetUserCapInWei(opts *bind.CallOpts, user common.Address) (*big.Int, error)

GetUserCapInWei is a free data retrieval call binding the contract method 0x6432679f.

Solidity: function getUserCapInWei(address user) view returns(uint256)

func (*KyberCaller) Info

func (_Kyber *KyberCaller) Info(opts *bind.CallOpts, field [32]byte) (*big.Int, error)

Info is a free data retrieval call binding the contract method 0xb64a097e.

Solidity: function info(bytes32 field) view returns(uint256)

func (*KyberCaller) KyberNetworkContract

func (_Kyber *KyberCaller) KyberNetworkContract(opts *bind.CallOpts) (common.Address, error)

KyberNetworkContract is a free data retrieval call binding the contract method 0x4f61ff8b.

Solidity: function kyberNetworkContract() view returns(address)

func (*KyberCaller) MaxGasPrice

func (_Kyber *KyberCaller) MaxGasPrice(opts *bind.CallOpts) (*big.Int, error)

MaxGasPrice is a free data retrieval call binding the contract method 0x3de39c11.

Solidity: function maxGasPrice() view returns(uint256)

func (*KyberCaller) PendingAdmin

func (_Kyber *KyberCaller) PendingAdmin(opts *bind.CallOpts) (common.Address, error)

PendingAdmin is a free data retrieval call binding the contract method 0x26782247.

Solidity: function pendingAdmin() view returns(address)

type KyberCallerRaw

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

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

func (*KyberCallerRaw) Call

func (_Kyber *KyberCallerRaw) 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 KyberCallerSession

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

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

func (*KyberCallerSession) Admin

func (_Kyber *KyberCallerSession) Admin() (common.Address, error)

Admin is a free data retrieval call binding the contract method 0xf851a440.

Solidity: function admin() view returns(address)

func (*KyberCallerSession) Enabled

func (_Kyber *KyberCallerSession) Enabled() (bool, error)

Enabled is a free data retrieval call binding the contract method 0x238dafe0.

Solidity: function enabled() view returns(bool)

func (*KyberCallerSession) GetAlerters

func (_Kyber *KyberCallerSession) GetAlerters() ([]common.Address, error)

GetAlerters is a free data retrieval call binding the contract method 0x7c423f54.

Solidity: function getAlerters() view returns(address[])

func (*KyberCallerSession) GetBalance

func (_Kyber *KyberCallerSession) GetBalance(token common.Address, user common.Address) (*big.Int, error)

GetBalance is a free data retrieval call binding the contract method 0xd4fac45d.

Solidity: function getBalance(address token, address user) view returns(uint256)

func (*KyberCallerSession) GetExpectedRate

func (_Kyber *KyberCallerSession) GetExpectedRate(src common.Address, dest common.Address, srcQty *big.Int) (struct {
	ExpectedRate *big.Int
	SlippageRate *big.Int
}, error)

GetExpectedRate is a free data retrieval call binding the contract method 0x809a9e55.

Solidity: function getExpectedRate(address src, address dest, uint256 srcQty) view returns(uint256 expectedRate, uint256 slippageRate)

func (*KyberCallerSession) GetOperators

func (_Kyber *KyberCallerSession) GetOperators() ([]common.Address, error)

GetOperators is a free data retrieval call binding the contract method 0x27a099d8.

Solidity: function getOperators() view returns(address[])

func (*KyberCallerSession) GetUserCapInTokenWei

func (_Kyber *KyberCallerSession) GetUserCapInTokenWei(user common.Address, token common.Address) (*big.Int, error)

GetUserCapInTokenWei is a free data retrieval call binding the contract method 0x8eaaeecf.

Solidity: function getUserCapInTokenWei(address user, address token) view returns(uint256)

func (*KyberCallerSession) GetUserCapInWei

func (_Kyber *KyberCallerSession) GetUserCapInWei(user common.Address) (*big.Int, error)

GetUserCapInWei is a free data retrieval call binding the contract method 0x6432679f.

Solidity: function getUserCapInWei(address user) view returns(uint256)

func (*KyberCallerSession) Info

func (_Kyber *KyberCallerSession) Info(field [32]byte) (*big.Int, error)

Info is a free data retrieval call binding the contract method 0xb64a097e.

Solidity: function info(bytes32 field) view returns(uint256)

func (*KyberCallerSession) KyberNetworkContract

func (_Kyber *KyberCallerSession) KyberNetworkContract() (common.Address, error)

KyberNetworkContract is a free data retrieval call binding the contract method 0x4f61ff8b.

Solidity: function kyberNetworkContract() view returns(address)

func (*KyberCallerSession) MaxGasPrice

func (_Kyber *KyberCallerSession) MaxGasPrice() (*big.Int, error)

MaxGasPrice is a free data retrieval call binding the contract method 0x3de39c11.

Solidity: function maxGasPrice() view returns(uint256)

func (*KyberCallerSession) PendingAdmin

func (_Kyber *KyberCallerSession) PendingAdmin() (common.Address, error)

PendingAdmin is a free data retrieval call binding the contract method 0x26782247.

Solidity: function pendingAdmin() view returns(address)

type KyberEtherWithdraw

type KyberEtherWithdraw struct {
	Amount *big.Int
	SendTo common.Address
	Raw    types.Log // Blockchain specific contextual infos
}

KyberEtherWithdraw represents a EtherWithdraw event raised by the Kyber contract.

type KyberEtherWithdrawIterator

type KyberEtherWithdrawIterator struct {
	Event *KyberEtherWithdraw // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

KyberEtherWithdrawIterator is returned from FilterEtherWithdraw and is used to iterate over the raw logs and unpacked data for EtherWithdraw events raised by the Kyber contract.

func (*KyberEtherWithdrawIterator) Close

func (it *KyberEtherWithdrawIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*KyberEtherWithdrawIterator) Error

func (it *KyberEtherWithdrawIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*KyberEtherWithdrawIterator) Next

func (it *KyberEtherWithdrawIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type KyberExecuteTrade

type KyberExecuteTrade struct {
	Trader           common.Address
	Src              common.Address
	Dest             common.Address
	ActualSrcAmount  *big.Int
	ActualDestAmount *big.Int
	Raw              types.Log // Blockchain specific contextual infos
}

KyberExecuteTrade represents a ExecuteTrade event raised by the Kyber contract.

type KyberExecuteTradeIterator

type KyberExecuteTradeIterator struct {
	Event *KyberExecuteTrade // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

KyberExecuteTradeIterator is returned from FilterExecuteTrade and is used to iterate over the raw logs and unpacked data for ExecuteTrade events raised by the Kyber contract.

func (*KyberExecuteTradeIterator) Close

func (it *KyberExecuteTradeIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*KyberExecuteTradeIterator) Error

func (it *KyberExecuteTradeIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*KyberExecuteTradeIterator) Next

func (it *KyberExecuteTradeIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type KyberFilterer

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

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

func NewKyberFilterer

func NewKyberFilterer(address common.Address, filterer bind.ContractFilterer) (*KyberFilterer, error)

NewKyberFilterer creates a new log filterer instance of Kyber, bound to a specific deployed contract.

func (*KyberFilterer) FilterAdminClaimed

func (_Kyber *KyberFilterer) FilterAdminClaimed(opts *bind.FilterOpts) (*KyberAdminClaimedIterator, error)

FilterAdminClaimed is a free log retrieval operation binding the contract event 0x65da1cfc2c2e81576ad96afb24a581f8e109b7a403b35cbd3243a1c99efdb9ed.

Solidity: event AdminClaimed(address newAdmin, address previousAdmin)

func (*KyberFilterer) FilterAlerterAdded

func (_Kyber *KyberFilterer) FilterAlerterAdded(opts *bind.FilterOpts) (*KyberAlerterAddedIterator, error)

FilterAlerterAdded is a free log retrieval operation binding the contract event 0x5611bf3e417d124f97bf2c788843ea8bb502b66079fbee02158ef30b172cb762.

Solidity: event AlerterAdded(address newAlerter, bool isAdd)

func (*KyberFilterer) FilterEtherWithdraw

func (_Kyber *KyberFilterer) FilterEtherWithdraw(opts *bind.FilterOpts) (*KyberEtherWithdrawIterator, error)

FilterEtherWithdraw is a free log retrieval operation binding the contract event 0xec47e7ed86c86774d1a72c19f35c639911393fe7c1a34031fdbd260890da90de.

Solidity: event EtherWithdraw(uint256 amount, address sendTo)

func (*KyberFilterer) FilterExecuteTrade

func (_Kyber *KyberFilterer) FilterExecuteTrade(opts *bind.FilterOpts, trader []common.Address) (*KyberExecuteTradeIterator, error)

FilterExecuteTrade is a free log retrieval operation binding the contract event 0x1849bd6a030a1bca28b83437fd3de96f3d27a5d172fa7e9c78e7b61468928a39.

Solidity: event ExecuteTrade(address indexed trader, address src, address dest, uint256 actualSrcAmount, uint256 actualDestAmount)

func (*KyberFilterer) FilterKyberNetworkSet

func (_Kyber *KyberFilterer) FilterKyberNetworkSet(opts *bind.FilterOpts) (*KyberKyberNetworkSetIterator, error)

FilterKyberNetworkSet is a free log retrieval operation binding the contract event 0x8936e1f096bf0a8c9df862b3d1d5b82774cad78116200175f00b5b7ba3010b02.

Solidity: event KyberNetworkSet(address newNetworkContract, address oldNetworkContract)

func (*KyberFilterer) FilterOperatorAdded

func (_Kyber *KyberFilterer) FilterOperatorAdded(opts *bind.FilterOpts) (*KyberOperatorAddedIterator, error)

FilterOperatorAdded is a free log retrieval operation binding the contract event 0x091a7a4b85135fdd7e8dbc18b12fabe5cc191ea867aa3c2e1a24a102af61d58b.

Solidity: event OperatorAdded(address newOperator, bool isAdd)

func (*KyberFilterer) FilterTokenWithdraw

func (_Kyber *KyberFilterer) FilterTokenWithdraw(opts *bind.FilterOpts) (*KyberTokenWithdrawIterator, error)

FilterTokenWithdraw is a free log retrieval operation binding the contract event 0x72cb8a894ddb372ceec3d2a7648d86f17d5a15caae0e986c53109b8a9a9385e6.

Solidity: event TokenWithdraw(address token, uint256 amount, address sendTo)

func (*KyberFilterer) FilterTransferAdminPending

func (_Kyber *KyberFilterer) FilterTransferAdminPending(opts *bind.FilterOpts) (*KyberTransferAdminPendingIterator, error)

FilterTransferAdminPending is a free log retrieval operation binding the contract event 0x3b81caf78fa51ecbc8acb482fd7012a277b428d9b80f9d156e8a54107496cc40.

Solidity: event TransferAdminPending(address pendingAdmin)

func (*KyberFilterer) ParseAdminClaimed

func (_Kyber *KyberFilterer) ParseAdminClaimed(log types.Log) (*KyberAdminClaimed, error)

ParseAdminClaimed is a log parse operation binding the contract event 0x65da1cfc2c2e81576ad96afb24a581f8e109b7a403b35cbd3243a1c99efdb9ed.

Solidity: event AdminClaimed(address newAdmin, address previousAdmin)

func (*KyberFilterer) ParseAlerterAdded

func (_Kyber *KyberFilterer) ParseAlerterAdded(log types.Log) (*KyberAlerterAdded, error)

ParseAlerterAdded is a log parse operation binding the contract event 0x5611bf3e417d124f97bf2c788843ea8bb502b66079fbee02158ef30b172cb762.

Solidity: event AlerterAdded(address newAlerter, bool isAdd)

func (*KyberFilterer) ParseEtherWithdraw

func (_Kyber *KyberFilterer) ParseEtherWithdraw(log types.Log) (*KyberEtherWithdraw, error)

ParseEtherWithdraw is a log parse operation binding the contract event 0xec47e7ed86c86774d1a72c19f35c639911393fe7c1a34031fdbd260890da90de.

Solidity: event EtherWithdraw(uint256 amount, address sendTo)

func (*KyberFilterer) ParseExecuteTrade

func (_Kyber *KyberFilterer) ParseExecuteTrade(log types.Log) (*KyberExecuteTrade, error)

ParseExecuteTrade is a log parse operation binding the contract event 0x1849bd6a030a1bca28b83437fd3de96f3d27a5d172fa7e9c78e7b61468928a39.

Solidity: event ExecuteTrade(address indexed trader, address src, address dest, uint256 actualSrcAmount, uint256 actualDestAmount)

func (*KyberFilterer) ParseKyberNetworkSet

func (_Kyber *KyberFilterer) ParseKyberNetworkSet(log types.Log) (*KyberKyberNetworkSet, error)

ParseKyberNetworkSet is a log parse operation binding the contract event 0x8936e1f096bf0a8c9df862b3d1d5b82774cad78116200175f00b5b7ba3010b02.

Solidity: event KyberNetworkSet(address newNetworkContract, address oldNetworkContract)

func (*KyberFilterer) ParseOperatorAdded

func (_Kyber *KyberFilterer) ParseOperatorAdded(log types.Log) (*KyberOperatorAdded, error)

ParseOperatorAdded is a log parse operation binding the contract event 0x091a7a4b85135fdd7e8dbc18b12fabe5cc191ea867aa3c2e1a24a102af61d58b.

Solidity: event OperatorAdded(address newOperator, bool isAdd)

func (*KyberFilterer) ParseTokenWithdraw

func (_Kyber *KyberFilterer) ParseTokenWithdraw(log types.Log) (*KyberTokenWithdraw, error)

ParseTokenWithdraw is a log parse operation binding the contract event 0x72cb8a894ddb372ceec3d2a7648d86f17d5a15caae0e986c53109b8a9a9385e6.

Solidity: event TokenWithdraw(address token, uint256 amount, address sendTo)

func (*KyberFilterer) ParseTransferAdminPending

func (_Kyber *KyberFilterer) ParseTransferAdminPending(log types.Log) (*KyberTransferAdminPending, error)

ParseTransferAdminPending is a log parse operation binding the contract event 0x3b81caf78fa51ecbc8acb482fd7012a277b428d9b80f9d156e8a54107496cc40.

Solidity: event TransferAdminPending(address pendingAdmin)

func (*KyberFilterer) WatchAdminClaimed

func (_Kyber *KyberFilterer) WatchAdminClaimed(opts *bind.WatchOpts, sink chan<- *KyberAdminClaimed) (event.Subscription, error)

WatchAdminClaimed is a free log subscription operation binding the contract event 0x65da1cfc2c2e81576ad96afb24a581f8e109b7a403b35cbd3243a1c99efdb9ed.

Solidity: event AdminClaimed(address newAdmin, address previousAdmin)

func (*KyberFilterer) WatchAlerterAdded

func (_Kyber *KyberFilterer) WatchAlerterAdded(opts *bind.WatchOpts, sink chan<- *KyberAlerterAdded) (event.Subscription, error)

WatchAlerterAdded is a free log subscription operation binding the contract event 0x5611bf3e417d124f97bf2c788843ea8bb502b66079fbee02158ef30b172cb762.

Solidity: event AlerterAdded(address newAlerter, bool isAdd)

func (*KyberFilterer) WatchEtherWithdraw

func (_Kyber *KyberFilterer) WatchEtherWithdraw(opts *bind.WatchOpts, sink chan<- *KyberEtherWithdraw) (event.Subscription, error)

WatchEtherWithdraw is a free log subscription operation binding the contract event 0xec47e7ed86c86774d1a72c19f35c639911393fe7c1a34031fdbd260890da90de.

Solidity: event EtherWithdraw(uint256 amount, address sendTo)

func (*KyberFilterer) WatchExecuteTrade

func (_Kyber *KyberFilterer) WatchExecuteTrade(opts *bind.WatchOpts, sink chan<- *KyberExecuteTrade, trader []common.Address) (event.Subscription, error)

WatchExecuteTrade is a free log subscription operation binding the contract event 0x1849bd6a030a1bca28b83437fd3de96f3d27a5d172fa7e9c78e7b61468928a39.

Solidity: event ExecuteTrade(address indexed trader, address src, address dest, uint256 actualSrcAmount, uint256 actualDestAmount)

func (*KyberFilterer) WatchKyberNetworkSet

func (_Kyber *KyberFilterer) WatchKyberNetworkSet(opts *bind.WatchOpts, sink chan<- *KyberKyberNetworkSet) (event.Subscription, error)

WatchKyberNetworkSet is a free log subscription operation binding the contract event 0x8936e1f096bf0a8c9df862b3d1d5b82774cad78116200175f00b5b7ba3010b02.

Solidity: event KyberNetworkSet(address newNetworkContract, address oldNetworkContract)

func (*KyberFilterer) WatchOperatorAdded

func (_Kyber *KyberFilterer) WatchOperatorAdded(opts *bind.WatchOpts, sink chan<- *KyberOperatorAdded) (event.Subscription, error)

WatchOperatorAdded is a free log subscription operation binding the contract event 0x091a7a4b85135fdd7e8dbc18b12fabe5cc191ea867aa3c2e1a24a102af61d58b.

Solidity: event OperatorAdded(address newOperator, bool isAdd)

func (*KyberFilterer) WatchTokenWithdraw

func (_Kyber *KyberFilterer) WatchTokenWithdraw(opts *bind.WatchOpts, sink chan<- *KyberTokenWithdraw) (event.Subscription, error)

WatchTokenWithdraw is a free log subscription operation binding the contract event 0x72cb8a894ddb372ceec3d2a7648d86f17d5a15caae0e986c53109b8a9a9385e6.

Solidity: event TokenWithdraw(address token, uint256 amount, address sendTo)

func (*KyberFilterer) WatchTransferAdminPending

func (_Kyber *KyberFilterer) WatchTransferAdminPending(opts *bind.WatchOpts, sink chan<- *KyberTransferAdminPending) (event.Subscription, error)

WatchTransferAdminPending is a free log subscription operation binding the contract event 0x3b81caf78fa51ecbc8acb482fd7012a277b428d9b80f9d156e8a54107496cc40.

Solidity: event TransferAdminPending(address pendingAdmin)

type KyberKyberNetworkSet

type KyberKyberNetworkSet struct {
	NewNetworkContract common.Address
	OldNetworkContract common.Address
	Raw                types.Log // Blockchain specific contextual infos
}

KyberKyberNetworkSet represents a KyberNetworkSet event raised by the Kyber contract.

type KyberKyberNetworkSetIterator

type KyberKyberNetworkSetIterator struct {
	Event *KyberKyberNetworkSet // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

KyberKyberNetworkSetIterator is returned from FilterKyberNetworkSet and is used to iterate over the raw logs and unpacked data for KyberNetworkSet events raised by the Kyber contract.

func (*KyberKyberNetworkSetIterator) Close

func (it *KyberKyberNetworkSetIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*KyberKyberNetworkSetIterator) Error

func (it *KyberKyberNetworkSetIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*KyberKyberNetworkSetIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type KyberOperatorAdded

type KyberOperatorAdded struct {
	NewOperator common.Address
	IsAdd       bool
	Raw         types.Log // Blockchain specific contextual infos
}

KyberOperatorAdded represents a OperatorAdded event raised by the Kyber contract.

type KyberOperatorAddedIterator

type KyberOperatorAddedIterator struct {
	Event *KyberOperatorAdded // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

KyberOperatorAddedIterator is returned from FilterOperatorAdded and is used to iterate over the raw logs and unpacked data for OperatorAdded events raised by the Kyber contract.

func (*KyberOperatorAddedIterator) Close

func (it *KyberOperatorAddedIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*KyberOperatorAddedIterator) Error

func (it *KyberOperatorAddedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*KyberOperatorAddedIterator) Next

func (it *KyberOperatorAddedIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type KyberRaw

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

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

func (*KyberRaw) Call

func (_Kyber *KyberRaw) 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 (*KyberRaw) Transact

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

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

func (*KyberRaw) Transfer

func (_Kyber *KyberRaw) 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 KyberSession

type KyberSession struct {
	Contract     *Kyber            // 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
}

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

func (*KyberSession) AddAlerter

func (_Kyber *KyberSession) AddAlerter(newAlerter common.Address) (*types.Transaction, error)

AddAlerter is a paid mutator transaction binding the contract method 0x408ee7fe.

Solidity: function addAlerter(address newAlerter) returns()

func (*KyberSession) AddOperator

func (_Kyber *KyberSession) AddOperator(newOperator common.Address) (*types.Transaction, error)

AddOperator is a paid mutator transaction binding the contract method 0x9870d7fe.

Solidity: function addOperator(address newOperator) returns()

func (*KyberSession) Admin

func (_Kyber *KyberSession) Admin() (common.Address, error)

Admin is a free data retrieval call binding the contract method 0xf851a440.

Solidity: function admin() view returns(address)

func (*KyberSession) ClaimAdmin

func (_Kyber *KyberSession) ClaimAdmin() (*types.Transaction, error)

ClaimAdmin is a paid mutator transaction binding the contract method 0x77f50f97.

Solidity: function claimAdmin() returns()

func (*KyberSession) Enabled

func (_Kyber *KyberSession) Enabled() (bool, error)

Enabled is a free data retrieval call binding the contract method 0x238dafe0.

Solidity: function enabled() view returns(bool)

func (*KyberSession) GetAlerters

func (_Kyber *KyberSession) GetAlerters() ([]common.Address, error)

GetAlerters is a free data retrieval call binding the contract method 0x7c423f54.

Solidity: function getAlerters() view returns(address[])

func (*KyberSession) GetBalance

func (_Kyber *KyberSession) GetBalance(token common.Address, user common.Address) (*big.Int, error)

GetBalance is a free data retrieval call binding the contract method 0xd4fac45d.

Solidity: function getBalance(address token, address user) view returns(uint256)

func (*KyberSession) GetExpectedRate

func (_Kyber *KyberSession) GetExpectedRate(src common.Address, dest common.Address, srcQty *big.Int) (struct {
	ExpectedRate *big.Int
	SlippageRate *big.Int
}, error)

GetExpectedRate is a free data retrieval call binding the contract method 0x809a9e55.

Solidity: function getExpectedRate(address src, address dest, uint256 srcQty) view returns(uint256 expectedRate, uint256 slippageRate)

func (*KyberSession) GetOperators

func (_Kyber *KyberSession) GetOperators() ([]common.Address, error)

GetOperators is a free data retrieval call binding the contract method 0x27a099d8.

Solidity: function getOperators() view returns(address[])

func (*KyberSession) GetUserCapInTokenWei

func (_Kyber *KyberSession) GetUserCapInTokenWei(user common.Address, token common.Address) (*big.Int, error)

GetUserCapInTokenWei is a free data retrieval call binding the contract method 0x8eaaeecf.

Solidity: function getUserCapInTokenWei(address user, address token) view returns(uint256)

func (*KyberSession) GetUserCapInWei

func (_Kyber *KyberSession) GetUserCapInWei(user common.Address) (*big.Int, error)

GetUserCapInWei is a free data retrieval call binding the contract method 0x6432679f.

Solidity: function getUserCapInWei(address user) view returns(uint256)

func (*KyberSession) Info

func (_Kyber *KyberSession) Info(field [32]byte) (*big.Int, error)

Info is a free data retrieval call binding the contract method 0xb64a097e.

Solidity: function info(bytes32 field) view returns(uint256)

func (*KyberSession) KyberNetworkContract

func (_Kyber *KyberSession) KyberNetworkContract() (common.Address, error)

KyberNetworkContract is a free data retrieval call binding the contract method 0x4f61ff8b.

Solidity: function kyberNetworkContract() view returns(address)

func (*KyberSession) MaxGasPrice

func (_Kyber *KyberSession) MaxGasPrice() (*big.Int, error)

MaxGasPrice is a free data retrieval call binding the contract method 0x3de39c11.

Solidity: function maxGasPrice() view returns(uint256)

func (*KyberSession) PendingAdmin

func (_Kyber *KyberSession) PendingAdmin() (common.Address, error)

PendingAdmin is a free data retrieval call binding the contract method 0x26782247.

Solidity: function pendingAdmin() view returns(address)

func (*KyberSession) RemoveAlerter

func (_Kyber *KyberSession) RemoveAlerter(alerter common.Address) (*types.Transaction, error)

RemoveAlerter is a paid mutator transaction binding the contract method 0x01a12fd3.

Solidity: function removeAlerter(address alerter) returns()

func (*KyberSession) RemoveOperator

func (_Kyber *KyberSession) RemoveOperator(operator common.Address) (*types.Transaction, error)

RemoveOperator is a paid mutator transaction binding the contract method 0xac8a584a.

Solidity: function removeOperator(address operator) returns()

func (*KyberSession) SetKyberNetworkContract

func (_Kyber *KyberSession) SetKyberNetworkContract(_kyberNetworkContract common.Address) (*types.Transaction, error)

SetKyberNetworkContract is a paid mutator transaction binding the contract method 0xabd188a8.

Solidity: function setKyberNetworkContract(address _kyberNetworkContract) returns()

func (*KyberSession) SwapEtherToToken

func (_Kyber *KyberSession) SwapEtherToToken(token common.Address, minConversionRate *big.Int) (*types.Transaction, error)

SwapEtherToToken is a paid mutator transaction binding the contract method 0x7a2a0456.

Solidity: function swapEtherToToken(address token, uint256 minConversionRate) payable returns(uint256)

func (*KyberSession) SwapTokenToEther

func (_Kyber *KyberSession) SwapTokenToEther(token common.Address, srcAmount *big.Int, minConversionRate *big.Int) (*types.Transaction, error)

SwapTokenToEther is a paid mutator transaction binding the contract method 0x3bba21dc.

Solidity: function swapTokenToEther(address token, uint256 srcAmount, uint256 minConversionRate) returns(uint256)

func (*KyberSession) SwapTokenToToken

func (_Kyber *KyberSession) SwapTokenToToken(src common.Address, srcAmount *big.Int, dest common.Address, minConversionRate *big.Int) (*types.Transaction, error)

SwapTokenToToken is a paid mutator transaction binding the contract method 0x7409e2eb.

Solidity: function swapTokenToToken(address src, uint256 srcAmount, address dest, uint256 minConversionRate) returns(uint256)

func (*KyberSession) Trade

func (_Kyber *KyberSession) Trade(src common.Address, srcAmount *big.Int, dest common.Address, destAddress common.Address, maxDestAmount *big.Int, minConversionRate *big.Int, walletId common.Address) (*types.Transaction, error)

Trade is a paid mutator transaction binding the contract method 0xcb3c28c7.

Solidity: function trade(address src, uint256 srcAmount, address dest, address destAddress, uint256 maxDestAmount, uint256 minConversionRate, address walletId) payable returns(uint256)

func (*KyberSession) TradeWithHint

func (_Kyber *KyberSession) TradeWithHint(src common.Address, srcAmount *big.Int, dest common.Address, destAddress common.Address, maxDestAmount *big.Int, minConversionRate *big.Int, walletId common.Address, hint []byte) (*types.Transaction, error)

TradeWithHint is a paid mutator transaction binding the contract method 0x29589f61.

Solidity: function tradeWithHint(address src, uint256 srcAmount, address dest, address destAddress, uint256 maxDestAmount, uint256 minConversionRate, address walletId, bytes hint) payable returns(uint256)

func (*KyberSession) TransferAdmin

func (_Kyber *KyberSession) TransferAdmin(newAdmin common.Address) (*types.Transaction, error)

TransferAdmin is a paid mutator transaction binding the contract method 0x75829def.

Solidity: function transferAdmin(address newAdmin) returns()

func (*KyberSession) TransferAdminQuickly

func (_Kyber *KyberSession) TransferAdminQuickly(newAdmin common.Address) (*types.Transaction, error)

TransferAdminQuickly is a paid mutator transaction binding the contract method 0x7acc8678.

Solidity: function transferAdminQuickly(address newAdmin) returns()

func (*KyberSession) WithdrawEther

func (_Kyber *KyberSession) WithdrawEther(amount *big.Int, sendTo common.Address) (*types.Transaction, error)

WithdrawEther is a paid mutator transaction binding the contract method 0xce56c454.

Solidity: function withdrawEther(uint256 amount, address sendTo) returns()

func (*KyberSession) WithdrawToken

func (_Kyber *KyberSession) WithdrawToken(token common.Address, amount *big.Int, sendTo common.Address) (*types.Transaction, error)

WithdrawToken is a paid mutator transaction binding the contract method 0x3ccdbb28.

Solidity: function withdrawToken(address token, uint256 amount, address sendTo) returns()

type KyberTokenWithdraw

type KyberTokenWithdraw struct {
	Token  common.Address
	Amount *big.Int
	SendTo common.Address
	Raw    types.Log // Blockchain specific contextual infos
}

KyberTokenWithdraw represents a TokenWithdraw event raised by the Kyber contract.

type KyberTokenWithdrawIterator

type KyberTokenWithdrawIterator struct {
	Event *KyberTokenWithdraw // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

KyberTokenWithdrawIterator is returned from FilterTokenWithdraw and is used to iterate over the raw logs and unpacked data for TokenWithdraw events raised by the Kyber contract.

func (*KyberTokenWithdrawIterator) Close

func (it *KyberTokenWithdrawIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*KyberTokenWithdrawIterator) Error

func (it *KyberTokenWithdrawIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*KyberTokenWithdrawIterator) Next

func (it *KyberTokenWithdrawIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type KyberTransactor

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

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

func NewKyberTransactor

func NewKyberTransactor(address common.Address, transactor bind.ContractTransactor) (*KyberTransactor, error)

NewKyberTransactor creates a new write-only instance of Kyber, bound to a specific deployed contract.

func (*KyberTransactor) AddAlerter

func (_Kyber *KyberTransactor) AddAlerter(opts *bind.TransactOpts, newAlerter common.Address) (*types.Transaction, error)

AddAlerter is a paid mutator transaction binding the contract method 0x408ee7fe.

Solidity: function addAlerter(address newAlerter) returns()

func (*KyberTransactor) AddOperator

func (_Kyber *KyberTransactor) AddOperator(opts *bind.TransactOpts, newOperator common.Address) (*types.Transaction, error)

AddOperator is a paid mutator transaction binding the contract method 0x9870d7fe.

Solidity: function addOperator(address newOperator) returns()

func (*KyberTransactor) ClaimAdmin

func (_Kyber *KyberTransactor) ClaimAdmin(opts *bind.TransactOpts) (*types.Transaction, error)

ClaimAdmin is a paid mutator transaction binding the contract method 0x77f50f97.

Solidity: function claimAdmin() returns()

func (*KyberTransactor) RemoveAlerter

func (_Kyber *KyberTransactor) RemoveAlerter(opts *bind.TransactOpts, alerter common.Address) (*types.Transaction, error)

RemoveAlerter is a paid mutator transaction binding the contract method 0x01a12fd3.

Solidity: function removeAlerter(address alerter) returns()

func (*KyberTransactor) RemoveOperator

func (_Kyber *KyberTransactor) RemoveOperator(opts *bind.TransactOpts, operator common.Address) (*types.Transaction, error)

RemoveOperator is a paid mutator transaction binding the contract method 0xac8a584a.

Solidity: function removeOperator(address operator) returns()

func (*KyberTransactor) SetKyberNetworkContract

func (_Kyber *KyberTransactor) SetKyberNetworkContract(opts *bind.TransactOpts, _kyberNetworkContract common.Address) (*types.Transaction, error)

SetKyberNetworkContract is a paid mutator transaction binding the contract method 0xabd188a8.

Solidity: function setKyberNetworkContract(address _kyberNetworkContract) returns()

func (*KyberTransactor) SwapEtherToToken

func (_Kyber *KyberTransactor) SwapEtherToToken(opts *bind.TransactOpts, token common.Address, minConversionRate *big.Int) (*types.Transaction, error)

SwapEtherToToken is a paid mutator transaction binding the contract method 0x7a2a0456.

Solidity: function swapEtherToToken(address token, uint256 minConversionRate) payable returns(uint256)

func (*KyberTransactor) SwapTokenToEther

func (_Kyber *KyberTransactor) SwapTokenToEther(opts *bind.TransactOpts, token common.Address, srcAmount *big.Int, minConversionRate *big.Int) (*types.Transaction, error)

SwapTokenToEther is a paid mutator transaction binding the contract method 0x3bba21dc.

Solidity: function swapTokenToEther(address token, uint256 srcAmount, uint256 minConversionRate) returns(uint256)

func (*KyberTransactor) SwapTokenToToken

func (_Kyber *KyberTransactor) SwapTokenToToken(opts *bind.TransactOpts, src common.Address, srcAmount *big.Int, dest common.Address, minConversionRate *big.Int) (*types.Transaction, error)

SwapTokenToToken is a paid mutator transaction binding the contract method 0x7409e2eb.

Solidity: function swapTokenToToken(address src, uint256 srcAmount, address dest, uint256 minConversionRate) returns(uint256)

func (*KyberTransactor) Trade

func (_Kyber *KyberTransactor) Trade(opts *bind.TransactOpts, src common.Address, srcAmount *big.Int, dest common.Address, destAddress common.Address, maxDestAmount *big.Int, minConversionRate *big.Int, walletId common.Address) (*types.Transaction, error)

Trade is a paid mutator transaction binding the contract method 0xcb3c28c7.

Solidity: function trade(address src, uint256 srcAmount, address dest, address destAddress, uint256 maxDestAmount, uint256 minConversionRate, address walletId) payable returns(uint256)

func (*KyberTransactor) TradeWithHint

func (_Kyber *KyberTransactor) TradeWithHint(opts *bind.TransactOpts, src common.Address, srcAmount *big.Int, dest common.Address, destAddress common.Address, maxDestAmount *big.Int, minConversionRate *big.Int, walletId common.Address, hint []byte) (*types.Transaction, error)

TradeWithHint is a paid mutator transaction binding the contract method 0x29589f61.

Solidity: function tradeWithHint(address src, uint256 srcAmount, address dest, address destAddress, uint256 maxDestAmount, uint256 minConversionRate, address walletId, bytes hint) payable returns(uint256)

func (*KyberTransactor) TransferAdmin

func (_Kyber *KyberTransactor) TransferAdmin(opts *bind.TransactOpts, newAdmin common.Address) (*types.Transaction, error)

TransferAdmin is a paid mutator transaction binding the contract method 0x75829def.

Solidity: function transferAdmin(address newAdmin) returns()

func (*KyberTransactor) TransferAdminQuickly

func (_Kyber *KyberTransactor) TransferAdminQuickly(opts *bind.TransactOpts, newAdmin common.Address) (*types.Transaction, error)

TransferAdminQuickly is a paid mutator transaction binding the contract method 0x7acc8678.

Solidity: function transferAdminQuickly(address newAdmin) returns()

func (*KyberTransactor) WithdrawEther

func (_Kyber *KyberTransactor) WithdrawEther(opts *bind.TransactOpts, amount *big.Int, sendTo common.Address) (*types.Transaction, error)

WithdrawEther is a paid mutator transaction binding the contract method 0xce56c454.

Solidity: function withdrawEther(uint256 amount, address sendTo) returns()

func (*KyberTransactor) WithdrawToken

func (_Kyber *KyberTransactor) WithdrawToken(opts *bind.TransactOpts, token common.Address, amount *big.Int, sendTo common.Address) (*types.Transaction, error)

WithdrawToken is a paid mutator transaction binding the contract method 0x3ccdbb28.

Solidity: function withdrawToken(address token, uint256 amount, address sendTo) returns()

type KyberTransactorRaw

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

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

func (*KyberTransactorRaw) Transact

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

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

func (*KyberTransactorRaw) Transfer

func (_Kyber *KyberTransactorRaw) 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 KyberTransactorSession

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

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

func (*KyberTransactorSession) AddAlerter

func (_Kyber *KyberTransactorSession) AddAlerter(newAlerter common.Address) (*types.Transaction, error)

AddAlerter is a paid mutator transaction binding the contract method 0x408ee7fe.

Solidity: function addAlerter(address newAlerter) returns()

func (*KyberTransactorSession) AddOperator

func (_Kyber *KyberTransactorSession) AddOperator(newOperator common.Address) (*types.Transaction, error)

AddOperator is a paid mutator transaction binding the contract method 0x9870d7fe.

Solidity: function addOperator(address newOperator) returns()

func (*KyberTransactorSession) ClaimAdmin

func (_Kyber *KyberTransactorSession) ClaimAdmin() (*types.Transaction, error)

ClaimAdmin is a paid mutator transaction binding the contract method 0x77f50f97.

Solidity: function claimAdmin() returns()

func (*KyberTransactorSession) RemoveAlerter

func (_Kyber *KyberTransactorSession) RemoveAlerter(alerter common.Address) (*types.Transaction, error)

RemoveAlerter is a paid mutator transaction binding the contract method 0x01a12fd3.

Solidity: function removeAlerter(address alerter) returns()

func (*KyberTransactorSession) RemoveOperator

func (_Kyber *KyberTransactorSession) RemoveOperator(operator common.Address) (*types.Transaction, error)

RemoveOperator is a paid mutator transaction binding the contract method 0xac8a584a.

Solidity: function removeOperator(address operator) returns()

func (*KyberTransactorSession) SetKyberNetworkContract

func (_Kyber *KyberTransactorSession) SetKyberNetworkContract(_kyberNetworkContract common.Address) (*types.Transaction, error)

SetKyberNetworkContract is a paid mutator transaction binding the contract method 0xabd188a8.

Solidity: function setKyberNetworkContract(address _kyberNetworkContract) returns()

func (*KyberTransactorSession) SwapEtherToToken

func (_Kyber *KyberTransactorSession) SwapEtherToToken(token common.Address, minConversionRate *big.Int) (*types.Transaction, error)

SwapEtherToToken is a paid mutator transaction binding the contract method 0x7a2a0456.

Solidity: function swapEtherToToken(address token, uint256 minConversionRate) payable returns(uint256)

func (*KyberTransactorSession) SwapTokenToEther

func (_Kyber *KyberTransactorSession) SwapTokenToEther(token common.Address, srcAmount *big.Int, minConversionRate *big.Int) (*types.Transaction, error)

SwapTokenToEther is a paid mutator transaction binding the contract method 0x3bba21dc.

Solidity: function swapTokenToEther(address token, uint256 srcAmount, uint256 minConversionRate) returns(uint256)

func (*KyberTransactorSession) SwapTokenToToken

func (_Kyber *KyberTransactorSession) SwapTokenToToken(src common.Address, srcAmount *big.Int, dest common.Address, minConversionRate *big.Int) (*types.Transaction, error)

SwapTokenToToken is a paid mutator transaction binding the contract method 0x7409e2eb.

Solidity: function swapTokenToToken(address src, uint256 srcAmount, address dest, uint256 minConversionRate) returns(uint256)

func (*KyberTransactorSession) Trade

func (_Kyber *KyberTransactorSession) Trade(src common.Address, srcAmount *big.Int, dest common.Address, destAddress common.Address, maxDestAmount *big.Int, minConversionRate *big.Int, walletId common.Address) (*types.Transaction, error)

Trade is a paid mutator transaction binding the contract method 0xcb3c28c7.

Solidity: function trade(address src, uint256 srcAmount, address dest, address destAddress, uint256 maxDestAmount, uint256 minConversionRate, address walletId) payable returns(uint256)

func (*KyberTransactorSession) TradeWithHint

func (_Kyber *KyberTransactorSession) TradeWithHint(src common.Address, srcAmount *big.Int, dest common.Address, destAddress common.Address, maxDestAmount *big.Int, minConversionRate *big.Int, walletId common.Address, hint []byte) (*types.Transaction, error)

TradeWithHint is a paid mutator transaction binding the contract method 0x29589f61.

Solidity: function tradeWithHint(address src, uint256 srcAmount, address dest, address destAddress, uint256 maxDestAmount, uint256 minConversionRate, address walletId, bytes hint) payable returns(uint256)

func (*KyberTransactorSession) TransferAdmin

func (_Kyber *KyberTransactorSession) TransferAdmin(newAdmin common.Address) (*types.Transaction, error)

TransferAdmin is a paid mutator transaction binding the contract method 0x75829def.

Solidity: function transferAdmin(address newAdmin) returns()

func (*KyberTransactorSession) TransferAdminQuickly

func (_Kyber *KyberTransactorSession) TransferAdminQuickly(newAdmin common.Address) (*types.Transaction, error)

TransferAdminQuickly is a paid mutator transaction binding the contract method 0x7acc8678.

Solidity: function transferAdminQuickly(address newAdmin) returns()

func (*KyberTransactorSession) WithdrawEther

func (_Kyber *KyberTransactorSession) WithdrawEther(amount *big.Int, sendTo common.Address) (*types.Transaction, error)

WithdrawEther is a paid mutator transaction binding the contract method 0xce56c454.

Solidity: function withdrawEther(uint256 amount, address sendTo) returns()

func (*KyberTransactorSession) WithdrawToken

func (_Kyber *KyberTransactorSession) WithdrawToken(token common.Address, amount *big.Int, sendTo common.Address) (*types.Transaction, error)

WithdrawToken is a paid mutator transaction binding the contract method 0x3ccdbb28.

Solidity: function withdrawToken(address token, uint256 amount, address sendTo) returns()

type KyberTransferAdminPending

type KyberTransferAdminPending struct {
	PendingAdmin common.Address
	Raw          types.Log // Blockchain specific contextual infos
}

KyberTransferAdminPending represents a TransferAdminPending event raised by the Kyber contract.

type KyberTransferAdminPendingIterator

type KyberTransferAdminPendingIterator struct {
	Event *KyberTransferAdminPending // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

KyberTransferAdminPendingIterator is returned from FilterTransferAdminPending and is used to iterate over the raw logs and unpacked data for TransferAdminPending events raised by the Kyber contract.

func (*KyberTransferAdminPendingIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*KyberTransferAdminPendingIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*KyberTransferAdminPendingIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type Math

type Math struct {
	MathCaller     // Read-only binding to the contract
	MathTransactor // Write-only binding to the contract
	MathFilterer   // Log filterer for contract events
}

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

func DeployMath

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

DeployMath deploys a new Ethereum contract, binding an instance of Math to it.

func NewMath

func NewMath(address common.Address, backend bind.ContractBackend) (*Math, error)

NewMath creates a new instance of Math, bound to a specific deployed contract.

type MathCaller

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

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

func NewMathCaller

func NewMathCaller(address common.Address, caller bind.ContractCaller) (*MathCaller, error)

NewMathCaller creates a new read-only instance of Math, bound to a specific deployed contract.

type MathCallerRaw

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

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

func (*MathCallerRaw) Call

func (_Math *MathCallerRaw) 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 MathCallerSession

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

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

type MathFilterer

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

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

func NewMathFilterer

func NewMathFilterer(address common.Address, filterer bind.ContractFilterer) (*MathFilterer, error)

NewMathFilterer creates a new log filterer instance of Math, bound to a specific deployed contract.

type MathRaw

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

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

func (*MathRaw) Call

func (_Math *MathRaw) 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 (*MathRaw) Transact

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

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

func (*MathRaw) Transfer

func (_Math *MathRaw) 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 MathSession

type MathSession struct {
	Contract     *Math             // 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
}

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

type MathTransactor

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

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

func NewMathTransactor

func NewMathTransactor(address common.Address, transactor bind.ContractTransactor) (*MathTransactor, error)

NewMathTransactor creates a new write-only instance of Math, bound to a specific deployed contract.

type MathTransactorRaw

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

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

func (*MathTransactorRaw) Transact

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

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

func (*MathTransactorRaw) Transfer

func (_Math *MathTransactorRaw) 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 MathTransactorSession

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

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

type Mooniswap

type Mooniswap struct {
	MooniswapCaller     // Read-only binding to the contract
	MooniswapTransactor // Write-only binding to the contract
	MooniswapFilterer   // Log filterer for contract events
}

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

func NewMooniswap

func NewMooniswap(address common.Address, backend bind.ContractBackend) (*Mooniswap, error)

NewMooniswap creates a new instance of Mooniswap, bound to a specific deployed contract.

type MooniswapApproval

type MooniswapApproval struct {
	Owner   common.Address
	Spender common.Address
	Value   *big.Int
	Raw     types.Log // Blockchain specific contextual infos
}

MooniswapApproval represents a Approval event raised by the Mooniswap contract.

type MooniswapApprovalIterator

type MooniswapApprovalIterator struct {
	Event *MooniswapApproval // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

MooniswapApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the Mooniswap contract.

func (*MooniswapApprovalIterator) Close

func (it *MooniswapApprovalIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*MooniswapApprovalIterator) Error

func (it *MooniswapApprovalIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*MooniswapApprovalIterator) Next

func (it *MooniswapApprovalIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type MooniswapCaller

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

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

func NewMooniswapCaller

func NewMooniswapCaller(address common.Address, caller bind.ContractCaller) (*MooniswapCaller, error)

NewMooniswapCaller creates a new read-only instance of Mooniswap, bound to a specific deployed contract.

func (*MooniswapCaller) Allowance

func (_Mooniswap *MooniswapCaller) 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 (*MooniswapCaller) BASESUPPLY

func (_Mooniswap *MooniswapCaller) BASESUPPLY(opts *bind.CallOpts) (*big.Int, error)

BASESUPPLY is a free data retrieval call binding the contract method 0xbaf13a0a.

Solidity: function BASE_SUPPLY() view returns(uint256)

func (*MooniswapCaller) BalanceOf

func (_Mooniswap *MooniswapCaller) 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 (*MooniswapCaller) DecayPeriod

func (_Mooniswap *MooniswapCaller) DecayPeriod(opts *bind.CallOpts) (*big.Int, error)

DecayPeriod is a free data retrieval call binding the contract method 0x48d67e1b.

Solidity: function decayPeriod() pure returns(uint256)

func (*MooniswapCaller) Decimals

func (_Mooniswap *MooniswapCaller) 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 (*MooniswapCaller) FEEDENOMINATOR

func (_Mooniswap *MooniswapCaller) FEEDENOMINATOR(opts *bind.CallOpts) (*big.Int, error)

FEEDENOMINATOR is a free data retrieval call binding the contract method 0xd73792a9.

Solidity: function FEE_DENOMINATOR() view returns(uint256)

func (*MooniswapCaller) Factory

func (_Mooniswap *MooniswapCaller) Factory(opts *bind.CallOpts) (common.Address, error)

Factory is a free data retrieval call binding the contract method 0xc45a0155.

Solidity: function factory() view returns(address)

func (*MooniswapCaller) Fee

func (_Mooniswap *MooniswapCaller) Fee(opts *bind.CallOpts) (*big.Int, error)

Fee is a free data retrieval call binding the contract method 0xddca3f43.

Solidity: function fee() view returns(uint256)

func (*MooniswapCaller) GetBalanceForAddition

func (_Mooniswap *MooniswapCaller) GetBalanceForAddition(opts *bind.CallOpts, token common.Address) (*big.Int, error)

GetBalanceForAddition is a free data retrieval call binding the contract method 0xd7d3aab5.

Solidity: function getBalanceForAddition(address token) view returns(uint256)

func (*MooniswapCaller) GetBalanceForRemoval

func (_Mooniswap *MooniswapCaller) GetBalanceForRemoval(opts *bind.CallOpts, token common.Address) (*big.Int, error)

GetBalanceForRemoval is a free data retrieval call binding the contract method 0xe7ff42c9.

Solidity: function getBalanceForRemoval(address token) view returns(uint256)

func (*MooniswapCaller) GetReturn

func (_Mooniswap *MooniswapCaller) GetReturn(opts *bind.CallOpts, src common.Address, dst common.Address, amount *big.Int) (*big.Int, error)

GetReturn is a free data retrieval call binding the contract method 0x1e1401f8.

Solidity: function getReturn(address src, address dst, uint256 amount) view returns(uint256)

func (*MooniswapCaller) GetTokens

func (_Mooniswap *MooniswapCaller) GetTokens(opts *bind.CallOpts) ([]common.Address, error)

GetTokens is a free data retrieval call binding the contract method 0xaa6ca808.

Solidity: function getTokens() view returns(address[])

func (*MooniswapCaller) IsToken

func (_Mooniswap *MooniswapCaller) IsToken(opts *bind.CallOpts, arg0 common.Address) (bool, error)

IsToken is a free data retrieval call binding the contract method 0x19f37361.

Solidity: function isToken(address ) view returns(bool)

func (*MooniswapCaller) Name

func (_Mooniswap *MooniswapCaller) 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 (*MooniswapCaller) Owner

func (_Mooniswap *MooniswapCaller) 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 (*MooniswapCaller) REFERRALSHARE

func (_Mooniswap *MooniswapCaller) REFERRALSHARE(opts *bind.CallOpts) (*big.Int, error)

REFERRALSHARE is a free data retrieval call binding the contract method 0xb21b5a21.

Solidity: function REFERRAL_SHARE() view returns(uint256)

func (*MooniswapCaller) Symbol

func (_Mooniswap *MooniswapCaller) 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 (*MooniswapCaller) Tokens

func (_Mooniswap *MooniswapCaller) Tokens(opts *bind.CallOpts, arg0 *big.Int) (common.Address, error)

Tokens is a free data retrieval call binding the contract method 0x4f64b2be.

Solidity: function tokens(uint256 ) view returns(address)

func (*MooniswapCaller) TotalSupply

func (_Mooniswap *MooniswapCaller) 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 (*MooniswapCaller) VirtualBalancesForAddition

func (_Mooniswap *MooniswapCaller) VirtualBalancesForAddition(opts *bind.CallOpts, arg0 common.Address) (struct {
	Balance *big.Int
	Time    *big.Int
}, error)

VirtualBalancesForAddition is a free data retrieval call binding the contract method 0x6edc2c09.

Solidity: function virtualBalancesForAddition(address ) view returns(uint216 balance, uint40 time)

func (*MooniswapCaller) VirtualBalancesForRemoval

func (_Mooniswap *MooniswapCaller) VirtualBalancesForRemoval(opts *bind.CallOpts, arg0 common.Address) (struct {
	Balance *big.Int
	Time    *big.Int
}, error)

VirtualBalancesForRemoval is a free data retrieval call binding the contract method 0x5ed9156d.

Solidity: function virtualBalancesForRemoval(address ) view returns(uint216 balance, uint40 time)

func (*MooniswapCaller) Volumes

func (_Mooniswap *MooniswapCaller) Volumes(opts *bind.CallOpts, arg0 common.Address) (struct {
	Confirmed *big.Int
	Result    *big.Int
}, error)

Volumes is a free data retrieval call binding the contract method 0xb1ec4c40.

Solidity: function volumes(address ) view returns(uint128 confirmed, uint128 result)

type MooniswapCallerRaw

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

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

func (*MooniswapCallerRaw) Call

func (_Mooniswap *MooniswapCallerRaw) 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 MooniswapCallerSession

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

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

func (*MooniswapCallerSession) Allowance

func (_Mooniswap *MooniswapCallerSession) 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 (*MooniswapCallerSession) BASESUPPLY

func (_Mooniswap *MooniswapCallerSession) BASESUPPLY() (*big.Int, error)

BASESUPPLY is a free data retrieval call binding the contract method 0xbaf13a0a.

Solidity: function BASE_SUPPLY() view returns(uint256)

func (*MooniswapCallerSession) BalanceOf

func (_Mooniswap *MooniswapCallerSession) 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 (*MooniswapCallerSession) DecayPeriod

func (_Mooniswap *MooniswapCallerSession) DecayPeriod() (*big.Int, error)

DecayPeriod is a free data retrieval call binding the contract method 0x48d67e1b.

Solidity: function decayPeriod() pure returns(uint256)

func (*MooniswapCallerSession) Decimals

func (_Mooniswap *MooniswapCallerSession) Decimals() (uint8, error)

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

Solidity: function decimals() view returns(uint8)

func (*MooniswapCallerSession) FEEDENOMINATOR

func (_Mooniswap *MooniswapCallerSession) FEEDENOMINATOR() (*big.Int, error)

FEEDENOMINATOR is a free data retrieval call binding the contract method 0xd73792a9.

Solidity: function FEE_DENOMINATOR() view returns(uint256)

func (*MooniswapCallerSession) Factory

func (_Mooniswap *MooniswapCallerSession) Factory() (common.Address, error)

Factory is a free data retrieval call binding the contract method 0xc45a0155.

Solidity: function factory() view returns(address)

func (*MooniswapCallerSession) Fee

func (_Mooniswap *MooniswapCallerSession) Fee() (*big.Int, error)

Fee is a free data retrieval call binding the contract method 0xddca3f43.

Solidity: function fee() view returns(uint256)

func (*MooniswapCallerSession) GetBalanceForAddition

func (_Mooniswap *MooniswapCallerSession) GetBalanceForAddition(token common.Address) (*big.Int, error)

GetBalanceForAddition is a free data retrieval call binding the contract method 0xd7d3aab5.

Solidity: function getBalanceForAddition(address token) view returns(uint256)

func (*MooniswapCallerSession) GetBalanceForRemoval

func (_Mooniswap *MooniswapCallerSession) GetBalanceForRemoval(token common.Address) (*big.Int, error)

GetBalanceForRemoval is a free data retrieval call binding the contract method 0xe7ff42c9.

Solidity: function getBalanceForRemoval(address token) view returns(uint256)

func (*MooniswapCallerSession) GetReturn

func (_Mooniswap *MooniswapCallerSession) GetReturn(src common.Address, dst common.Address, amount *big.Int) (*big.Int, error)

GetReturn is a free data retrieval call binding the contract method 0x1e1401f8.

Solidity: function getReturn(address src, address dst, uint256 amount) view returns(uint256)

func (*MooniswapCallerSession) GetTokens

func (_Mooniswap *MooniswapCallerSession) GetTokens() ([]common.Address, error)

GetTokens is a free data retrieval call binding the contract method 0xaa6ca808.

Solidity: function getTokens() view returns(address[])

func (*MooniswapCallerSession) IsToken

func (_Mooniswap *MooniswapCallerSession) IsToken(arg0 common.Address) (bool, error)

IsToken is a free data retrieval call binding the contract method 0x19f37361.

Solidity: function isToken(address ) view returns(bool)

func (*MooniswapCallerSession) Name

func (_Mooniswap *MooniswapCallerSession) Name() (string, error)

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

Solidity: function name() view returns(string)

func (*MooniswapCallerSession) Owner

func (_Mooniswap *MooniswapCallerSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*MooniswapCallerSession) REFERRALSHARE

func (_Mooniswap *MooniswapCallerSession) REFERRALSHARE() (*big.Int, error)

REFERRALSHARE is a free data retrieval call binding the contract method 0xb21b5a21.

Solidity: function REFERRAL_SHARE() view returns(uint256)

func (*MooniswapCallerSession) Symbol

func (_Mooniswap *MooniswapCallerSession) Symbol() (string, error)

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

Solidity: function symbol() view returns(string)

func (*MooniswapCallerSession) Tokens

func (_Mooniswap *MooniswapCallerSession) Tokens(arg0 *big.Int) (common.Address, error)

Tokens is a free data retrieval call binding the contract method 0x4f64b2be.

Solidity: function tokens(uint256 ) view returns(address)

func (*MooniswapCallerSession) TotalSupply

func (_Mooniswap *MooniswapCallerSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

func (*MooniswapCallerSession) VirtualBalancesForAddition

func (_Mooniswap *MooniswapCallerSession) VirtualBalancesForAddition(arg0 common.Address) (struct {
	Balance *big.Int
	Time    *big.Int
}, error)

VirtualBalancesForAddition is a free data retrieval call binding the contract method 0x6edc2c09.

Solidity: function virtualBalancesForAddition(address ) view returns(uint216 balance, uint40 time)

func (*MooniswapCallerSession) VirtualBalancesForRemoval

func (_Mooniswap *MooniswapCallerSession) VirtualBalancesForRemoval(arg0 common.Address) (struct {
	Balance *big.Int
	Time    *big.Int
}, error)

VirtualBalancesForRemoval is a free data retrieval call binding the contract method 0x5ed9156d.

Solidity: function virtualBalancesForRemoval(address ) view returns(uint216 balance, uint40 time)

func (*MooniswapCallerSession) Volumes

func (_Mooniswap *MooniswapCallerSession) Volumes(arg0 common.Address) (struct {
	Confirmed *big.Int
	Result    *big.Int
}, error)

Volumes is a free data retrieval call binding the contract method 0xb1ec4c40.

Solidity: function volumes(address ) view returns(uint128 confirmed, uint128 result)

type MooniswapDeposited

type MooniswapDeposited struct {
	Account common.Address
	Amount  *big.Int
	Raw     types.Log // Blockchain specific contextual infos
}

MooniswapDeposited represents a Deposited event raised by the Mooniswap contract.

type MooniswapDepositedIterator

type MooniswapDepositedIterator struct {
	Event *MooniswapDeposited // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

MooniswapDepositedIterator is returned from FilterDeposited and is used to iterate over the raw logs and unpacked data for Deposited events raised by the Mooniswap contract.

func (*MooniswapDepositedIterator) Close

func (it *MooniswapDepositedIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*MooniswapDepositedIterator) Error

func (it *MooniswapDepositedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*MooniswapDepositedIterator) Next

func (it *MooniswapDepositedIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type MooniswapFactory

type MooniswapFactory struct {
	MooniswapFactoryCaller     // Read-only binding to the contract
	MooniswapFactoryTransactor // Write-only binding to the contract
	MooniswapFactoryFilterer   // Log filterer for contract events
}

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

func NewMooniswapFactory

func NewMooniswapFactory(address common.Address, backend bind.ContractBackend) (*MooniswapFactory, error)

NewMooniswapFactory creates a new instance of MooniswapFactory, bound to a specific deployed contract.

type MooniswapFactoryCaller

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

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

func NewMooniswapFactoryCaller

func NewMooniswapFactoryCaller(address common.Address, caller bind.ContractCaller) (*MooniswapFactoryCaller, error)

NewMooniswapFactoryCaller creates a new read-only instance of MooniswapFactory, bound to a specific deployed contract.

func (*MooniswapFactoryCaller) AllPools

func (_MooniswapFactory *MooniswapFactoryCaller) AllPools(opts *bind.CallOpts, arg0 *big.Int) (common.Address, error)

AllPools is a free data retrieval call binding the contract method 0x41d1de97.

Solidity: function allPools(uint256 ) view returns(address)

func (*MooniswapFactoryCaller) Fee

func (_MooniswapFactory *MooniswapFactoryCaller) Fee(opts *bind.CallOpts) (*big.Int, error)

Fee is a free data retrieval call binding the contract method 0xddca3f43.

Solidity: function fee() view returns(uint256)

func (*MooniswapFactoryCaller) GetAllPools

func (_MooniswapFactory *MooniswapFactoryCaller) GetAllPools(opts *bind.CallOpts) ([]common.Address, error)

GetAllPools is a free data retrieval call binding the contract method 0xd88ff1f4.

Solidity: function getAllPools() view returns(address[])

func (*MooniswapFactoryCaller) IsPool

func (_MooniswapFactory *MooniswapFactoryCaller) IsPool(opts *bind.CallOpts, arg0 common.Address) (bool, error)

IsPool is a free data retrieval call binding the contract method 0x5b16ebb7.

Solidity: function isPool(address ) view returns(bool)

func (*MooniswapFactoryCaller) MAXFEE

func (_MooniswapFactory *MooniswapFactoryCaller) MAXFEE(opts *bind.CallOpts) (*big.Int, error)

MAXFEE is a free data retrieval call binding the contract method 0xbc063e1a.

Solidity: function MAX_FEE() view returns(uint256)

func (*MooniswapFactoryCaller) Owner

func (_MooniswapFactory *MooniswapFactoryCaller) 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 (*MooniswapFactoryCaller) Pools

func (_MooniswapFactory *MooniswapFactoryCaller) Pools(opts *bind.CallOpts, arg0 common.Address, arg1 common.Address) (common.Address, error)

Pools is a free data retrieval call binding the contract method 0x901754d7.

Solidity: function pools(address , address ) view returns(address)

func (*MooniswapFactoryCaller) SortTokens

func (_MooniswapFactory *MooniswapFactoryCaller) SortTokens(opts *bind.CallOpts, tokenA common.Address, tokenB common.Address) (common.Address, common.Address, error)

SortTokens is a free data retrieval call binding the contract method 0x544caa56.

Solidity: function sortTokens(address tokenA, address tokenB) pure returns(address, address)

type MooniswapFactoryCallerRaw

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

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

func (*MooniswapFactoryCallerRaw) Call

func (_MooniswapFactory *MooniswapFactoryCallerRaw) 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 MooniswapFactoryCallerSession

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

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

func (*MooniswapFactoryCallerSession) AllPools

func (_MooniswapFactory *MooniswapFactoryCallerSession) AllPools(arg0 *big.Int) (common.Address, error)

AllPools is a free data retrieval call binding the contract method 0x41d1de97.

Solidity: function allPools(uint256 ) view returns(address)

func (*MooniswapFactoryCallerSession) Fee

func (_MooniswapFactory *MooniswapFactoryCallerSession) Fee() (*big.Int, error)

Fee is a free data retrieval call binding the contract method 0xddca3f43.

Solidity: function fee() view returns(uint256)

func (*MooniswapFactoryCallerSession) GetAllPools

func (_MooniswapFactory *MooniswapFactoryCallerSession) GetAllPools() ([]common.Address, error)

GetAllPools is a free data retrieval call binding the contract method 0xd88ff1f4.

Solidity: function getAllPools() view returns(address[])

func (*MooniswapFactoryCallerSession) IsPool

func (_MooniswapFactory *MooniswapFactoryCallerSession) IsPool(arg0 common.Address) (bool, error)

IsPool is a free data retrieval call binding the contract method 0x5b16ebb7.

Solidity: function isPool(address ) view returns(bool)

func (*MooniswapFactoryCallerSession) MAXFEE

func (_MooniswapFactory *MooniswapFactoryCallerSession) MAXFEE() (*big.Int, error)

MAXFEE is a free data retrieval call binding the contract method 0xbc063e1a.

Solidity: function MAX_FEE() view returns(uint256)

func (*MooniswapFactoryCallerSession) Owner

func (_MooniswapFactory *MooniswapFactoryCallerSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*MooniswapFactoryCallerSession) Pools

func (_MooniswapFactory *MooniswapFactoryCallerSession) Pools(arg0 common.Address, arg1 common.Address) (common.Address, error)

Pools is a free data retrieval call binding the contract method 0x901754d7.

Solidity: function pools(address , address ) view returns(address)

func (*MooniswapFactoryCallerSession) SortTokens

func (_MooniswapFactory *MooniswapFactoryCallerSession) SortTokens(tokenA common.Address, tokenB common.Address) (common.Address, common.Address, error)

SortTokens is a free data retrieval call binding the contract method 0x544caa56.

Solidity: function sortTokens(address tokenA, address tokenB) pure returns(address, address)

type MooniswapFactoryDeployed

type MooniswapFactoryDeployed struct {
	Mooniswap common.Address
	Token1    common.Address
	Token2    common.Address
	Raw       types.Log // Blockchain specific contextual infos
}

MooniswapFactoryDeployed represents a Deployed event raised by the MooniswapFactory contract.

type MooniswapFactoryDeployedIterator

type MooniswapFactoryDeployedIterator struct {
	Event *MooniswapFactoryDeployed // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

MooniswapFactoryDeployedIterator is returned from FilterDeployed and is used to iterate over the raw logs and unpacked data for Deployed events raised by the MooniswapFactory contract.

func (*MooniswapFactoryDeployedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*MooniswapFactoryDeployedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*MooniswapFactoryDeployedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type MooniswapFactoryFilterer

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

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

func NewMooniswapFactoryFilterer

func NewMooniswapFactoryFilterer(address common.Address, filterer bind.ContractFilterer) (*MooniswapFactoryFilterer, error)

NewMooniswapFactoryFilterer creates a new log filterer instance of MooniswapFactory, bound to a specific deployed contract.

func (*MooniswapFactoryFilterer) FilterDeployed

func (_MooniswapFactory *MooniswapFactoryFilterer) FilterDeployed(opts *bind.FilterOpts, mooniswap []common.Address, token1 []common.Address, token2 []common.Address) (*MooniswapFactoryDeployedIterator, error)

FilterDeployed is a free log retrieval operation binding the contract event 0xc95935a66d15e0da5e412aca0ad27ae891d20b2fb91cf3994b6a3bf2b8178082.

Solidity: event Deployed(address indexed mooniswap, address indexed token1, address indexed token2)

func (*MooniswapFactoryFilterer) FilterOwnershipTransferred

func (_MooniswapFactory *MooniswapFactoryFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*MooniswapFactoryOwnershipTransferredIterator, error)

FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*MooniswapFactoryFilterer) ParseDeployed

func (_MooniswapFactory *MooniswapFactoryFilterer) ParseDeployed(log types.Log) (*MooniswapFactoryDeployed, error)

ParseDeployed is a log parse operation binding the contract event 0xc95935a66d15e0da5e412aca0ad27ae891d20b2fb91cf3994b6a3bf2b8178082.

Solidity: event Deployed(address indexed mooniswap, address indexed token1, address indexed token2)

func (*MooniswapFactoryFilterer) ParseOwnershipTransferred

func (_MooniswapFactory *MooniswapFactoryFilterer) ParseOwnershipTransferred(log types.Log) (*MooniswapFactoryOwnershipTransferred, error)

ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*MooniswapFactoryFilterer) WatchDeployed

func (_MooniswapFactory *MooniswapFactoryFilterer) WatchDeployed(opts *bind.WatchOpts, sink chan<- *MooniswapFactoryDeployed, mooniswap []common.Address, token1 []common.Address, token2 []common.Address) (event.Subscription, error)

WatchDeployed is a free log subscription operation binding the contract event 0xc95935a66d15e0da5e412aca0ad27ae891d20b2fb91cf3994b6a3bf2b8178082.

Solidity: event Deployed(address indexed mooniswap, address indexed token1, address indexed token2)

func (*MooniswapFactoryFilterer) WatchOwnershipTransferred

func (_MooniswapFactory *MooniswapFactoryFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *MooniswapFactoryOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)

WatchOwnershipTransferred is a free log subscription operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

type MooniswapFactoryOwnershipTransferred

type MooniswapFactoryOwnershipTransferred struct {
	PreviousOwner common.Address
	NewOwner      common.Address
	Raw           types.Log // Blockchain specific contextual infos
}

MooniswapFactoryOwnershipTransferred represents a OwnershipTransferred event raised by the MooniswapFactory contract.

type MooniswapFactoryOwnershipTransferredIterator

type MooniswapFactoryOwnershipTransferredIterator struct {
	Event *MooniswapFactoryOwnershipTransferred // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

MooniswapFactoryOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the MooniswapFactory contract.

func (*MooniswapFactoryOwnershipTransferredIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*MooniswapFactoryOwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*MooniswapFactoryOwnershipTransferredIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type MooniswapFactoryRaw

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

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

func (*MooniswapFactoryRaw) Call

func (_MooniswapFactory *MooniswapFactoryRaw) 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 (*MooniswapFactoryRaw) Transact

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

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

func (*MooniswapFactoryRaw) Transfer

func (_MooniswapFactory *MooniswapFactoryRaw) 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 MooniswapFactorySession

type MooniswapFactorySession struct {
	Contract     *MooniswapFactory // 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
}

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

func (*MooniswapFactorySession) AllPools

func (_MooniswapFactory *MooniswapFactorySession) AllPools(arg0 *big.Int) (common.Address, error)

AllPools is a free data retrieval call binding the contract method 0x41d1de97.

Solidity: function allPools(uint256 ) view returns(address)

func (*MooniswapFactorySession) Deploy

func (_MooniswapFactory *MooniswapFactorySession) Deploy(tokenA common.Address, tokenB common.Address) (*types.Transaction, error)

Deploy is a paid mutator transaction binding the contract method 0x545e7c61.

Solidity: function deploy(address tokenA, address tokenB) returns(address pool)

func (*MooniswapFactorySession) Fee

func (_MooniswapFactory *MooniswapFactorySession) Fee() (*big.Int, error)

Fee is a free data retrieval call binding the contract method 0xddca3f43.

Solidity: function fee() view returns(uint256)

func (*MooniswapFactorySession) GetAllPools

func (_MooniswapFactory *MooniswapFactorySession) GetAllPools() ([]common.Address, error)

GetAllPools is a free data retrieval call binding the contract method 0xd88ff1f4.

Solidity: function getAllPools() view returns(address[])

func (*MooniswapFactorySession) IsPool

func (_MooniswapFactory *MooniswapFactorySession) IsPool(arg0 common.Address) (bool, error)

IsPool is a free data retrieval call binding the contract method 0x5b16ebb7.

Solidity: function isPool(address ) view returns(bool)

func (*MooniswapFactorySession) MAXFEE

func (_MooniswapFactory *MooniswapFactorySession) MAXFEE() (*big.Int, error)

MAXFEE is a free data retrieval call binding the contract method 0xbc063e1a.

Solidity: function MAX_FEE() view returns(uint256)

func (*MooniswapFactorySession) Owner

func (_MooniswapFactory *MooniswapFactorySession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*MooniswapFactorySession) Pools

func (_MooniswapFactory *MooniswapFactorySession) Pools(arg0 common.Address, arg1 common.Address) (common.Address, error)

Pools is a free data retrieval call binding the contract method 0x901754d7.

Solidity: function pools(address , address ) view returns(address)

func (*MooniswapFactorySession) RenounceOwnership

func (_MooniswapFactory *MooniswapFactorySession) RenounceOwnership() (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*MooniswapFactorySession) SetFee

func (_MooniswapFactory *MooniswapFactorySession) SetFee(newFee *big.Int) (*types.Transaction, error)

SetFee is a paid mutator transaction binding the contract method 0x69fe0e2d.

Solidity: function setFee(uint256 newFee) returns()

func (*MooniswapFactorySession) SortTokens

func (_MooniswapFactory *MooniswapFactorySession) SortTokens(tokenA common.Address, tokenB common.Address) (common.Address, common.Address, error)

SortTokens is a free data retrieval call binding the contract method 0x544caa56.

Solidity: function sortTokens(address tokenA, address tokenB) pure returns(address, address)

func (*MooniswapFactorySession) TransferOwnership

func (_MooniswapFactory *MooniswapFactorySession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

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

Solidity: function transferOwnership(address newOwner) returns()

type MooniswapFactoryTransactor

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

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

func NewMooniswapFactoryTransactor

func NewMooniswapFactoryTransactor(address common.Address, transactor bind.ContractTransactor) (*MooniswapFactoryTransactor, error)

NewMooniswapFactoryTransactor creates a new write-only instance of MooniswapFactory, bound to a specific deployed contract.

func (*MooniswapFactoryTransactor) Deploy

func (_MooniswapFactory *MooniswapFactoryTransactor) Deploy(opts *bind.TransactOpts, tokenA common.Address, tokenB common.Address) (*types.Transaction, error)

Deploy is a paid mutator transaction binding the contract method 0x545e7c61.

Solidity: function deploy(address tokenA, address tokenB) returns(address pool)

func (*MooniswapFactoryTransactor) RenounceOwnership

func (_MooniswapFactory *MooniswapFactoryTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*MooniswapFactoryTransactor) SetFee

func (_MooniswapFactory *MooniswapFactoryTransactor) SetFee(opts *bind.TransactOpts, newFee *big.Int) (*types.Transaction, error)

SetFee is a paid mutator transaction binding the contract method 0x69fe0e2d.

Solidity: function setFee(uint256 newFee) returns()

func (*MooniswapFactoryTransactor) TransferOwnership

func (_MooniswapFactory *MooniswapFactoryTransactor) 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()

type MooniswapFactoryTransactorRaw

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

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

func (*MooniswapFactoryTransactorRaw) Transact

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

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

func (*MooniswapFactoryTransactorRaw) Transfer

func (_MooniswapFactory *MooniswapFactoryTransactorRaw) 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 MooniswapFactoryTransactorSession

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

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

func (*MooniswapFactoryTransactorSession) Deploy

func (_MooniswapFactory *MooniswapFactoryTransactorSession) Deploy(tokenA common.Address, tokenB common.Address) (*types.Transaction, error)

Deploy is a paid mutator transaction binding the contract method 0x545e7c61.

Solidity: function deploy(address tokenA, address tokenB) returns(address pool)

func (*MooniswapFactoryTransactorSession) RenounceOwnership

func (_MooniswapFactory *MooniswapFactoryTransactorSession) RenounceOwnership() (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*MooniswapFactoryTransactorSession) SetFee

func (_MooniswapFactory *MooniswapFactoryTransactorSession) SetFee(newFee *big.Int) (*types.Transaction, error)

SetFee is a paid mutator transaction binding the contract method 0x69fe0e2d.

Solidity: function setFee(uint256 newFee) returns()

func (*MooniswapFactoryTransactorSession) TransferOwnership

func (_MooniswapFactory *MooniswapFactoryTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

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

Solidity: function transferOwnership(address newOwner) returns()

type MooniswapFilterer

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

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

func NewMooniswapFilterer

func NewMooniswapFilterer(address common.Address, filterer bind.ContractFilterer) (*MooniswapFilterer, error)

NewMooniswapFilterer creates a new log filterer instance of Mooniswap, bound to a specific deployed contract.

func (*MooniswapFilterer) FilterApproval

func (_Mooniswap *MooniswapFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*MooniswapApprovalIterator, error)

FilterApproval is a free log retrieval operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)

func (*MooniswapFilterer) FilterDeposited

func (_Mooniswap *MooniswapFilterer) FilterDeposited(opts *bind.FilterOpts, account []common.Address) (*MooniswapDepositedIterator, error)

FilterDeposited is a free log retrieval operation binding the contract event 0x2da466a7b24304f47e87fa2e1e5a81b9831ce54fec19055ce277ca2f39ba42c4.

Solidity: event Deposited(address indexed account, uint256 amount)

func (*MooniswapFilterer) FilterOwnershipTransferred

func (_Mooniswap *MooniswapFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*MooniswapOwnershipTransferredIterator, error)

FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*MooniswapFilterer) FilterSwapped

func (_Mooniswap *MooniswapFilterer) FilterSwapped(opts *bind.FilterOpts, account []common.Address, src []common.Address, dst []common.Address) (*MooniswapSwappedIterator, error)

FilterSwapped is a free log retrieval operation binding the contract event 0x86c49b5d8577da08444947f1427d23ef191cfabf2c0788f93324d79e926a9302.

Solidity: event Swapped(address indexed account, address indexed src, address indexed dst, uint256 amount, uint256 result, uint256 srcBalance, uint256 dstBalance, uint256 totalSupply, address referral)

func (*MooniswapFilterer) FilterTransfer

func (_Mooniswap *MooniswapFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*MooniswapTransferIterator, error)

FilterTransfer is a free log retrieval operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed from, address indexed to, uint256 value)

func (*MooniswapFilterer) FilterWithdrawn

func (_Mooniswap *MooniswapFilterer) FilterWithdrawn(opts *bind.FilterOpts, account []common.Address) (*MooniswapWithdrawnIterator, error)

FilterWithdrawn is a free log retrieval operation binding the contract event 0x7084f5476618d8e60b11ef0d7d3f06914655adb8793e28ff7f018d4c76d505d5.

Solidity: event Withdrawn(address indexed account, uint256 amount)

func (*MooniswapFilterer) ParseApproval

func (_Mooniswap *MooniswapFilterer) ParseApproval(log types.Log) (*MooniswapApproval, error)

ParseApproval is a log parse operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)

func (*MooniswapFilterer) ParseDeposited

func (_Mooniswap *MooniswapFilterer) ParseDeposited(log types.Log) (*MooniswapDeposited, error)

ParseDeposited is a log parse operation binding the contract event 0x2da466a7b24304f47e87fa2e1e5a81b9831ce54fec19055ce277ca2f39ba42c4.

Solidity: event Deposited(address indexed account, uint256 amount)

func (*MooniswapFilterer) ParseOwnershipTransferred

func (_Mooniswap *MooniswapFilterer) ParseOwnershipTransferred(log types.Log) (*MooniswapOwnershipTransferred, error)

ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*MooniswapFilterer) ParseSwapped

func (_Mooniswap *MooniswapFilterer) ParseSwapped(log types.Log) (*MooniswapSwapped, error)

ParseSwapped is a log parse operation binding the contract event 0x86c49b5d8577da08444947f1427d23ef191cfabf2c0788f93324d79e926a9302.

Solidity: event Swapped(address indexed account, address indexed src, address indexed dst, uint256 amount, uint256 result, uint256 srcBalance, uint256 dstBalance, uint256 totalSupply, address referral)

func (*MooniswapFilterer) ParseTransfer

func (_Mooniswap *MooniswapFilterer) ParseTransfer(log types.Log) (*MooniswapTransfer, error)

ParseTransfer is a log parse operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed from, address indexed to, uint256 value)

func (*MooniswapFilterer) ParseWithdrawn

func (_Mooniswap *MooniswapFilterer) ParseWithdrawn(log types.Log) (*MooniswapWithdrawn, error)

ParseWithdrawn is a log parse operation binding the contract event 0x7084f5476618d8e60b11ef0d7d3f06914655adb8793e28ff7f018d4c76d505d5.

Solidity: event Withdrawn(address indexed account, uint256 amount)

func (*MooniswapFilterer) WatchApproval

func (_Mooniswap *MooniswapFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *MooniswapApproval, owner []common.Address, spender []common.Address) (event.Subscription, error)

WatchApproval is a free log subscription operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)

func (*MooniswapFilterer) WatchDeposited

func (_Mooniswap *MooniswapFilterer) WatchDeposited(opts *bind.WatchOpts, sink chan<- *MooniswapDeposited, account []common.Address) (event.Subscription, error)

WatchDeposited is a free log subscription operation binding the contract event 0x2da466a7b24304f47e87fa2e1e5a81b9831ce54fec19055ce277ca2f39ba42c4.

Solidity: event Deposited(address indexed account, uint256 amount)

func (*MooniswapFilterer) WatchOwnershipTransferred

func (_Mooniswap *MooniswapFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *MooniswapOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)

WatchOwnershipTransferred is a free log subscription operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*MooniswapFilterer) WatchSwapped

func (_Mooniswap *MooniswapFilterer) WatchSwapped(opts *bind.WatchOpts, sink chan<- *MooniswapSwapped, account []common.Address, src []common.Address, dst []common.Address) (event.Subscription, error)

WatchSwapped is a free log subscription operation binding the contract event 0x86c49b5d8577da08444947f1427d23ef191cfabf2c0788f93324d79e926a9302.

Solidity: event Swapped(address indexed account, address indexed src, address indexed dst, uint256 amount, uint256 result, uint256 srcBalance, uint256 dstBalance, uint256 totalSupply, address referral)

func (*MooniswapFilterer) WatchTransfer

func (_Mooniswap *MooniswapFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *MooniswapTransfer, from []common.Address, to []common.Address) (event.Subscription, error)

WatchTransfer is a free log subscription operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed from, address indexed to, uint256 value)

func (*MooniswapFilterer) WatchWithdrawn

func (_Mooniswap *MooniswapFilterer) WatchWithdrawn(opts *bind.WatchOpts, sink chan<- *MooniswapWithdrawn, account []common.Address) (event.Subscription, error)

WatchWithdrawn is a free log subscription operation binding the contract event 0x7084f5476618d8e60b11ef0d7d3f06914655adb8793e28ff7f018d4c76d505d5.

Solidity: event Withdrawn(address indexed account, uint256 amount)

type MooniswapOwnershipTransferred

type MooniswapOwnershipTransferred struct {
	PreviousOwner common.Address
	NewOwner      common.Address
	Raw           types.Log // Blockchain specific contextual infos
}

MooniswapOwnershipTransferred represents a OwnershipTransferred event raised by the Mooniswap contract.

type MooniswapOwnershipTransferredIterator

type MooniswapOwnershipTransferredIterator struct {
	Event *MooniswapOwnershipTransferred // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

MooniswapOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the Mooniswap contract.

func (*MooniswapOwnershipTransferredIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*MooniswapOwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*MooniswapOwnershipTransferredIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type MooniswapRaw

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

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

func (*MooniswapRaw) Call

func (_Mooniswap *MooniswapRaw) 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 (*MooniswapRaw) Transact

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

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

func (*MooniswapRaw) Transfer

func (_Mooniswap *MooniswapRaw) 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 MooniswapSession

type MooniswapSession struct {
	Contract     *Mooniswap        // 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
}

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

func (*MooniswapSession) Allowance

func (_Mooniswap *MooniswapSession) 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 (*MooniswapSession) Approve

func (_Mooniswap *MooniswapSession) 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 (*MooniswapSession) BASESUPPLY

func (_Mooniswap *MooniswapSession) BASESUPPLY() (*big.Int, error)

BASESUPPLY is a free data retrieval call binding the contract method 0xbaf13a0a.

Solidity: function BASE_SUPPLY() view returns(uint256)

func (*MooniswapSession) BalanceOf

func (_Mooniswap *MooniswapSession) 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 (*MooniswapSession) DecayPeriod

func (_Mooniswap *MooniswapSession) DecayPeriod() (*big.Int, error)

DecayPeriod is a free data retrieval call binding the contract method 0x48d67e1b.

Solidity: function decayPeriod() pure returns(uint256)

func (*MooniswapSession) Decimals

func (_Mooniswap *MooniswapSession) Decimals() (uint8, error)

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

Solidity: function decimals() view returns(uint8)

func (*MooniswapSession) DecreaseAllowance

func (_Mooniswap *MooniswapSession) 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 (*MooniswapSession) Deposit

func (_Mooniswap *MooniswapSession) Deposit(amounts []*big.Int, minAmounts []*big.Int) (*types.Transaction, error)

Deposit is a paid mutator transaction binding the contract method 0xf223885a.

Solidity: function deposit(uint256[] amounts, uint256[] minAmounts) payable returns(uint256 fairSupply)

func (*MooniswapSession) FEEDENOMINATOR

func (_Mooniswap *MooniswapSession) FEEDENOMINATOR() (*big.Int, error)

FEEDENOMINATOR is a free data retrieval call binding the contract method 0xd73792a9.

Solidity: function FEE_DENOMINATOR() view returns(uint256)

func (*MooniswapSession) Factory

func (_Mooniswap *MooniswapSession) Factory() (common.Address, error)

Factory is a free data retrieval call binding the contract method 0xc45a0155.

Solidity: function factory() view returns(address)

func (*MooniswapSession) Fee

func (_Mooniswap *MooniswapSession) Fee() (*big.Int, error)

Fee is a free data retrieval call binding the contract method 0xddca3f43.

Solidity: function fee() view returns(uint256)

func (*MooniswapSession) GetBalanceForAddition

func (_Mooniswap *MooniswapSession) GetBalanceForAddition(token common.Address) (*big.Int, error)

GetBalanceForAddition is a free data retrieval call binding the contract method 0xd7d3aab5.

Solidity: function getBalanceForAddition(address token) view returns(uint256)

func (*MooniswapSession) GetBalanceForRemoval

func (_Mooniswap *MooniswapSession) GetBalanceForRemoval(token common.Address) (*big.Int, error)

GetBalanceForRemoval is a free data retrieval call binding the contract method 0xe7ff42c9.

Solidity: function getBalanceForRemoval(address token) view returns(uint256)

func (*MooniswapSession) GetReturn

func (_Mooniswap *MooniswapSession) GetReturn(src common.Address, dst common.Address, amount *big.Int) (*big.Int, error)

GetReturn is a free data retrieval call binding the contract method 0x1e1401f8.

Solidity: function getReturn(address src, address dst, uint256 amount) view returns(uint256)

func (*MooniswapSession) GetTokens

func (_Mooniswap *MooniswapSession) GetTokens() ([]common.Address, error)

GetTokens is a free data retrieval call binding the contract method 0xaa6ca808.

Solidity: function getTokens() view returns(address[])

func (*MooniswapSession) IncreaseAllowance

func (_Mooniswap *MooniswapSession) 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 (*MooniswapSession) IsToken

func (_Mooniswap *MooniswapSession) IsToken(arg0 common.Address) (bool, error)

IsToken is a free data retrieval call binding the contract method 0x19f37361.

Solidity: function isToken(address ) view returns(bool)

func (*MooniswapSession) Name

func (_Mooniswap *MooniswapSession) Name() (string, error)

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

Solidity: function name() view returns(string)

func (*MooniswapSession) Owner

func (_Mooniswap *MooniswapSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*MooniswapSession) REFERRALSHARE

func (_Mooniswap *MooniswapSession) REFERRALSHARE() (*big.Int, error)

REFERRALSHARE is a free data retrieval call binding the contract method 0xb21b5a21.

Solidity: function REFERRAL_SHARE() view returns(uint256)

func (*MooniswapSession) RenounceOwnership

func (_Mooniswap *MooniswapSession) RenounceOwnership() (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*MooniswapSession) RescueFunds

func (_Mooniswap *MooniswapSession) RescueFunds(token common.Address, amount *big.Int) (*types.Transaction, error)

RescueFunds is a paid mutator transaction binding the contract method 0x78e3214f.

Solidity: function rescueFunds(address token, uint256 amount) returns()

func (*MooniswapSession) Swap

func (_Mooniswap *MooniswapSession) Swap(src common.Address, dst common.Address, amount *big.Int, minReturn *big.Int, referral common.Address) (*types.Transaction, error)

Swap is a paid mutator transaction binding the contract method 0xd5bcb9b5.

Solidity: function swap(address src, address dst, uint256 amount, uint256 minReturn, address referral) payable returns(uint256 result)

func (*MooniswapSession) Symbol

func (_Mooniswap *MooniswapSession) Symbol() (string, error)

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

Solidity: function symbol() view returns(string)

func (*MooniswapSession) Tokens

func (_Mooniswap *MooniswapSession) Tokens(arg0 *big.Int) (common.Address, error)

Tokens is a free data retrieval call binding the contract method 0x4f64b2be.

Solidity: function tokens(uint256 ) view returns(address)

func (*MooniswapSession) TotalSupply

func (_Mooniswap *MooniswapSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

func (*MooniswapSession) Transfer

func (_Mooniswap *MooniswapSession) 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 (*MooniswapSession) TransferFrom

func (_Mooniswap *MooniswapSession) 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 (*MooniswapSession) TransferOwnership

func (_Mooniswap *MooniswapSession) 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 (*MooniswapSession) VirtualBalancesForAddition

func (_Mooniswap *MooniswapSession) VirtualBalancesForAddition(arg0 common.Address) (struct {
	Balance *big.Int
	Time    *big.Int
}, error)

VirtualBalancesForAddition is a free data retrieval call binding the contract method 0x6edc2c09.

Solidity: function virtualBalancesForAddition(address ) view returns(uint216 balance, uint40 time)

func (*MooniswapSession) VirtualBalancesForRemoval

func (_Mooniswap *MooniswapSession) VirtualBalancesForRemoval(arg0 common.Address) (struct {
	Balance *big.Int
	Time    *big.Int
}, error)

VirtualBalancesForRemoval is a free data retrieval call binding the contract method 0x5ed9156d.

Solidity: function virtualBalancesForRemoval(address ) view returns(uint216 balance, uint40 time)

func (*MooniswapSession) Volumes

func (_Mooniswap *MooniswapSession) Volumes(arg0 common.Address) (struct {
	Confirmed *big.Int
	Result    *big.Int
}, error)

Volumes is a free data retrieval call binding the contract method 0xb1ec4c40.

Solidity: function volumes(address ) view returns(uint128 confirmed, uint128 result)

func (*MooniswapSession) Withdraw

func (_Mooniswap *MooniswapSession) Withdraw(amount *big.Int, minReturns []*big.Int) (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0x5915d806.

Solidity: function withdraw(uint256 amount, uint256[] minReturns) returns()

type MooniswapSwapped

type MooniswapSwapped struct {
	Account     common.Address
	Src         common.Address
	Dst         common.Address
	Amount      *big.Int
	Result      *big.Int
	SrcBalance  *big.Int
	DstBalance  *big.Int
	TotalSupply *big.Int
	Referral    common.Address
	Raw         types.Log // Blockchain specific contextual infos
}

MooniswapSwapped represents a Swapped event raised by the Mooniswap contract.

type MooniswapSwappedIterator

type MooniswapSwappedIterator struct {
	Event *MooniswapSwapped // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

MooniswapSwappedIterator is returned from FilterSwapped and is used to iterate over the raw logs and unpacked data for Swapped events raised by the Mooniswap contract.

func (*MooniswapSwappedIterator) Close

func (it *MooniswapSwappedIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*MooniswapSwappedIterator) Error

func (it *MooniswapSwappedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*MooniswapSwappedIterator) Next

func (it *MooniswapSwappedIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type MooniswapTransactor

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

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

func NewMooniswapTransactor

func NewMooniswapTransactor(address common.Address, transactor bind.ContractTransactor) (*MooniswapTransactor, error)

NewMooniswapTransactor creates a new write-only instance of Mooniswap, bound to a specific deployed contract.

func (*MooniswapTransactor) Approve

func (_Mooniswap *MooniswapTransactor) 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 (*MooniswapTransactor) DecreaseAllowance

func (_Mooniswap *MooniswapTransactor) 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 (*MooniswapTransactor) Deposit

func (_Mooniswap *MooniswapTransactor) Deposit(opts *bind.TransactOpts, amounts []*big.Int, minAmounts []*big.Int) (*types.Transaction, error)

Deposit is a paid mutator transaction binding the contract method 0xf223885a.

Solidity: function deposit(uint256[] amounts, uint256[] minAmounts) payable returns(uint256 fairSupply)

func (*MooniswapTransactor) IncreaseAllowance

func (_Mooniswap *MooniswapTransactor) 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 (*MooniswapTransactor) RenounceOwnership

func (_Mooniswap *MooniswapTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*MooniswapTransactor) RescueFunds

func (_Mooniswap *MooniswapTransactor) RescueFunds(opts *bind.TransactOpts, token common.Address, amount *big.Int) (*types.Transaction, error)

RescueFunds is a paid mutator transaction binding the contract method 0x78e3214f.

Solidity: function rescueFunds(address token, uint256 amount) returns()

func (*MooniswapTransactor) Swap

func (_Mooniswap *MooniswapTransactor) Swap(opts *bind.TransactOpts, src common.Address, dst common.Address, amount *big.Int, minReturn *big.Int, referral common.Address) (*types.Transaction, error)

Swap is a paid mutator transaction binding the contract method 0xd5bcb9b5.

Solidity: function swap(address src, address dst, uint256 amount, uint256 minReturn, address referral) payable returns(uint256 result)

func (*MooniswapTransactor) Transfer

func (_Mooniswap *MooniswapTransactor) 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 (*MooniswapTransactor) TransferFrom

func (_Mooniswap *MooniswapTransactor) 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 (*MooniswapTransactor) TransferOwnership

func (_Mooniswap *MooniswapTransactor) 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 (*MooniswapTransactor) Withdraw

func (_Mooniswap *MooniswapTransactor) Withdraw(opts *bind.TransactOpts, amount *big.Int, minReturns []*big.Int) (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0x5915d806.

Solidity: function withdraw(uint256 amount, uint256[] minReturns) returns()

type MooniswapTransactorRaw

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

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

func (*MooniswapTransactorRaw) Transact

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

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

func (*MooniswapTransactorRaw) Transfer

func (_Mooniswap *MooniswapTransactorRaw) 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 MooniswapTransactorSession

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

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

func (*MooniswapTransactorSession) Approve

func (_Mooniswap *MooniswapTransactorSession) 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 (*MooniswapTransactorSession) DecreaseAllowance

func (_Mooniswap *MooniswapTransactorSession) 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 (*MooniswapTransactorSession) Deposit

func (_Mooniswap *MooniswapTransactorSession) Deposit(amounts []*big.Int, minAmounts []*big.Int) (*types.Transaction, error)

Deposit is a paid mutator transaction binding the contract method 0xf223885a.

Solidity: function deposit(uint256[] amounts, uint256[] minAmounts) payable returns(uint256 fairSupply)

func (*MooniswapTransactorSession) IncreaseAllowance

func (_Mooniswap *MooniswapTransactorSession) 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 (*MooniswapTransactorSession) RenounceOwnership

func (_Mooniswap *MooniswapTransactorSession) RenounceOwnership() (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*MooniswapTransactorSession) RescueFunds

func (_Mooniswap *MooniswapTransactorSession) RescueFunds(token common.Address, amount *big.Int) (*types.Transaction, error)

RescueFunds is a paid mutator transaction binding the contract method 0x78e3214f.

Solidity: function rescueFunds(address token, uint256 amount) returns()

func (*MooniswapTransactorSession) Swap

func (_Mooniswap *MooniswapTransactorSession) Swap(src common.Address, dst common.Address, amount *big.Int, minReturn *big.Int, referral common.Address) (*types.Transaction, error)

Swap is a paid mutator transaction binding the contract method 0xd5bcb9b5.

Solidity: function swap(address src, address dst, uint256 amount, uint256 minReturn, address referral) payable returns(uint256 result)

func (*MooniswapTransactorSession) Transfer

func (_Mooniswap *MooniswapTransactorSession) 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 (*MooniswapTransactorSession) TransferFrom

func (_Mooniswap *MooniswapTransactorSession) 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 (*MooniswapTransactorSession) TransferOwnership

func (_Mooniswap *MooniswapTransactorSession) 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 (*MooniswapTransactorSession) Withdraw

func (_Mooniswap *MooniswapTransactorSession) Withdraw(amount *big.Int, minReturns []*big.Int) (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0x5915d806.

Solidity: function withdraw(uint256 amount, uint256[] minReturns) returns()

type MooniswapTransfer

type MooniswapTransfer struct {
	From  common.Address
	To    common.Address
	Value *big.Int
	Raw   types.Log // Blockchain specific contextual infos
}

MooniswapTransfer represents a Transfer event raised by the Mooniswap contract.

type MooniswapTransferIterator

type MooniswapTransferIterator struct {
	Event *MooniswapTransfer // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

MooniswapTransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the Mooniswap contract.

func (*MooniswapTransferIterator) Close

func (it *MooniswapTransferIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*MooniswapTransferIterator) Error

func (it *MooniswapTransferIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*MooniswapTransferIterator) Next

func (it *MooniswapTransferIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type MooniswapWithdrawn

type MooniswapWithdrawn struct {
	Account common.Address
	Amount  *big.Int
	Raw     types.Log // Blockchain specific contextual infos
}

MooniswapWithdrawn represents a Withdrawn event raised by the Mooniswap contract.

type MooniswapWithdrawnIterator

type MooniswapWithdrawnIterator struct {
	Event *MooniswapWithdrawn // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

MooniswapWithdrawnIterator is returned from FilterWithdrawn and is used to iterate over the raw logs and unpacked data for Withdrawn events raised by the Mooniswap contract.

func (*MooniswapWithdrawnIterator) Close

func (it *MooniswapWithdrawnIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*MooniswapWithdrawnIterator) Error

func (it *MooniswapWithdrawnIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*MooniswapWithdrawnIterator) Next

func (it *MooniswapWithdrawnIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type Oasis

type Oasis struct {
	OasisCaller     // Read-only binding to the contract
	OasisTransactor // Write-only binding to the contract
	OasisFilterer   // Log filterer for contract events
}

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

func NewOasis

func NewOasis(address common.Address, backend bind.ContractBackend) (*Oasis, error)

NewOasis creates a new instance of Oasis, bound to a specific deployed contract.

type OasisCaller

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

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

func NewOasisCaller

func NewOasisCaller(address common.Address, caller bind.ContractCaller) (*OasisCaller, error)

NewOasisCaller creates a new read-only instance of Oasis, bound to a specific deployed contract.

func (*OasisCaller) Authority

func (_Oasis *OasisCaller) Authority(opts *bind.CallOpts) (common.Address, error)

Authority is a free data retrieval call binding the contract method 0xbf7e214f.

Solidity: function authority() view returns(address)

func (*OasisCaller) Best

func (_Oasis *OasisCaller) Best(opts *bind.CallOpts, arg0 common.Address, arg1 common.Address) (*big.Int, error)

Best is a free data retrieval call binding the contract method 0x74c1d7d3.

Solidity: function _best(address , address ) view returns(uint256)

func (*OasisCaller) BuyEnabled

func (_Oasis *OasisCaller) BuyEnabled(opts *bind.CallOpts) (bool, error)

BuyEnabled is a free data retrieval call binding the contract method 0xf582d293.

Solidity: function buyEnabled() view returns(bool)

func (*OasisCaller) CloseTime

func (_Oasis *OasisCaller) CloseTime(opts *bind.CallOpts) (uint64, error)

CloseTime is a free data retrieval call binding the contract method 0x6377ebca.

Solidity: function close_time() view returns(uint64)

func (*OasisCaller) Dust

func (_Oasis *OasisCaller) Dust(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

Dust is a free data retrieval call binding the contract method 0x91be90c8.

Solidity: function _dust(address ) view returns(uint256)

func (*OasisCaller) DustId

func (_Oasis *OasisCaller) DustId(opts *bind.CallOpts) (*big.Int, error)

DustId is a free data retrieval call binding the contract method 0x56ad8764.

Solidity: function dustId() view returns(uint256)

func (*OasisCaller) GetBestOffer

func (_Oasis *OasisCaller) GetBestOffer(opts *bind.CallOpts, sell_gem common.Address, buy_gem common.Address) (*big.Int, error)

GetBestOffer is a free data retrieval call binding the contract method 0x0374fc6f.

Solidity: function getBestOffer(address sell_gem, address buy_gem) view returns(uint256)

func (*OasisCaller) GetBetterOffer

func (_Oasis *OasisCaller) GetBetterOffer(opts *bind.CallOpts, id *big.Int) (*big.Int, error)

GetBetterOffer is a free data retrieval call binding the contract method 0x911550f4.

Solidity: function getBetterOffer(uint256 id) view returns(uint256)

func (*OasisCaller) GetBuyAmount

func (_Oasis *OasisCaller) GetBuyAmount(opts *bind.CallOpts, buy_gem common.Address, pay_gem common.Address, pay_amt *big.Int) (*big.Int, error)

GetBuyAmount is a free data retrieval call binding the contract method 0x144a2752.

Solidity: function getBuyAmount(address buy_gem, address pay_gem, uint256 pay_amt) view returns(uint256 fill_amt)

func (*OasisCaller) GetFirstUnsortedOffer

func (_Oasis *OasisCaller) GetFirstUnsortedOffer(opts *bind.CallOpts) (*big.Int, error)

GetFirstUnsortedOffer is a free data retrieval call binding the contract method 0x8af82a2e.

Solidity: function getFirstUnsortedOffer() view returns(uint256)

func (*OasisCaller) GetMinSell

func (_Oasis *OasisCaller) GetMinSell(opts *bind.CallOpts, pay_gem common.Address) (*big.Int, error)

GetMinSell is a free data retrieval call binding the contract method 0x511fa487.

Solidity: function getMinSell(address pay_gem) view returns(uint256)

func (*OasisCaller) GetNextUnsortedOffer

func (_Oasis *OasisCaller) GetNextUnsortedOffer(opts *bind.CallOpts, id *big.Int) (*big.Int, error)

GetNextUnsortedOffer is a free data retrieval call binding the contract method 0x61f54a79.

Solidity: function getNextUnsortedOffer(uint256 id) view returns(uint256)

func (*OasisCaller) GetOffer

func (_Oasis *OasisCaller) GetOffer(opts *bind.CallOpts, id *big.Int) (*big.Int, common.Address, *big.Int, common.Address, error)

GetOffer is a free data retrieval call binding the contract method 0x4579268a.

Solidity: function getOffer(uint256 id) view returns(uint256, address, uint256, address)

func (*OasisCaller) GetOfferCount

func (_Oasis *OasisCaller) GetOfferCount(opts *bind.CallOpts, sell_gem common.Address, buy_gem common.Address) (*big.Int, error)

GetOfferCount is a free data retrieval call binding the contract method 0x7ca9429a.

Solidity: function getOfferCount(address sell_gem, address buy_gem) view returns(uint256)

func (*OasisCaller) GetOwner

func (_Oasis *OasisCaller) GetOwner(opts *bind.CallOpts, id *big.Int) (common.Address, error)

GetOwner is a free data retrieval call binding the contract method 0xc41a360a.

Solidity: function getOwner(uint256 id) view returns(address owner)

func (*OasisCaller) GetPayAmount

func (_Oasis *OasisCaller) GetPayAmount(opts *bind.CallOpts, pay_gem common.Address, buy_gem common.Address, buy_amt *big.Int) (*big.Int, error)

GetPayAmount is a free data retrieval call binding the contract method 0xff1fd974.

Solidity: function getPayAmount(address pay_gem, address buy_gem, uint256 buy_amt) view returns(uint256 fill_amt)

func (*OasisCaller) GetTime

func (_Oasis *OasisCaller) GetTime(opts *bind.CallOpts) (uint64, error)

GetTime is a free data retrieval call binding the contract method 0x557ed1ba.

Solidity: function getTime() view returns(uint64)

func (*OasisCaller) GetWorseOffer

func (_Oasis *OasisCaller) GetWorseOffer(opts *bind.CallOpts, id *big.Int) (*big.Int, error)

GetWorseOffer is a free data retrieval call binding the contract method 0x943911bc.

Solidity: function getWorseOffer(uint256 id) view returns(uint256)

func (*OasisCaller) IsActive

func (_Oasis *OasisCaller) IsActive(opts *bind.CallOpts, id *big.Int) (bool, error)

IsActive is a free data retrieval call binding the contract method 0x82afd23b.

Solidity: function isActive(uint256 id) view returns(bool active)

func (*OasisCaller) IsClosed

func (_Oasis *OasisCaller) IsClosed(opts *bind.CallOpts) (bool, error)

IsClosed is a free data retrieval call binding the contract method 0xc2b6b58c.

Solidity: function isClosed() view returns(bool closed)

func (*OasisCaller) IsOfferSorted

func (_Oasis *OasisCaller) IsOfferSorted(opts *bind.CallOpts, id *big.Int) (bool, error)

IsOfferSorted is a free data retrieval call binding the contract method 0xd2b420ce.

Solidity: function isOfferSorted(uint256 id) view returns(bool)

func (*OasisCaller) LastOfferId

func (_Oasis *OasisCaller) LastOfferId(opts *bind.CallOpts) (*big.Int, error)

LastOfferId is a free data retrieval call binding the contract method 0x232cae0b.

Solidity: function last_offer_id() view returns(uint256)

func (*OasisCaller) MatchingEnabled

func (_Oasis *OasisCaller) MatchingEnabled(opts *bind.CallOpts) (bool, error)

MatchingEnabled is a free data retrieval call binding the contract method 0x01492a0b.

Solidity: function matchingEnabled() view returns(bool)

func (*OasisCaller) Near

func (_Oasis *OasisCaller) Near(opts *bind.CallOpts, arg0 *big.Int) (*big.Int, error)

Near is a free data retrieval call binding the contract method 0xa78d4316.

Solidity: function _near(uint256 ) view returns(uint256)

func (*OasisCaller) Offers

func (_Oasis *OasisCaller) Offers(opts *bind.CallOpts, arg0 *big.Int) (struct {
	PayAmt    *big.Int
	PayGem    common.Address
	BuyAmt    *big.Int
	BuyGem    common.Address
	Owner     common.Address
	Timestamp uint64
}, error)

Offers is a free data retrieval call binding the contract method 0x8a72ea6a.

Solidity: function offers(uint256 ) view returns(uint256 pay_amt, address pay_gem, uint256 buy_amt, address buy_gem, address owner, uint64 timestamp)

func (*OasisCaller) Owner

func (_Oasis *OasisCaller) 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 (*OasisCaller) Rank

func (_Oasis *OasisCaller) Rank(opts *bind.CallOpts, arg0 *big.Int) (struct {
	Next *big.Int
	Prev *big.Int
	Delb *big.Int
}, error)

Rank is a free data retrieval call binding the contract method 0xc2d526aa.

Solidity: function _rank(uint256 ) view returns(uint256 next, uint256 prev, uint256 delb)

func (*OasisCaller) Span

func (_Oasis *OasisCaller) Span(opts *bind.CallOpts, arg0 common.Address, arg1 common.Address) (*big.Int, error)

Span is a free data retrieval call binding the contract method 0x677170e1.

Solidity: function _span(address , address ) view returns(uint256)

func (*OasisCaller) Stopped

func (_Oasis *OasisCaller) Stopped(opts *bind.CallOpts) (bool, error)

Stopped is a free data retrieval call binding the contract method 0x75f12b21.

Solidity: function stopped() view returns(bool)

type OasisCallerRaw

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

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

func (*OasisCallerRaw) Call

func (_Oasis *OasisCallerRaw) 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 OasisCallerSession

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

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

func (*OasisCallerSession) Authority

func (_Oasis *OasisCallerSession) Authority() (common.Address, error)

Authority is a free data retrieval call binding the contract method 0xbf7e214f.

Solidity: function authority() view returns(address)

func (*OasisCallerSession) Best

func (_Oasis *OasisCallerSession) Best(arg0 common.Address, arg1 common.Address) (*big.Int, error)

Best is a free data retrieval call binding the contract method 0x74c1d7d3.

Solidity: function _best(address , address ) view returns(uint256)

func (*OasisCallerSession) BuyEnabled

func (_Oasis *OasisCallerSession) BuyEnabled() (bool, error)

BuyEnabled is a free data retrieval call binding the contract method 0xf582d293.

Solidity: function buyEnabled() view returns(bool)

func (*OasisCallerSession) CloseTime

func (_Oasis *OasisCallerSession) CloseTime() (uint64, error)

CloseTime is a free data retrieval call binding the contract method 0x6377ebca.

Solidity: function close_time() view returns(uint64)

func (*OasisCallerSession) Dust

func (_Oasis *OasisCallerSession) Dust(arg0 common.Address) (*big.Int, error)

Dust is a free data retrieval call binding the contract method 0x91be90c8.

Solidity: function _dust(address ) view returns(uint256)

func (*OasisCallerSession) DustId

func (_Oasis *OasisCallerSession) DustId() (*big.Int, error)

DustId is a free data retrieval call binding the contract method 0x56ad8764.

Solidity: function dustId() view returns(uint256)

func (*OasisCallerSession) GetBestOffer

func (_Oasis *OasisCallerSession) GetBestOffer(sell_gem common.Address, buy_gem common.Address) (*big.Int, error)

GetBestOffer is a free data retrieval call binding the contract method 0x0374fc6f.

Solidity: function getBestOffer(address sell_gem, address buy_gem) view returns(uint256)

func (*OasisCallerSession) GetBetterOffer

func (_Oasis *OasisCallerSession) GetBetterOffer(id *big.Int) (*big.Int, error)

GetBetterOffer is a free data retrieval call binding the contract method 0x911550f4.

Solidity: function getBetterOffer(uint256 id) view returns(uint256)

func (*OasisCallerSession) GetBuyAmount

func (_Oasis *OasisCallerSession) GetBuyAmount(buy_gem common.Address, pay_gem common.Address, pay_amt *big.Int) (*big.Int, error)

GetBuyAmount is a free data retrieval call binding the contract method 0x144a2752.

Solidity: function getBuyAmount(address buy_gem, address pay_gem, uint256 pay_amt) view returns(uint256 fill_amt)

func (*OasisCallerSession) GetFirstUnsortedOffer

func (_Oasis *OasisCallerSession) GetFirstUnsortedOffer() (*big.Int, error)

GetFirstUnsortedOffer is a free data retrieval call binding the contract method 0x8af82a2e.

Solidity: function getFirstUnsortedOffer() view returns(uint256)

func (*OasisCallerSession) GetMinSell

func (_Oasis *OasisCallerSession) GetMinSell(pay_gem common.Address) (*big.Int, error)

GetMinSell is a free data retrieval call binding the contract method 0x511fa487.

Solidity: function getMinSell(address pay_gem) view returns(uint256)

func (*OasisCallerSession) GetNextUnsortedOffer

func (_Oasis *OasisCallerSession) GetNextUnsortedOffer(id *big.Int) (*big.Int, error)

GetNextUnsortedOffer is a free data retrieval call binding the contract method 0x61f54a79.

Solidity: function getNextUnsortedOffer(uint256 id) view returns(uint256)

func (*OasisCallerSession) GetOffer

func (_Oasis *OasisCallerSession) GetOffer(id *big.Int) (*big.Int, common.Address, *big.Int, common.Address, error)

GetOffer is a free data retrieval call binding the contract method 0x4579268a.

Solidity: function getOffer(uint256 id) view returns(uint256, address, uint256, address)

func (*OasisCallerSession) GetOfferCount

func (_Oasis *OasisCallerSession) GetOfferCount(sell_gem common.Address, buy_gem common.Address) (*big.Int, error)

GetOfferCount is a free data retrieval call binding the contract method 0x7ca9429a.

Solidity: function getOfferCount(address sell_gem, address buy_gem) view returns(uint256)

func (*OasisCallerSession) GetOwner

func (_Oasis *OasisCallerSession) GetOwner(id *big.Int) (common.Address, error)

GetOwner is a free data retrieval call binding the contract method 0xc41a360a.

Solidity: function getOwner(uint256 id) view returns(address owner)

func (*OasisCallerSession) GetPayAmount

func (_Oasis *OasisCallerSession) GetPayAmount(pay_gem common.Address, buy_gem common.Address, buy_amt *big.Int) (*big.Int, error)

GetPayAmount is a free data retrieval call binding the contract method 0xff1fd974.

Solidity: function getPayAmount(address pay_gem, address buy_gem, uint256 buy_amt) view returns(uint256 fill_amt)

func (*OasisCallerSession) GetTime

func (_Oasis *OasisCallerSession) GetTime() (uint64, error)

GetTime is a free data retrieval call binding the contract method 0x557ed1ba.

Solidity: function getTime() view returns(uint64)

func (*OasisCallerSession) GetWorseOffer

func (_Oasis *OasisCallerSession) GetWorseOffer(id *big.Int) (*big.Int, error)

GetWorseOffer is a free data retrieval call binding the contract method 0x943911bc.

Solidity: function getWorseOffer(uint256 id) view returns(uint256)

func (*OasisCallerSession) IsActive

func (_Oasis *OasisCallerSession) IsActive(id *big.Int) (bool, error)

IsActive is a free data retrieval call binding the contract method 0x82afd23b.

Solidity: function isActive(uint256 id) view returns(bool active)

func (*OasisCallerSession) IsClosed

func (_Oasis *OasisCallerSession) IsClosed() (bool, error)

IsClosed is a free data retrieval call binding the contract method 0xc2b6b58c.

Solidity: function isClosed() view returns(bool closed)

func (*OasisCallerSession) IsOfferSorted

func (_Oasis *OasisCallerSession) IsOfferSorted(id *big.Int) (bool, error)

IsOfferSorted is a free data retrieval call binding the contract method 0xd2b420ce.

Solidity: function isOfferSorted(uint256 id) view returns(bool)

func (*OasisCallerSession) LastOfferId

func (_Oasis *OasisCallerSession) LastOfferId() (*big.Int, error)

LastOfferId is a free data retrieval call binding the contract method 0x232cae0b.

Solidity: function last_offer_id() view returns(uint256)

func (*OasisCallerSession) MatchingEnabled

func (_Oasis *OasisCallerSession) MatchingEnabled() (bool, error)

MatchingEnabled is a free data retrieval call binding the contract method 0x01492a0b.

Solidity: function matchingEnabled() view returns(bool)

func (*OasisCallerSession) Near

func (_Oasis *OasisCallerSession) Near(arg0 *big.Int) (*big.Int, error)

Near is a free data retrieval call binding the contract method 0xa78d4316.

Solidity: function _near(uint256 ) view returns(uint256)

func (*OasisCallerSession) Offers

func (_Oasis *OasisCallerSession) Offers(arg0 *big.Int) (struct {
	PayAmt    *big.Int
	PayGem    common.Address
	BuyAmt    *big.Int
	BuyGem    common.Address
	Owner     common.Address
	Timestamp uint64
}, error)

Offers is a free data retrieval call binding the contract method 0x8a72ea6a.

Solidity: function offers(uint256 ) view returns(uint256 pay_amt, address pay_gem, uint256 buy_amt, address buy_gem, address owner, uint64 timestamp)

func (*OasisCallerSession) Owner

func (_Oasis *OasisCallerSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*OasisCallerSession) Rank

func (_Oasis *OasisCallerSession) Rank(arg0 *big.Int) (struct {
	Next *big.Int
	Prev *big.Int
	Delb *big.Int
}, error)

Rank is a free data retrieval call binding the contract method 0xc2d526aa.

Solidity: function _rank(uint256 ) view returns(uint256 next, uint256 prev, uint256 delb)

func (*OasisCallerSession) Span

func (_Oasis *OasisCallerSession) Span(arg0 common.Address, arg1 common.Address) (*big.Int, error)

Span is a free data retrieval call binding the contract method 0x677170e1.

Solidity: function _span(address , address ) view returns(uint256)

func (*OasisCallerSession) Stopped

func (_Oasis *OasisCallerSession) Stopped() (bool, error)

Stopped is a free data retrieval call binding the contract method 0x75f12b21.

Solidity: function stopped() view returns(bool)

type OasisFilterer

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

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

func NewOasisFilterer

func NewOasisFilterer(address common.Address, filterer bind.ContractFilterer) (*OasisFilterer, error)

NewOasisFilterer creates a new log filterer instance of Oasis, bound to a specific deployed contract.

func (*OasisFilterer) FilterLogBump

func (_Oasis *OasisFilterer) FilterLogBump(opts *bind.FilterOpts, id [][32]byte, pair [][32]byte, maker []common.Address) (*OasisLogBumpIterator, error)

FilterLogBump is a free log retrieval operation binding the contract event 0x70a14c213064359ede031fd2a1645a11ce2ec825ffe6ab5cfb5b160c3ef4d0a2.

Solidity: event LogBump(bytes32 indexed id, bytes32 indexed pair, address indexed maker, address pay_gem, address buy_gem, uint128 pay_amt, uint128 buy_amt, uint64 timestamp)

func (*OasisFilterer) FilterLogBuyEnabled

func (_Oasis *OasisFilterer) FilterLogBuyEnabled(opts *bind.FilterOpts) (*OasisLogBuyEnabledIterator, error)

FilterLogBuyEnabled is a free log retrieval operation binding the contract event 0x7089e4f0bcc948f9f723a361590c32d9c2284da7ab1981b1249ad2edb9f953c1.

Solidity: event LogBuyEnabled(bool isEnabled)

func (*OasisFilterer) FilterLogDelete

func (_Oasis *OasisFilterer) FilterLogDelete(opts *bind.FilterOpts) (*OasisLogDeleteIterator, error)

FilterLogDelete is a free log retrieval operation binding the contract event 0xcb9d6176c6aac6478ebb9a2754cdce22a944de29ed1f2642f8613884eba4b40c.

Solidity: event LogDelete(address keeper, uint256 id)

func (*OasisFilterer) FilterLogInsert

func (_Oasis *OasisFilterer) FilterLogInsert(opts *bind.FilterOpts) (*OasisLogInsertIterator, error)

FilterLogInsert is a free log retrieval operation binding the contract event 0x6d5c16212bdea16850dce4d9fa2314c446bd30ce84700d9c36c7677c6d283940.

Solidity: event LogInsert(address keeper, uint256 id)

func (*OasisFilterer) FilterLogItemUpdate

func (_Oasis *OasisFilterer) FilterLogItemUpdate(opts *bind.FilterOpts) (*OasisLogItemUpdateIterator, error)

FilterLogItemUpdate is a free log retrieval operation binding the contract event 0xa2c251311b1a7a475913900a2a73dc9789a21b04bc737e050bbc506dd4eb3488.

Solidity: event LogItemUpdate(uint256 id)

func (*OasisFilterer) FilterLogKill

func (_Oasis *OasisFilterer) FilterLogKill(opts *bind.FilterOpts, id [][32]byte, pair [][32]byte, maker []common.Address) (*OasisLogKillIterator, error)

FilterLogKill is a free log retrieval operation binding the contract event 0x9577941d28fff863bfbee4694a6a4a56fb09e169619189d2eaa750b5b4819995.

Solidity: event LogKill(bytes32 indexed id, bytes32 indexed pair, address indexed maker, address pay_gem, address buy_gem, uint128 pay_amt, uint128 buy_amt, uint64 timestamp)

func (*OasisFilterer) FilterLogMake

func (_Oasis *OasisFilterer) FilterLogMake(opts *bind.FilterOpts, id [][32]byte, pair [][32]byte, maker []common.Address) (*OasisLogMakeIterator, error)

FilterLogMake is a free log retrieval operation binding the contract event 0x773ff502687307abfa024ac9f62f9752a0d210dac2ffd9a29e38e12e2ea82c82.

Solidity: event LogMake(bytes32 indexed id, bytes32 indexed pair, address indexed maker, address pay_gem, address buy_gem, uint128 pay_amt, uint128 buy_amt, uint64 timestamp)

func (*OasisFilterer) FilterLogMatchingEnabled

func (_Oasis *OasisFilterer) FilterLogMatchingEnabled(opts *bind.FilterOpts) (*OasisLogMatchingEnabledIterator, error)

FilterLogMatchingEnabled is a free log retrieval operation binding the contract event 0xea11e00ec1642be9b494019b756440e2c57dbe9e59242c4f9c64ce33fb4f41d9.

Solidity: event LogMatchingEnabled(bool isEnabled)

func (*OasisFilterer) FilterLogMinSell

func (_Oasis *OasisFilterer) FilterLogMinSell(opts *bind.FilterOpts) (*OasisLogMinSellIterator, error)

FilterLogMinSell is a free log retrieval operation binding the contract event 0xc28d56449b0bb31e64ee7487e061f57a2e72aea8019d810832f26dda099823d0.

Solidity: event LogMinSell(address pay_gem, uint256 min_amount)

func (*OasisFilterer) FilterLogSetAuthority

func (_Oasis *OasisFilterer) FilterLogSetAuthority(opts *bind.FilterOpts, authority []common.Address) (*OasisLogSetAuthorityIterator, error)

FilterLogSetAuthority is a free log retrieval operation binding the contract event 0x1abebea81bfa2637f28358c371278fb15ede7ea8dd28d2e03b112ff6d936ada4.

Solidity: event LogSetAuthority(address indexed authority)

func (*OasisFilterer) FilterLogSetOwner

func (_Oasis *OasisFilterer) FilterLogSetOwner(opts *bind.FilterOpts, owner []common.Address) (*OasisLogSetOwnerIterator, error)

FilterLogSetOwner is a free log retrieval operation binding the contract event 0xce241d7ca1f669fee44b6fc00b8eba2df3bb514eed0f6f668f8f89096e81ed94.

Solidity: event LogSetOwner(address indexed owner)

func (*OasisFilterer) FilterLogSortedOffer

func (_Oasis *OasisFilterer) FilterLogSortedOffer(opts *bind.FilterOpts) (*OasisLogSortedOfferIterator, error)

FilterLogSortedOffer is a free log retrieval operation binding the contract event 0x20fb9bad86c18f7e22e8065258790d9416a7d2df8ff05f80f82c46d38b925acd.

Solidity: event LogSortedOffer(uint256 id)

func (*OasisFilterer) FilterLogTake

func (_Oasis *OasisFilterer) FilterLogTake(opts *bind.FilterOpts, pair [][32]byte, maker []common.Address, taker []common.Address) (*OasisLogTakeIterator, error)

FilterLogTake is a free log retrieval operation binding the contract event 0x3383e3357c77fd2e3a4b30deea81179bc70a795d053d14d5b7f2f01d0fd4596f.

Solidity: event LogTake(bytes32 id, bytes32 indexed pair, address indexed maker, address pay_gem, address buy_gem, address indexed taker, uint128 take_amt, uint128 give_amt, uint64 timestamp)

func (*OasisFilterer) FilterLogTrade

func (_Oasis *OasisFilterer) FilterLogTrade(opts *bind.FilterOpts, pay_gem []common.Address, buy_gem []common.Address) (*OasisLogTradeIterator, error)

FilterLogTrade is a free log retrieval operation binding the contract event 0x819e390338feffe95e2de57172d6faf337853dfd15c7a09a32d76f7fd2443875.

Solidity: event LogTrade(uint256 pay_amt, address indexed pay_gem, uint256 buy_amt, address indexed buy_gem)

func (*OasisFilterer) FilterLogUnsortedOffer

func (_Oasis *OasisFilterer) FilterLogUnsortedOffer(opts *bind.FilterOpts) (*OasisLogUnsortedOfferIterator, error)

FilterLogUnsortedOffer is a free log retrieval operation binding the contract event 0x8173832a493e0a3989e521458e55bfe9feac9f9b675a94e100b9d5a85f814862.

Solidity: event LogUnsortedOffer(uint256 id)

func (*OasisFilterer) ParseLogBump

func (_Oasis *OasisFilterer) ParseLogBump(log types.Log) (*OasisLogBump, error)

ParseLogBump is a log parse operation binding the contract event 0x70a14c213064359ede031fd2a1645a11ce2ec825ffe6ab5cfb5b160c3ef4d0a2.

Solidity: event LogBump(bytes32 indexed id, bytes32 indexed pair, address indexed maker, address pay_gem, address buy_gem, uint128 pay_amt, uint128 buy_amt, uint64 timestamp)

func (*OasisFilterer) ParseLogBuyEnabled

func (_Oasis *OasisFilterer) ParseLogBuyEnabled(log types.Log) (*OasisLogBuyEnabled, error)

ParseLogBuyEnabled is a log parse operation binding the contract event 0x7089e4f0bcc948f9f723a361590c32d9c2284da7ab1981b1249ad2edb9f953c1.

Solidity: event LogBuyEnabled(bool isEnabled)

func (*OasisFilterer) ParseLogDelete

func (_Oasis *OasisFilterer) ParseLogDelete(log types.Log) (*OasisLogDelete, error)

ParseLogDelete is a log parse operation binding the contract event 0xcb9d6176c6aac6478ebb9a2754cdce22a944de29ed1f2642f8613884eba4b40c.

Solidity: event LogDelete(address keeper, uint256 id)

func (*OasisFilterer) ParseLogInsert

func (_Oasis *OasisFilterer) ParseLogInsert(log types.Log) (*OasisLogInsert, error)

ParseLogInsert is a log parse operation binding the contract event 0x6d5c16212bdea16850dce4d9fa2314c446bd30ce84700d9c36c7677c6d283940.

Solidity: event LogInsert(address keeper, uint256 id)

func (*OasisFilterer) ParseLogItemUpdate

func (_Oasis *OasisFilterer) ParseLogItemUpdate(log types.Log) (*OasisLogItemUpdate, error)

ParseLogItemUpdate is a log parse operation binding the contract event 0xa2c251311b1a7a475913900a2a73dc9789a21b04bc737e050bbc506dd4eb3488.

Solidity: event LogItemUpdate(uint256 id)

func (*OasisFilterer) ParseLogKill

func (_Oasis *OasisFilterer) ParseLogKill(log types.Log) (*OasisLogKill, error)

ParseLogKill is a log parse operation binding the contract event 0x9577941d28fff863bfbee4694a6a4a56fb09e169619189d2eaa750b5b4819995.

Solidity: event LogKill(bytes32 indexed id, bytes32 indexed pair, address indexed maker, address pay_gem, address buy_gem, uint128 pay_amt, uint128 buy_amt, uint64 timestamp)

func (*OasisFilterer) ParseLogMake

func (_Oasis *OasisFilterer) ParseLogMake(log types.Log) (*OasisLogMake, error)

ParseLogMake is a log parse operation binding the contract event 0x773ff502687307abfa024ac9f62f9752a0d210dac2ffd9a29e38e12e2ea82c82.

Solidity: event LogMake(bytes32 indexed id, bytes32 indexed pair, address indexed maker, address pay_gem, address buy_gem, uint128 pay_amt, uint128 buy_amt, uint64 timestamp)

func (*OasisFilterer) ParseLogMatchingEnabled

func (_Oasis *OasisFilterer) ParseLogMatchingEnabled(log types.Log) (*OasisLogMatchingEnabled, error)

ParseLogMatchingEnabled is a log parse operation binding the contract event 0xea11e00ec1642be9b494019b756440e2c57dbe9e59242c4f9c64ce33fb4f41d9.

Solidity: event LogMatchingEnabled(bool isEnabled)

func (*OasisFilterer) ParseLogMinSell

func (_Oasis *OasisFilterer) ParseLogMinSell(log types.Log) (*OasisLogMinSell, error)

ParseLogMinSell is a log parse operation binding the contract event 0xc28d56449b0bb31e64ee7487e061f57a2e72aea8019d810832f26dda099823d0.

Solidity: event LogMinSell(address pay_gem, uint256 min_amount)

func (*OasisFilterer) ParseLogSetAuthority

func (_Oasis *OasisFilterer) ParseLogSetAuthority(log types.Log) (*OasisLogSetAuthority, error)

ParseLogSetAuthority is a log parse operation binding the contract event 0x1abebea81bfa2637f28358c371278fb15ede7ea8dd28d2e03b112ff6d936ada4.

Solidity: event LogSetAuthority(address indexed authority)

func (*OasisFilterer) ParseLogSetOwner

func (_Oasis *OasisFilterer) ParseLogSetOwner(log types.Log) (*OasisLogSetOwner, error)

ParseLogSetOwner is a log parse operation binding the contract event 0xce241d7ca1f669fee44b6fc00b8eba2df3bb514eed0f6f668f8f89096e81ed94.

Solidity: event LogSetOwner(address indexed owner)

func (*OasisFilterer) ParseLogSortedOffer

func (_Oasis *OasisFilterer) ParseLogSortedOffer(log types.Log) (*OasisLogSortedOffer, error)

ParseLogSortedOffer is a log parse operation binding the contract event 0x20fb9bad86c18f7e22e8065258790d9416a7d2df8ff05f80f82c46d38b925acd.

Solidity: event LogSortedOffer(uint256 id)

func (*OasisFilterer) ParseLogTake

func (_Oasis *OasisFilterer) ParseLogTake(log types.Log) (*OasisLogTake, error)

ParseLogTake is a log parse operation binding the contract event 0x3383e3357c77fd2e3a4b30deea81179bc70a795d053d14d5b7f2f01d0fd4596f.

Solidity: event LogTake(bytes32 id, bytes32 indexed pair, address indexed maker, address pay_gem, address buy_gem, address indexed taker, uint128 take_amt, uint128 give_amt, uint64 timestamp)

func (*OasisFilterer) ParseLogTrade

func (_Oasis *OasisFilterer) ParseLogTrade(log types.Log) (*OasisLogTrade, error)

ParseLogTrade is a log parse operation binding the contract event 0x819e390338feffe95e2de57172d6faf337853dfd15c7a09a32d76f7fd2443875.

Solidity: event LogTrade(uint256 pay_amt, address indexed pay_gem, uint256 buy_amt, address indexed buy_gem)

func (*OasisFilterer) ParseLogUnsortedOffer

func (_Oasis *OasisFilterer) ParseLogUnsortedOffer(log types.Log) (*OasisLogUnsortedOffer, error)

ParseLogUnsortedOffer is a log parse operation binding the contract event 0x8173832a493e0a3989e521458e55bfe9feac9f9b675a94e100b9d5a85f814862.

Solidity: event LogUnsortedOffer(uint256 id)

func (*OasisFilterer) WatchLogBump

func (_Oasis *OasisFilterer) WatchLogBump(opts *bind.WatchOpts, sink chan<- *OasisLogBump, id [][32]byte, pair [][32]byte, maker []common.Address) (event.Subscription, error)

WatchLogBump is a free log subscription operation binding the contract event 0x70a14c213064359ede031fd2a1645a11ce2ec825ffe6ab5cfb5b160c3ef4d0a2.

Solidity: event LogBump(bytes32 indexed id, bytes32 indexed pair, address indexed maker, address pay_gem, address buy_gem, uint128 pay_amt, uint128 buy_amt, uint64 timestamp)

func (*OasisFilterer) WatchLogBuyEnabled

func (_Oasis *OasisFilterer) WatchLogBuyEnabled(opts *bind.WatchOpts, sink chan<- *OasisLogBuyEnabled) (event.Subscription, error)

WatchLogBuyEnabled is a free log subscription operation binding the contract event 0x7089e4f0bcc948f9f723a361590c32d9c2284da7ab1981b1249ad2edb9f953c1.

Solidity: event LogBuyEnabled(bool isEnabled)

func (*OasisFilterer) WatchLogDelete

func (_Oasis *OasisFilterer) WatchLogDelete(opts *bind.WatchOpts, sink chan<- *OasisLogDelete) (event.Subscription, error)

WatchLogDelete is a free log subscription operation binding the contract event 0xcb9d6176c6aac6478ebb9a2754cdce22a944de29ed1f2642f8613884eba4b40c.

Solidity: event LogDelete(address keeper, uint256 id)

func (*OasisFilterer) WatchLogInsert

func (_Oasis *OasisFilterer) WatchLogInsert(opts *bind.WatchOpts, sink chan<- *OasisLogInsert) (event.Subscription, error)

WatchLogInsert is a free log subscription operation binding the contract event 0x6d5c16212bdea16850dce4d9fa2314c446bd30ce84700d9c36c7677c6d283940.

Solidity: event LogInsert(address keeper, uint256 id)

func (*OasisFilterer) WatchLogItemUpdate

func (_Oasis *OasisFilterer) WatchLogItemUpdate(opts *bind.WatchOpts, sink chan<- *OasisLogItemUpdate) (event.Subscription, error)

WatchLogItemUpdate is a free log subscription operation binding the contract event 0xa2c251311b1a7a475913900a2a73dc9789a21b04bc737e050bbc506dd4eb3488.

Solidity: event LogItemUpdate(uint256 id)

func (*OasisFilterer) WatchLogKill

func (_Oasis *OasisFilterer) WatchLogKill(opts *bind.WatchOpts, sink chan<- *OasisLogKill, id [][32]byte, pair [][32]byte, maker []common.Address) (event.Subscription, error)

WatchLogKill is a free log subscription operation binding the contract event 0x9577941d28fff863bfbee4694a6a4a56fb09e169619189d2eaa750b5b4819995.

Solidity: event LogKill(bytes32 indexed id, bytes32 indexed pair, address indexed maker, address pay_gem, address buy_gem, uint128 pay_amt, uint128 buy_amt, uint64 timestamp)

func (*OasisFilterer) WatchLogMake

func (_Oasis *OasisFilterer) WatchLogMake(opts *bind.WatchOpts, sink chan<- *OasisLogMake, id [][32]byte, pair [][32]byte, maker []common.Address) (event.Subscription, error)

WatchLogMake is a free log subscription operation binding the contract event 0x773ff502687307abfa024ac9f62f9752a0d210dac2ffd9a29e38e12e2ea82c82.

Solidity: event LogMake(bytes32 indexed id, bytes32 indexed pair, address indexed maker, address pay_gem, address buy_gem, uint128 pay_amt, uint128 buy_amt, uint64 timestamp)

func (*OasisFilterer) WatchLogMatchingEnabled

func (_Oasis *OasisFilterer) WatchLogMatchingEnabled(opts *bind.WatchOpts, sink chan<- *OasisLogMatchingEnabled) (event.Subscription, error)

WatchLogMatchingEnabled is a free log subscription operation binding the contract event 0xea11e00ec1642be9b494019b756440e2c57dbe9e59242c4f9c64ce33fb4f41d9.

Solidity: event LogMatchingEnabled(bool isEnabled)

func (*OasisFilterer) WatchLogMinSell

func (_Oasis *OasisFilterer) WatchLogMinSell(opts *bind.WatchOpts, sink chan<- *OasisLogMinSell) (event.Subscription, error)

WatchLogMinSell is a free log subscription operation binding the contract event 0xc28d56449b0bb31e64ee7487e061f57a2e72aea8019d810832f26dda099823d0.

Solidity: event LogMinSell(address pay_gem, uint256 min_amount)

func (*OasisFilterer) WatchLogSetAuthority

func (_Oasis *OasisFilterer) WatchLogSetAuthority(opts *bind.WatchOpts, sink chan<- *OasisLogSetAuthority, authority []common.Address) (event.Subscription, error)

WatchLogSetAuthority is a free log subscription operation binding the contract event 0x1abebea81bfa2637f28358c371278fb15ede7ea8dd28d2e03b112ff6d936ada4.

Solidity: event LogSetAuthority(address indexed authority)

func (*OasisFilterer) WatchLogSetOwner

func (_Oasis *OasisFilterer) WatchLogSetOwner(opts *bind.WatchOpts, sink chan<- *OasisLogSetOwner, owner []common.Address) (event.Subscription, error)

WatchLogSetOwner is a free log subscription operation binding the contract event 0xce241d7ca1f669fee44b6fc00b8eba2df3bb514eed0f6f668f8f89096e81ed94.

Solidity: event LogSetOwner(address indexed owner)

func (*OasisFilterer) WatchLogSortedOffer

func (_Oasis *OasisFilterer) WatchLogSortedOffer(opts *bind.WatchOpts, sink chan<- *OasisLogSortedOffer) (event.Subscription, error)

WatchLogSortedOffer is a free log subscription operation binding the contract event 0x20fb9bad86c18f7e22e8065258790d9416a7d2df8ff05f80f82c46d38b925acd.

Solidity: event LogSortedOffer(uint256 id)

func (*OasisFilterer) WatchLogTake

func (_Oasis *OasisFilterer) WatchLogTake(opts *bind.WatchOpts, sink chan<- *OasisLogTake, pair [][32]byte, maker []common.Address, taker []common.Address) (event.Subscription, error)

WatchLogTake is a free log subscription operation binding the contract event 0x3383e3357c77fd2e3a4b30deea81179bc70a795d053d14d5b7f2f01d0fd4596f.

Solidity: event LogTake(bytes32 id, bytes32 indexed pair, address indexed maker, address pay_gem, address buy_gem, address indexed taker, uint128 take_amt, uint128 give_amt, uint64 timestamp)

func (*OasisFilterer) WatchLogTrade

func (_Oasis *OasisFilterer) WatchLogTrade(opts *bind.WatchOpts, sink chan<- *OasisLogTrade, pay_gem []common.Address, buy_gem []common.Address) (event.Subscription, error)

WatchLogTrade is a free log subscription operation binding the contract event 0x819e390338feffe95e2de57172d6faf337853dfd15c7a09a32d76f7fd2443875.

Solidity: event LogTrade(uint256 pay_amt, address indexed pay_gem, uint256 buy_amt, address indexed buy_gem)

func (*OasisFilterer) WatchLogUnsortedOffer

func (_Oasis *OasisFilterer) WatchLogUnsortedOffer(opts *bind.WatchOpts, sink chan<- *OasisLogUnsortedOffer) (event.Subscription, error)

WatchLogUnsortedOffer is a free log subscription operation binding the contract event 0x8173832a493e0a3989e521458e55bfe9feac9f9b675a94e100b9d5a85f814862.

Solidity: event LogUnsortedOffer(uint256 id)

type OasisLogBump

type OasisLogBump struct {
	Id        [32]byte
	Pair      [32]byte
	Maker     common.Address
	PayGem    common.Address
	BuyGem    common.Address
	PayAmt    *big.Int
	BuyAmt    *big.Int
	Timestamp uint64
	Raw       types.Log // Blockchain specific contextual infos
}

OasisLogBump represents a LogBump event raised by the Oasis contract.

type OasisLogBumpIterator

type OasisLogBumpIterator struct {
	Event *OasisLogBump // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

OasisLogBumpIterator is returned from FilterLogBump and is used to iterate over the raw logs and unpacked data for LogBump events raised by the Oasis contract.

func (*OasisLogBumpIterator) Close

func (it *OasisLogBumpIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*OasisLogBumpIterator) Error

func (it *OasisLogBumpIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*OasisLogBumpIterator) Next

func (it *OasisLogBumpIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type OasisLogBuyEnabled

type OasisLogBuyEnabled struct {
	IsEnabled bool
	Raw       types.Log // Blockchain specific contextual infos
}

OasisLogBuyEnabled represents a LogBuyEnabled event raised by the Oasis contract.

type OasisLogBuyEnabledIterator

type OasisLogBuyEnabledIterator struct {
	Event *OasisLogBuyEnabled // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

OasisLogBuyEnabledIterator is returned from FilterLogBuyEnabled and is used to iterate over the raw logs and unpacked data for LogBuyEnabled events raised by the Oasis contract.

func (*OasisLogBuyEnabledIterator) Close

func (it *OasisLogBuyEnabledIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*OasisLogBuyEnabledIterator) Error

func (it *OasisLogBuyEnabledIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*OasisLogBuyEnabledIterator) Next

func (it *OasisLogBuyEnabledIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type OasisLogDelete

type OasisLogDelete struct {
	Keeper common.Address
	Id     *big.Int
	Raw    types.Log // Blockchain specific contextual infos
}

OasisLogDelete represents a LogDelete event raised by the Oasis contract.

type OasisLogDeleteIterator

type OasisLogDeleteIterator struct {
	Event *OasisLogDelete // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

OasisLogDeleteIterator is returned from FilterLogDelete and is used to iterate over the raw logs and unpacked data for LogDelete events raised by the Oasis contract.

func (*OasisLogDeleteIterator) Close

func (it *OasisLogDeleteIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*OasisLogDeleteIterator) Error

func (it *OasisLogDeleteIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*OasisLogDeleteIterator) Next

func (it *OasisLogDeleteIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type OasisLogInsert

type OasisLogInsert struct {
	Keeper common.Address
	Id     *big.Int
	Raw    types.Log // Blockchain specific contextual infos
}

OasisLogInsert represents a LogInsert event raised by the Oasis contract.

type OasisLogInsertIterator

type OasisLogInsertIterator struct {
	Event *OasisLogInsert // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

OasisLogInsertIterator is returned from FilterLogInsert and is used to iterate over the raw logs and unpacked data for LogInsert events raised by the Oasis contract.

func (*OasisLogInsertIterator) Close

func (it *OasisLogInsertIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*OasisLogInsertIterator) Error

func (it *OasisLogInsertIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*OasisLogInsertIterator) Next

func (it *OasisLogInsertIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type OasisLogItemUpdate

type OasisLogItemUpdate struct {
	Id  *big.Int
	Raw types.Log // Blockchain specific contextual infos
}

OasisLogItemUpdate represents a LogItemUpdate event raised by the Oasis contract.

type OasisLogItemUpdateIterator

type OasisLogItemUpdateIterator struct {
	Event *OasisLogItemUpdate // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

OasisLogItemUpdateIterator is returned from FilterLogItemUpdate and is used to iterate over the raw logs and unpacked data for LogItemUpdate events raised by the Oasis contract.

func (*OasisLogItemUpdateIterator) Close

func (it *OasisLogItemUpdateIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*OasisLogItemUpdateIterator) Error

func (it *OasisLogItemUpdateIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*OasisLogItemUpdateIterator) Next

func (it *OasisLogItemUpdateIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type OasisLogKill

type OasisLogKill struct {
	Id        [32]byte
	Pair      [32]byte
	Maker     common.Address
	PayGem    common.Address
	BuyGem    common.Address
	PayAmt    *big.Int
	BuyAmt    *big.Int
	Timestamp uint64
	Raw       types.Log // Blockchain specific contextual infos
}

OasisLogKill represents a LogKill event raised by the Oasis contract.

type OasisLogKillIterator

type OasisLogKillIterator struct {
	Event *OasisLogKill // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

OasisLogKillIterator is returned from FilterLogKill and is used to iterate over the raw logs and unpacked data for LogKill events raised by the Oasis contract.

func (*OasisLogKillIterator) Close

func (it *OasisLogKillIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*OasisLogKillIterator) Error

func (it *OasisLogKillIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*OasisLogKillIterator) Next

func (it *OasisLogKillIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type OasisLogMake

type OasisLogMake struct {
	Id        [32]byte
	Pair      [32]byte
	Maker     common.Address
	PayGem    common.Address
	BuyGem    common.Address
	PayAmt    *big.Int
	BuyAmt    *big.Int
	Timestamp uint64
	Raw       types.Log // Blockchain specific contextual infos
}

OasisLogMake represents a LogMake event raised by the Oasis contract.

type OasisLogMakeIterator

type OasisLogMakeIterator struct {
	Event *OasisLogMake // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

OasisLogMakeIterator is returned from FilterLogMake and is used to iterate over the raw logs and unpacked data for LogMake events raised by the Oasis contract.

func (*OasisLogMakeIterator) Close

func (it *OasisLogMakeIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*OasisLogMakeIterator) Error

func (it *OasisLogMakeIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*OasisLogMakeIterator) Next

func (it *OasisLogMakeIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type OasisLogMatchingEnabled

type OasisLogMatchingEnabled struct {
	IsEnabled bool
	Raw       types.Log // Blockchain specific contextual infos
}

OasisLogMatchingEnabled represents a LogMatchingEnabled event raised by the Oasis contract.

type OasisLogMatchingEnabledIterator

type OasisLogMatchingEnabledIterator struct {
	Event *OasisLogMatchingEnabled // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

OasisLogMatchingEnabledIterator is returned from FilterLogMatchingEnabled and is used to iterate over the raw logs and unpacked data for LogMatchingEnabled events raised by the Oasis contract.

func (*OasisLogMatchingEnabledIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*OasisLogMatchingEnabledIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*OasisLogMatchingEnabledIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type OasisLogMinSell

type OasisLogMinSell struct {
	PayGem    common.Address
	MinAmount *big.Int
	Raw       types.Log // Blockchain specific contextual infos
}

OasisLogMinSell represents a LogMinSell event raised by the Oasis contract.

type OasisLogMinSellIterator

type OasisLogMinSellIterator struct {
	Event *OasisLogMinSell // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

OasisLogMinSellIterator is returned from FilterLogMinSell and is used to iterate over the raw logs and unpacked data for LogMinSell events raised by the Oasis contract.

func (*OasisLogMinSellIterator) Close

func (it *OasisLogMinSellIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*OasisLogMinSellIterator) Error

func (it *OasisLogMinSellIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*OasisLogMinSellIterator) Next

func (it *OasisLogMinSellIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type OasisLogSetAuthority

type OasisLogSetAuthority struct {
	Authority common.Address
	Raw       types.Log // Blockchain specific contextual infos
}

OasisLogSetAuthority represents a LogSetAuthority event raised by the Oasis contract.

type OasisLogSetAuthorityIterator

type OasisLogSetAuthorityIterator struct {
	Event *OasisLogSetAuthority // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

OasisLogSetAuthorityIterator is returned from FilterLogSetAuthority and is used to iterate over the raw logs and unpacked data for LogSetAuthority events raised by the Oasis contract.

func (*OasisLogSetAuthorityIterator) Close

func (it *OasisLogSetAuthorityIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*OasisLogSetAuthorityIterator) Error

func (it *OasisLogSetAuthorityIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*OasisLogSetAuthorityIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type OasisLogSetOwner

type OasisLogSetOwner struct {
	Owner common.Address
	Raw   types.Log // Blockchain specific contextual infos
}

OasisLogSetOwner represents a LogSetOwner event raised by the Oasis contract.

type OasisLogSetOwnerIterator

type OasisLogSetOwnerIterator struct {
	Event *OasisLogSetOwner // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

OasisLogSetOwnerIterator is returned from FilterLogSetOwner and is used to iterate over the raw logs and unpacked data for LogSetOwner events raised by the Oasis contract.

func (*OasisLogSetOwnerIterator) Close

func (it *OasisLogSetOwnerIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*OasisLogSetOwnerIterator) Error

func (it *OasisLogSetOwnerIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*OasisLogSetOwnerIterator) Next

func (it *OasisLogSetOwnerIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type OasisLogSortedOffer

type OasisLogSortedOffer struct {
	Id  *big.Int
	Raw types.Log // Blockchain specific contextual infos
}

OasisLogSortedOffer represents a LogSortedOffer event raised by the Oasis contract.

type OasisLogSortedOfferIterator

type OasisLogSortedOfferIterator struct {
	Event *OasisLogSortedOffer // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

OasisLogSortedOfferIterator is returned from FilterLogSortedOffer and is used to iterate over the raw logs and unpacked data for LogSortedOffer events raised by the Oasis contract.

func (*OasisLogSortedOfferIterator) Close

func (it *OasisLogSortedOfferIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*OasisLogSortedOfferIterator) Error

func (it *OasisLogSortedOfferIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*OasisLogSortedOfferIterator) Next

func (it *OasisLogSortedOfferIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type OasisLogTake

type OasisLogTake struct {
	Id        [32]byte
	Pair      [32]byte
	Maker     common.Address
	PayGem    common.Address
	BuyGem    common.Address
	Taker     common.Address
	TakeAmt   *big.Int
	GiveAmt   *big.Int
	Timestamp uint64
	Raw       types.Log // Blockchain specific contextual infos
}

OasisLogTake represents a LogTake event raised by the Oasis contract.

type OasisLogTakeIterator

type OasisLogTakeIterator struct {
	Event *OasisLogTake // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

OasisLogTakeIterator is returned from FilterLogTake and is used to iterate over the raw logs and unpacked data for LogTake events raised by the Oasis contract.

func (*OasisLogTakeIterator) Close

func (it *OasisLogTakeIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*OasisLogTakeIterator) Error

func (it *OasisLogTakeIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*OasisLogTakeIterator) Next

func (it *OasisLogTakeIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type OasisLogTrade

type OasisLogTrade struct {
	PayAmt *big.Int
	PayGem common.Address
	BuyAmt *big.Int
	BuyGem common.Address
	Raw    types.Log // Blockchain specific contextual infos
}

OasisLogTrade represents a LogTrade event raised by the Oasis contract.

type OasisLogTradeIterator

type OasisLogTradeIterator struct {
	Event *OasisLogTrade // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

OasisLogTradeIterator is returned from FilterLogTrade and is used to iterate over the raw logs and unpacked data for LogTrade events raised by the Oasis contract.

func (*OasisLogTradeIterator) Close

func (it *OasisLogTradeIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*OasisLogTradeIterator) Error

func (it *OasisLogTradeIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*OasisLogTradeIterator) Next

func (it *OasisLogTradeIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type OasisLogUnsortedOffer

type OasisLogUnsortedOffer struct {
	Id  *big.Int
	Raw types.Log // Blockchain specific contextual infos
}

OasisLogUnsortedOffer represents a LogUnsortedOffer event raised by the Oasis contract.

type OasisLogUnsortedOfferIterator

type OasisLogUnsortedOfferIterator struct {
	Event *OasisLogUnsortedOffer // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

OasisLogUnsortedOfferIterator is returned from FilterLogUnsortedOffer and is used to iterate over the raw logs and unpacked data for LogUnsortedOffer events raised by the Oasis contract.

func (*OasisLogUnsortedOfferIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*OasisLogUnsortedOfferIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*OasisLogUnsortedOfferIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type OasisRaw

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

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

func (*OasisRaw) Call

func (_Oasis *OasisRaw) 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 (*OasisRaw) Transact

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

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

func (*OasisRaw) Transfer

func (_Oasis *OasisRaw) 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 OasisSession

type OasisSession struct {
	Contract     *Oasis            // 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
}

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

func (*OasisSession) Authority

func (_Oasis *OasisSession) Authority() (common.Address, error)

Authority is a free data retrieval call binding the contract method 0xbf7e214f.

Solidity: function authority() view returns(address)

func (*OasisSession) Best

func (_Oasis *OasisSession) Best(arg0 common.Address, arg1 common.Address) (*big.Int, error)

Best is a free data retrieval call binding the contract method 0x74c1d7d3.

Solidity: function _best(address , address ) view returns(uint256)

func (*OasisSession) Bump

func (_Oasis *OasisSession) Bump(id_ [32]byte) (*types.Transaction, error)

Bump is a paid mutator transaction binding the contract method 0x779997c3.

Solidity: function bump(bytes32 id_) returns()

func (*OasisSession) Buy

func (_Oasis *OasisSession) Buy(id *big.Int, amount *big.Int) (*types.Transaction, error)

Buy is a paid mutator transaction binding the contract method 0xd6febde8.

Solidity: function buy(uint256 id, uint256 amount) returns(bool)

func (*OasisSession) BuyAllAmount

func (_Oasis *OasisSession) BuyAllAmount(buy_gem common.Address, buy_amt *big.Int, pay_gem common.Address, max_fill_amount *big.Int) (*types.Transaction, error)

BuyAllAmount is a paid mutator transaction binding the contract method 0x8185402b.

Solidity: function buyAllAmount(address buy_gem, uint256 buy_amt, address pay_gem, uint256 max_fill_amount) returns(uint256 fill_amt)

func (*OasisSession) BuyEnabled

func (_Oasis *OasisSession) BuyEnabled() (bool, error)

BuyEnabled is a free data retrieval call binding the contract method 0xf582d293.

Solidity: function buyEnabled() view returns(bool)

func (*OasisSession) Cancel

func (_Oasis *OasisSession) Cancel(id *big.Int) (*types.Transaction, error)

Cancel is a paid mutator transaction binding the contract method 0x40e58ee5.

Solidity: function cancel(uint256 id) returns(bool success)

func (*OasisSession) CloseTime

func (_Oasis *OasisSession) CloseTime() (uint64, error)

CloseTime is a free data retrieval call binding the contract method 0x6377ebca.

Solidity: function close_time() view returns(uint64)

func (*OasisSession) DelRank

func (_Oasis *OasisSession) DelRank(id *big.Int) (*types.Transaction, error)

DelRank is a paid mutator transaction binding the contract method 0x467f0b7b.

Solidity: function del_rank(uint256 id) returns(bool)

func (*OasisSession) Dust

func (_Oasis *OasisSession) Dust(arg0 common.Address) (*big.Int, error)

Dust is a free data retrieval call binding the contract method 0x91be90c8.

Solidity: function _dust(address ) view returns(uint256)

func (*OasisSession) DustId

func (_Oasis *OasisSession) DustId() (*big.Int, error)

DustId is a free data retrieval call binding the contract method 0x56ad8764.

Solidity: function dustId() view returns(uint256)

func (*OasisSession) GetBestOffer

func (_Oasis *OasisSession) GetBestOffer(sell_gem common.Address, buy_gem common.Address) (*big.Int, error)

GetBestOffer is a free data retrieval call binding the contract method 0x0374fc6f.

Solidity: function getBestOffer(address sell_gem, address buy_gem) view returns(uint256)

func (*OasisSession) GetBetterOffer

func (_Oasis *OasisSession) GetBetterOffer(id *big.Int) (*big.Int, error)

GetBetterOffer is a free data retrieval call binding the contract method 0x911550f4.

Solidity: function getBetterOffer(uint256 id) view returns(uint256)

func (*OasisSession) GetBuyAmount

func (_Oasis *OasisSession) GetBuyAmount(buy_gem common.Address, pay_gem common.Address, pay_amt *big.Int) (*big.Int, error)

GetBuyAmount is a free data retrieval call binding the contract method 0x144a2752.

Solidity: function getBuyAmount(address buy_gem, address pay_gem, uint256 pay_amt) view returns(uint256 fill_amt)

func (*OasisSession) GetFirstUnsortedOffer

func (_Oasis *OasisSession) GetFirstUnsortedOffer() (*big.Int, error)

GetFirstUnsortedOffer is a free data retrieval call binding the contract method 0x8af82a2e.

Solidity: function getFirstUnsortedOffer() view returns(uint256)

func (*OasisSession) GetMinSell

func (_Oasis *OasisSession) GetMinSell(pay_gem common.Address) (*big.Int, error)

GetMinSell is a free data retrieval call binding the contract method 0x511fa487.

Solidity: function getMinSell(address pay_gem) view returns(uint256)

func (*OasisSession) GetNextUnsortedOffer

func (_Oasis *OasisSession) GetNextUnsortedOffer(id *big.Int) (*big.Int, error)

GetNextUnsortedOffer is a free data retrieval call binding the contract method 0x61f54a79.

Solidity: function getNextUnsortedOffer(uint256 id) view returns(uint256)

func (*OasisSession) GetOffer

func (_Oasis *OasisSession) GetOffer(id *big.Int) (*big.Int, common.Address, *big.Int, common.Address, error)

GetOffer is a free data retrieval call binding the contract method 0x4579268a.

Solidity: function getOffer(uint256 id) view returns(uint256, address, uint256, address)

func (*OasisSession) GetOfferCount

func (_Oasis *OasisSession) GetOfferCount(sell_gem common.Address, buy_gem common.Address) (*big.Int, error)

GetOfferCount is a free data retrieval call binding the contract method 0x7ca9429a.

Solidity: function getOfferCount(address sell_gem, address buy_gem) view returns(uint256)

func (*OasisSession) GetOwner

func (_Oasis *OasisSession) GetOwner(id *big.Int) (common.Address, error)

GetOwner is a free data retrieval call binding the contract method 0xc41a360a.

Solidity: function getOwner(uint256 id) view returns(address owner)

func (*OasisSession) GetPayAmount

func (_Oasis *OasisSession) GetPayAmount(pay_gem common.Address, buy_gem common.Address, buy_amt *big.Int) (*big.Int, error)

GetPayAmount is a free data retrieval call binding the contract method 0xff1fd974.

Solidity: function getPayAmount(address pay_gem, address buy_gem, uint256 buy_amt) view returns(uint256 fill_amt)

func (*OasisSession) GetTime

func (_Oasis *OasisSession) GetTime() (uint64, error)

GetTime is a free data retrieval call binding the contract method 0x557ed1ba.

Solidity: function getTime() view returns(uint64)

func (*OasisSession) GetWorseOffer

func (_Oasis *OasisSession) GetWorseOffer(id *big.Int) (*big.Int, error)

GetWorseOffer is a free data retrieval call binding the contract method 0x943911bc.

Solidity: function getWorseOffer(uint256 id) view returns(uint256)

func (*OasisSession) Insert

func (_Oasis *OasisSession) Insert(id *big.Int, pos *big.Int) (*types.Transaction, error)

Insert is a paid mutator transaction binding the contract method 0x1d834a1b.

Solidity: function insert(uint256 id, uint256 pos) returns(bool)

func (*OasisSession) IsActive

func (_Oasis *OasisSession) IsActive(id *big.Int) (bool, error)

IsActive is a free data retrieval call binding the contract method 0x82afd23b.

Solidity: function isActive(uint256 id) view returns(bool active)

func (*OasisSession) IsClosed

func (_Oasis *OasisSession) IsClosed() (bool, error)

IsClosed is a free data retrieval call binding the contract method 0xc2b6b58c.

Solidity: function isClosed() view returns(bool closed)

func (*OasisSession) IsOfferSorted

func (_Oasis *OasisSession) IsOfferSorted(id *big.Int) (bool, error)

IsOfferSorted is a free data retrieval call binding the contract method 0xd2b420ce.

Solidity: function isOfferSorted(uint256 id) view returns(bool)

func (*OasisSession) Kill

func (_Oasis *OasisSession) Kill(id [32]byte) (*types.Transaction, error)

Kill is a paid mutator transaction binding the contract method 0xb4f9b6c8.

Solidity: function kill(bytes32 id) returns()

func (*OasisSession) LastOfferId

func (_Oasis *OasisSession) LastOfferId() (*big.Int, error)

LastOfferId is a free data retrieval call binding the contract method 0x232cae0b.

Solidity: function last_offer_id() view returns(uint256)

func (*OasisSession) Make

func (_Oasis *OasisSession) Make(pay_gem common.Address, buy_gem common.Address, pay_amt *big.Int, buy_amt *big.Int) (*types.Transaction, error)

Make is a paid mutator transaction binding the contract method 0x093f5198.

Solidity: function make(address pay_gem, address buy_gem, uint128 pay_amt, uint128 buy_amt) returns(bytes32)

func (*OasisSession) MatchingEnabled

func (_Oasis *OasisSession) MatchingEnabled() (bool, error)

MatchingEnabled is a free data retrieval call binding the contract method 0x01492a0b.

Solidity: function matchingEnabled() view returns(bool)

func (*OasisSession) Near

func (_Oasis *OasisSession) Near(arg0 *big.Int) (*big.Int, error)

Near is a free data retrieval call binding the contract method 0xa78d4316.

Solidity: function _near(uint256 ) view returns(uint256)

func (*OasisSession) Offer

func (_Oasis *OasisSession) Offer(pay_amt *big.Int, pay_gem common.Address, buy_amt *big.Int, buy_gem common.Address, pos *big.Int) (*types.Transaction, error)

Offer is a paid mutator transaction binding the contract method 0x1b33d412.

Solidity: function offer(uint256 pay_amt, address pay_gem, uint256 buy_amt, address buy_gem, uint256 pos) returns(uint256)

func (*OasisSession) Offer0

func (_Oasis *OasisSession) Offer0(pay_amt *big.Int, pay_gem common.Address, buy_amt *big.Int, buy_gem common.Address, pos *big.Int, rounding bool) (*types.Transaction, error)

Offer0 is a paid mutator transaction binding the contract method 0xe1a6f014.

Solidity: function offer(uint256 pay_amt, address pay_gem, uint256 buy_amt, address buy_gem, uint256 pos, bool rounding) returns(uint256)

func (*OasisSession) Offer1

func (_Oasis *OasisSession) Offer1(pay_amt *big.Int, pay_gem common.Address, buy_amt *big.Int, buy_gem common.Address) (*types.Transaction, error)

Offer1 is a paid mutator transaction binding the contract method 0xf09ea2a6.

Solidity: function offer(uint256 pay_amt, address pay_gem, uint256 buy_amt, address buy_gem) returns(uint256)

func (*OasisSession) Offers

func (_Oasis *OasisSession) Offers(arg0 *big.Int) (struct {
	PayAmt    *big.Int
	PayGem    common.Address
	BuyAmt    *big.Int
	BuyGem    common.Address
	Owner     common.Address
	Timestamp uint64
}, error)

Offers is a free data retrieval call binding the contract method 0x8a72ea6a.

Solidity: function offers(uint256 ) view returns(uint256 pay_amt, address pay_gem, uint256 buy_amt, address buy_gem, address owner, uint64 timestamp)

func (*OasisSession) Owner

func (_Oasis *OasisSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*OasisSession) Rank

func (_Oasis *OasisSession) Rank(arg0 *big.Int) (struct {
	Next *big.Int
	Prev *big.Int
	Delb *big.Int
}, error)

Rank is a free data retrieval call binding the contract method 0xc2d526aa.

Solidity: function _rank(uint256 ) view returns(uint256 next, uint256 prev, uint256 delb)

func (*OasisSession) SellAllAmount

func (_Oasis *OasisSession) SellAllAmount(pay_gem common.Address, pay_amt *big.Int, buy_gem common.Address, min_fill_amount *big.Int) (*types.Transaction, error)

SellAllAmount is a paid mutator transaction binding the contract method 0x0621b4f6.

Solidity: function sellAllAmount(address pay_gem, uint256 pay_amt, address buy_gem, uint256 min_fill_amount) returns(uint256 fill_amt)

func (*OasisSession) SetAuthority

func (_Oasis *OasisSession) SetAuthority(authority_ common.Address) (*types.Transaction, error)

SetAuthority is a paid mutator transaction binding the contract method 0x7a9e5e4b.

Solidity: function setAuthority(address authority_) returns()

func (*OasisSession) SetBuyEnabled

func (_Oasis *OasisSession) SetBuyEnabled(buyEnabled_ bool) (*types.Transaction, error)

SetBuyEnabled is a paid mutator transaction binding the contract method 0xd6f15469.

Solidity: function setBuyEnabled(bool buyEnabled_) returns(bool)

func (*OasisSession) SetMatchingEnabled

func (_Oasis *OasisSession) SetMatchingEnabled(matchingEnabled_ bool) (*types.Transaction, error)

SetMatchingEnabled is a paid mutator transaction binding the contract method 0x2aed1905.

Solidity: function setMatchingEnabled(bool matchingEnabled_) returns(bool)

func (*OasisSession) SetMinSell

func (_Oasis *OasisSession) SetMinSell(pay_gem common.Address, dust *big.Int) (*types.Transaction, error)

SetMinSell is a paid mutator transaction binding the contract method 0xbf7c734e.

Solidity: function setMinSell(address pay_gem, uint256 dust) returns(bool)

func (*OasisSession) SetOwner

func (_Oasis *OasisSession) SetOwner(owner_ common.Address) (*types.Transaction, error)

SetOwner is a paid mutator transaction binding the contract method 0x13af4035.

Solidity: function setOwner(address owner_) returns()

func (*OasisSession) Span

func (_Oasis *OasisSession) Span(arg0 common.Address, arg1 common.Address) (*big.Int, error)

Span is a free data retrieval call binding the contract method 0x677170e1.

Solidity: function _span(address , address ) view returns(uint256)

func (*OasisSession) Stop

func (_Oasis *OasisSession) Stop() (*types.Transaction, error)

Stop is a paid mutator transaction binding the contract method 0x07da68f5.

Solidity: function stop() returns()

func (*OasisSession) Stopped

func (_Oasis *OasisSession) Stopped() (bool, error)

Stopped is a free data retrieval call binding the contract method 0x75f12b21.

Solidity: function stopped() view returns(bool)

func (*OasisSession) Take

func (_Oasis *OasisSession) Take(id [32]byte, maxTakeAmount *big.Int) (*types.Transaction, error)

Take is a paid mutator transaction binding the contract method 0x49606455.

Solidity: function take(bytes32 id, uint128 maxTakeAmount) returns()

type OasisTransactor

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

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

func NewOasisTransactor

func NewOasisTransactor(address common.Address, transactor bind.ContractTransactor) (*OasisTransactor, error)

NewOasisTransactor creates a new write-only instance of Oasis, bound to a specific deployed contract.

func (*OasisTransactor) Bump

func (_Oasis *OasisTransactor) Bump(opts *bind.TransactOpts, id_ [32]byte) (*types.Transaction, error)

Bump is a paid mutator transaction binding the contract method 0x779997c3.

Solidity: function bump(bytes32 id_) returns()

func (*OasisTransactor) Buy

func (_Oasis *OasisTransactor) Buy(opts *bind.TransactOpts, id *big.Int, amount *big.Int) (*types.Transaction, error)

Buy is a paid mutator transaction binding the contract method 0xd6febde8.

Solidity: function buy(uint256 id, uint256 amount) returns(bool)

func (*OasisTransactor) BuyAllAmount

func (_Oasis *OasisTransactor) BuyAllAmount(opts *bind.TransactOpts, buy_gem common.Address, buy_amt *big.Int, pay_gem common.Address, max_fill_amount *big.Int) (*types.Transaction, error)

BuyAllAmount is a paid mutator transaction binding the contract method 0x8185402b.

Solidity: function buyAllAmount(address buy_gem, uint256 buy_amt, address pay_gem, uint256 max_fill_amount) returns(uint256 fill_amt)

func (*OasisTransactor) Cancel

func (_Oasis *OasisTransactor) Cancel(opts *bind.TransactOpts, id *big.Int) (*types.Transaction, error)

Cancel is a paid mutator transaction binding the contract method 0x40e58ee5.

Solidity: function cancel(uint256 id) returns(bool success)

func (*OasisTransactor) DelRank

func (_Oasis *OasisTransactor) DelRank(opts *bind.TransactOpts, id *big.Int) (*types.Transaction, error)

DelRank is a paid mutator transaction binding the contract method 0x467f0b7b.

Solidity: function del_rank(uint256 id) returns(bool)

func (*OasisTransactor) Insert

func (_Oasis *OasisTransactor) Insert(opts *bind.TransactOpts, id *big.Int, pos *big.Int) (*types.Transaction, error)

Insert is a paid mutator transaction binding the contract method 0x1d834a1b.

Solidity: function insert(uint256 id, uint256 pos) returns(bool)

func (*OasisTransactor) Kill

func (_Oasis *OasisTransactor) Kill(opts *bind.TransactOpts, id [32]byte) (*types.Transaction, error)

Kill is a paid mutator transaction binding the contract method 0xb4f9b6c8.

Solidity: function kill(bytes32 id) returns()

func (*OasisTransactor) Make

func (_Oasis *OasisTransactor) Make(opts *bind.TransactOpts, pay_gem common.Address, buy_gem common.Address, pay_amt *big.Int, buy_amt *big.Int) (*types.Transaction, error)

Make is a paid mutator transaction binding the contract method 0x093f5198.

Solidity: function make(address pay_gem, address buy_gem, uint128 pay_amt, uint128 buy_amt) returns(bytes32)

func (*OasisTransactor) Offer

func (_Oasis *OasisTransactor) Offer(opts *bind.TransactOpts, pay_amt *big.Int, pay_gem common.Address, buy_amt *big.Int, buy_gem common.Address, pos *big.Int) (*types.Transaction, error)

Offer is a paid mutator transaction binding the contract method 0x1b33d412.

Solidity: function offer(uint256 pay_amt, address pay_gem, uint256 buy_amt, address buy_gem, uint256 pos) returns(uint256)

func (*OasisTransactor) Offer0

func (_Oasis *OasisTransactor) Offer0(opts *bind.TransactOpts, pay_amt *big.Int, pay_gem common.Address, buy_amt *big.Int, buy_gem common.Address, pos *big.Int, rounding bool) (*types.Transaction, error)

Offer0 is a paid mutator transaction binding the contract method 0xe1a6f014.

Solidity: function offer(uint256 pay_amt, address pay_gem, uint256 buy_amt, address buy_gem, uint256 pos, bool rounding) returns(uint256)

func (*OasisTransactor) Offer1

func (_Oasis *OasisTransactor) Offer1(opts *bind.TransactOpts, pay_amt *big.Int, pay_gem common.Address, buy_amt *big.Int, buy_gem common.Address) (*types.Transaction, error)

Offer1 is a paid mutator transaction binding the contract method 0xf09ea2a6.

Solidity: function offer(uint256 pay_amt, address pay_gem, uint256 buy_amt, address buy_gem) returns(uint256)

func (*OasisTransactor) SellAllAmount

func (_Oasis *OasisTransactor) SellAllAmount(opts *bind.TransactOpts, pay_gem common.Address, pay_amt *big.Int, buy_gem common.Address, min_fill_amount *big.Int) (*types.Transaction, error)

SellAllAmount is a paid mutator transaction binding the contract method 0x0621b4f6.

Solidity: function sellAllAmount(address pay_gem, uint256 pay_amt, address buy_gem, uint256 min_fill_amount) returns(uint256 fill_amt)

func (*OasisTransactor) SetAuthority

func (_Oasis *OasisTransactor) SetAuthority(opts *bind.TransactOpts, authority_ common.Address) (*types.Transaction, error)

SetAuthority is a paid mutator transaction binding the contract method 0x7a9e5e4b.

Solidity: function setAuthority(address authority_) returns()

func (*OasisTransactor) SetBuyEnabled

func (_Oasis *OasisTransactor) SetBuyEnabled(opts *bind.TransactOpts, buyEnabled_ bool) (*types.Transaction, error)

SetBuyEnabled is a paid mutator transaction binding the contract method 0xd6f15469.

Solidity: function setBuyEnabled(bool buyEnabled_) returns(bool)

func (*OasisTransactor) SetMatchingEnabled

func (_Oasis *OasisTransactor) SetMatchingEnabled(opts *bind.TransactOpts, matchingEnabled_ bool) (*types.Transaction, error)

SetMatchingEnabled is a paid mutator transaction binding the contract method 0x2aed1905.

Solidity: function setMatchingEnabled(bool matchingEnabled_) returns(bool)

func (*OasisTransactor) SetMinSell

func (_Oasis *OasisTransactor) SetMinSell(opts *bind.TransactOpts, pay_gem common.Address, dust *big.Int) (*types.Transaction, error)

SetMinSell is a paid mutator transaction binding the contract method 0xbf7c734e.

Solidity: function setMinSell(address pay_gem, uint256 dust) returns(bool)

func (*OasisTransactor) SetOwner

func (_Oasis *OasisTransactor) SetOwner(opts *bind.TransactOpts, owner_ common.Address) (*types.Transaction, error)

SetOwner is a paid mutator transaction binding the contract method 0x13af4035.

Solidity: function setOwner(address owner_) returns()

func (*OasisTransactor) Stop

func (_Oasis *OasisTransactor) Stop(opts *bind.TransactOpts) (*types.Transaction, error)

Stop is a paid mutator transaction binding the contract method 0x07da68f5.

Solidity: function stop() returns()

func (*OasisTransactor) Take

func (_Oasis *OasisTransactor) Take(opts *bind.TransactOpts, id [32]byte, maxTakeAmount *big.Int) (*types.Transaction, error)

Take is a paid mutator transaction binding the contract method 0x49606455.

Solidity: function take(bytes32 id, uint128 maxTakeAmount) returns()

type OasisTransactorRaw

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

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

func (*OasisTransactorRaw) Transact

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

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

func (*OasisTransactorRaw) Transfer

func (_Oasis *OasisTransactorRaw) 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 OasisTransactorSession

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

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

func (*OasisTransactorSession) Bump

func (_Oasis *OasisTransactorSession) Bump(id_ [32]byte) (*types.Transaction, error)

Bump is a paid mutator transaction binding the contract method 0x779997c3.

Solidity: function bump(bytes32 id_) returns()

func (*OasisTransactorSession) Buy

func (_Oasis *OasisTransactorSession) Buy(id *big.Int, amount *big.Int) (*types.Transaction, error)

Buy is a paid mutator transaction binding the contract method 0xd6febde8.

Solidity: function buy(uint256 id, uint256 amount) returns(bool)

func (*OasisTransactorSession) BuyAllAmount

func (_Oasis *OasisTransactorSession) BuyAllAmount(buy_gem common.Address, buy_amt *big.Int, pay_gem common.Address, max_fill_amount *big.Int) (*types.Transaction, error)

BuyAllAmount is a paid mutator transaction binding the contract method 0x8185402b.

Solidity: function buyAllAmount(address buy_gem, uint256 buy_amt, address pay_gem, uint256 max_fill_amount) returns(uint256 fill_amt)

func (*OasisTransactorSession) Cancel

func (_Oasis *OasisTransactorSession) Cancel(id *big.Int) (*types.Transaction, error)

Cancel is a paid mutator transaction binding the contract method 0x40e58ee5.

Solidity: function cancel(uint256 id) returns(bool success)

func (*OasisTransactorSession) DelRank

func (_Oasis *OasisTransactorSession) DelRank(id *big.Int) (*types.Transaction, error)

DelRank is a paid mutator transaction binding the contract method 0x467f0b7b.

Solidity: function del_rank(uint256 id) returns(bool)

func (*OasisTransactorSession) Insert

func (_Oasis *OasisTransactorSession) Insert(id *big.Int, pos *big.Int) (*types.Transaction, error)

Insert is a paid mutator transaction binding the contract method 0x1d834a1b.

Solidity: function insert(uint256 id, uint256 pos) returns(bool)

func (*OasisTransactorSession) Kill

func (_Oasis *OasisTransactorSession) Kill(id [32]byte) (*types.Transaction, error)

Kill is a paid mutator transaction binding the contract method 0xb4f9b6c8.

Solidity: function kill(bytes32 id) returns()

func (*OasisTransactorSession) Make

func (_Oasis *OasisTransactorSession) Make(pay_gem common.Address, buy_gem common.Address, pay_amt *big.Int, buy_amt *big.Int) (*types.Transaction, error)

Make is a paid mutator transaction binding the contract method 0x093f5198.

Solidity: function make(address pay_gem, address buy_gem, uint128 pay_amt, uint128 buy_amt) returns(bytes32)

func (*OasisTransactorSession) Offer

func (_Oasis *OasisTransactorSession) Offer(pay_amt *big.Int, pay_gem common.Address, buy_amt *big.Int, buy_gem common.Address, pos *big.Int) (*types.Transaction, error)

Offer is a paid mutator transaction binding the contract method 0x1b33d412.

Solidity: function offer(uint256 pay_amt, address pay_gem, uint256 buy_amt, address buy_gem, uint256 pos) returns(uint256)

func (*OasisTransactorSession) Offer0

func (_Oasis *OasisTransactorSession) Offer0(pay_amt *big.Int, pay_gem common.Address, buy_amt *big.Int, buy_gem common.Address, pos *big.Int, rounding bool) (*types.Transaction, error)

Offer0 is a paid mutator transaction binding the contract method 0xe1a6f014.

Solidity: function offer(uint256 pay_amt, address pay_gem, uint256 buy_amt, address buy_gem, uint256 pos, bool rounding) returns(uint256)

func (*OasisTransactorSession) Offer1

func (_Oasis *OasisTransactorSession) Offer1(pay_amt *big.Int, pay_gem common.Address, buy_amt *big.Int, buy_gem common.Address) (*types.Transaction, error)

Offer1 is a paid mutator transaction binding the contract method 0xf09ea2a6.

Solidity: function offer(uint256 pay_amt, address pay_gem, uint256 buy_amt, address buy_gem) returns(uint256)

func (*OasisTransactorSession) SellAllAmount

func (_Oasis *OasisTransactorSession) SellAllAmount(pay_gem common.Address, pay_amt *big.Int, buy_gem common.Address, min_fill_amount *big.Int) (*types.Transaction, error)

SellAllAmount is a paid mutator transaction binding the contract method 0x0621b4f6.

Solidity: function sellAllAmount(address pay_gem, uint256 pay_amt, address buy_gem, uint256 min_fill_amount) returns(uint256 fill_amt)

func (*OasisTransactorSession) SetAuthority

func (_Oasis *OasisTransactorSession) SetAuthority(authority_ common.Address) (*types.Transaction, error)

SetAuthority is a paid mutator transaction binding the contract method 0x7a9e5e4b.

Solidity: function setAuthority(address authority_) returns()

func (*OasisTransactorSession) SetBuyEnabled

func (_Oasis *OasisTransactorSession) SetBuyEnabled(buyEnabled_ bool) (*types.Transaction, error)

SetBuyEnabled is a paid mutator transaction binding the contract method 0xd6f15469.

Solidity: function setBuyEnabled(bool buyEnabled_) returns(bool)

func (*OasisTransactorSession) SetMatchingEnabled

func (_Oasis *OasisTransactorSession) SetMatchingEnabled(matchingEnabled_ bool) (*types.Transaction, error)

SetMatchingEnabled is a paid mutator transaction binding the contract method 0x2aed1905.

Solidity: function setMatchingEnabled(bool matchingEnabled_) returns(bool)

func (*OasisTransactorSession) SetMinSell

func (_Oasis *OasisTransactorSession) SetMinSell(pay_gem common.Address, dust *big.Int) (*types.Transaction, error)

SetMinSell is a paid mutator transaction binding the contract method 0xbf7c734e.

Solidity: function setMinSell(address pay_gem, uint256 dust) returns(bool)

func (*OasisTransactorSession) SetOwner

func (_Oasis *OasisTransactorSession) SetOwner(owner_ common.Address) (*types.Transaction, error)

SetOwner is a paid mutator transaction binding the contract method 0x13af4035.

Solidity: function setOwner(address owner_) returns()

func (*OasisTransactorSession) Stop

func (_Oasis *OasisTransactorSession) Stop() (*types.Transaction, error)

Stop is a paid mutator transaction binding the contract method 0x07da68f5.

Solidity: function stop() returns()

func (*OasisTransactorSession) Take

func (_Oasis *OasisTransactorSession) Take(id [32]byte, maxTakeAmount *big.Int) (*types.Transaction, error)

Take is a paid mutator transaction binding the contract method 0x49606455.

Solidity: function take(bytes32 id, uint128 maxTakeAmount) returns()

type Oneinch

type Oneinch struct {
	OneinchCaller     // Read-only binding to the contract
	OneinchTransactor // Write-only binding to the contract
	OneinchFilterer   // Log filterer for contract events
}

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

func NewOneinch

func NewOneinch(address common.Address, backend bind.ContractBackend) (*Oneinch, error)

NewOneinch creates a new instance of Oneinch, bound to a specific deployed contract.

type OneinchCaller

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

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

func NewOneinchCaller

func NewOneinchCaller(address common.Address, caller bind.ContractCaller) (*OneinchCaller, error)

NewOneinchCaller creates a new read-only instance of Oneinch, bound to a specific deployed contract.

func (*OneinchCaller) FLAGDISABLEAAVE

func (_Oneinch *OneinchCaller) FLAGDISABLEAAVE(opts *bind.CallOpts) (*big.Int, error)

FLAGDISABLEAAVE is a free data retrieval call binding the contract method 0x2e707bd2.

Solidity: function FLAG_DISABLE_AAVE() view returns(uint256)

func (*OneinchCaller) FLAGDISABLEBANCOR

func (_Oneinch *OneinchCaller) FLAGDISABLEBANCOR(opts *bind.CallOpts) (*big.Int, error)

FLAGDISABLEBANCOR is a free data retrieval call binding the contract method 0xf56e281f.

Solidity: function FLAG_DISABLE_BANCOR() view returns(uint256)

func (*OneinchCaller) FLAGDISABLEBDAI

func (_Oneinch *OneinchCaller) FLAGDISABLEBDAI(opts *bind.CallOpts) (*big.Int, error)

FLAGDISABLEBDAI is a free data retrieval call binding the contract method 0x75a8b012.

Solidity: function FLAG_DISABLE_BDAI() view returns(uint256)

func (*OneinchCaller) FLAGDISABLECHAI

func (_Oneinch *OneinchCaller) FLAGDISABLECHAI(opts *bind.CallOpts) (*big.Int, error)

FLAGDISABLECHAI is a free data retrieval call binding the contract method 0x34b4dabb.

Solidity: function FLAG_DISABLE_CHAI() view returns(uint256)

func (*OneinchCaller) FLAGDISABLECOMPOUND

func (_Oneinch *OneinchCaller) FLAGDISABLECOMPOUND(opts *bind.CallOpts) (*big.Int, error)

FLAGDISABLECOMPOUND is a free data retrieval call binding the contract method 0x44211d62.

Solidity: function FLAG_DISABLE_COMPOUND() view returns(uint256)

func (*OneinchCaller) FLAGDISABLECURVEBINANCE

func (_Oneinch *OneinchCaller) FLAGDISABLECURVEBINANCE(opts *bind.CallOpts) (*big.Int, error)

FLAGDISABLECURVEBINANCE is a free data retrieval call binding the contract method 0x2113240d.

Solidity: function FLAG_DISABLE_CURVE_BINANCE() view returns(uint256)

func (*OneinchCaller) FLAGDISABLECURVECOMPOUND

func (_Oneinch *OneinchCaller) FLAGDISABLECURVECOMPOUND(opts *bind.CallOpts) (*big.Int, error)

FLAGDISABLECURVECOMPOUND is a free data retrieval call binding the contract method 0xb0a7ef29.

Solidity: function FLAG_DISABLE_CURVE_COMPOUND() view returns(uint256)

func (*OneinchCaller) FLAGDISABLECURVESYNTHETIX

func (_Oneinch *OneinchCaller) FLAGDISABLECURVESYNTHETIX(opts *bind.CallOpts) (*big.Int, error)

FLAGDISABLECURVESYNTHETIX is a free data retrieval call binding the contract method 0xc9b42c67.

Solidity: function FLAG_DISABLE_CURVE_SYNTHETIX() view returns(uint256)

func (*OneinchCaller) FLAGDISABLECURVEUSDT

func (_Oneinch *OneinchCaller) FLAGDISABLECURVEUSDT(opts *bind.CallOpts) (*big.Int, error)

FLAGDISABLECURVEUSDT is a free data retrieval call binding the contract method 0x13989140.

Solidity: function FLAG_DISABLE_CURVE_USDT() view returns(uint256)

func (*OneinchCaller) FLAGDISABLECURVEY

func (_Oneinch *OneinchCaller) FLAGDISABLECURVEY(opts *bind.CallOpts) (*big.Int, error)

FLAGDISABLECURVEY is a free data retrieval call binding the contract method 0x5aa8fb48.

Solidity: function FLAG_DISABLE_CURVE_Y() view returns(uint256)

func (*OneinchCaller) FLAGDISABLEFULCRUM

func (_Oneinch *OneinchCaller) FLAGDISABLEFULCRUM(opts *bind.CallOpts) (*big.Int, error)

FLAGDISABLEFULCRUM is a free data retrieval call binding the contract method 0x4a7101d5.

Solidity: function FLAG_DISABLE_FULCRUM() view returns(uint256)

func (*OneinchCaller) FLAGDISABLEIEARN

func (_Oneinch *OneinchCaller) FLAGDISABLEIEARN(opts *bind.CallOpts) (*big.Int, error)

FLAGDISABLEIEARN is a free data retrieval call binding the contract method 0x5ae51b82.

Solidity: function FLAG_DISABLE_IEARN() view returns(uint256)

func (*OneinchCaller) FLAGDISABLEKYBER

func (_Oneinch *OneinchCaller) FLAGDISABLEKYBER(opts *bind.CallOpts) (*big.Int, error)

FLAGDISABLEKYBER is a free data retrieval call binding the contract method 0x7a88bdbd.

Solidity: function FLAG_DISABLE_KYBER() view returns(uint256)

func (*OneinchCaller) FLAGDISABLEOASIS

func (_Oneinch *OneinchCaller) FLAGDISABLEOASIS(opts *bind.CallOpts) (*big.Int, error)

FLAGDISABLEOASIS is a free data retrieval call binding the contract method 0x5c0cb479.

Solidity: function FLAG_DISABLE_OASIS() view returns(uint256)

func (*OneinchCaller) FLAGDISABLESMARTTOKEN

func (_Oneinch *OneinchCaller) FLAGDISABLESMARTTOKEN(opts *bind.CallOpts) (*big.Int, error)

FLAGDISABLESMARTTOKEN is a free data retrieval call binding the contract method 0xdc1536b2.

Solidity: function FLAG_DISABLE_SMART_TOKEN() view returns(uint256)

func (*OneinchCaller) FLAGDISABLEUNISWAP

func (_Oneinch *OneinchCaller) FLAGDISABLEUNISWAP(opts *bind.CallOpts) (*big.Int, error)

FLAGDISABLEUNISWAP is a free data retrieval call binding the contract method 0xc762a46c.

Solidity: function FLAG_DISABLE_UNISWAP() view returns(uint256)

func (*OneinchCaller) FLAGDISABLEWETH

func (_Oneinch *OneinchCaller) FLAGDISABLEWETH(opts *bind.CallOpts) (*big.Int, error)

FLAGDISABLEWETH is a free data retrieval call binding the contract method 0x6cbc4a6e.

Solidity: function FLAG_DISABLE_WETH() view returns(uint256)

func (*OneinchCaller) FLAGENABLEKYBERBANCORRESERVE

func (_Oneinch *OneinchCaller) FLAGENABLEKYBERBANCORRESERVE(opts *bind.CallOpts) (*big.Int, error)

FLAGENABLEKYBERBANCORRESERVE is a free data retrieval call binding the contract method 0xb3bc7844.

Solidity: function FLAG_ENABLE_KYBER_BANCOR_RESERVE() view returns(uint256)

func (*OneinchCaller) FLAGENABLEKYBEROASISRESERVE

func (_Oneinch *OneinchCaller) FLAGENABLEKYBEROASISRESERVE(opts *bind.CallOpts) (*big.Int, error)

FLAGENABLEKYBEROASISRESERVE is a free data retrieval call binding the contract method 0x21a360f5.

Solidity: function FLAG_ENABLE_KYBER_OASIS_RESERVE() view returns(uint256)

func (*OneinchCaller) FLAGENABLEKYBERUNISWAPRESERVE

func (_Oneinch *OneinchCaller) FLAGENABLEKYBERUNISWAPRESERVE(opts *bind.CallOpts) (*big.Int, error)

FLAGENABLEKYBERUNISWAPRESERVE is a free data retrieval call binding the contract method 0x2d3b5207.

Solidity: function FLAG_ENABLE_KYBER_UNISWAP_RESERVE() view returns(uint256)

func (*OneinchCaller) FLAGENABLEMULTIPATHDAI

func (_Oneinch *OneinchCaller) FLAGENABLEMULTIPATHDAI(opts *bind.CallOpts) (*big.Int, error)

FLAGENABLEMULTIPATHDAI is a free data retrieval call binding the contract method 0xd393c3e9.

Solidity: function FLAG_ENABLE_MULTI_PATH_DAI() view returns(uint256)

func (*OneinchCaller) FLAGENABLEMULTIPATHETH

func (_Oneinch *OneinchCaller) FLAGENABLEMULTIPATHETH(opts *bind.CallOpts) (*big.Int, error)

FLAGENABLEMULTIPATHETH is a free data retrieval call binding the contract method 0xc77b9de6.

Solidity: function FLAG_ENABLE_MULTI_PATH_ETH() view returns(uint256)

func (*OneinchCaller) FLAGENABLEMULTIPATHUSDC

func (_Oneinch *OneinchCaller) FLAGENABLEMULTIPATHUSDC(opts *bind.CallOpts) (*big.Int, error)

FLAGENABLEMULTIPATHUSDC is a free data retrieval call binding the contract method 0x64ec4e5c.

Solidity: function FLAG_ENABLE_MULTI_PATH_USDC() view returns(uint256)

func (*OneinchCaller) FLAGENABLEUNISWAPCOMPOUND

func (_Oneinch *OneinchCaller) FLAGENABLEUNISWAPCOMPOUND(opts *bind.CallOpts) (*big.Int, error)

FLAGENABLEUNISWAPCOMPOUND is a free data retrieval call binding the contract method 0x68e2a014.

Solidity: function FLAG_ENABLE_UNISWAP_COMPOUND() view returns(uint256)

func (*OneinchCaller) GetExpectedReturn

func (_Oneinch *OneinchCaller) GetExpectedReturn(opts *bind.CallOpts, fromToken common.Address, toToken common.Address, amount *big.Int, parts *big.Int, featureFlags *big.Int) (struct {
	ReturnAmount *big.Int
	Distribution []*big.Int
}, error)

GetExpectedReturn is a free data retrieval call binding the contract method 0x085e2c5b.

Solidity: function getExpectedReturn(address fromToken, address toToken, uint256 amount, uint256 parts, uint256 featureFlags) view returns(uint256 returnAmount, uint256[] distribution)

func (*OneinchCaller) IsOwner

func (_Oneinch *OneinchCaller) IsOwner(opts *bind.CallOpts) (bool, error)

IsOwner is a free data retrieval call binding the contract method 0x8f32d59b.

Solidity: function isOwner() view returns(bool)

func (*OneinchCaller) OneSplitImpl

func (_Oneinch *OneinchCaller) OneSplitImpl(opts *bind.CallOpts) (common.Address, error)

OneSplitImpl is a free data retrieval call binding the contract method 0x867807ca.

Solidity: function oneSplitImpl() view returns(address)

func (*OneinchCaller) Owner

func (_Oneinch *OneinchCaller) 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)

type OneinchCallerRaw

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

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

func (*OneinchCallerRaw) Call

func (_Oneinch *OneinchCallerRaw) 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 OneinchCallerSession

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

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

func (*OneinchCallerSession) FLAGDISABLEAAVE

func (_Oneinch *OneinchCallerSession) FLAGDISABLEAAVE() (*big.Int, error)

FLAGDISABLEAAVE is a free data retrieval call binding the contract method 0x2e707bd2.

Solidity: function FLAG_DISABLE_AAVE() view returns(uint256)

func (*OneinchCallerSession) FLAGDISABLEBANCOR

func (_Oneinch *OneinchCallerSession) FLAGDISABLEBANCOR() (*big.Int, error)

FLAGDISABLEBANCOR is a free data retrieval call binding the contract method 0xf56e281f.

Solidity: function FLAG_DISABLE_BANCOR() view returns(uint256)

func (*OneinchCallerSession) FLAGDISABLEBDAI

func (_Oneinch *OneinchCallerSession) FLAGDISABLEBDAI() (*big.Int, error)

FLAGDISABLEBDAI is a free data retrieval call binding the contract method 0x75a8b012.

Solidity: function FLAG_DISABLE_BDAI() view returns(uint256)

func (*OneinchCallerSession) FLAGDISABLECHAI

func (_Oneinch *OneinchCallerSession) FLAGDISABLECHAI() (*big.Int, error)

FLAGDISABLECHAI is a free data retrieval call binding the contract method 0x34b4dabb.

Solidity: function FLAG_DISABLE_CHAI() view returns(uint256)

func (*OneinchCallerSession) FLAGDISABLECOMPOUND

func (_Oneinch *OneinchCallerSession) FLAGDISABLECOMPOUND() (*big.Int, error)

FLAGDISABLECOMPOUND is a free data retrieval call binding the contract method 0x44211d62.

Solidity: function FLAG_DISABLE_COMPOUND() view returns(uint256)

func (*OneinchCallerSession) FLAGDISABLECURVEBINANCE

func (_Oneinch *OneinchCallerSession) FLAGDISABLECURVEBINANCE() (*big.Int, error)

FLAGDISABLECURVEBINANCE is a free data retrieval call binding the contract method 0x2113240d.

Solidity: function FLAG_DISABLE_CURVE_BINANCE() view returns(uint256)

func (*OneinchCallerSession) FLAGDISABLECURVECOMPOUND

func (_Oneinch *OneinchCallerSession) FLAGDISABLECURVECOMPOUND() (*big.Int, error)

FLAGDISABLECURVECOMPOUND is a free data retrieval call binding the contract method 0xb0a7ef29.

Solidity: function FLAG_DISABLE_CURVE_COMPOUND() view returns(uint256)

func (*OneinchCallerSession) FLAGDISABLECURVESYNTHETIX

func (_Oneinch *OneinchCallerSession) FLAGDISABLECURVESYNTHETIX() (*big.Int, error)

FLAGDISABLECURVESYNTHETIX is a free data retrieval call binding the contract method 0xc9b42c67.

Solidity: function FLAG_DISABLE_CURVE_SYNTHETIX() view returns(uint256)

func (*OneinchCallerSession) FLAGDISABLECURVEUSDT

func (_Oneinch *OneinchCallerSession) FLAGDISABLECURVEUSDT() (*big.Int, error)

FLAGDISABLECURVEUSDT is a free data retrieval call binding the contract method 0x13989140.

Solidity: function FLAG_DISABLE_CURVE_USDT() view returns(uint256)

func (*OneinchCallerSession) FLAGDISABLECURVEY

func (_Oneinch *OneinchCallerSession) FLAGDISABLECURVEY() (*big.Int, error)

FLAGDISABLECURVEY is a free data retrieval call binding the contract method 0x5aa8fb48.

Solidity: function FLAG_DISABLE_CURVE_Y() view returns(uint256)

func (*OneinchCallerSession) FLAGDISABLEFULCRUM

func (_Oneinch *OneinchCallerSession) FLAGDISABLEFULCRUM() (*big.Int, error)

FLAGDISABLEFULCRUM is a free data retrieval call binding the contract method 0x4a7101d5.

Solidity: function FLAG_DISABLE_FULCRUM() view returns(uint256)

func (*OneinchCallerSession) FLAGDISABLEIEARN

func (_Oneinch *OneinchCallerSession) FLAGDISABLEIEARN() (*big.Int, error)

FLAGDISABLEIEARN is a free data retrieval call binding the contract method 0x5ae51b82.

Solidity: function FLAG_DISABLE_IEARN() view returns(uint256)

func (*OneinchCallerSession) FLAGDISABLEKYBER

func (_Oneinch *OneinchCallerSession) FLAGDISABLEKYBER() (*big.Int, error)

FLAGDISABLEKYBER is a free data retrieval call binding the contract method 0x7a88bdbd.

Solidity: function FLAG_DISABLE_KYBER() view returns(uint256)

func (*OneinchCallerSession) FLAGDISABLEOASIS

func (_Oneinch *OneinchCallerSession) FLAGDISABLEOASIS() (*big.Int, error)

FLAGDISABLEOASIS is a free data retrieval call binding the contract method 0x5c0cb479.

Solidity: function FLAG_DISABLE_OASIS() view returns(uint256)

func (*OneinchCallerSession) FLAGDISABLESMARTTOKEN

func (_Oneinch *OneinchCallerSession) FLAGDISABLESMARTTOKEN() (*big.Int, error)

FLAGDISABLESMARTTOKEN is a free data retrieval call binding the contract method 0xdc1536b2.

Solidity: function FLAG_DISABLE_SMART_TOKEN() view returns(uint256)

func (*OneinchCallerSession) FLAGDISABLEUNISWAP

func (_Oneinch *OneinchCallerSession) FLAGDISABLEUNISWAP() (*big.Int, error)

FLAGDISABLEUNISWAP is a free data retrieval call binding the contract method 0xc762a46c.

Solidity: function FLAG_DISABLE_UNISWAP() view returns(uint256)

func (*OneinchCallerSession) FLAGDISABLEWETH

func (_Oneinch *OneinchCallerSession) FLAGDISABLEWETH() (*big.Int, error)

FLAGDISABLEWETH is a free data retrieval call binding the contract method 0x6cbc4a6e.

Solidity: function FLAG_DISABLE_WETH() view returns(uint256)

func (*OneinchCallerSession) FLAGENABLEKYBERBANCORRESERVE

func (_Oneinch *OneinchCallerSession) FLAGENABLEKYBERBANCORRESERVE() (*big.Int, error)

FLAGENABLEKYBERBANCORRESERVE is a free data retrieval call binding the contract method 0xb3bc7844.

Solidity: function FLAG_ENABLE_KYBER_BANCOR_RESERVE() view returns(uint256)

func (*OneinchCallerSession) FLAGENABLEKYBEROASISRESERVE

func (_Oneinch *OneinchCallerSession) FLAGENABLEKYBEROASISRESERVE() (*big.Int, error)

FLAGENABLEKYBEROASISRESERVE is a free data retrieval call binding the contract method 0x21a360f5.

Solidity: function FLAG_ENABLE_KYBER_OASIS_RESERVE() view returns(uint256)

func (*OneinchCallerSession) FLAGENABLEKYBERUNISWAPRESERVE

func (_Oneinch *OneinchCallerSession) FLAGENABLEKYBERUNISWAPRESERVE() (*big.Int, error)

FLAGENABLEKYBERUNISWAPRESERVE is a free data retrieval call binding the contract method 0x2d3b5207.

Solidity: function FLAG_ENABLE_KYBER_UNISWAP_RESERVE() view returns(uint256)

func (*OneinchCallerSession) FLAGENABLEMULTIPATHDAI

func (_Oneinch *OneinchCallerSession) FLAGENABLEMULTIPATHDAI() (*big.Int, error)

FLAGENABLEMULTIPATHDAI is a free data retrieval call binding the contract method 0xd393c3e9.

Solidity: function FLAG_ENABLE_MULTI_PATH_DAI() view returns(uint256)

func (*OneinchCallerSession) FLAGENABLEMULTIPATHETH

func (_Oneinch *OneinchCallerSession) FLAGENABLEMULTIPATHETH() (*big.Int, error)

FLAGENABLEMULTIPATHETH is a free data retrieval call binding the contract method 0xc77b9de6.

Solidity: function FLAG_ENABLE_MULTI_PATH_ETH() view returns(uint256)

func (*OneinchCallerSession) FLAGENABLEMULTIPATHUSDC

func (_Oneinch *OneinchCallerSession) FLAGENABLEMULTIPATHUSDC() (*big.Int, error)

FLAGENABLEMULTIPATHUSDC is a free data retrieval call binding the contract method 0x64ec4e5c.

Solidity: function FLAG_ENABLE_MULTI_PATH_USDC() view returns(uint256)

func (*OneinchCallerSession) FLAGENABLEUNISWAPCOMPOUND

func (_Oneinch *OneinchCallerSession) FLAGENABLEUNISWAPCOMPOUND() (*big.Int, error)

FLAGENABLEUNISWAPCOMPOUND is a free data retrieval call binding the contract method 0x68e2a014.

Solidity: function FLAG_ENABLE_UNISWAP_COMPOUND() view returns(uint256)

func (*OneinchCallerSession) GetExpectedReturn

func (_Oneinch *OneinchCallerSession) GetExpectedReturn(fromToken common.Address, toToken common.Address, amount *big.Int, parts *big.Int, featureFlags *big.Int) (struct {
	ReturnAmount *big.Int
	Distribution []*big.Int
}, error)

GetExpectedReturn is a free data retrieval call binding the contract method 0x085e2c5b.

Solidity: function getExpectedReturn(address fromToken, address toToken, uint256 amount, uint256 parts, uint256 featureFlags) view returns(uint256 returnAmount, uint256[] distribution)

func (*OneinchCallerSession) IsOwner

func (_Oneinch *OneinchCallerSession) IsOwner() (bool, error)

IsOwner is a free data retrieval call binding the contract method 0x8f32d59b.

Solidity: function isOwner() view returns(bool)

func (*OneinchCallerSession) OneSplitImpl

func (_Oneinch *OneinchCallerSession) OneSplitImpl() (common.Address, error)

OneSplitImpl is a free data retrieval call binding the contract method 0x867807ca.

Solidity: function oneSplitImpl() view returns(address)

func (*OneinchCallerSession) Owner

func (_Oneinch *OneinchCallerSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

type OneinchFilterer

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

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

func NewOneinchFilterer

func NewOneinchFilterer(address common.Address, filterer bind.ContractFilterer) (*OneinchFilterer, error)

NewOneinchFilterer creates a new log filterer instance of Oneinch, bound to a specific deployed contract.

func (*OneinchFilterer) FilterImplementationUpdated

func (_Oneinch *OneinchFilterer) FilterImplementationUpdated(opts *bind.FilterOpts, newImpl []common.Address) (*OneinchImplementationUpdatedIterator, error)

FilterImplementationUpdated is a free log retrieval operation binding the contract event 0x310ba5f1d2ed074b51e2eccd052a47ae9ab7c6b800d1fca3db3999d6a592ca03.

Solidity: event ImplementationUpdated(address indexed newImpl)

func (*OneinchFilterer) FilterOwnershipTransferred

func (_Oneinch *OneinchFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*OneinchOwnershipTransferredIterator, error)

FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*OneinchFilterer) ParseImplementationUpdated

func (_Oneinch *OneinchFilterer) ParseImplementationUpdated(log types.Log) (*OneinchImplementationUpdated, error)

ParseImplementationUpdated is a log parse operation binding the contract event 0x310ba5f1d2ed074b51e2eccd052a47ae9ab7c6b800d1fca3db3999d6a592ca03.

Solidity: event ImplementationUpdated(address indexed newImpl)

func (*OneinchFilterer) ParseOwnershipTransferred

func (_Oneinch *OneinchFilterer) ParseOwnershipTransferred(log types.Log) (*OneinchOwnershipTransferred, error)

ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*OneinchFilterer) WatchImplementationUpdated

func (_Oneinch *OneinchFilterer) WatchImplementationUpdated(opts *bind.WatchOpts, sink chan<- *OneinchImplementationUpdated, newImpl []common.Address) (event.Subscription, error)

WatchImplementationUpdated is a free log subscription operation binding the contract event 0x310ba5f1d2ed074b51e2eccd052a47ae9ab7c6b800d1fca3db3999d6a592ca03.

Solidity: event ImplementationUpdated(address indexed newImpl)

func (*OneinchFilterer) WatchOwnershipTransferred

func (_Oneinch *OneinchFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *OneinchOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)

WatchOwnershipTransferred is a free log subscription operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

type OneinchImplementationUpdated

type OneinchImplementationUpdated struct {
	NewImpl common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

OneinchImplementationUpdated represents a ImplementationUpdated event raised by the Oneinch contract.

type OneinchImplementationUpdatedIterator

type OneinchImplementationUpdatedIterator struct {
	Event *OneinchImplementationUpdated // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

OneinchImplementationUpdatedIterator is returned from FilterImplementationUpdated and is used to iterate over the raw logs and unpacked data for ImplementationUpdated events raised by the Oneinch contract.

func (*OneinchImplementationUpdatedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*OneinchImplementationUpdatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*OneinchImplementationUpdatedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type OneinchOwnershipTransferred

type OneinchOwnershipTransferred struct {
	PreviousOwner common.Address
	NewOwner      common.Address
	Raw           types.Log // Blockchain specific contextual infos
}

OneinchOwnershipTransferred represents a OwnershipTransferred event raised by the Oneinch contract.

type OneinchOwnershipTransferredIterator

type OneinchOwnershipTransferredIterator struct {
	Event *OneinchOwnershipTransferred // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

OneinchOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the Oneinch contract.

func (*OneinchOwnershipTransferredIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*OneinchOwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*OneinchOwnershipTransferredIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type OneinchRaw

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

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

func (*OneinchRaw) Call

func (_Oneinch *OneinchRaw) 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 (*OneinchRaw) Transact

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

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

func (*OneinchRaw) Transfer

func (_Oneinch *OneinchRaw) 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 OneinchSession

type OneinchSession struct {
	Contract     *Oneinch          // 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
}

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

func (*OneinchSession) ClaimAsset

func (_Oneinch *OneinchSession) ClaimAsset(asset common.Address, amount *big.Int) (*types.Transaction, error)

ClaimAsset is a paid mutator transaction binding the contract method 0xba4917b3.

Solidity: function claimAsset(address asset, uint256 amount) returns()

func (*OneinchSession) FLAGDISABLEAAVE

func (_Oneinch *OneinchSession) FLAGDISABLEAAVE() (*big.Int, error)

FLAGDISABLEAAVE is a free data retrieval call binding the contract method 0x2e707bd2.

Solidity: function FLAG_DISABLE_AAVE() view returns(uint256)

func (*OneinchSession) FLAGDISABLEBANCOR

func (_Oneinch *OneinchSession) FLAGDISABLEBANCOR() (*big.Int, error)

FLAGDISABLEBANCOR is a free data retrieval call binding the contract method 0xf56e281f.

Solidity: function FLAG_DISABLE_BANCOR() view returns(uint256)

func (*OneinchSession) FLAGDISABLEBDAI

func (_Oneinch *OneinchSession) FLAGDISABLEBDAI() (*big.Int, error)

FLAGDISABLEBDAI is a free data retrieval call binding the contract method 0x75a8b012.

Solidity: function FLAG_DISABLE_BDAI() view returns(uint256)

func (*OneinchSession) FLAGDISABLECHAI

func (_Oneinch *OneinchSession) FLAGDISABLECHAI() (*big.Int, error)

FLAGDISABLECHAI is a free data retrieval call binding the contract method 0x34b4dabb.

Solidity: function FLAG_DISABLE_CHAI() view returns(uint256)

func (*OneinchSession) FLAGDISABLECOMPOUND

func (_Oneinch *OneinchSession) FLAGDISABLECOMPOUND() (*big.Int, error)

FLAGDISABLECOMPOUND is a free data retrieval call binding the contract method 0x44211d62.

Solidity: function FLAG_DISABLE_COMPOUND() view returns(uint256)

func (*OneinchSession) FLAGDISABLECURVEBINANCE

func (_Oneinch *OneinchSession) FLAGDISABLECURVEBINANCE() (*big.Int, error)

FLAGDISABLECURVEBINANCE is a free data retrieval call binding the contract method 0x2113240d.

Solidity: function FLAG_DISABLE_CURVE_BINANCE() view returns(uint256)

func (*OneinchSession) FLAGDISABLECURVECOMPOUND

func (_Oneinch *OneinchSession) FLAGDISABLECURVECOMPOUND() (*big.Int, error)

FLAGDISABLECURVECOMPOUND is a free data retrieval call binding the contract method 0xb0a7ef29.

Solidity: function FLAG_DISABLE_CURVE_COMPOUND() view returns(uint256)

func (*OneinchSession) FLAGDISABLECURVESYNTHETIX

func (_Oneinch *OneinchSession) FLAGDISABLECURVESYNTHETIX() (*big.Int, error)

FLAGDISABLECURVESYNTHETIX is a free data retrieval call binding the contract method 0xc9b42c67.

Solidity: function FLAG_DISABLE_CURVE_SYNTHETIX() view returns(uint256)

func (*OneinchSession) FLAGDISABLECURVEUSDT

func (_Oneinch *OneinchSession) FLAGDISABLECURVEUSDT() (*big.Int, error)

FLAGDISABLECURVEUSDT is a free data retrieval call binding the contract method 0x13989140.

Solidity: function FLAG_DISABLE_CURVE_USDT() view returns(uint256)

func (*OneinchSession) FLAGDISABLECURVEY

func (_Oneinch *OneinchSession) FLAGDISABLECURVEY() (*big.Int, error)

FLAGDISABLECURVEY is a free data retrieval call binding the contract method 0x5aa8fb48.

Solidity: function FLAG_DISABLE_CURVE_Y() view returns(uint256)

func (*OneinchSession) FLAGDISABLEFULCRUM

func (_Oneinch *OneinchSession) FLAGDISABLEFULCRUM() (*big.Int, error)

FLAGDISABLEFULCRUM is a free data retrieval call binding the contract method 0x4a7101d5.

Solidity: function FLAG_DISABLE_FULCRUM() view returns(uint256)

func (*OneinchSession) FLAGDISABLEIEARN

func (_Oneinch *OneinchSession) FLAGDISABLEIEARN() (*big.Int, error)

FLAGDISABLEIEARN is a free data retrieval call binding the contract method 0x5ae51b82.

Solidity: function FLAG_DISABLE_IEARN() view returns(uint256)

func (*OneinchSession) FLAGDISABLEKYBER

func (_Oneinch *OneinchSession) FLAGDISABLEKYBER() (*big.Int, error)

FLAGDISABLEKYBER is a free data retrieval call binding the contract method 0x7a88bdbd.

Solidity: function FLAG_DISABLE_KYBER() view returns(uint256)

func (*OneinchSession) FLAGDISABLEOASIS

func (_Oneinch *OneinchSession) FLAGDISABLEOASIS() (*big.Int, error)

FLAGDISABLEOASIS is a free data retrieval call binding the contract method 0x5c0cb479.

Solidity: function FLAG_DISABLE_OASIS() view returns(uint256)

func (*OneinchSession) FLAGDISABLESMARTTOKEN

func (_Oneinch *OneinchSession) FLAGDISABLESMARTTOKEN() (*big.Int, error)

FLAGDISABLESMARTTOKEN is a free data retrieval call binding the contract method 0xdc1536b2.

Solidity: function FLAG_DISABLE_SMART_TOKEN() view returns(uint256)

func (*OneinchSession) FLAGDISABLEUNISWAP

func (_Oneinch *OneinchSession) FLAGDISABLEUNISWAP() (*big.Int, error)

FLAGDISABLEUNISWAP is a free data retrieval call binding the contract method 0xc762a46c.

Solidity: function FLAG_DISABLE_UNISWAP() view returns(uint256)

func (*OneinchSession) FLAGDISABLEWETH

func (_Oneinch *OneinchSession) FLAGDISABLEWETH() (*big.Int, error)

FLAGDISABLEWETH is a free data retrieval call binding the contract method 0x6cbc4a6e.

Solidity: function FLAG_DISABLE_WETH() view returns(uint256)

func (*OneinchSession) FLAGENABLEKYBERBANCORRESERVE

func (_Oneinch *OneinchSession) FLAGENABLEKYBERBANCORRESERVE() (*big.Int, error)

FLAGENABLEKYBERBANCORRESERVE is a free data retrieval call binding the contract method 0xb3bc7844.

Solidity: function FLAG_ENABLE_KYBER_BANCOR_RESERVE() view returns(uint256)

func (*OneinchSession) FLAGENABLEKYBEROASISRESERVE

func (_Oneinch *OneinchSession) FLAGENABLEKYBEROASISRESERVE() (*big.Int, error)

FLAGENABLEKYBEROASISRESERVE is a free data retrieval call binding the contract method 0x21a360f5.

Solidity: function FLAG_ENABLE_KYBER_OASIS_RESERVE() view returns(uint256)

func (*OneinchSession) FLAGENABLEKYBERUNISWAPRESERVE

func (_Oneinch *OneinchSession) FLAGENABLEKYBERUNISWAPRESERVE() (*big.Int, error)

FLAGENABLEKYBERUNISWAPRESERVE is a free data retrieval call binding the contract method 0x2d3b5207.

Solidity: function FLAG_ENABLE_KYBER_UNISWAP_RESERVE() view returns(uint256)

func (*OneinchSession) FLAGENABLEMULTIPATHDAI

func (_Oneinch *OneinchSession) FLAGENABLEMULTIPATHDAI() (*big.Int, error)

FLAGENABLEMULTIPATHDAI is a free data retrieval call binding the contract method 0xd393c3e9.

Solidity: function FLAG_ENABLE_MULTI_PATH_DAI() view returns(uint256)

func (*OneinchSession) FLAGENABLEMULTIPATHETH

func (_Oneinch *OneinchSession) FLAGENABLEMULTIPATHETH() (*big.Int, error)

FLAGENABLEMULTIPATHETH is a free data retrieval call binding the contract method 0xc77b9de6.

Solidity: function FLAG_ENABLE_MULTI_PATH_ETH() view returns(uint256)

func (*OneinchSession) FLAGENABLEMULTIPATHUSDC

func (_Oneinch *OneinchSession) FLAGENABLEMULTIPATHUSDC() (*big.Int, error)

FLAGENABLEMULTIPATHUSDC is a free data retrieval call binding the contract method 0x64ec4e5c.

Solidity: function FLAG_ENABLE_MULTI_PATH_USDC() view returns(uint256)

func (*OneinchSession) FLAGENABLEUNISWAPCOMPOUND

func (_Oneinch *OneinchSession) FLAGENABLEUNISWAPCOMPOUND() (*big.Int, error)

FLAGENABLEUNISWAPCOMPOUND is a free data retrieval call binding the contract method 0x68e2a014.

Solidity: function FLAG_ENABLE_UNISWAP_COMPOUND() view returns(uint256)

func (*OneinchSession) Fallback

func (_Oneinch *OneinchSession) Fallback(calldata []byte) (*types.Transaction, error)

Fallback is a paid mutator transaction binding the contract fallback function.

Solidity: fallback() payable returns()

func (*OneinchSession) GetExpectedReturn

func (_Oneinch *OneinchSession) GetExpectedReturn(fromToken common.Address, toToken common.Address, amount *big.Int, parts *big.Int, featureFlags *big.Int) (struct {
	ReturnAmount *big.Int
	Distribution []*big.Int
}, error)

GetExpectedReturn is a free data retrieval call binding the contract method 0x085e2c5b.

Solidity: function getExpectedReturn(address fromToken, address toToken, uint256 amount, uint256 parts, uint256 featureFlags) view returns(uint256 returnAmount, uint256[] distribution)

func (*OneinchSession) IsOwner

func (_Oneinch *OneinchSession) IsOwner() (bool, error)

IsOwner is a free data retrieval call binding the contract method 0x8f32d59b.

Solidity: function isOwner() view returns(bool)

func (*OneinchSession) OneSplitImpl

func (_Oneinch *OneinchSession) OneSplitImpl() (common.Address, error)

OneSplitImpl is a free data retrieval call binding the contract method 0x867807ca.

Solidity: function oneSplitImpl() view returns(address)

func (*OneinchSession) Owner

func (_Oneinch *OneinchSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*OneinchSession) RenounceOwnership

func (_Oneinch *OneinchSession) RenounceOwnership() (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*OneinchSession) SetNewImpl

func (_Oneinch *OneinchSession) SetNewImpl(impl common.Address) (*types.Transaction, error)

SetNewImpl is a paid mutator transaction binding the contract method 0xb26413f8.

Solidity: function setNewImpl(address impl) returns()

func (*OneinchSession) Swap

func (_Oneinch *OneinchSession) Swap(fromToken common.Address, toToken common.Address, amount *big.Int, minReturn *big.Int, distribution []*big.Int, featureFlags *big.Int) (*types.Transaction, error)

Swap is a paid mutator transaction binding the contract method 0xe2a7515e.

Solidity: function swap(address fromToken, address toToken, uint256 amount, uint256 minReturn, uint256[] distribution, uint256 featureFlags) payable returns()

func (*OneinchSession) TransferOwnership

func (_Oneinch *OneinchSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

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

Solidity: function transferOwnership(address newOwner) returns()

type OneinchTransactor

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

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

func NewOneinchTransactor

func NewOneinchTransactor(address common.Address, transactor bind.ContractTransactor) (*OneinchTransactor, error)

NewOneinchTransactor creates a new write-only instance of Oneinch, bound to a specific deployed contract.

func (*OneinchTransactor) ClaimAsset

func (_Oneinch *OneinchTransactor) ClaimAsset(opts *bind.TransactOpts, asset common.Address, amount *big.Int) (*types.Transaction, error)

ClaimAsset is a paid mutator transaction binding the contract method 0xba4917b3.

Solidity: function claimAsset(address asset, uint256 amount) returns()

func (*OneinchTransactor) Fallback

func (_Oneinch *OneinchTransactor) Fallback(opts *bind.TransactOpts, calldata []byte) (*types.Transaction, error)

Fallback is a paid mutator transaction binding the contract fallback function.

Solidity: fallback() payable returns()

func (*OneinchTransactor) RenounceOwnership

func (_Oneinch *OneinchTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*OneinchTransactor) SetNewImpl

func (_Oneinch *OneinchTransactor) SetNewImpl(opts *bind.TransactOpts, impl common.Address) (*types.Transaction, error)

SetNewImpl is a paid mutator transaction binding the contract method 0xb26413f8.

Solidity: function setNewImpl(address impl) returns()

func (*OneinchTransactor) Swap

func (_Oneinch *OneinchTransactor) Swap(opts *bind.TransactOpts, fromToken common.Address, toToken common.Address, amount *big.Int, minReturn *big.Int, distribution []*big.Int, featureFlags *big.Int) (*types.Transaction, error)

Swap is a paid mutator transaction binding the contract method 0xe2a7515e.

Solidity: function swap(address fromToken, address toToken, uint256 amount, uint256 minReturn, uint256[] distribution, uint256 featureFlags) payable returns()

func (*OneinchTransactor) TransferOwnership

func (_Oneinch *OneinchTransactor) 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()

type OneinchTransactorRaw

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

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

func (*OneinchTransactorRaw) Transact

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

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

func (*OneinchTransactorRaw) Transfer

func (_Oneinch *OneinchTransactorRaw) 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 OneinchTransactorSession

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

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

func (*OneinchTransactorSession) ClaimAsset

func (_Oneinch *OneinchTransactorSession) ClaimAsset(asset common.Address, amount *big.Int) (*types.Transaction, error)

ClaimAsset is a paid mutator transaction binding the contract method 0xba4917b3.

Solidity: function claimAsset(address asset, uint256 amount) returns()

func (*OneinchTransactorSession) Fallback

func (_Oneinch *OneinchTransactorSession) Fallback(calldata []byte) (*types.Transaction, error)

Fallback is a paid mutator transaction binding the contract fallback function.

Solidity: fallback() payable returns()

func (*OneinchTransactorSession) RenounceOwnership

func (_Oneinch *OneinchTransactorSession) RenounceOwnership() (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*OneinchTransactorSession) SetNewImpl

func (_Oneinch *OneinchTransactorSession) SetNewImpl(impl common.Address) (*types.Transaction, error)

SetNewImpl is a paid mutator transaction binding the contract method 0xb26413f8.

Solidity: function setNewImpl(address impl) returns()

func (*OneinchTransactorSession) Swap

func (_Oneinch *OneinchTransactorSession) Swap(fromToken common.Address, toToken common.Address, amount *big.Int, minReturn *big.Int, distribution []*big.Int, featureFlags *big.Int) (*types.Transaction, error)

Swap is a paid mutator transaction binding the contract method 0xe2a7515e.

Solidity: function swap(address fromToken, address toToken, uint256 amount, uint256 minReturn, uint256[] distribution, uint256 featureFlags) payable returns()

func (*OneinchTransactorSession) TransferOwnership

func (_Oneinch *OneinchTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

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

Solidity: function transferOwnership(address newOwner) returns()

type Paraswap

type Paraswap struct {
	ParaswapCaller     // Read-only binding to the contract
	ParaswapTransactor // Write-only binding to the contract
	ParaswapFilterer   // Log filterer for contract events
}

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

func NewParaswap

func NewParaswap(address common.Address, backend bind.ContractBackend) (*Paraswap, error)

NewParaswap creates a new instance of Paraswap, bound to a specific deployed contract.

type ParaswapCaller

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

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

func NewParaswapCaller

func NewParaswapCaller(address common.Address, caller bind.ContractCaller) (*ParaswapCaller, error)

NewParaswapCaller creates a new read-only instance of Paraswap, bound to a specific deployed contract.

func (*ParaswapCaller) GetBestPrice

func (_Paraswap *ParaswapCaller) GetBestPrice(opts *bind.CallOpts, fromToken common.Address, toToken common.Address, srcAmount *big.Int) (TypesOptimalRate, error)

GetBestPrice is a free data retrieval call binding the contract method 0xd6d2aedb.

Solidity: function getBestPrice(address fromToken, address toToken, uint256 srcAmount) view returns((uint256,(uint256,uint256,uint256,uint256)) optimalRate)

func (*ParaswapCaller) GetBestPriceSimple

func (_Paraswap *ParaswapCaller) GetBestPriceSimple(opts *bind.CallOpts, fromToken common.Address, toToken common.Address, srcAmount *big.Int) (*big.Int, error)

GetBestPriceSimple is a free data retrieval call binding the contract method 0x83cb17f8.

Solidity: function getBestPriceSimple(address fromToken, address toToken, uint256 srcAmount) view returns(uint256)

type ParaswapCallerRaw

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

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

func (*ParaswapCallerRaw) Call

func (_Paraswap *ParaswapCallerRaw) 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 ParaswapCallerSession

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

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

func (*ParaswapCallerSession) GetBestPrice

func (_Paraswap *ParaswapCallerSession) GetBestPrice(fromToken common.Address, toToken common.Address, srcAmount *big.Int) (TypesOptimalRate, error)

GetBestPrice is a free data retrieval call binding the contract method 0xd6d2aedb.

Solidity: function getBestPrice(address fromToken, address toToken, uint256 srcAmount) view returns((uint256,(uint256,uint256,uint256,uint256)) optimalRate)

func (*ParaswapCallerSession) GetBestPriceSimple

func (_Paraswap *ParaswapCallerSession) GetBestPriceSimple(fromToken common.Address, toToken common.Address, srcAmount *big.Int) (*big.Int, error)

GetBestPriceSimple is a free data retrieval call binding the contract method 0x83cb17f8.

Solidity: function getBestPriceSimple(address fromToken, address toToken, uint256 srcAmount) view returns(uint256)

type ParaswapFilterer

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

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

func NewParaswapFilterer

func NewParaswapFilterer(address common.Address, filterer bind.ContractFilterer) (*ParaswapFilterer, error)

NewParaswapFilterer creates a new log filterer instance of Paraswap, bound to a specific deployed contract.

type ParaswapRaw

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

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

func (*ParaswapRaw) Call

func (_Paraswap *ParaswapRaw) 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 (*ParaswapRaw) Transact

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

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

func (*ParaswapRaw) Transfer

func (_Paraswap *ParaswapRaw) 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 ParaswapSession

type ParaswapSession struct {
	Contract     *Paraswap         // 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
}

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

func (*ParaswapSession) GetBestPrice

func (_Paraswap *ParaswapSession) GetBestPrice(fromToken common.Address, toToken common.Address, srcAmount *big.Int) (TypesOptimalRate, error)

GetBestPrice is a free data retrieval call binding the contract method 0xd6d2aedb.

Solidity: function getBestPrice(address fromToken, address toToken, uint256 srcAmount) view returns((uint256,(uint256,uint256,uint256,uint256)) optimalRate)

func (*ParaswapSession) GetBestPriceSimple

func (_Paraswap *ParaswapSession) GetBestPriceSimple(fromToken common.Address, toToken common.Address, srcAmount *big.Int) (*big.Int, error)

GetBestPriceSimple is a free data retrieval call binding the contract method 0x83cb17f8.

Solidity: function getBestPriceSimple(address fromToken, address toToken, uint256 srcAmount) view returns(uint256)

type ParaswapTransactor

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

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

func NewParaswapTransactor

func NewParaswapTransactor(address common.Address, transactor bind.ContractTransactor) (*ParaswapTransactor, error)

NewParaswapTransactor creates a new write-only instance of Paraswap, bound to a specific deployed contract.

type ParaswapTransactorRaw

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

ParaswapTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*ParaswapTransactorRaw) Transact

func (_Paraswap *ParaswapTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*ParaswapTransactorRaw) Transfer

func (_Paraswap *ParaswapTransactorRaw) 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 ParaswapTransactorSession

type ParaswapTransactorSession struct {
	Contract     *ParaswapTransactor // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts   // Transaction auth options to use throughout this session
}

ParaswapTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

type SafeMath

type SafeMath struct {
	SafeMathCaller     // Read-only binding to the contract
	SafeMathTransactor // Write-only binding to the contract
	SafeMathFilterer   // Log filterer for contract events
}

SafeMath is an auto generated Go binding around an Ethereum contract.

func DeploySafeMath

func DeploySafeMath(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *SafeMath, error)

DeploySafeMath deploys a new Ethereum contract, binding an instance of SafeMath to it.

func NewSafeMath

func NewSafeMath(address common.Address, backend bind.ContractBackend) (*SafeMath, error)

NewSafeMath creates a new instance of SafeMath, bound to a specific deployed contract.

type SafeMathCaller

type SafeMathCaller struct {
	// contains filtered or unexported fields
}

SafeMathCaller is an auto generated read-only Go binding around an Ethereum contract.

func NewSafeMathCaller

func NewSafeMathCaller(address common.Address, caller bind.ContractCaller) (*SafeMathCaller, error)

NewSafeMathCaller creates a new read-only instance of SafeMath, bound to a specific deployed contract.

type SafeMathCallerRaw

type SafeMathCallerRaw struct {
	Contract *SafeMathCaller // Generic read-only contract binding to access the raw methods on
}

SafeMathCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*SafeMathCallerRaw) Call

func (_SafeMath *SafeMathCallerRaw) 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 SafeMathCallerSession

type SafeMathCallerSession struct {
	Contract *SafeMathCaller // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts   // Call options to use throughout this session
}

SafeMathCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

type SafeMathFilterer

type SafeMathFilterer struct {
	// contains filtered or unexported fields
}

SafeMathFilterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewSafeMathFilterer

func NewSafeMathFilterer(address common.Address, filterer bind.ContractFilterer) (*SafeMathFilterer, error)

NewSafeMathFilterer creates a new log filterer instance of SafeMath, bound to a specific deployed contract.

type SafeMathRaw

type SafeMathRaw struct {
	Contract *SafeMath // Generic contract binding to access the raw methods on
}

SafeMathRaw is an auto generated low-level Go binding around an Ethereum contract.

func (*SafeMathRaw) Call

func (_SafeMath *SafeMathRaw) 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 (*SafeMathRaw) Transact

func (_SafeMath *SafeMathRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*SafeMathRaw) Transfer

func (_SafeMath *SafeMathRaw) 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 SafeMathSession

type SafeMathSession struct {
	Contract     *SafeMath         // 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
}

SafeMathSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

type SafeMathTransactor

type SafeMathTransactor struct {
	// contains filtered or unexported fields
}

SafeMathTransactor is an auto generated write-only Go binding around an Ethereum contract.

func NewSafeMathTransactor

func NewSafeMathTransactor(address common.Address, transactor bind.ContractTransactor) (*SafeMathTransactor, error)

NewSafeMathTransactor creates a new write-only instance of SafeMath, bound to a specific deployed contract.

type SafeMathTransactorRaw

type SafeMathTransactorRaw struct {
	Contract *SafeMathTransactor // Generic write-only contract binding to access the raw methods on
}

SafeMathTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*SafeMathTransactorRaw) Transact

func (_SafeMath *SafeMathTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*SafeMathTransactorRaw) Transfer

func (_SafeMath *SafeMathTransactorRaw) 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 SafeMathTransactorSession

type SafeMathTransactorSession struct {
	Contract     *SafeMathTransactor // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts   // Transaction auth options to use throughout this session
}

SafeMathTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

type SushiPool

type SushiPool struct {
	SushiPoolCaller     // Read-only binding to the contract
	SushiPoolTransactor // Write-only binding to the contract
	SushiPoolFilterer   // Log filterer for contract events
}

SushiPool is an auto generated Go binding around an Ethereum contract.

func NewSushiPool

func NewSushiPool(address common.Address, backend bind.ContractBackend) (*SushiPool, error)

NewSushiPool creates a new instance of SushiPool, bound to a specific deployed contract.

type SushiPoolApproval

type SushiPoolApproval struct {
	Owner   common.Address
	Spender common.Address
	Value   *big.Int
	Raw     types.Log // Blockchain specific contextual infos
}

SushiPoolApproval represents a Approval event raised by the SushiPool contract.

type SushiPoolApprovalIterator

type SushiPoolApprovalIterator struct {
	Event *SushiPoolApproval // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

SushiPoolApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the SushiPool contract.

func (*SushiPoolApprovalIterator) Close

func (it *SushiPoolApprovalIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*SushiPoolApprovalIterator) Error

func (it *SushiPoolApprovalIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*SushiPoolApprovalIterator) Next

func (it *SushiPoolApprovalIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type SushiPoolBurn

type SushiPoolBurn struct {
	Sender  common.Address
	Amount0 *big.Int
	Amount1 *big.Int
	To      common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

SushiPoolBurn represents a Burn event raised by the SushiPool contract.

type SushiPoolBurnIterator

type SushiPoolBurnIterator struct {
	Event *SushiPoolBurn // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

SushiPoolBurnIterator is returned from FilterBurn and is used to iterate over the raw logs and unpacked data for Burn events raised by the SushiPool contract.

func (*SushiPoolBurnIterator) Close

func (it *SushiPoolBurnIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*SushiPoolBurnIterator) Error

func (it *SushiPoolBurnIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*SushiPoolBurnIterator) Next

func (it *SushiPoolBurnIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type SushiPoolCaller

type SushiPoolCaller struct {
	// contains filtered or unexported fields
}

SushiPoolCaller is an auto generated read-only Go binding around an Ethereum contract.

func NewSushiPoolCaller

func NewSushiPoolCaller(address common.Address, caller bind.ContractCaller) (*SushiPoolCaller, error)

NewSushiPoolCaller creates a new read-only instance of SushiPool, bound to a specific deployed contract.

func (*SushiPoolCaller) Allowance

func (_SushiPool *SushiPoolCaller) Allowance(opts *bind.CallOpts, arg0 common.Address, arg1 common.Address) (*big.Int, error)

Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.

Solidity: function allowance(address , address ) view returns(uint256)

func (*SushiPoolCaller) BalanceOf

func (_SushiPool *SushiPoolCaller) BalanceOf(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(address ) view returns(uint256)

func (*SushiPoolCaller) DOMAINSEPARATOR

func (_SushiPool *SushiPoolCaller) DOMAINSEPARATOR(opts *bind.CallOpts) ([32]byte, error)

DOMAINSEPARATOR is a free data retrieval call binding the contract method 0x3644e515.

Solidity: function DOMAIN_SEPARATOR() view returns(bytes32)

func (*SushiPoolCaller) Decimals

func (_SushiPool *SushiPoolCaller) 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 (*SushiPoolCaller) Factory

func (_SushiPool *SushiPoolCaller) Factory(opts *bind.CallOpts) (common.Address, error)

Factory is a free data retrieval call binding the contract method 0xc45a0155.

Solidity: function factory() view returns(address)

func (*SushiPoolCaller) GetReserves

func (_SushiPool *SushiPoolCaller) GetReserves(opts *bind.CallOpts) (struct {
	Reserve0           *big.Int
	Reserve1           *big.Int
	BlockTimestampLast uint32
}, error)

GetReserves is a free data retrieval call binding the contract method 0x0902f1ac.

Solidity: function getReserves() view returns(uint112 _reserve0, uint112 _reserve1, uint32 _blockTimestampLast)

func (*SushiPoolCaller) KLast

func (_SushiPool *SushiPoolCaller) KLast(opts *bind.CallOpts) (*big.Int, error)

KLast is a free data retrieval call binding the contract method 0x7464fc3d.

Solidity: function kLast() view returns(uint256)

func (*SushiPoolCaller) MINIMUMLIQUIDITY

func (_SushiPool *SushiPoolCaller) MINIMUMLIQUIDITY(opts *bind.CallOpts) (*big.Int, error)

MINIMUMLIQUIDITY is a free data retrieval call binding the contract method 0xba9a7a56.

Solidity: function MINIMUM_LIQUIDITY() view returns(uint256)

func (*SushiPoolCaller) Name

func (_SushiPool *SushiPoolCaller) 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 (*SushiPoolCaller) Nonces

func (_SushiPool *SushiPoolCaller) Nonces(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

Nonces is a free data retrieval call binding the contract method 0x7ecebe00.

Solidity: function nonces(address ) view returns(uint256)

func (*SushiPoolCaller) PERMITTYPEHASH

func (_SushiPool *SushiPoolCaller) PERMITTYPEHASH(opts *bind.CallOpts) ([32]byte, error)

PERMITTYPEHASH is a free data retrieval call binding the contract method 0x30adf81f.

Solidity: function PERMIT_TYPEHASH() view returns(bytes32)

func (*SushiPoolCaller) Price0CumulativeLast

func (_SushiPool *SushiPoolCaller) Price0CumulativeLast(opts *bind.CallOpts) (*big.Int, error)

Price0CumulativeLast is a free data retrieval call binding the contract method 0x5909c0d5.

Solidity: function price0CumulativeLast() view returns(uint256)

func (*SushiPoolCaller) Price1CumulativeLast

func (_SushiPool *SushiPoolCaller) Price1CumulativeLast(opts *bind.CallOpts) (*big.Int, error)

Price1CumulativeLast is a free data retrieval call binding the contract method 0x5a3d5493.

Solidity: function price1CumulativeLast() view returns(uint256)

func (*SushiPoolCaller) Symbol

func (_SushiPool *SushiPoolCaller) 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 (*SushiPoolCaller) Token0

func (_SushiPool *SushiPoolCaller) Token0(opts *bind.CallOpts) (common.Address, error)

Token0 is a free data retrieval call binding the contract method 0x0dfe1681.

Solidity: function token0() view returns(address)

func (*SushiPoolCaller) Token1

func (_SushiPool *SushiPoolCaller) Token1(opts *bind.CallOpts) (common.Address, error)

Token1 is a free data retrieval call binding the contract method 0xd21220a7.

Solidity: function token1() view returns(address)

func (*SushiPoolCaller) TotalSupply

func (_SushiPool *SushiPoolCaller) 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)

type SushiPoolCallerRaw

type SushiPoolCallerRaw struct {
	Contract *SushiPoolCaller // Generic read-only contract binding to access the raw methods on
}

SushiPoolCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*SushiPoolCallerRaw) Call

func (_SushiPool *SushiPoolCallerRaw) 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 SushiPoolCallerSession

type SushiPoolCallerSession struct {
	Contract *SushiPoolCaller // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts    // Call options to use throughout this session
}

SushiPoolCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

func (*SushiPoolCallerSession) Allowance

func (_SushiPool *SushiPoolCallerSession) Allowance(arg0 common.Address, arg1 common.Address) (*big.Int, error)

Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.

Solidity: function allowance(address , address ) view returns(uint256)

func (*SushiPoolCallerSession) BalanceOf

func (_SushiPool *SushiPoolCallerSession) BalanceOf(arg0 common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(address ) view returns(uint256)

func (*SushiPoolCallerSession) DOMAINSEPARATOR

func (_SushiPool *SushiPoolCallerSession) DOMAINSEPARATOR() ([32]byte, error)

DOMAINSEPARATOR is a free data retrieval call binding the contract method 0x3644e515.

Solidity: function DOMAIN_SEPARATOR() view returns(bytes32)

func (*SushiPoolCallerSession) Decimals

func (_SushiPool *SushiPoolCallerSession) Decimals() (uint8, error)

Decimals is a free data retrieval call binding the contract method 0x313ce567.

Solidity: function decimals() view returns(uint8)

func (*SushiPoolCallerSession) Factory

func (_SushiPool *SushiPoolCallerSession) Factory() (common.Address, error)

Factory is a free data retrieval call binding the contract method 0xc45a0155.

Solidity: function factory() view returns(address)

func (*SushiPoolCallerSession) GetReserves

func (_SushiPool *SushiPoolCallerSession) GetReserves() (struct {
	Reserve0           *big.Int
	Reserve1           *big.Int
	BlockTimestampLast uint32
}, error)

GetReserves is a free data retrieval call binding the contract method 0x0902f1ac.

Solidity: function getReserves() view returns(uint112 _reserve0, uint112 _reserve1, uint32 _blockTimestampLast)

func (*SushiPoolCallerSession) KLast

func (_SushiPool *SushiPoolCallerSession) KLast() (*big.Int, error)

KLast is a free data retrieval call binding the contract method 0x7464fc3d.

Solidity: function kLast() view returns(uint256)

func (*SushiPoolCallerSession) MINIMUMLIQUIDITY

func (_SushiPool *SushiPoolCallerSession) MINIMUMLIQUIDITY() (*big.Int, error)

MINIMUMLIQUIDITY is a free data retrieval call binding the contract method 0xba9a7a56.

Solidity: function MINIMUM_LIQUIDITY() view returns(uint256)

func (*SushiPoolCallerSession) Name

func (_SushiPool *SushiPoolCallerSession) Name() (string, error)

Name is a free data retrieval call binding the contract method 0x06fdde03.

Solidity: function name() view returns(string)

func (*SushiPoolCallerSession) Nonces

func (_SushiPool *SushiPoolCallerSession) Nonces(arg0 common.Address) (*big.Int, error)

Nonces is a free data retrieval call binding the contract method 0x7ecebe00.

Solidity: function nonces(address ) view returns(uint256)

func (*SushiPoolCallerSession) PERMITTYPEHASH

func (_SushiPool *SushiPoolCallerSession) PERMITTYPEHASH() ([32]byte, error)

PERMITTYPEHASH is a free data retrieval call binding the contract method 0x30adf81f.

Solidity: function PERMIT_TYPEHASH() view returns(bytes32)

func (*SushiPoolCallerSession) Price0CumulativeLast

func (_SushiPool *SushiPoolCallerSession) Price0CumulativeLast() (*big.Int, error)

Price0CumulativeLast is a free data retrieval call binding the contract method 0x5909c0d5.

Solidity: function price0CumulativeLast() view returns(uint256)

func (*SushiPoolCallerSession) Price1CumulativeLast

func (_SushiPool *SushiPoolCallerSession) Price1CumulativeLast() (*big.Int, error)

Price1CumulativeLast is a free data retrieval call binding the contract method 0x5a3d5493.

Solidity: function price1CumulativeLast() view returns(uint256)

func (*SushiPoolCallerSession) Symbol

func (_SushiPool *SushiPoolCallerSession) Symbol() (string, error)

Symbol is a free data retrieval call binding the contract method 0x95d89b41.

Solidity: function symbol() view returns(string)

func (*SushiPoolCallerSession) Token0

func (_SushiPool *SushiPoolCallerSession) Token0() (common.Address, error)

Token0 is a free data retrieval call binding the contract method 0x0dfe1681.

Solidity: function token0() view returns(address)

func (*SushiPoolCallerSession) Token1

func (_SushiPool *SushiPoolCallerSession) Token1() (common.Address, error)

Token1 is a free data retrieval call binding the contract method 0xd21220a7.

Solidity: function token1() view returns(address)

func (*SushiPoolCallerSession) TotalSupply

func (_SushiPool *SushiPoolCallerSession) TotalSupply() (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() view returns(uint256)

type SushiPoolFilterer

type SushiPoolFilterer struct {
	// contains filtered or unexported fields
}

SushiPoolFilterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewSushiPoolFilterer

func NewSushiPoolFilterer(address common.Address, filterer bind.ContractFilterer) (*SushiPoolFilterer, error)

NewSushiPoolFilterer creates a new log filterer instance of SushiPool, bound to a specific deployed contract.

func (*SushiPoolFilterer) FilterApproval

func (_SushiPool *SushiPoolFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*SushiPoolApprovalIterator, error)

FilterApproval is a free log retrieval operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)

func (*SushiPoolFilterer) FilterBurn

func (_SushiPool *SushiPoolFilterer) FilterBurn(opts *bind.FilterOpts, sender []common.Address, to []common.Address) (*SushiPoolBurnIterator, error)

FilterBurn is a free log retrieval operation binding the contract event 0xdccd412f0b1252819cb1fd330b93224ca42612892bb3f4f789976e6d81936496.

Solidity: event Burn(address indexed sender, uint256 amount0, uint256 amount1, address indexed to)

func (*SushiPoolFilterer) FilterMint

func (_SushiPool *SushiPoolFilterer) FilterMint(opts *bind.FilterOpts, sender []common.Address) (*SushiPoolMintIterator, error)

FilterMint is a free log retrieval operation binding the contract event 0x4c209b5fc8ad50758f13e2e1088ba56a560dff690a1c6fef26394f4c03821c4f.

Solidity: event Mint(address indexed sender, uint256 amount0, uint256 amount1)

func (*SushiPoolFilterer) FilterSwap

func (_SushiPool *SushiPoolFilterer) FilterSwap(opts *bind.FilterOpts, sender []common.Address, to []common.Address) (*SushiPoolSwapIterator, error)

FilterSwap is a free log retrieval operation binding the contract event 0xd78ad95fa46c994b6551d0da85fc275fe613ce37657fb8d5e3d130840159d822.

Solidity: event Swap(address indexed sender, uint256 amount0In, uint256 amount1In, uint256 amount0Out, uint256 amount1Out, address indexed to)

func (*SushiPoolFilterer) FilterSync

func (_SushiPool *SushiPoolFilterer) FilterSync(opts *bind.FilterOpts) (*SushiPoolSyncIterator, error)

FilterSync is a free log retrieval operation binding the contract event 0x1c411e9a96e071241c2f21f7726b17ae89e3cab4c78be50e062b03a9fffbbad1.

Solidity: event Sync(uint112 reserve0, uint112 reserve1)

func (*SushiPoolFilterer) FilterTransfer

func (_SushiPool *SushiPoolFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*SushiPoolTransferIterator, error)

FilterTransfer is a free log retrieval operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed from, address indexed to, uint256 value)

func (*SushiPoolFilterer) ParseApproval

func (_SushiPool *SushiPoolFilterer) ParseApproval(log types.Log) (*SushiPoolApproval, error)

ParseApproval is a log parse operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)

func (*SushiPoolFilterer) ParseBurn

func (_SushiPool *SushiPoolFilterer) ParseBurn(log types.Log) (*SushiPoolBurn, error)

ParseBurn is a log parse operation binding the contract event 0xdccd412f0b1252819cb1fd330b93224ca42612892bb3f4f789976e6d81936496.

Solidity: event Burn(address indexed sender, uint256 amount0, uint256 amount1, address indexed to)

func (*SushiPoolFilterer) ParseMint

func (_SushiPool *SushiPoolFilterer) ParseMint(log types.Log) (*SushiPoolMint, error)

ParseMint is a log parse operation binding the contract event 0x4c209b5fc8ad50758f13e2e1088ba56a560dff690a1c6fef26394f4c03821c4f.

Solidity: event Mint(address indexed sender, uint256 amount0, uint256 amount1)

func (*SushiPoolFilterer) ParseSwap

func (_SushiPool *SushiPoolFilterer) ParseSwap(log types.Log) (*SushiPoolSwap, error)

ParseSwap is a log parse operation binding the contract event 0xd78ad95fa46c994b6551d0da85fc275fe613ce37657fb8d5e3d130840159d822.

Solidity: event Swap(address indexed sender, uint256 amount0In, uint256 amount1In, uint256 amount0Out, uint256 amount1Out, address indexed to)

func (*SushiPoolFilterer) ParseSync

func (_SushiPool *SushiPoolFilterer) ParseSync(log types.Log) (*SushiPoolSync, error)

ParseSync is a log parse operation binding the contract event 0x1c411e9a96e071241c2f21f7726b17ae89e3cab4c78be50e062b03a9fffbbad1.

Solidity: event Sync(uint112 reserve0, uint112 reserve1)

func (*SushiPoolFilterer) ParseTransfer

func (_SushiPool *SushiPoolFilterer) ParseTransfer(log types.Log) (*SushiPoolTransfer, error)

ParseTransfer is a log parse operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed from, address indexed to, uint256 value)

func (*SushiPoolFilterer) WatchApproval

func (_SushiPool *SushiPoolFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *SushiPoolApproval, owner []common.Address, spender []common.Address) (event.Subscription, error)

WatchApproval is a free log subscription operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)

func (*SushiPoolFilterer) WatchBurn

func (_SushiPool *SushiPoolFilterer) WatchBurn(opts *bind.WatchOpts, sink chan<- *SushiPoolBurn, sender []common.Address, to []common.Address) (event.Subscription, error)

WatchBurn is a free log subscription operation binding the contract event 0xdccd412f0b1252819cb1fd330b93224ca42612892bb3f4f789976e6d81936496.

Solidity: event Burn(address indexed sender, uint256 amount0, uint256 amount1, address indexed to)

func (*SushiPoolFilterer) WatchMint

func (_SushiPool *SushiPoolFilterer) WatchMint(opts *bind.WatchOpts, sink chan<- *SushiPoolMint, sender []common.Address) (event.Subscription, error)

WatchMint is a free log subscription operation binding the contract event 0x4c209b5fc8ad50758f13e2e1088ba56a560dff690a1c6fef26394f4c03821c4f.

Solidity: event Mint(address indexed sender, uint256 amount0, uint256 amount1)

func (*SushiPoolFilterer) WatchSwap

func (_SushiPool *SushiPoolFilterer) WatchSwap(opts *bind.WatchOpts, sink chan<- *SushiPoolSwap, sender []common.Address, to []common.Address) (event.Subscription, error)

WatchSwap is a free log subscription operation binding the contract event 0xd78ad95fa46c994b6551d0da85fc275fe613ce37657fb8d5e3d130840159d822.

Solidity: event Swap(address indexed sender, uint256 amount0In, uint256 amount1In, uint256 amount0Out, uint256 amount1Out, address indexed to)

func (*SushiPoolFilterer) WatchSync

func (_SushiPool *SushiPoolFilterer) WatchSync(opts *bind.WatchOpts, sink chan<- *SushiPoolSync) (event.Subscription, error)

WatchSync is a free log subscription operation binding the contract event 0x1c411e9a96e071241c2f21f7726b17ae89e3cab4c78be50e062b03a9fffbbad1.

Solidity: event Sync(uint112 reserve0, uint112 reserve1)

func (*SushiPoolFilterer) WatchTransfer

func (_SushiPool *SushiPoolFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *SushiPoolTransfer, from []common.Address, to []common.Address) (event.Subscription, error)

WatchTransfer is a free log subscription operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed from, address indexed to, uint256 value)

type SushiPoolMint

type SushiPoolMint struct {
	Sender  common.Address
	Amount0 *big.Int
	Amount1 *big.Int
	Raw     types.Log // Blockchain specific contextual infos
}

SushiPoolMint represents a Mint event raised by the SushiPool contract.

type SushiPoolMintIterator

type SushiPoolMintIterator struct {
	Event *SushiPoolMint // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

SushiPoolMintIterator is returned from FilterMint and is used to iterate over the raw logs and unpacked data for Mint events raised by the SushiPool contract.

func (*SushiPoolMintIterator) Close

func (it *SushiPoolMintIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*SushiPoolMintIterator) Error

func (it *SushiPoolMintIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*SushiPoolMintIterator) Next

func (it *SushiPoolMintIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type SushiPoolRaw

type SushiPoolRaw struct {
	Contract *SushiPool // Generic contract binding to access the raw methods on
}

SushiPoolRaw is an auto generated low-level Go binding around an Ethereum contract.

func (*SushiPoolRaw) Call

func (_SushiPool *SushiPoolRaw) 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 (*SushiPoolRaw) Transact

func (_SushiPool *SushiPoolRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*SushiPoolRaw) Transfer

func (_SushiPool *SushiPoolRaw) 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 SushiPoolSession

type SushiPoolSession struct {
	Contract     *SushiPool        // 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
}

SushiPoolSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

func (*SushiPoolSession) Allowance

func (_SushiPool *SushiPoolSession) Allowance(arg0 common.Address, arg1 common.Address) (*big.Int, error)

Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.

Solidity: function allowance(address , address ) view returns(uint256)

func (*SushiPoolSession) Approve

func (_SushiPool *SushiPoolSession) Approve(spender common.Address, value *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address spender, uint256 value) returns(bool)

func (*SushiPoolSession) BalanceOf

func (_SushiPool *SushiPoolSession) BalanceOf(arg0 common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(address ) view returns(uint256)

func (*SushiPoolSession) Burn

func (_SushiPool *SushiPoolSession) Burn(to common.Address) (*types.Transaction, error)

Burn is a paid mutator transaction binding the contract method 0x89afcb44.

Solidity: function burn(address to) returns(uint256 amount0, uint256 amount1)

func (*SushiPoolSession) DOMAINSEPARATOR

func (_SushiPool *SushiPoolSession) DOMAINSEPARATOR() ([32]byte, error)

DOMAINSEPARATOR is a free data retrieval call binding the contract method 0x3644e515.

Solidity: function DOMAIN_SEPARATOR() view returns(bytes32)

func (*SushiPoolSession) Decimals

func (_SushiPool *SushiPoolSession) Decimals() (uint8, error)

Decimals is a free data retrieval call binding the contract method 0x313ce567.

Solidity: function decimals() view returns(uint8)

func (*SushiPoolSession) Factory

func (_SushiPool *SushiPoolSession) Factory() (common.Address, error)

Factory is a free data retrieval call binding the contract method 0xc45a0155.

Solidity: function factory() view returns(address)

func (*SushiPoolSession) GetReserves

func (_SushiPool *SushiPoolSession) GetReserves() (struct {
	Reserve0           *big.Int
	Reserve1           *big.Int
	BlockTimestampLast uint32
}, error)

GetReserves is a free data retrieval call binding the contract method 0x0902f1ac.

Solidity: function getReserves() view returns(uint112 _reserve0, uint112 _reserve1, uint32 _blockTimestampLast)

func (*SushiPoolSession) Initialize

func (_SushiPool *SushiPoolSession) Initialize(_token0 common.Address, _token1 common.Address) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0x485cc955.

Solidity: function initialize(address _token0, address _token1) returns()

func (*SushiPoolSession) KLast

func (_SushiPool *SushiPoolSession) KLast() (*big.Int, error)

KLast is a free data retrieval call binding the contract method 0x7464fc3d.

Solidity: function kLast() view returns(uint256)

func (*SushiPoolSession) MINIMUMLIQUIDITY

func (_SushiPool *SushiPoolSession) MINIMUMLIQUIDITY() (*big.Int, error)

MINIMUMLIQUIDITY is a free data retrieval call binding the contract method 0xba9a7a56.

Solidity: function MINIMUM_LIQUIDITY() view returns(uint256)

func (*SushiPoolSession) Mint

func (_SushiPool *SushiPoolSession) Mint(to common.Address) (*types.Transaction, error)

Mint is a paid mutator transaction binding the contract method 0x6a627842.

Solidity: function mint(address to) returns(uint256 liquidity)

func (*SushiPoolSession) Name

func (_SushiPool *SushiPoolSession) Name() (string, error)

Name is a free data retrieval call binding the contract method 0x06fdde03.

Solidity: function name() view returns(string)

func (*SushiPoolSession) Nonces

func (_SushiPool *SushiPoolSession) Nonces(arg0 common.Address) (*big.Int, error)

Nonces is a free data retrieval call binding the contract method 0x7ecebe00.

Solidity: function nonces(address ) view returns(uint256)

func (*SushiPoolSession) PERMITTYPEHASH

func (_SushiPool *SushiPoolSession) PERMITTYPEHASH() ([32]byte, error)

PERMITTYPEHASH is a free data retrieval call binding the contract method 0x30adf81f.

Solidity: function PERMIT_TYPEHASH() view returns(bytes32)

func (*SushiPoolSession) Permit

func (_SushiPool *SushiPoolSession) Permit(owner common.Address, spender common.Address, value *big.Int, deadline *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

Permit is a paid mutator transaction binding the contract method 0xd505accf.

Solidity: function permit(address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) returns()

func (*SushiPoolSession) Price0CumulativeLast

func (_SushiPool *SushiPoolSession) Price0CumulativeLast() (*big.Int, error)

Price0CumulativeLast is a free data retrieval call binding the contract method 0x5909c0d5.

Solidity: function price0CumulativeLast() view returns(uint256)

func (*SushiPoolSession) Price1CumulativeLast

func (_SushiPool *SushiPoolSession) Price1CumulativeLast() (*big.Int, error)

Price1CumulativeLast is a free data retrieval call binding the contract method 0x5a3d5493.

Solidity: function price1CumulativeLast() view returns(uint256)

func (*SushiPoolSession) Skim

func (_SushiPool *SushiPoolSession) Skim(to common.Address) (*types.Transaction, error)

Skim is a paid mutator transaction binding the contract method 0xbc25cf77.

Solidity: function skim(address to) returns()

func (*SushiPoolSession) Swap

func (_SushiPool *SushiPoolSession) Swap(amount0Out *big.Int, amount1Out *big.Int, to common.Address, data []byte) (*types.Transaction, error)

Swap is a paid mutator transaction binding the contract method 0x022c0d9f.

Solidity: function swap(uint256 amount0Out, uint256 amount1Out, address to, bytes data) returns()

func (*SushiPoolSession) Symbol

func (_SushiPool *SushiPoolSession) Symbol() (string, error)

Symbol is a free data retrieval call binding the contract method 0x95d89b41.

Solidity: function symbol() view returns(string)

func (*SushiPoolSession) Sync

func (_SushiPool *SushiPoolSession) Sync() (*types.Transaction, error)

Sync is a paid mutator transaction binding the contract method 0xfff6cae9.

Solidity: function sync() returns()

func (*SushiPoolSession) Token0

func (_SushiPool *SushiPoolSession) Token0() (common.Address, error)

Token0 is a free data retrieval call binding the contract method 0x0dfe1681.

Solidity: function token0() view returns(address)

func (*SushiPoolSession) Token1

func (_SushiPool *SushiPoolSession) Token1() (common.Address, error)

Token1 is a free data retrieval call binding the contract method 0xd21220a7.

Solidity: function token1() view returns(address)

func (*SushiPoolSession) TotalSupply

func (_SushiPool *SushiPoolSession) TotalSupply() (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() view returns(uint256)

func (*SushiPoolSession) Transfer

func (_SushiPool *SushiPoolSession) Transfer(to common.Address, value *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(address to, uint256 value) returns(bool)

func (*SushiPoolSession) TransferFrom

func (_SushiPool *SushiPoolSession) TransferFrom(from common.Address, to common.Address, value *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address from, address to, uint256 value) returns(bool)

type SushiPoolSwap

type SushiPoolSwap struct {
	Sender     common.Address
	Amount0In  *big.Int
	Amount1In  *big.Int
	Amount0Out *big.Int
	Amount1Out *big.Int
	To         common.Address
	Raw        types.Log // Blockchain specific contextual infos
}

SushiPoolSwap represents a Swap event raised by the SushiPool contract.

type SushiPoolSwapIterator

type SushiPoolSwapIterator struct {
	Event *SushiPoolSwap // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

SushiPoolSwapIterator is returned from FilterSwap and is used to iterate over the raw logs and unpacked data for Swap events raised by the SushiPool contract.

func (*SushiPoolSwapIterator) Close

func (it *SushiPoolSwapIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*SushiPoolSwapIterator) Error

func (it *SushiPoolSwapIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*SushiPoolSwapIterator) Next

func (it *SushiPoolSwapIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type SushiPoolSync

type SushiPoolSync struct {
	Reserve0 *big.Int
	Reserve1 *big.Int
	Raw      types.Log // Blockchain specific contextual infos
}

SushiPoolSync represents a Sync event raised by the SushiPool contract.

type SushiPoolSyncIterator

type SushiPoolSyncIterator struct {
	Event *SushiPoolSync // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

SushiPoolSyncIterator is returned from FilterSync and is used to iterate over the raw logs and unpacked data for Sync events raised by the SushiPool contract.

func (*SushiPoolSyncIterator) Close

func (it *SushiPoolSyncIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*SushiPoolSyncIterator) Error

func (it *SushiPoolSyncIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*SushiPoolSyncIterator) Next

func (it *SushiPoolSyncIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type SushiPoolTransactor

type SushiPoolTransactor struct {
	// contains filtered or unexported fields
}

SushiPoolTransactor is an auto generated write-only Go binding around an Ethereum contract.

func NewSushiPoolTransactor

func NewSushiPoolTransactor(address common.Address, transactor bind.ContractTransactor) (*SushiPoolTransactor, error)

NewSushiPoolTransactor creates a new write-only instance of SushiPool, bound to a specific deployed contract.

func (*SushiPoolTransactor) Approve

func (_SushiPool *SushiPoolTransactor) Approve(opts *bind.TransactOpts, spender common.Address, value *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address spender, uint256 value) returns(bool)

func (*SushiPoolTransactor) Burn

func (_SushiPool *SushiPoolTransactor) Burn(opts *bind.TransactOpts, to common.Address) (*types.Transaction, error)

Burn is a paid mutator transaction binding the contract method 0x89afcb44.

Solidity: function burn(address to) returns(uint256 amount0, uint256 amount1)

func (*SushiPoolTransactor) Initialize

func (_SushiPool *SushiPoolTransactor) Initialize(opts *bind.TransactOpts, _token0 common.Address, _token1 common.Address) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0x485cc955.

Solidity: function initialize(address _token0, address _token1) returns()

func (*SushiPoolTransactor) Mint

func (_SushiPool *SushiPoolTransactor) Mint(opts *bind.TransactOpts, to common.Address) (*types.Transaction, error)

Mint is a paid mutator transaction binding the contract method 0x6a627842.

Solidity: function mint(address to) returns(uint256 liquidity)

func (*SushiPoolTransactor) Permit

func (_SushiPool *SushiPoolTransactor) Permit(opts *bind.TransactOpts, owner common.Address, spender common.Address, value *big.Int, deadline *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

Permit is a paid mutator transaction binding the contract method 0xd505accf.

Solidity: function permit(address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) returns()

func (*SushiPoolTransactor) Skim

func (_SushiPool *SushiPoolTransactor) Skim(opts *bind.TransactOpts, to common.Address) (*types.Transaction, error)

Skim is a paid mutator transaction binding the contract method 0xbc25cf77.

Solidity: function skim(address to) returns()

func (*SushiPoolTransactor) Swap

func (_SushiPool *SushiPoolTransactor) Swap(opts *bind.TransactOpts, amount0Out *big.Int, amount1Out *big.Int, to common.Address, data []byte) (*types.Transaction, error)

Swap is a paid mutator transaction binding the contract method 0x022c0d9f.

Solidity: function swap(uint256 amount0Out, uint256 amount1Out, address to, bytes data) returns()

func (*SushiPoolTransactor) Sync

func (_SushiPool *SushiPoolTransactor) Sync(opts *bind.TransactOpts) (*types.Transaction, error)

Sync is a paid mutator transaction binding the contract method 0xfff6cae9.

Solidity: function sync() returns()

func (*SushiPoolTransactor) Transfer

func (_SushiPool *SushiPoolTransactor) Transfer(opts *bind.TransactOpts, to common.Address, value *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(address to, uint256 value) returns(bool)

func (*SushiPoolTransactor) TransferFrom

func (_SushiPool *SushiPoolTransactor) TransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, value *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address from, address to, uint256 value) returns(bool)

type SushiPoolTransactorRaw

type SushiPoolTransactorRaw struct {
	Contract *SushiPoolTransactor // Generic write-only contract binding to access the raw methods on
}

SushiPoolTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*SushiPoolTransactorRaw) Transact

func (_SushiPool *SushiPoolTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*SushiPoolTransactorRaw) Transfer

func (_SushiPool *SushiPoolTransactorRaw) 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 SushiPoolTransactorSession

type SushiPoolTransactorSession struct {
	Contract     *SushiPoolTransactor // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts    // Transaction auth options to use throughout this session
}

SushiPoolTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

func (*SushiPoolTransactorSession) Approve

func (_SushiPool *SushiPoolTransactorSession) Approve(spender common.Address, value *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address spender, uint256 value) returns(bool)

func (*SushiPoolTransactorSession) Burn

Burn is a paid mutator transaction binding the contract method 0x89afcb44.

Solidity: function burn(address to) returns(uint256 amount0, uint256 amount1)

func (*SushiPoolTransactorSession) Initialize

func (_SushiPool *SushiPoolTransactorSession) Initialize(_token0 common.Address, _token1 common.Address) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0x485cc955.

Solidity: function initialize(address _token0, address _token1) returns()

func (*SushiPoolTransactorSession) Mint

Mint is a paid mutator transaction binding the contract method 0x6a627842.

Solidity: function mint(address to) returns(uint256 liquidity)

func (*SushiPoolTransactorSession) Permit

func (_SushiPool *SushiPoolTransactorSession) Permit(owner common.Address, spender common.Address, value *big.Int, deadline *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

Permit is a paid mutator transaction binding the contract method 0xd505accf.

Solidity: function permit(address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) returns()

func (*SushiPoolTransactorSession) Skim

Skim is a paid mutator transaction binding the contract method 0xbc25cf77.

Solidity: function skim(address to) returns()

func (*SushiPoolTransactorSession) Swap

func (_SushiPool *SushiPoolTransactorSession) Swap(amount0Out *big.Int, amount1Out *big.Int, to common.Address, data []byte) (*types.Transaction, error)

Swap is a paid mutator transaction binding the contract method 0x022c0d9f.

Solidity: function swap(uint256 amount0Out, uint256 amount1Out, address to, bytes data) returns()

func (*SushiPoolTransactorSession) Sync

func (_SushiPool *SushiPoolTransactorSession) Sync() (*types.Transaction, error)

Sync is a paid mutator transaction binding the contract method 0xfff6cae9.

Solidity: function sync() returns()

func (*SushiPoolTransactorSession) Transfer

func (_SushiPool *SushiPoolTransactorSession) Transfer(to common.Address, value *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(address to, uint256 value) returns(bool)

func (*SushiPoolTransactorSession) TransferFrom

func (_SushiPool *SushiPoolTransactorSession) TransferFrom(from common.Address, to common.Address, value *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address from, address to, uint256 value) returns(bool)

type SushiPoolTransfer

type SushiPoolTransfer struct {
	From  common.Address
	To    common.Address
	Value *big.Int
	Raw   types.Log // Blockchain specific contextual infos
}

SushiPoolTransfer represents a Transfer event raised by the SushiPool contract.

type SushiPoolTransferIterator

type SushiPoolTransferIterator struct {
	Event *SushiPoolTransfer // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

SushiPoolTransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the SushiPool contract.

func (*SushiPoolTransferIterator) Close

func (it *SushiPoolTransferIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*SushiPoolTransferIterator) Error

func (it *SushiPoolTransferIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*SushiPoolTransferIterator) Next

func (it *SushiPoolTransferIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type SushiStaking

type SushiStaking struct {
	SushiStakingCaller     // Read-only binding to the contract
	SushiStakingTransactor // Write-only binding to the contract
	SushiStakingFilterer   // Log filterer for contract events
}

SushiStaking is an auto generated Go binding around an Ethereum contract.

func NewSushiStaking

func NewSushiStaking(address common.Address, backend bind.ContractBackend) (*SushiStaking, error)

NewSushiStaking creates a new instance of SushiStaking, bound to a specific deployed contract.

type SushiStakingCaller

type SushiStakingCaller struct {
	// contains filtered or unexported fields
}

SushiStakingCaller is an auto generated read-only Go binding around an Ethereum contract.

func NewSushiStakingCaller

func NewSushiStakingCaller(address common.Address, caller bind.ContractCaller) (*SushiStakingCaller, error)

NewSushiStakingCaller creates a new read-only instance of SushiStaking, bound to a specific deployed contract.

func (*SushiStakingCaller) BONUSMULTIPLIER

func (_SushiStaking *SushiStakingCaller) BONUSMULTIPLIER(opts *bind.CallOpts) (*big.Int, error)

BONUSMULTIPLIER is a free data retrieval call binding the contract method 0x8aa28550.

Solidity: function BONUS_MULTIPLIER() view returns(uint256)

func (*SushiStakingCaller) BonusEndBlock

func (_SushiStaking *SushiStakingCaller) BonusEndBlock(opts *bind.CallOpts) (*big.Int, error)

BonusEndBlock is a free data retrieval call binding the contract method 0x1aed6553.

Solidity: function bonusEndBlock() view returns(uint256)

func (*SushiStakingCaller) Devaddr

func (_SushiStaking *SushiStakingCaller) Devaddr(opts *bind.CallOpts) (common.Address, error)

Devaddr is a free data retrieval call binding the contract method 0xd49e77cd.

Solidity: function devaddr() view returns(address)

func (*SushiStakingCaller) GetMultiplier

func (_SushiStaking *SushiStakingCaller) GetMultiplier(opts *bind.CallOpts, _from *big.Int, _to *big.Int) (*big.Int, error)

GetMultiplier is a free data retrieval call binding the contract method 0x8dbb1e3a.

Solidity: function getMultiplier(uint256 _from, uint256 _to) view returns(uint256)

func (*SushiStakingCaller) Migrator

func (_SushiStaking *SushiStakingCaller) Migrator(opts *bind.CallOpts) (common.Address, error)

Migrator is a free data retrieval call binding the contract method 0x7cd07e47.

Solidity: function migrator() view returns(address)

func (*SushiStakingCaller) Owner

func (_SushiStaking *SushiStakingCaller) 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 (*SushiStakingCaller) PendingSushi

func (_SushiStaking *SushiStakingCaller) PendingSushi(opts *bind.CallOpts, _pid *big.Int, _user common.Address) (*big.Int, error)

PendingSushi is a free data retrieval call binding the contract method 0x195426ec.

Solidity: function pendingSushi(uint256 _pid, address _user) view returns(uint256)

func (*SushiStakingCaller) PoolInfo

func (_SushiStaking *SushiStakingCaller) PoolInfo(opts *bind.CallOpts, arg0 *big.Int) (struct {
	LpToken          common.Address
	AllocPoint       *big.Int
	LastRewardBlock  *big.Int
	AccSushiPerShare *big.Int
}, error)

PoolInfo is a free data retrieval call binding the contract method 0x1526fe27.

Solidity: function poolInfo(uint256 ) view returns(address lpToken, uint256 allocPoint, uint256 lastRewardBlock, uint256 accSushiPerShare)

func (*SushiStakingCaller) PoolLength

func (_SushiStaking *SushiStakingCaller) PoolLength(opts *bind.CallOpts) (*big.Int, error)

PoolLength is a free data retrieval call binding the contract method 0x081e3eda.

Solidity: function poolLength() view returns(uint256)

func (*SushiStakingCaller) StartBlock

func (_SushiStaking *SushiStakingCaller) StartBlock(opts *bind.CallOpts) (*big.Int, error)

StartBlock is a free data retrieval call binding the contract method 0x48cd4cb1.

Solidity: function startBlock() view returns(uint256)

func (*SushiStakingCaller) Sushi

func (_SushiStaking *SushiStakingCaller) Sushi(opts *bind.CallOpts) (common.Address, error)

Sushi is a free data retrieval call binding the contract method 0x0a087903.

Solidity: function sushi() view returns(address)

func (*SushiStakingCaller) SushiPerBlock

func (_SushiStaking *SushiStakingCaller) SushiPerBlock(opts *bind.CallOpts) (*big.Int, error)

SushiPerBlock is a free data retrieval call binding the contract method 0xb0bcf42a.

Solidity: function sushiPerBlock() view returns(uint256)

func (*SushiStakingCaller) TotalAllocPoint

func (_SushiStaking *SushiStakingCaller) TotalAllocPoint(opts *bind.CallOpts) (*big.Int, error)

TotalAllocPoint is a free data retrieval call binding the contract method 0x17caf6f1.

Solidity: function totalAllocPoint() view returns(uint256)

func (*SushiStakingCaller) UserInfo

func (_SushiStaking *SushiStakingCaller) UserInfo(opts *bind.CallOpts, arg0 *big.Int, arg1 common.Address) (struct {
	Amount     *big.Int
	RewardDebt *big.Int
}, error)

UserInfo is a free data retrieval call binding the contract method 0x93f1a40b.

Solidity: function userInfo(uint256 , address ) view returns(uint256 amount, uint256 rewardDebt)

type SushiStakingCallerRaw

type SushiStakingCallerRaw struct {
	Contract *SushiStakingCaller // Generic read-only contract binding to access the raw methods on
}

SushiStakingCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*SushiStakingCallerRaw) Call

func (_SushiStaking *SushiStakingCallerRaw) 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 SushiStakingCallerSession

type SushiStakingCallerSession struct {
	Contract *SushiStakingCaller // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts       // Call options to use throughout this session
}

SushiStakingCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

func (*SushiStakingCallerSession) BONUSMULTIPLIER

func (_SushiStaking *SushiStakingCallerSession) BONUSMULTIPLIER() (*big.Int, error)

BONUSMULTIPLIER is a free data retrieval call binding the contract method 0x8aa28550.

Solidity: function BONUS_MULTIPLIER() view returns(uint256)

func (*SushiStakingCallerSession) BonusEndBlock

func (_SushiStaking *SushiStakingCallerSession) BonusEndBlock() (*big.Int, error)

BonusEndBlock is a free data retrieval call binding the contract method 0x1aed6553.

Solidity: function bonusEndBlock() view returns(uint256)

func (*SushiStakingCallerSession) Devaddr

func (_SushiStaking *SushiStakingCallerSession) Devaddr() (common.Address, error)

Devaddr is a free data retrieval call binding the contract method 0xd49e77cd.

Solidity: function devaddr() view returns(address)

func (*SushiStakingCallerSession) GetMultiplier

func (_SushiStaking *SushiStakingCallerSession) GetMultiplier(_from *big.Int, _to *big.Int) (*big.Int, error)

GetMultiplier is a free data retrieval call binding the contract method 0x8dbb1e3a.

Solidity: function getMultiplier(uint256 _from, uint256 _to) view returns(uint256)

func (*SushiStakingCallerSession) Migrator

func (_SushiStaking *SushiStakingCallerSession) Migrator() (common.Address, error)

Migrator is a free data retrieval call binding the contract method 0x7cd07e47.

Solidity: function migrator() view returns(address)

func (*SushiStakingCallerSession) Owner

func (_SushiStaking *SushiStakingCallerSession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*SushiStakingCallerSession) PendingSushi

func (_SushiStaking *SushiStakingCallerSession) PendingSushi(_pid *big.Int, _user common.Address) (*big.Int, error)

PendingSushi is a free data retrieval call binding the contract method 0x195426ec.

Solidity: function pendingSushi(uint256 _pid, address _user) view returns(uint256)

func (*SushiStakingCallerSession) PoolInfo

func (_SushiStaking *SushiStakingCallerSession) PoolInfo(arg0 *big.Int) (struct {
	LpToken          common.Address
	AllocPoint       *big.Int
	LastRewardBlock  *big.Int
	AccSushiPerShare *big.Int
}, error)

PoolInfo is a free data retrieval call binding the contract method 0x1526fe27.

Solidity: function poolInfo(uint256 ) view returns(address lpToken, uint256 allocPoint, uint256 lastRewardBlock, uint256 accSushiPerShare)

func (*SushiStakingCallerSession) PoolLength

func (_SushiStaking *SushiStakingCallerSession) PoolLength() (*big.Int, error)

PoolLength is a free data retrieval call binding the contract method 0x081e3eda.

Solidity: function poolLength() view returns(uint256)

func (*SushiStakingCallerSession) StartBlock

func (_SushiStaking *SushiStakingCallerSession) StartBlock() (*big.Int, error)

StartBlock is a free data retrieval call binding the contract method 0x48cd4cb1.

Solidity: function startBlock() view returns(uint256)

func (*SushiStakingCallerSession) Sushi

func (_SushiStaking *SushiStakingCallerSession) Sushi() (common.Address, error)

Sushi is a free data retrieval call binding the contract method 0x0a087903.

Solidity: function sushi() view returns(address)

func (*SushiStakingCallerSession) SushiPerBlock

func (_SushiStaking *SushiStakingCallerSession) SushiPerBlock() (*big.Int, error)

SushiPerBlock is a free data retrieval call binding the contract method 0xb0bcf42a.

Solidity: function sushiPerBlock() view returns(uint256)

func (*SushiStakingCallerSession) TotalAllocPoint

func (_SushiStaking *SushiStakingCallerSession) TotalAllocPoint() (*big.Int, error)

TotalAllocPoint is a free data retrieval call binding the contract method 0x17caf6f1.

Solidity: function totalAllocPoint() view returns(uint256)

func (*SushiStakingCallerSession) UserInfo

func (_SushiStaking *SushiStakingCallerSession) UserInfo(arg0 *big.Int, arg1 common.Address) (struct {
	Amount     *big.Int
	RewardDebt *big.Int
}, error)

UserInfo is a free data retrieval call binding the contract method 0x93f1a40b.

Solidity: function userInfo(uint256 , address ) view returns(uint256 amount, uint256 rewardDebt)

type SushiStakingDeposit

type SushiStakingDeposit struct {
	User   common.Address
	Pid    *big.Int
	Amount *big.Int
	Raw    types.Log // Blockchain specific contextual infos
}

SushiStakingDeposit represents a Deposit event raised by the SushiStaking contract.

type SushiStakingDepositIterator

type SushiStakingDepositIterator struct {
	Event *SushiStakingDeposit // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

SushiStakingDepositIterator is returned from FilterDeposit and is used to iterate over the raw logs and unpacked data for Deposit events raised by the SushiStaking contract.

func (*SushiStakingDepositIterator) Close

func (it *SushiStakingDepositIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*SushiStakingDepositIterator) Error

func (it *SushiStakingDepositIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*SushiStakingDepositIterator) Next

func (it *SushiStakingDepositIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type SushiStakingEmergencyWithdraw

type SushiStakingEmergencyWithdraw struct {
	User   common.Address
	Pid    *big.Int
	Amount *big.Int
	Raw    types.Log // Blockchain specific contextual infos
}

SushiStakingEmergencyWithdraw represents a EmergencyWithdraw event raised by the SushiStaking contract.

type SushiStakingEmergencyWithdrawIterator

type SushiStakingEmergencyWithdrawIterator struct {
	Event *SushiStakingEmergencyWithdraw // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

SushiStakingEmergencyWithdrawIterator is returned from FilterEmergencyWithdraw and is used to iterate over the raw logs and unpacked data for EmergencyWithdraw events raised by the SushiStaking contract.

func (*SushiStakingEmergencyWithdrawIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*SushiStakingEmergencyWithdrawIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*SushiStakingEmergencyWithdrawIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type SushiStakingFilterer

type SushiStakingFilterer struct {
	// contains filtered or unexported fields
}

SushiStakingFilterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewSushiStakingFilterer

func NewSushiStakingFilterer(address common.Address, filterer bind.ContractFilterer) (*SushiStakingFilterer, error)

NewSushiStakingFilterer creates a new log filterer instance of SushiStaking, bound to a specific deployed contract.

func (*SushiStakingFilterer) FilterDeposit

func (_SushiStaking *SushiStakingFilterer) FilterDeposit(opts *bind.FilterOpts, user []common.Address, pid []*big.Int) (*SushiStakingDepositIterator, error)

FilterDeposit is a free log retrieval operation binding the contract event 0x90890809c654f11d6e72a28fa60149770a0d11ec6c92319d6ceb2bb0a4ea1a15.

Solidity: event Deposit(address indexed user, uint256 indexed pid, uint256 amount)

func (*SushiStakingFilterer) FilterEmergencyWithdraw

func (_SushiStaking *SushiStakingFilterer) FilterEmergencyWithdraw(opts *bind.FilterOpts, user []common.Address, pid []*big.Int) (*SushiStakingEmergencyWithdrawIterator, error)

FilterEmergencyWithdraw is a free log retrieval operation binding the contract event 0xbb757047c2b5f3974fe26b7c10f732e7bce710b0952a71082702781e62ae0595.

Solidity: event EmergencyWithdraw(address indexed user, uint256 indexed pid, uint256 amount)

func (*SushiStakingFilterer) FilterOwnershipTransferred

func (_SushiStaking *SushiStakingFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*SushiStakingOwnershipTransferredIterator, error)

FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*SushiStakingFilterer) FilterWithdraw

func (_SushiStaking *SushiStakingFilterer) FilterWithdraw(opts *bind.FilterOpts, user []common.Address, pid []*big.Int) (*SushiStakingWithdrawIterator, error)

FilterWithdraw is a free log retrieval operation binding the contract event 0xf279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b568.

Solidity: event Withdraw(address indexed user, uint256 indexed pid, uint256 amount)

func (*SushiStakingFilterer) ParseDeposit

func (_SushiStaking *SushiStakingFilterer) ParseDeposit(log types.Log) (*SushiStakingDeposit, error)

ParseDeposit is a log parse operation binding the contract event 0x90890809c654f11d6e72a28fa60149770a0d11ec6c92319d6ceb2bb0a4ea1a15.

Solidity: event Deposit(address indexed user, uint256 indexed pid, uint256 amount)

func (*SushiStakingFilterer) ParseEmergencyWithdraw

func (_SushiStaking *SushiStakingFilterer) ParseEmergencyWithdraw(log types.Log) (*SushiStakingEmergencyWithdraw, error)

ParseEmergencyWithdraw is a log parse operation binding the contract event 0xbb757047c2b5f3974fe26b7c10f732e7bce710b0952a71082702781e62ae0595.

Solidity: event EmergencyWithdraw(address indexed user, uint256 indexed pid, uint256 amount)

func (*SushiStakingFilterer) ParseOwnershipTransferred

func (_SushiStaking *SushiStakingFilterer) ParseOwnershipTransferred(log types.Log) (*SushiStakingOwnershipTransferred, error)

ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*SushiStakingFilterer) ParseWithdraw

func (_SushiStaking *SushiStakingFilterer) ParseWithdraw(log types.Log) (*SushiStakingWithdraw, error)

ParseWithdraw is a log parse operation binding the contract event 0xf279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b568.

Solidity: event Withdraw(address indexed user, uint256 indexed pid, uint256 amount)

func (*SushiStakingFilterer) WatchDeposit

func (_SushiStaking *SushiStakingFilterer) WatchDeposit(opts *bind.WatchOpts, sink chan<- *SushiStakingDeposit, user []common.Address, pid []*big.Int) (event.Subscription, error)

WatchDeposit is a free log subscription operation binding the contract event 0x90890809c654f11d6e72a28fa60149770a0d11ec6c92319d6ceb2bb0a4ea1a15.

Solidity: event Deposit(address indexed user, uint256 indexed pid, uint256 amount)

func (*SushiStakingFilterer) WatchEmergencyWithdraw

func (_SushiStaking *SushiStakingFilterer) WatchEmergencyWithdraw(opts *bind.WatchOpts, sink chan<- *SushiStakingEmergencyWithdraw, user []common.Address, pid []*big.Int) (event.Subscription, error)

WatchEmergencyWithdraw is a free log subscription operation binding the contract event 0xbb757047c2b5f3974fe26b7c10f732e7bce710b0952a71082702781e62ae0595.

Solidity: event EmergencyWithdraw(address indexed user, uint256 indexed pid, uint256 amount)

func (*SushiStakingFilterer) WatchOwnershipTransferred

func (_SushiStaking *SushiStakingFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *SushiStakingOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)

WatchOwnershipTransferred is a free log subscription operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*SushiStakingFilterer) WatchWithdraw

func (_SushiStaking *SushiStakingFilterer) WatchWithdraw(opts *bind.WatchOpts, sink chan<- *SushiStakingWithdraw, user []common.Address, pid []*big.Int) (event.Subscription, error)

WatchWithdraw is a free log subscription operation binding the contract event 0xf279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b568.

Solidity: event Withdraw(address indexed user, uint256 indexed pid, uint256 amount)

type SushiStakingOwnershipTransferred

type SushiStakingOwnershipTransferred struct {
	PreviousOwner common.Address
	NewOwner      common.Address
	Raw           types.Log // Blockchain specific contextual infos
}

SushiStakingOwnershipTransferred represents a OwnershipTransferred event raised by the SushiStaking contract.

type SushiStakingOwnershipTransferredIterator

type SushiStakingOwnershipTransferredIterator struct {
	Event *SushiStakingOwnershipTransferred // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

SushiStakingOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the SushiStaking contract.

func (*SushiStakingOwnershipTransferredIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*SushiStakingOwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*SushiStakingOwnershipTransferredIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type SushiStakingRaw

type SushiStakingRaw struct {
	Contract *SushiStaking // Generic contract binding to access the raw methods on
}

SushiStakingRaw is an auto generated low-level Go binding around an Ethereum contract.

func (*SushiStakingRaw) Call

func (_SushiStaking *SushiStakingRaw) 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 (*SushiStakingRaw) Transact

func (_SushiStaking *SushiStakingRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*SushiStakingRaw) Transfer

func (_SushiStaking *SushiStakingRaw) 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 SushiStakingSession

type SushiStakingSession struct {
	Contract     *SushiStaking     // 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
}

SushiStakingSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

func (*SushiStakingSession) Add

func (_SushiStaking *SushiStakingSession) Add(_allocPoint *big.Int, _lpToken common.Address, _withUpdate bool) (*types.Transaction, error)

Add is a paid mutator transaction binding the contract method 0x1eaaa045.

Solidity: function add(uint256 _allocPoint, address _lpToken, bool _withUpdate) returns()

func (*SushiStakingSession) BONUSMULTIPLIER

func (_SushiStaking *SushiStakingSession) BONUSMULTIPLIER() (*big.Int, error)

BONUSMULTIPLIER is a free data retrieval call binding the contract method 0x8aa28550.

Solidity: function BONUS_MULTIPLIER() view returns(uint256)

func (*SushiStakingSession) BonusEndBlock

func (_SushiStaking *SushiStakingSession) BonusEndBlock() (*big.Int, error)

BonusEndBlock is a free data retrieval call binding the contract method 0x1aed6553.

Solidity: function bonusEndBlock() view returns(uint256)

func (*SushiStakingSession) Deposit

func (_SushiStaking *SushiStakingSession) Deposit(_pid *big.Int, _amount *big.Int) (*types.Transaction, error)

Deposit is a paid mutator transaction binding the contract method 0xe2bbb158.

Solidity: function deposit(uint256 _pid, uint256 _amount) returns()

func (*SushiStakingSession) Dev

func (_SushiStaking *SushiStakingSession) Dev(_devaddr common.Address) (*types.Transaction, error)

Dev is a paid mutator transaction binding the contract method 0x8d88a90e.

Solidity: function dev(address _devaddr) returns()

func (*SushiStakingSession) Devaddr

func (_SushiStaking *SushiStakingSession) Devaddr() (common.Address, error)

Devaddr is a free data retrieval call binding the contract method 0xd49e77cd.

Solidity: function devaddr() view returns(address)

func (*SushiStakingSession) EmergencyWithdraw

func (_SushiStaking *SushiStakingSession) EmergencyWithdraw(_pid *big.Int) (*types.Transaction, error)

EmergencyWithdraw is a paid mutator transaction binding the contract method 0x5312ea8e.

Solidity: function emergencyWithdraw(uint256 _pid) returns()

func (*SushiStakingSession) GetMultiplier

func (_SushiStaking *SushiStakingSession) GetMultiplier(_from *big.Int, _to *big.Int) (*big.Int, error)

GetMultiplier is a free data retrieval call binding the contract method 0x8dbb1e3a.

Solidity: function getMultiplier(uint256 _from, uint256 _to) view returns(uint256)

func (*SushiStakingSession) MassUpdatePools

func (_SushiStaking *SushiStakingSession) MassUpdatePools() (*types.Transaction, error)

MassUpdatePools is a paid mutator transaction binding the contract method 0x630b5ba1.

Solidity: function massUpdatePools() returns()

func (*SushiStakingSession) Migrate

func (_SushiStaking *SushiStakingSession) Migrate(_pid *big.Int) (*types.Transaction, error)

Migrate is a paid mutator transaction binding the contract method 0x454b0608.

Solidity: function migrate(uint256 _pid) returns()

func (*SushiStakingSession) Migrator

func (_SushiStaking *SushiStakingSession) Migrator() (common.Address, error)

Migrator is a free data retrieval call binding the contract method 0x7cd07e47.

Solidity: function migrator() view returns(address)

func (*SushiStakingSession) Owner

func (_SushiStaking *SushiStakingSession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*SushiStakingSession) PendingSushi

func (_SushiStaking *SushiStakingSession) PendingSushi(_pid *big.Int, _user common.Address) (*big.Int, error)

PendingSushi is a free data retrieval call binding the contract method 0x195426ec.

Solidity: function pendingSushi(uint256 _pid, address _user) view returns(uint256)

func (*SushiStakingSession) PoolInfo

func (_SushiStaking *SushiStakingSession) PoolInfo(arg0 *big.Int) (struct {
	LpToken          common.Address
	AllocPoint       *big.Int
	LastRewardBlock  *big.Int
	AccSushiPerShare *big.Int
}, error)

PoolInfo is a free data retrieval call binding the contract method 0x1526fe27.

Solidity: function poolInfo(uint256 ) view returns(address lpToken, uint256 allocPoint, uint256 lastRewardBlock, uint256 accSushiPerShare)

func (*SushiStakingSession) PoolLength

func (_SushiStaking *SushiStakingSession) PoolLength() (*big.Int, error)

PoolLength is a free data retrieval call binding the contract method 0x081e3eda.

Solidity: function poolLength() view returns(uint256)

func (*SushiStakingSession) RenounceOwnership

func (_SushiStaking *SushiStakingSession) RenounceOwnership() (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*SushiStakingSession) Set

func (_SushiStaking *SushiStakingSession) Set(_pid *big.Int, _allocPoint *big.Int, _withUpdate bool) (*types.Transaction, error)

Set is a paid mutator transaction binding the contract method 0x64482f79.

Solidity: function set(uint256 _pid, uint256 _allocPoint, bool _withUpdate) returns()

func (*SushiStakingSession) SetMigrator

func (_SushiStaking *SushiStakingSession) SetMigrator(_migrator common.Address) (*types.Transaction, error)

SetMigrator is a paid mutator transaction binding the contract method 0x23cf3118.

Solidity: function setMigrator(address _migrator) returns()

func (*SushiStakingSession) StartBlock

func (_SushiStaking *SushiStakingSession) StartBlock() (*big.Int, error)

StartBlock is a free data retrieval call binding the contract method 0x48cd4cb1.

Solidity: function startBlock() view returns(uint256)

func (*SushiStakingSession) Sushi

func (_SushiStaking *SushiStakingSession) Sushi() (common.Address, error)

Sushi is a free data retrieval call binding the contract method 0x0a087903.

Solidity: function sushi() view returns(address)

func (*SushiStakingSession) SushiPerBlock

func (_SushiStaking *SushiStakingSession) SushiPerBlock() (*big.Int, error)

SushiPerBlock is a free data retrieval call binding the contract method 0xb0bcf42a.

Solidity: function sushiPerBlock() view returns(uint256)

func (*SushiStakingSession) TotalAllocPoint

func (_SushiStaking *SushiStakingSession) TotalAllocPoint() (*big.Int, error)

TotalAllocPoint is a free data retrieval call binding the contract method 0x17caf6f1.

Solidity: function totalAllocPoint() view returns(uint256)

func (*SushiStakingSession) TransferOwnership

func (_SushiStaking *SushiStakingSession) 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 (*SushiStakingSession) UpdatePool

func (_SushiStaking *SushiStakingSession) UpdatePool(_pid *big.Int) (*types.Transaction, error)

UpdatePool is a paid mutator transaction binding the contract method 0x51eb05a6.

Solidity: function updatePool(uint256 _pid) returns()

func (*SushiStakingSession) UserInfo

func (_SushiStaking *SushiStakingSession) UserInfo(arg0 *big.Int, arg1 common.Address) (struct {
	Amount     *big.Int
	RewardDebt *big.Int
}, error)

UserInfo is a free data retrieval call binding the contract method 0x93f1a40b.

Solidity: function userInfo(uint256 , address ) view returns(uint256 amount, uint256 rewardDebt)

func (*SushiStakingSession) Withdraw

func (_SushiStaking *SushiStakingSession) Withdraw(_pid *big.Int, _amount *big.Int) (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0x441a3e70.

Solidity: function withdraw(uint256 _pid, uint256 _amount) returns()

type SushiStakingTransactor

type SushiStakingTransactor struct {
	// contains filtered or unexported fields
}

SushiStakingTransactor is an auto generated write-only Go binding around an Ethereum contract.

func NewSushiStakingTransactor

func NewSushiStakingTransactor(address common.Address, transactor bind.ContractTransactor) (*SushiStakingTransactor, error)

NewSushiStakingTransactor creates a new write-only instance of SushiStaking, bound to a specific deployed contract.

func (*SushiStakingTransactor) Add

func (_SushiStaking *SushiStakingTransactor) Add(opts *bind.TransactOpts, _allocPoint *big.Int, _lpToken common.Address, _withUpdate bool) (*types.Transaction, error)

Add is a paid mutator transaction binding the contract method 0x1eaaa045.

Solidity: function add(uint256 _allocPoint, address _lpToken, bool _withUpdate) returns()

func (*SushiStakingTransactor) Deposit

func (_SushiStaking *SushiStakingTransactor) Deposit(opts *bind.TransactOpts, _pid *big.Int, _amount *big.Int) (*types.Transaction, error)

Deposit is a paid mutator transaction binding the contract method 0xe2bbb158.

Solidity: function deposit(uint256 _pid, uint256 _amount) returns()

func (*SushiStakingTransactor) Dev

func (_SushiStaking *SushiStakingTransactor) Dev(opts *bind.TransactOpts, _devaddr common.Address) (*types.Transaction, error)

Dev is a paid mutator transaction binding the contract method 0x8d88a90e.

Solidity: function dev(address _devaddr) returns()

func (*SushiStakingTransactor) EmergencyWithdraw

func (_SushiStaking *SushiStakingTransactor) EmergencyWithdraw(opts *bind.TransactOpts, _pid *big.Int) (*types.Transaction, error)

EmergencyWithdraw is a paid mutator transaction binding the contract method 0x5312ea8e.

Solidity: function emergencyWithdraw(uint256 _pid) returns()

func (*SushiStakingTransactor) MassUpdatePools

func (_SushiStaking *SushiStakingTransactor) MassUpdatePools(opts *bind.TransactOpts) (*types.Transaction, error)

MassUpdatePools is a paid mutator transaction binding the contract method 0x630b5ba1.

Solidity: function massUpdatePools() returns()

func (*SushiStakingTransactor) Migrate

func (_SushiStaking *SushiStakingTransactor) Migrate(opts *bind.TransactOpts, _pid *big.Int) (*types.Transaction, error)

Migrate is a paid mutator transaction binding the contract method 0x454b0608.

Solidity: function migrate(uint256 _pid) returns()

func (*SushiStakingTransactor) RenounceOwnership

func (_SushiStaking *SushiStakingTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*SushiStakingTransactor) Set

func (_SushiStaking *SushiStakingTransactor) Set(opts *bind.TransactOpts, _pid *big.Int, _allocPoint *big.Int, _withUpdate bool) (*types.Transaction, error)

Set is a paid mutator transaction binding the contract method 0x64482f79.

Solidity: function set(uint256 _pid, uint256 _allocPoint, bool _withUpdate) returns()

func (*SushiStakingTransactor) SetMigrator

func (_SushiStaking *SushiStakingTransactor) SetMigrator(opts *bind.TransactOpts, _migrator common.Address) (*types.Transaction, error)

SetMigrator is a paid mutator transaction binding the contract method 0x23cf3118.

Solidity: function setMigrator(address _migrator) returns()

func (*SushiStakingTransactor) TransferOwnership

func (_SushiStaking *SushiStakingTransactor) 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 (*SushiStakingTransactor) UpdatePool

func (_SushiStaking *SushiStakingTransactor) UpdatePool(opts *bind.TransactOpts, _pid *big.Int) (*types.Transaction, error)

UpdatePool is a paid mutator transaction binding the contract method 0x51eb05a6.

Solidity: function updatePool(uint256 _pid) returns()

func (*SushiStakingTransactor) Withdraw

func (_SushiStaking *SushiStakingTransactor) Withdraw(opts *bind.TransactOpts, _pid *big.Int, _amount *big.Int) (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0x441a3e70.

Solidity: function withdraw(uint256 _pid, uint256 _amount) returns()

type SushiStakingTransactorRaw

type SushiStakingTransactorRaw struct {
	Contract *SushiStakingTransactor // Generic write-only contract binding to access the raw methods on
}

SushiStakingTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*SushiStakingTransactorRaw) Transact

func (_SushiStaking *SushiStakingTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*SushiStakingTransactorRaw) Transfer

func (_SushiStaking *SushiStakingTransactorRaw) 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 SushiStakingTransactorSession

type SushiStakingTransactorSession struct {
	Contract     *SushiStakingTransactor // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts       // Transaction auth options to use throughout this session
}

SushiStakingTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

func (*SushiStakingTransactorSession) Add

func (_SushiStaking *SushiStakingTransactorSession) Add(_allocPoint *big.Int, _lpToken common.Address, _withUpdate bool) (*types.Transaction, error)

Add is a paid mutator transaction binding the contract method 0x1eaaa045.

Solidity: function add(uint256 _allocPoint, address _lpToken, bool _withUpdate) returns()

func (*SushiStakingTransactorSession) Deposit

func (_SushiStaking *SushiStakingTransactorSession) Deposit(_pid *big.Int, _amount *big.Int) (*types.Transaction, error)

Deposit is a paid mutator transaction binding the contract method 0xe2bbb158.

Solidity: function deposit(uint256 _pid, uint256 _amount) returns()

func (*SushiStakingTransactorSession) Dev

func (_SushiStaking *SushiStakingTransactorSession) Dev(_devaddr common.Address) (*types.Transaction, error)

Dev is a paid mutator transaction binding the contract method 0x8d88a90e.

Solidity: function dev(address _devaddr) returns()

func (*SushiStakingTransactorSession) EmergencyWithdraw

func (_SushiStaking *SushiStakingTransactorSession) EmergencyWithdraw(_pid *big.Int) (*types.Transaction, error)

EmergencyWithdraw is a paid mutator transaction binding the contract method 0x5312ea8e.

Solidity: function emergencyWithdraw(uint256 _pid) returns()

func (*SushiStakingTransactorSession) MassUpdatePools

func (_SushiStaking *SushiStakingTransactorSession) MassUpdatePools() (*types.Transaction, error)

MassUpdatePools is a paid mutator transaction binding the contract method 0x630b5ba1.

Solidity: function massUpdatePools() returns()

func (*SushiStakingTransactorSession) Migrate

func (_SushiStaking *SushiStakingTransactorSession) Migrate(_pid *big.Int) (*types.Transaction, error)

Migrate is a paid mutator transaction binding the contract method 0x454b0608.

Solidity: function migrate(uint256 _pid) returns()

func (*SushiStakingTransactorSession) RenounceOwnership

func (_SushiStaking *SushiStakingTransactorSession) RenounceOwnership() (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*SushiStakingTransactorSession) Set

func (_SushiStaking *SushiStakingTransactorSession) Set(_pid *big.Int, _allocPoint *big.Int, _withUpdate bool) (*types.Transaction, error)

Set is a paid mutator transaction binding the contract method 0x64482f79.

Solidity: function set(uint256 _pid, uint256 _allocPoint, bool _withUpdate) returns()

func (*SushiStakingTransactorSession) SetMigrator

func (_SushiStaking *SushiStakingTransactorSession) SetMigrator(_migrator common.Address) (*types.Transaction, error)

SetMigrator is a paid mutator transaction binding the contract method 0x23cf3118.

Solidity: function setMigrator(address _migrator) returns()

func (*SushiStakingTransactorSession) TransferOwnership

func (_SushiStaking *SushiStakingTransactorSession) 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 (*SushiStakingTransactorSession) UpdatePool

func (_SushiStaking *SushiStakingTransactorSession) UpdatePool(_pid *big.Int) (*types.Transaction, error)

UpdatePool is a paid mutator transaction binding the contract method 0x51eb05a6.

Solidity: function updatePool(uint256 _pid) returns()

func (*SushiStakingTransactorSession) Withdraw

func (_SushiStaking *SushiStakingTransactorSession) Withdraw(_pid *big.Int, _amount *big.Int) (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0x441a3e70.

Solidity: function withdraw(uint256 _pid, uint256 _amount) returns()

type SushiStakingWithdraw

type SushiStakingWithdraw struct {
	User   common.Address
	Pid    *big.Int
	Amount *big.Int
	Raw    types.Log // Blockchain specific contextual infos
}

SushiStakingWithdraw represents a Withdraw event raised by the SushiStaking contract.

type SushiStakingWithdrawIterator

type SushiStakingWithdrawIterator struct {
	Event *SushiStakingWithdraw // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

SushiStakingWithdrawIterator is returned from FilterWithdraw and is used to iterate over the raw logs and unpacked data for Withdraw events raised by the SushiStaking contract.

func (*SushiStakingWithdrawIterator) Close

func (it *SushiStakingWithdrawIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*SushiStakingWithdrawIterator) Error

func (it *SushiStakingWithdrawIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*SushiStakingWithdrawIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type SushiSwap

type SushiSwap struct {
	SushiSwapCaller     // Read-only binding to the contract
	SushiSwapTransactor // Write-only binding to the contract
	SushiSwapFilterer   // Log filterer for contract events
}

SushiSwap is an auto generated Go binding around an Ethereum contract.

func NewSushiSwap

func NewSushiSwap(address common.Address, backend bind.ContractBackend) (*SushiSwap, error)

NewSushiSwap creates a new instance of SushiSwap, bound to a specific deployed contract.

type SushiSwapCaller

type SushiSwapCaller struct {
	// contains filtered or unexported fields
}

SushiSwapCaller is an auto generated read-only Go binding around an Ethereum contract.

func NewSushiSwapCaller

func NewSushiSwapCaller(address common.Address, caller bind.ContractCaller) (*SushiSwapCaller, error)

NewSushiSwapCaller creates a new read-only instance of SushiSwap, bound to a specific deployed contract.

func (*SushiSwapCaller) Factory

func (_SushiSwap *SushiSwapCaller) Factory(opts *bind.CallOpts) (common.Address, error)

Factory is a free data retrieval call binding the contract method 0xc45a0155.

Solidity: function factory() view returns(address)

func (*SushiSwapCaller) GetAmountIn

func (_SushiSwap *SushiSwapCaller) GetAmountIn(opts *bind.CallOpts, amountOut *big.Int, reserveIn *big.Int, reserveOut *big.Int) (*big.Int, error)

GetAmountIn is a free data retrieval call binding the contract method 0x85f8c259.

Solidity: function getAmountIn(uint256 amountOut, uint256 reserveIn, uint256 reserveOut) pure returns(uint256 amountIn)

func (*SushiSwapCaller) GetAmountOut

func (_SushiSwap *SushiSwapCaller) GetAmountOut(opts *bind.CallOpts, amountIn *big.Int, reserveIn *big.Int, reserveOut *big.Int) (*big.Int, error)

GetAmountOut is a free data retrieval call binding the contract method 0x054d50d4.

Solidity: function getAmountOut(uint256 amountIn, uint256 reserveIn, uint256 reserveOut) pure returns(uint256 amountOut)

func (*SushiSwapCaller) GetAmountsIn

func (_SushiSwap *SushiSwapCaller) GetAmountsIn(opts *bind.CallOpts, amountOut *big.Int, path []common.Address) ([]*big.Int, error)

GetAmountsIn is a free data retrieval call binding the contract method 0x1f00ca74.

Solidity: function getAmountsIn(uint256 amountOut, address[] path) view returns(uint256[] amounts)

func (*SushiSwapCaller) GetAmountsOut

func (_SushiSwap *SushiSwapCaller) GetAmountsOut(opts *bind.CallOpts, amountIn *big.Int, path []common.Address) ([]*big.Int, error)

GetAmountsOut is a free data retrieval call binding the contract method 0xd06ca61f.

Solidity: function getAmountsOut(uint256 amountIn, address[] path) view returns(uint256[] amounts)

func (*SushiSwapCaller) Quote

func (_SushiSwap *SushiSwapCaller) Quote(opts *bind.CallOpts, amountA *big.Int, reserveA *big.Int, reserveB *big.Int) (*big.Int, error)

Quote is a free data retrieval call binding the contract method 0xad615dec.

Solidity: function quote(uint256 amountA, uint256 reserveA, uint256 reserveB) pure returns(uint256 amountB)

func (*SushiSwapCaller) WETH

func (_SushiSwap *SushiSwapCaller) WETH(opts *bind.CallOpts) (common.Address, error)

WETH is a free data retrieval call binding the contract method 0xad5c4648.

Solidity: function WETH() view returns(address)

type SushiSwapCallerRaw

type SushiSwapCallerRaw struct {
	Contract *SushiSwapCaller // Generic read-only contract binding to access the raw methods on
}

SushiSwapCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*SushiSwapCallerRaw) Call

func (_SushiSwap *SushiSwapCallerRaw) 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 SushiSwapCallerSession

type SushiSwapCallerSession struct {
	Contract *SushiSwapCaller // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts    // Call options to use throughout this session
}

SushiSwapCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

func (*SushiSwapCallerSession) Factory

func (_SushiSwap *SushiSwapCallerSession) Factory() (common.Address, error)

Factory is a free data retrieval call binding the contract method 0xc45a0155.

Solidity: function factory() view returns(address)

func (*SushiSwapCallerSession) GetAmountIn

func (_SushiSwap *SushiSwapCallerSession) GetAmountIn(amountOut *big.Int, reserveIn *big.Int, reserveOut *big.Int) (*big.Int, error)

GetAmountIn is a free data retrieval call binding the contract method 0x85f8c259.

Solidity: function getAmountIn(uint256 amountOut, uint256 reserveIn, uint256 reserveOut) pure returns(uint256 amountIn)

func (*SushiSwapCallerSession) GetAmountOut

func (_SushiSwap *SushiSwapCallerSession) GetAmountOut(amountIn *big.Int, reserveIn *big.Int, reserveOut *big.Int) (*big.Int, error)

GetAmountOut is a free data retrieval call binding the contract method 0x054d50d4.

Solidity: function getAmountOut(uint256 amountIn, uint256 reserveIn, uint256 reserveOut) pure returns(uint256 amountOut)

func (*SushiSwapCallerSession) GetAmountsIn

func (_SushiSwap *SushiSwapCallerSession) GetAmountsIn(amountOut *big.Int, path []common.Address) ([]*big.Int, error)

GetAmountsIn is a free data retrieval call binding the contract method 0x1f00ca74.

Solidity: function getAmountsIn(uint256 amountOut, address[] path) view returns(uint256[] amounts)

func (*SushiSwapCallerSession) GetAmountsOut

func (_SushiSwap *SushiSwapCallerSession) GetAmountsOut(amountIn *big.Int, path []common.Address) ([]*big.Int, error)

GetAmountsOut is a free data retrieval call binding the contract method 0xd06ca61f.

Solidity: function getAmountsOut(uint256 amountIn, address[] path) view returns(uint256[] amounts)

func (*SushiSwapCallerSession) Quote

func (_SushiSwap *SushiSwapCallerSession) Quote(amountA *big.Int, reserveA *big.Int, reserveB *big.Int) (*big.Int, error)

Quote is a free data retrieval call binding the contract method 0xad615dec.

Solidity: function quote(uint256 amountA, uint256 reserveA, uint256 reserveB) pure returns(uint256 amountB)

func (*SushiSwapCallerSession) WETH

func (_SushiSwap *SushiSwapCallerSession) WETH() (common.Address, error)

WETH is a free data retrieval call binding the contract method 0xad5c4648.

Solidity: function WETH() view returns(address)

type SushiSwapFilterer

type SushiSwapFilterer struct {
	// contains filtered or unexported fields
}

SushiSwapFilterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewSushiSwapFilterer

func NewSushiSwapFilterer(address common.Address, filterer bind.ContractFilterer) (*SushiSwapFilterer, error)

NewSushiSwapFilterer creates a new log filterer instance of SushiSwap, bound to a specific deployed contract.

type SushiSwapRaw

type SushiSwapRaw struct {
	Contract *SushiSwap // Generic contract binding to access the raw methods on
}

SushiSwapRaw is an auto generated low-level Go binding around an Ethereum contract.

func (*SushiSwapRaw) Call

func (_SushiSwap *SushiSwapRaw) 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 (*SushiSwapRaw) Transact

func (_SushiSwap *SushiSwapRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*SushiSwapRaw) Transfer

func (_SushiSwap *SushiSwapRaw) 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 SushiSwapSession

type SushiSwapSession struct {
	Contract     *SushiSwap        // 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
}

SushiSwapSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

func (*SushiSwapSession) AddLiquidity

func (_SushiSwap *SushiSwapSession) AddLiquidity(tokenA common.Address, tokenB common.Address, amountADesired *big.Int, amountBDesired *big.Int, amountAMin *big.Int, amountBMin *big.Int, to common.Address, deadline *big.Int) (*types.Transaction, error)

AddLiquidity is a paid mutator transaction binding the contract method 0xe8e33700.

Solidity: function addLiquidity(address tokenA, address tokenB, uint256 amountADesired, uint256 amountBDesired, uint256 amountAMin, uint256 amountBMin, address to, uint256 deadline) returns(uint256 amountA, uint256 amountB, uint256 liquidity)

func (*SushiSwapSession) AddLiquidityETH

func (_SushiSwap *SushiSwapSession) AddLiquidityETH(token common.Address, amountTokenDesired *big.Int, amountTokenMin *big.Int, amountETHMin *big.Int, to common.Address, deadline *big.Int) (*types.Transaction, error)

AddLiquidityETH is a paid mutator transaction binding the contract method 0xf305d719.

Solidity: function addLiquidityETH(address token, uint256 amountTokenDesired, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline) payable returns(uint256 amountToken, uint256 amountETH, uint256 liquidity)

func (*SushiSwapSession) Factory

func (_SushiSwap *SushiSwapSession) Factory() (common.Address, error)

Factory is a free data retrieval call binding the contract method 0xc45a0155.

Solidity: function factory() view returns(address)

func (*SushiSwapSession) GetAmountIn

func (_SushiSwap *SushiSwapSession) GetAmountIn(amountOut *big.Int, reserveIn *big.Int, reserveOut *big.Int) (*big.Int, error)

GetAmountIn is a free data retrieval call binding the contract method 0x85f8c259.

Solidity: function getAmountIn(uint256 amountOut, uint256 reserveIn, uint256 reserveOut) pure returns(uint256 amountIn)

func (*SushiSwapSession) GetAmountOut

func (_SushiSwap *SushiSwapSession) GetAmountOut(amountIn *big.Int, reserveIn *big.Int, reserveOut *big.Int) (*big.Int, error)

GetAmountOut is a free data retrieval call binding the contract method 0x054d50d4.

Solidity: function getAmountOut(uint256 amountIn, uint256 reserveIn, uint256 reserveOut) pure returns(uint256 amountOut)

func (*SushiSwapSession) GetAmountsIn

func (_SushiSwap *SushiSwapSession) GetAmountsIn(amountOut *big.Int, path []common.Address) ([]*big.Int, error)

GetAmountsIn is a free data retrieval call binding the contract method 0x1f00ca74.

Solidity: function getAmountsIn(uint256 amountOut, address[] path) view returns(uint256[] amounts)

func (*SushiSwapSession) GetAmountsOut

func (_SushiSwap *SushiSwapSession) GetAmountsOut(amountIn *big.Int, path []common.Address) ([]*big.Int, error)

GetAmountsOut is a free data retrieval call binding the contract method 0xd06ca61f.

Solidity: function getAmountsOut(uint256 amountIn, address[] path) view returns(uint256[] amounts)

func (*SushiSwapSession) Quote

func (_SushiSwap *SushiSwapSession) Quote(amountA *big.Int, reserveA *big.Int, reserveB *big.Int) (*big.Int, error)

Quote is a free data retrieval call binding the contract method 0xad615dec.

Solidity: function quote(uint256 amountA, uint256 reserveA, uint256 reserveB) pure returns(uint256 amountB)

func (*SushiSwapSession) Receive

func (_SushiSwap *SushiSwapSession) Receive() (*types.Transaction, error)

Receive is a paid mutator transaction binding the contract receive function.

Solidity: receive() payable returns()

func (*SushiSwapSession) RemoveLiquidity

func (_SushiSwap *SushiSwapSession) RemoveLiquidity(tokenA common.Address, tokenB common.Address, liquidity *big.Int, amountAMin *big.Int, amountBMin *big.Int, to common.Address, deadline *big.Int) (*types.Transaction, error)

RemoveLiquidity is a paid mutator transaction binding the contract method 0xbaa2abde.

Solidity: function removeLiquidity(address tokenA, address tokenB, uint256 liquidity, uint256 amountAMin, uint256 amountBMin, address to, uint256 deadline) returns(uint256 amountA, uint256 amountB)

func (*SushiSwapSession) RemoveLiquidityETH

func (_SushiSwap *SushiSwapSession) RemoveLiquidityETH(token common.Address, liquidity *big.Int, amountTokenMin *big.Int, amountETHMin *big.Int, to common.Address, deadline *big.Int) (*types.Transaction, error)

RemoveLiquidityETH is a paid mutator transaction binding the contract method 0x02751cec.

Solidity: function removeLiquidityETH(address token, uint256 liquidity, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline) returns(uint256 amountToken, uint256 amountETH)

func (*SushiSwapSession) RemoveLiquidityETHSupportingFeeOnTransferTokens

func (_SushiSwap *SushiSwapSession) RemoveLiquidityETHSupportingFeeOnTransferTokens(token common.Address, liquidity *big.Int, amountTokenMin *big.Int, amountETHMin *big.Int, to common.Address, deadline *big.Int) (*types.Transaction, error)

RemoveLiquidityETHSupportingFeeOnTransferTokens is a paid mutator transaction binding the contract method 0xaf2979eb.

Solidity: function removeLiquidityETHSupportingFeeOnTransferTokens(address token, uint256 liquidity, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline) returns(uint256 amountETH)

func (*SushiSwapSession) RemoveLiquidityETHWithPermit

func (_SushiSwap *SushiSwapSession) RemoveLiquidityETHWithPermit(token common.Address, liquidity *big.Int, amountTokenMin *big.Int, amountETHMin *big.Int, to common.Address, deadline *big.Int, approveMax bool, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

RemoveLiquidityETHWithPermit is a paid mutator transaction binding the contract method 0xded9382a.

Solidity: function removeLiquidityETHWithPermit(address token, uint256 liquidity, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s) returns(uint256 amountToken, uint256 amountETH)

func (*SushiSwapSession) RemoveLiquidityETHWithPermitSupportingFeeOnTransferTokens

func (_SushiSwap *SushiSwapSession) RemoveLiquidityETHWithPermitSupportingFeeOnTransferTokens(token common.Address, liquidity *big.Int, amountTokenMin *big.Int, amountETHMin *big.Int, to common.Address, deadline *big.Int, approveMax bool, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

RemoveLiquidityETHWithPermitSupportingFeeOnTransferTokens is a paid mutator transaction binding the contract method 0x5b0d5984.

Solidity: function removeLiquidityETHWithPermitSupportingFeeOnTransferTokens(address token, uint256 liquidity, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s) returns(uint256 amountETH)

func (*SushiSwapSession) RemoveLiquidityWithPermit

func (_SushiSwap *SushiSwapSession) RemoveLiquidityWithPermit(tokenA common.Address, tokenB common.Address, liquidity *big.Int, amountAMin *big.Int, amountBMin *big.Int, to common.Address, deadline *big.Int, approveMax bool, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

RemoveLiquidityWithPermit is a paid mutator transaction binding the contract method 0x2195995c.

Solidity: function removeLiquidityWithPermit(address tokenA, address tokenB, uint256 liquidity, uint256 amountAMin, uint256 amountBMin, address to, uint256 deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s) returns(uint256 amountA, uint256 amountB)

func (*SushiSwapSession) SwapETHForExactTokens

func (_SushiSwap *SushiSwapSession) SwapETHForExactTokens(amountOut *big.Int, path []common.Address, to common.Address, deadline *big.Int) (*types.Transaction, error)

SwapETHForExactTokens is a paid mutator transaction binding the contract method 0xfb3bdb41.

Solidity: function swapETHForExactTokens(uint256 amountOut, address[] path, address to, uint256 deadline) payable returns(uint256[] amounts)

func (*SushiSwapSession) SwapExactETHForTokens

func (_SushiSwap *SushiSwapSession) SwapExactETHForTokens(amountOutMin *big.Int, path []common.Address, to common.Address, deadline *big.Int) (*types.Transaction, error)

SwapExactETHForTokens is a paid mutator transaction binding the contract method 0x7ff36ab5.

Solidity: function swapExactETHForTokens(uint256 amountOutMin, address[] path, address to, uint256 deadline) payable returns(uint256[] amounts)

func (*SushiSwapSession) SwapExactETHForTokensSupportingFeeOnTransferTokens

func (_SushiSwap *SushiSwapSession) SwapExactETHForTokensSupportingFeeOnTransferTokens(amountOutMin *big.Int, path []common.Address, to common.Address, deadline *big.Int) (*types.Transaction, error)

SwapExactETHForTokensSupportingFeeOnTransferTokens is a paid mutator transaction binding the contract method 0xb6f9de95.

Solidity: function swapExactETHForTokensSupportingFeeOnTransferTokens(uint256 amountOutMin, address[] path, address to, uint256 deadline) payable returns()

func (*SushiSwapSession) SwapExactTokensForETH

func (_SushiSwap *SushiSwapSession) SwapExactTokensForETH(amountIn *big.Int, amountOutMin *big.Int, path []common.Address, to common.Address, deadline *big.Int) (*types.Transaction, error)

SwapExactTokensForETH is a paid mutator transaction binding the contract method 0x18cbafe5.

Solidity: function swapExactTokensForETH(uint256 amountIn, uint256 amountOutMin, address[] path, address to, uint256 deadline) returns(uint256[] amounts)

func (*SushiSwapSession) SwapExactTokensForETHSupportingFeeOnTransferTokens

func (_SushiSwap *SushiSwapSession) SwapExactTokensForETHSupportingFeeOnTransferTokens(amountIn *big.Int, amountOutMin *big.Int, path []common.Address, to common.Address, deadline *big.Int) (*types.Transaction, error)

SwapExactTokensForETHSupportingFeeOnTransferTokens is a paid mutator transaction binding the contract method 0x791ac947.

Solidity: function swapExactTokensForETHSupportingFeeOnTransferTokens(uint256 amountIn, uint256 amountOutMin, address[] path, address to, uint256 deadline) returns()

func (*SushiSwapSession) SwapExactTokensForTokens

func (_SushiSwap *SushiSwapSession) SwapExactTokensForTokens(amountIn *big.Int, amountOutMin *big.Int, path []common.Address, to common.Address, deadline *big.Int) (*types.Transaction, error)

SwapExactTokensForTokens is a paid mutator transaction binding the contract method 0x38ed1739.

Solidity: function swapExactTokensForTokens(uint256 amountIn, uint256 amountOutMin, address[] path, address to, uint256 deadline) returns(uint256[] amounts)

func (*SushiSwapSession) SwapExactTokensForTokensSupportingFeeOnTransferTokens

func (_SushiSwap *SushiSwapSession) SwapExactTokensForTokensSupportingFeeOnTransferTokens(amountIn *big.Int, amountOutMin *big.Int, path []common.Address, to common.Address, deadline *big.Int) (*types.Transaction, error)

SwapExactTokensForTokensSupportingFeeOnTransferTokens is a paid mutator transaction binding the contract method 0x5c11d795.

Solidity: function swapExactTokensForTokensSupportingFeeOnTransferTokens(uint256 amountIn, uint256 amountOutMin, address[] path, address to, uint256 deadline) returns()

func (*SushiSwapSession) SwapTokensForExactETH

func (_SushiSwap *SushiSwapSession) SwapTokensForExactETH(amountOut *big.Int, amountInMax *big.Int, path []common.Address, to common.Address, deadline *big.Int) (*types.Transaction, error)

SwapTokensForExactETH is a paid mutator transaction binding the contract method 0x4a25d94a.

Solidity: function swapTokensForExactETH(uint256 amountOut, uint256 amountInMax, address[] path, address to, uint256 deadline) returns(uint256[] amounts)

func (*SushiSwapSession) SwapTokensForExactTokens

func (_SushiSwap *SushiSwapSession) SwapTokensForExactTokens(amountOut *big.Int, amountInMax *big.Int, path []common.Address, to common.Address, deadline *big.Int) (*types.Transaction, error)

SwapTokensForExactTokens is a paid mutator transaction binding the contract method 0x8803dbee.

Solidity: function swapTokensForExactTokens(uint256 amountOut, uint256 amountInMax, address[] path, address to, uint256 deadline) returns(uint256[] amounts)

func (*SushiSwapSession) WETH

func (_SushiSwap *SushiSwapSession) WETH() (common.Address, error)

WETH is a free data retrieval call binding the contract method 0xad5c4648.

Solidity: function WETH() view returns(address)

type SushiSwapTransactor

type SushiSwapTransactor struct {
	// contains filtered or unexported fields
}

SushiSwapTransactor is an auto generated write-only Go binding around an Ethereum contract.

func NewSushiSwapTransactor

func NewSushiSwapTransactor(address common.Address, transactor bind.ContractTransactor) (*SushiSwapTransactor, error)

NewSushiSwapTransactor creates a new write-only instance of SushiSwap, bound to a specific deployed contract.

func (*SushiSwapTransactor) AddLiquidity

func (_SushiSwap *SushiSwapTransactor) AddLiquidity(opts *bind.TransactOpts, tokenA common.Address, tokenB common.Address, amountADesired *big.Int, amountBDesired *big.Int, amountAMin *big.Int, amountBMin *big.Int, to common.Address, deadline *big.Int) (*types.Transaction, error)

AddLiquidity is a paid mutator transaction binding the contract method 0xe8e33700.

Solidity: function addLiquidity(address tokenA, address tokenB, uint256 amountADesired, uint256 amountBDesired, uint256 amountAMin, uint256 amountBMin, address to, uint256 deadline) returns(uint256 amountA, uint256 amountB, uint256 liquidity)

func (*SushiSwapTransactor) AddLiquidityETH

func (_SushiSwap *SushiSwapTransactor) AddLiquidityETH(opts *bind.TransactOpts, token common.Address, amountTokenDesired *big.Int, amountTokenMin *big.Int, amountETHMin *big.Int, to common.Address, deadline *big.Int) (*types.Transaction, error)

AddLiquidityETH is a paid mutator transaction binding the contract method 0xf305d719.

Solidity: function addLiquidityETH(address token, uint256 amountTokenDesired, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline) payable returns(uint256 amountToken, uint256 amountETH, uint256 liquidity)

func (*SushiSwapTransactor) Receive

func (_SushiSwap *SushiSwapTransactor) Receive(opts *bind.TransactOpts) (*types.Transaction, error)

Receive is a paid mutator transaction binding the contract receive function.

Solidity: receive() payable returns()

func (*SushiSwapTransactor) RemoveLiquidity

func (_SushiSwap *SushiSwapTransactor) RemoveLiquidity(opts *bind.TransactOpts, tokenA common.Address, tokenB common.Address, liquidity *big.Int, amountAMin *big.Int, amountBMin *big.Int, to common.Address, deadline *big.Int) (*types.Transaction, error)

RemoveLiquidity is a paid mutator transaction binding the contract method 0xbaa2abde.

Solidity: function removeLiquidity(address tokenA, address tokenB, uint256 liquidity, uint256 amountAMin, uint256 amountBMin, address to, uint256 deadline) returns(uint256 amountA, uint256 amountB)

func (*SushiSwapTransactor) RemoveLiquidityETH

func (_SushiSwap *SushiSwapTransactor) RemoveLiquidityETH(opts *bind.TransactOpts, token common.Address, liquidity *big.Int, amountTokenMin *big.Int, amountETHMin *big.Int, to common.Address, deadline *big.Int) (*types.Transaction, error)

RemoveLiquidityETH is a paid mutator transaction binding the contract method 0x02751cec.

Solidity: function removeLiquidityETH(address token, uint256 liquidity, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline) returns(uint256 amountToken, uint256 amountETH)

func (*SushiSwapTransactor) RemoveLiquidityETHSupportingFeeOnTransferTokens

func (_SushiSwap *SushiSwapTransactor) RemoveLiquidityETHSupportingFeeOnTransferTokens(opts *bind.TransactOpts, token common.Address, liquidity *big.Int, amountTokenMin *big.Int, amountETHMin *big.Int, to common.Address, deadline *big.Int) (*types.Transaction, error)

RemoveLiquidityETHSupportingFeeOnTransferTokens is a paid mutator transaction binding the contract method 0xaf2979eb.

Solidity: function removeLiquidityETHSupportingFeeOnTransferTokens(address token, uint256 liquidity, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline) returns(uint256 amountETH)

func (*SushiSwapTransactor) RemoveLiquidityETHWithPermit

func (_SushiSwap *SushiSwapTransactor) RemoveLiquidityETHWithPermit(opts *bind.TransactOpts, token common.Address, liquidity *big.Int, amountTokenMin *big.Int, amountETHMin *big.Int, to common.Address, deadline *big.Int, approveMax bool, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

RemoveLiquidityETHWithPermit is a paid mutator transaction binding the contract method 0xded9382a.

Solidity: function removeLiquidityETHWithPermit(address token, uint256 liquidity, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s) returns(uint256 amountToken, uint256 amountETH)

func (*SushiSwapTransactor) RemoveLiquidityETHWithPermitSupportingFeeOnTransferTokens

func (_SushiSwap *SushiSwapTransactor) RemoveLiquidityETHWithPermitSupportingFeeOnTransferTokens(opts *bind.TransactOpts, token common.Address, liquidity *big.Int, amountTokenMin *big.Int, amountETHMin *big.Int, to common.Address, deadline *big.Int, approveMax bool, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

RemoveLiquidityETHWithPermitSupportingFeeOnTransferTokens is a paid mutator transaction binding the contract method 0x5b0d5984.

Solidity: function removeLiquidityETHWithPermitSupportingFeeOnTransferTokens(address token, uint256 liquidity, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s) returns(uint256 amountETH)

func (*SushiSwapTransactor) RemoveLiquidityWithPermit

func (_SushiSwap *SushiSwapTransactor) RemoveLiquidityWithPermit(opts *bind.TransactOpts, tokenA common.Address, tokenB common.Address, liquidity *big.Int, amountAMin *big.Int, amountBMin *big.Int, to common.Address, deadline *big.Int, approveMax bool, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

RemoveLiquidityWithPermit is a paid mutator transaction binding the contract method 0x2195995c.

Solidity: function removeLiquidityWithPermit(address tokenA, address tokenB, uint256 liquidity, uint256 amountAMin, uint256 amountBMin, address to, uint256 deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s) returns(uint256 amountA, uint256 amountB)

func (*SushiSwapTransactor) SwapETHForExactTokens

func (_SushiSwap *SushiSwapTransactor) SwapETHForExactTokens(opts *bind.TransactOpts, amountOut *big.Int, path []common.Address, to common.Address, deadline *big.Int) (*types.Transaction, error)

SwapETHForExactTokens is a paid mutator transaction binding the contract method 0xfb3bdb41.

Solidity: function swapETHForExactTokens(uint256 amountOut, address[] path, address to, uint256 deadline) payable returns(uint256[] amounts)

func (*SushiSwapTransactor) SwapExactETHForTokens

func (_SushiSwap *SushiSwapTransactor) SwapExactETHForTokens(opts *bind.TransactOpts, amountOutMin *big.Int, path []common.Address, to common.Address, deadline *big.Int) (*types.Transaction, error)

SwapExactETHForTokens is a paid mutator transaction binding the contract method 0x7ff36ab5.

Solidity: function swapExactETHForTokens(uint256 amountOutMin, address[] path, address to, uint256 deadline) payable returns(uint256[] amounts)

func (*SushiSwapTransactor) SwapExactETHForTokensSupportingFeeOnTransferTokens

func (_SushiSwap *SushiSwapTransactor) SwapExactETHForTokensSupportingFeeOnTransferTokens(opts *bind.TransactOpts, amountOutMin *big.Int, path []common.Address, to common.Address, deadline *big.Int) (*types.Transaction, error)

SwapExactETHForTokensSupportingFeeOnTransferTokens is a paid mutator transaction binding the contract method 0xb6f9de95.

Solidity: function swapExactETHForTokensSupportingFeeOnTransferTokens(uint256 amountOutMin, address[] path, address to, uint256 deadline) payable returns()

func (*SushiSwapTransactor) SwapExactTokensForETH

func (_SushiSwap *SushiSwapTransactor) SwapExactTokensForETH(opts *bind.TransactOpts, amountIn *big.Int, amountOutMin *big.Int, path []common.Address, to common.Address, deadline *big.Int) (*types.Transaction, error)

SwapExactTokensForETH is a paid mutator transaction binding the contract method 0x18cbafe5.

Solidity: function swapExactTokensForETH(uint256 amountIn, uint256 amountOutMin, address[] path, address to, uint256 deadline) returns(uint256[] amounts)

func (*SushiSwapTransactor) SwapExactTokensForETHSupportingFeeOnTransferTokens

func (_SushiSwap *SushiSwapTransactor) SwapExactTokensForETHSupportingFeeOnTransferTokens(opts *bind.TransactOpts, amountIn *big.Int, amountOutMin *big.Int, path []common.Address, to common.Address, deadline *big.Int) (*types.Transaction, error)

SwapExactTokensForETHSupportingFeeOnTransferTokens is a paid mutator transaction binding the contract method 0x791ac947.

Solidity: function swapExactTokensForETHSupportingFeeOnTransferTokens(uint256 amountIn, uint256 amountOutMin, address[] path, address to, uint256 deadline) returns()

func (*SushiSwapTransactor) SwapExactTokensForTokens

func (_SushiSwap *SushiSwapTransactor) SwapExactTokensForTokens(opts *bind.TransactOpts, amountIn *big.Int, amountOutMin *big.Int, path []common.Address, to common.Address, deadline *big.Int) (*types.Transaction, error)

SwapExactTokensForTokens is a paid mutator transaction binding the contract method 0x38ed1739.

Solidity: function swapExactTokensForTokens(uint256 amountIn, uint256 amountOutMin, address[] path, address to, uint256 deadline) returns(uint256[] amounts)

func (*SushiSwapTransactor) SwapExactTokensForTokensSupportingFeeOnTransferTokens

func (_SushiSwap *SushiSwapTransactor) SwapExactTokensForTokensSupportingFeeOnTransferTokens(opts *bind.TransactOpts, amountIn *big.Int, amountOutMin *big.Int, path []common.Address, to common.Address, deadline *big.Int) (*types.Transaction, error)

SwapExactTokensForTokensSupportingFeeOnTransferTokens is a paid mutator transaction binding the contract method 0x5c11d795.

Solidity: function swapExactTokensForTokensSupportingFeeOnTransferTokens(uint256 amountIn, uint256 amountOutMin, address[] path, address to, uint256 deadline) returns()

func (*SushiSwapTransactor) SwapTokensForExactETH

func (_SushiSwap *SushiSwapTransactor) SwapTokensForExactETH(opts *bind.TransactOpts, amountOut *big.Int, amountInMax *big.Int, path []common.Address, to common.Address, deadline *big.Int) (*types.Transaction, error)

SwapTokensForExactETH is a paid mutator transaction binding the contract method 0x4a25d94a.

Solidity: function swapTokensForExactETH(uint256 amountOut, uint256 amountInMax, address[] path, address to, uint256 deadline) returns(uint256[] amounts)

func (*SushiSwapTransactor) SwapTokensForExactTokens

func (_SushiSwap *SushiSwapTransactor) SwapTokensForExactTokens(opts *bind.TransactOpts, amountOut *big.Int, amountInMax *big.Int, path []common.Address, to common.Address, deadline *big.Int) (*types.Transaction, error)

SwapTokensForExactTokens is a paid mutator transaction binding the contract method 0x8803dbee.

Solidity: function swapTokensForExactTokens(uint256 amountOut, uint256 amountInMax, address[] path, address to, uint256 deadline) returns(uint256[] amounts)

type SushiSwapTransactorRaw

type SushiSwapTransactorRaw struct {
	Contract *SushiSwapTransactor // Generic write-only contract binding to access the raw methods on
}

SushiSwapTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*SushiSwapTransactorRaw) Transact

func (_SushiSwap *SushiSwapTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*SushiSwapTransactorRaw) Transfer

func (_SushiSwap *SushiSwapTransactorRaw) 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 SushiSwapTransactorSession

type SushiSwapTransactorSession struct {
	Contract     *SushiSwapTransactor // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts    // Transaction auth options to use throughout this session
}

SushiSwapTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

func (*SushiSwapTransactorSession) AddLiquidity

func (_SushiSwap *SushiSwapTransactorSession) AddLiquidity(tokenA common.Address, tokenB common.Address, amountADesired *big.Int, amountBDesired *big.Int, amountAMin *big.Int, amountBMin *big.Int, to common.Address, deadline *big.Int) (*types.Transaction, error)

AddLiquidity is a paid mutator transaction binding the contract method 0xe8e33700.

Solidity: function addLiquidity(address tokenA, address tokenB, uint256 amountADesired, uint256 amountBDesired, uint256 amountAMin, uint256 amountBMin, address to, uint256 deadline) returns(uint256 amountA, uint256 amountB, uint256 liquidity)

func (*SushiSwapTransactorSession) AddLiquidityETH

func (_SushiSwap *SushiSwapTransactorSession) AddLiquidityETH(token common.Address, amountTokenDesired *big.Int, amountTokenMin *big.Int, amountETHMin *big.Int, to common.Address, deadline *big.Int) (*types.Transaction, error)

AddLiquidityETH is a paid mutator transaction binding the contract method 0xf305d719.

Solidity: function addLiquidityETH(address token, uint256 amountTokenDesired, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline) payable returns(uint256 amountToken, uint256 amountETH, uint256 liquidity)

func (*SushiSwapTransactorSession) Receive

func (_SushiSwap *SushiSwapTransactorSession) Receive() (*types.Transaction, error)

Receive is a paid mutator transaction binding the contract receive function.

Solidity: receive() payable returns()

func (*SushiSwapTransactorSession) RemoveLiquidity

func (_SushiSwap *SushiSwapTransactorSession) RemoveLiquidity(tokenA common.Address, tokenB common.Address, liquidity *big.Int, amountAMin *big.Int, amountBMin *big.Int, to common.Address, deadline *big.Int) (*types.Transaction, error)

RemoveLiquidity is a paid mutator transaction binding the contract method 0xbaa2abde.

Solidity: function removeLiquidity(address tokenA, address tokenB, uint256 liquidity, uint256 amountAMin, uint256 amountBMin, address to, uint256 deadline) returns(uint256 amountA, uint256 amountB)

func (*SushiSwapTransactorSession) RemoveLiquidityETH

func (_SushiSwap *SushiSwapTransactorSession) RemoveLiquidityETH(token common.Address, liquidity *big.Int, amountTokenMin *big.Int, amountETHMin *big.Int, to common.Address, deadline *big.Int) (*types.Transaction, error)

RemoveLiquidityETH is a paid mutator transaction binding the contract method 0x02751cec.

Solidity: function removeLiquidityETH(address token, uint256 liquidity, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline) returns(uint256 amountToken, uint256 amountETH)

func (*SushiSwapTransactorSession) RemoveLiquidityETHSupportingFeeOnTransferTokens

func (_SushiSwap *SushiSwapTransactorSession) RemoveLiquidityETHSupportingFeeOnTransferTokens(token common.Address, liquidity *big.Int, amountTokenMin *big.Int, amountETHMin *big.Int, to common.Address, deadline *big.Int) (*types.Transaction, error)

RemoveLiquidityETHSupportingFeeOnTransferTokens is a paid mutator transaction binding the contract method 0xaf2979eb.

Solidity: function removeLiquidityETHSupportingFeeOnTransferTokens(address token, uint256 liquidity, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline) returns(uint256 amountETH)

func (*SushiSwapTransactorSession) RemoveLiquidityETHWithPermit

func (_SushiSwap *SushiSwapTransactorSession) RemoveLiquidityETHWithPermit(token common.Address, liquidity *big.Int, amountTokenMin *big.Int, amountETHMin *big.Int, to common.Address, deadline *big.Int, approveMax bool, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

RemoveLiquidityETHWithPermit is a paid mutator transaction binding the contract method 0xded9382a.

Solidity: function removeLiquidityETHWithPermit(address token, uint256 liquidity, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s) returns(uint256 amountToken, uint256 amountETH)

func (*SushiSwapTransactorSession) RemoveLiquidityETHWithPermitSupportingFeeOnTransferTokens

func (_SushiSwap *SushiSwapTransactorSession) RemoveLiquidityETHWithPermitSupportingFeeOnTransferTokens(token common.Address, liquidity *big.Int, amountTokenMin *big.Int, amountETHMin *big.Int, to common.Address, deadline *big.Int, approveMax bool, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

RemoveLiquidityETHWithPermitSupportingFeeOnTransferTokens is a paid mutator transaction binding the contract method 0x5b0d5984.

Solidity: function removeLiquidityETHWithPermitSupportingFeeOnTransferTokens(address token, uint256 liquidity, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s) returns(uint256 amountETH)

func (*SushiSwapTransactorSession) RemoveLiquidityWithPermit

func (_SushiSwap *SushiSwapTransactorSession) RemoveLiquidityWithPermit(tokenA common.Address, tokenB common.Address, liquidity *big.Int, amountAMin *big.Int, amountBMin *big.Int, to common.Address, deadline *big.Int, approveMax bool, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

RemoveLiquidityWithPermit is a paid mutator transaction binding the contract method 0x2195995c.

Solidity: function removeLiquidityWithPermit(address tokenA, address tokenB, uint256 liquidity, uint256 amountAMin, uint256 amountBMin, address to, uint256 deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s) returns(uint256 amountA, uint256 amountB)

func (*SushiSwapTransactorSession) SwapETHForExactTokens

func (_SushiSwap *SushiSwapTransactorSession) SwapETHForExactTokens(amountOut *big.Int, path []common.Address, to common.Address, deadline *big.Int) (*types.Transaction, error)

SwapETHForExactTokens is a paid mutator transaction binding the contract method 0xfb3bdb41.

Solidity: function swapETHForExactTokens(uint256 amountOut, address[] path, address to, uint256 deadline) payable returns(uint256[] amounts)

func (*SushiSwapTransactorSession) SwapExactETHForTokens

func (_SushiSwap *SushiSwapTransactorSession) SwapExactETHForTokens(amountOutMin *big.Int, path []common.Address, to common.Address, deadline *big.Int) (*types.Transaction, error)

SwapExactETHForTokens is a paid mutator transaction binding the contract method 0x7ff36ab5.

Solidity: function swapExactETHForTokens(uint256 amountOutMin, address[] path, address to, uint256 deadline) payable returns(uint256[] amounts)

func (*SushiSwapTransactorSession) SwapExactETHForTokensSupportingFeeOnTransferTokens

func (_SushiSwap *SushiSwapTransactorSession) SwapExactETHForTokensSupportingFeeOnTransferTokens(amountOutMin *big.Int, path []common.Address, to common.Address, deadline *big.Int) (*types.Transaction, error)

SwapExactETHForTokensSupportingFeeOnTransferTokens is a paid mutator transaction binding the contract method 0xb6f9de95.

Solidity: function swapExactETHForTokensSupportingFeeOnTransferTokens(uint256 amountOutMin, address[] path, address to, uint256 deadline) payable returns()

func (*SushiSwapTransactorSession) SwapExactTokensForETH

func (_SushiSwap *SushiSwapTransactorSession) SwapExactTokensForETH(amountIn *big.Int, amountOutMin *big.Int, path []common.Address, to common.Address, deadline *big.Int) (*types.Transaction, error)

SwapExactTokensForETH is a paid mutator transaction binding the contract method 0x18cbafe5.

Solidity: function swapExactTokensForETH(uint256 amountIn, uint256 amountOutMin, address[] path, address to, uint256 deadline) returns(uint256[] amounts)

func (*SushiSwapTransactorSession) SwapExactTokensForETHSupportingFeeOnTransferTokens

func (_SushiSwap *SushiSwapTransactorSession) SwapExactTokensForETHSupportingFeeOnTransferTokens(amountIn *big.Int, amountOutMin *big.Int, path []common.Address, to common.Address, deadline *big.Int) (*types.Transaction, error)

SwapExactTokensForETHSupportingFeeOnTransferTokens is a paid mutator transaction binding the contract method 0x791ac947.

Solidity: function swapExactTokensForETHSupportingFeeOnTransferTokens(uint256 amountIn, uint256 amountOutMin, address[] path, address to, uint256 deadline) returns()

func (*SushiSwapTransactorSession) SwapExactTokensForTokens

func (_SushiSwap *SushiSwapTransactorSession) SwapExactTokensForTokens(amountIn *big.Int, amountOutMin *big.Int, path []common.Address, to common.Address, deadline *big.Int) (*types.Transaction, error)

SwapExactTokensForTokens is a paid mutator transaction binding the contract method 0x38ed1739.

Solidity: function swapExactTokensForTokens(uint256 amountIn, uint256 amountOutMin, address[] path, address to, uint256 deadline) returns(uint256[] amounts)

func (*SushiSwapTransactorSession) SwapExactTokensForTokensSupportingFeeOnTransferTokens

func (_SushiSwap *SushiSwapTransactorSession) SwapExactTokensForTokensSupportingFeeOnTransferTokens(amountIn *big.Int, amountOutMin *big.Int, path []common.Address, to common.Address, deadline *big.Int) (*types.Transaction, error)

SwapExactTokensForTokensSupportingFeeOnTransferTokens is a paid mutator transaction binding the contract method 0x5c11d795.

Solidity: function swapExactTokensForTokensSupportingFeeOnTransferTokens(uint256 amountIn, uint256 amountOutMin, address[] path, address to, uint256 deadline) returns()

func (*SushiSwapTransactorSession) SwapTokensForExactETH

func (_SushiSwap *SushiSwapTransactorSession) SwapTokensForExactETH(amountOut *big.Int, amountInMax *big.Int, path []common.Address, to common.Address, deadline *big.Int) (*types.Transaction, error)

SwapTokensForExactETH is a paid mutator transaction binding the contract method 0x4a25d94a.

Solidity: function swapTokensForExactETH(uint256 amountOut, uint256 amountInMax, address[] path, address to, uint256 deadline) returns(uint256[] amounts)

func (*SushiSwapTransactorSession) SwapTokensForExactTokens

func (_SushiSwap *SushiSwapTransactorSession) SwapTokensForExactTokens(amountOut *big.Int, amountInMax *big.Int, path []common.Address, to common.Address, deadline *big.Int) (*types.Transaction, error)

SwapTokensForExactTokens is a paid mutator transaction binding the contract method 0x8803dbee.

Solidity: function swapTokensForExactTokens(uint256 amountOut, uint256 amountInMax, address[] path, address to, uint256 deadline) returns(uint256[] amounts)

type TypesOptimalRate

type TypesOptimalRate struct {
	Rate         *big.Int
	Distribution TypesRateDistribution
}

TypesOptimalRate is an auto generated low-level Go binding around an user-defined struct.

type TypesRateDistribution

type TypesRateDistribution struct {
	Uniswap *big.Int
	Bancor  *big.Int
	Kyber   *big.Int
	Oasis   *big.Int
}

TypesRateDistribution is an auto generated low-level Go binding around an user-defined struct.

type UQ112x112

type UQ112x112 struct {
	UQ112x112Caller     // Read-only binding to the contract
	UQ112x112Transactor // Write-only binding to the contract
	UQ112x112Filterer   // Log filterer for contract events
}

UQ112x112 is an auto generated Go binding around an Ethereum contract.

func DeployUQ112x112

func DeployUQ112x112(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *UQ112x112, error)

DeployUQ112x112 deploys a new Ethereum contract, binding an instance of UQ112x112 to it.

func NewUQ112x112

func NewUQ112x112(address common.Address, backend bind.ContractBackend) (*UQ112x112, error)

NewUQ112x112 creates a new instance of UQ112x112, bound to a specific deployed contract.

type UQ112x112Caller

type UQ112x112Caller struct {
	// contains filtered or unexported fields
}

UQ112x112Caller is an auto generated read-only Go binding around an Ethereum contract.

func NewUQ112x112Caller

func NewUQ112x112Caller(address common.Address, caller bind.ContractCaller) (*UQ112x112Caller, error)

NewUQ112x112Caller creates a new read-only instance of UQ112x112, bound to a specific deployed contract.

type UQ112x112CallerRaw

type UQ112x112CallerRaw struct {
	Contract *UQ112x112Caller // Generic read-only contract binding to access the raw methods on
}

UQ112x112CallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*UQ112x112CallerRaw) Call

func (_UQ112x112 *UQ112x112CallerRaw) 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 UQ112x112CallerSession

type UQ112x112CallerSession struct {
	Contract *UQ112x112Caller // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts    // Call options to use throughout this session
}

UQ112x112CallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

type UQ112x112Filterer

type UQ112x112Filterer struct {
	// contains filtered or unexported fields
}

UQ112x112Filterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewUQ112x112Filterer

func NewUQ112x112Filterer(address common.Address, filterer bind.ContractFilterer) (*UQ112x112Filterer, error)

NewUQ112x112Filterer creates a new log filterer instance of UQ112x112, bound to a specific deployed contract.

type UQ112x112Raw

type UQ112x112Raw struct {
	Contract *UQ112x112 // Generic contract binding to access the raw methods on
}

UQ112x112Raw is an auto generated low-level Go binding around an Ethereum contract.

func (*UQ112x112Raw) Call

func (_UQ112x112 *UQ112x112Raw) 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 (*UQ112x112Raw) Transact

func (_UQ112x112 *UQ112x112Raw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*UQ112x112Raw) Transfer

func (_UQ112x112 *UQ112x112Raw) 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 UQ112x112Session

type UQ112x112Session struct {
	Contract     *UQ112x112        // 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
}

UQ112x112Session is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

type UQ112x112Transactor

type UQ112x112Transactor struct {
	// contains filtered or unexported fields
}

UQ112x112Transactor is an auto generated write-only Go binding around an Ethereum contract.

func NewUQ112x112Transactor

func NewUQ112x112Transactor(address common.Address, transactor bind.ContractTransactor) (*UQ112x112Transactor, error)

NewUQ112x112Transactor creates a new write-only instance of UQ112x112, bound to a specific deployed contract.

type UQ112x112TransactorRaw

type UQ112x112TransactorRaw struct {
	Contract *UQ112x112Transactor // Generic write-only contract binding to access the raw methods on
}

UQ112x112TransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*UQ112x112TransactorRaw) Transact

func (_UQ112x112 *UQ112x112TransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*UQ112x112TransactorRaw) Transfer

func (_UQ112x112 *UQ112x112TransactorRaw) 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 UQ112x112TransactorSession

type UQ112x112TransactorSession struct {
	Contract     *UQ112x112Transactor // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts    // Transaction auth options to use throughout this session
}

UQ112x112TransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

type UniswapStaking

type UniswapStaking struct {
	UniswapStakingCaller     // Read-only binding to the contract
	UniswapStakingTransactor // Write-only binding to the contract
	UniswapStakingFilterer   // Log filterer for contract events
}

UniswapStaking is an auto generated Go binding around an Ethereum contract.

func NewUniswapStaking

func NewUniswapStaking(address common.Address, backend bind.ContractBackend) (*UniswapStaking, error)

NewUniswapStaking creates a new instance of UniswapStaking, bound to a specific deployed contract.

type UniswapStakingCaller

type UniswapStakingCaller struct {
	// contains filtered or unexported fields
}

UniswapStakingCaller is an auto generated read-only Go binding around an Ethereum contract.

func NewUniswapStakingCaller

func NewUniswapStakingCaller(address common.Address, caller bind.ContractCaller) (*UniswapStakingCaller, error)

NewUniswapStakingCaller creates a new read-only instance of UniswapStaking, bound to a specific deployed contract.

func (*UniswapStakingCaller) BalanceOf

func (_UniswapStaking *UniswapStakingCaller) 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 (*UniswapStakingCaller) Earned

func (_UniswapStaking *UniswapStakingCaller) Earned(opts *bind.CallOpts, account common.Address) (*big.Int, error)

Earned is a free data retrieval call binding the contract method 0x008cc262.

Solidity: function earned(address account) view returns(uint256)

func (*UniswapStakingCaller) GetRewardForDuration

func (_UniswapStaking *UniswapStakingCaller) GetRewardForDuration(opts *bind.CallOpts) (*big.Int, error)

GetRewardForDuration is a free data retrieval call binding the contract method 0x1c1f78eb.

Solidity: function getRewardForDuration() view returns(uint256)

func (*UniswapStakingCaller) LastTimeRewardApplicable

func (_UniswapStaking *UniswapStakingCaller) LastTimeRewardApplicable(opts *bind.CallOpts) (*big.Int, error)

LastTimeRewardApplicable is a free data retrieval call binding the contract method 0x80faa57d.

Solidity: function lastTimeRewardApplicable() view returns(uint256)

func (*UniswapStakingCaller) LastUpdateTime

func (_UniswapStaking *UniswapStakingCaller) LastUpdateTime(opts *bind.CallOpts) (*big.Int, error)

LastUpdateTime is a free data retrieval call binding the contract method 0xc8f33c91.

Solidity: function lastUpdateTime() view returns(uint256)

func (*UniswapStakingCaller) PeriodFinish

func (_UniswapStaking *UniswapStakingCaller) PeriodFinish(opts *bind.CallOpts) (*big.Int, error)

PeriodFinish is a free data retrieval call binding the contract method 0xebe2b12b.

Solidity: function periodFinish() view returns(uint256)

func (*UniswapStakingCaller) RewardPerToken

func (_UniswapStaking *UniswapStakingCaller) RewardPerToken(opts *bind.CallOpts) (*big.Int, error)

RewardPerToken is a free data retrieval call binding the contract method 0xcd3daf9d.

Solidity: function rewardPerToken() view returns(uint256)

func (*UniswapStakingCaller) RewardPerTokenStored

func (_UniswapStaking *UniswapStakingCaller) RewardPerTokenStored(opts *bind.CallOpts) (*big.Int, error)

RewardPerTokenStored is a free data retrieval call binding the contract method 0xdf136d65.

Solidity: function rewardPerTokenStored() view returns(uint256)

func (*UniswapStakingCaller) RewardRate

func (_UniswapStaking *UniswapStakingCaller) RewardRate(opts *bind.CallOpts) (*big.Int, error)

RewardRate is a free data retrieval call binding the contract method 0x7b0a47ee.

Solidity: function rewardRate() view returns(uint256)

func (*UniswapStakingCaller) Rewards

func (_UniswapStaking *UniswapStakingCaller) Rewards(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

Rewards is a free data retrieval call binding the contract method 0x0700037d.

Solidity: function rewards(address ) view returns(uint256)

func (*UniswapStakingCaller) RewardsDistribution

func (_UniswapStaking *UniswapStakingCaller) RewardsDistribution(opts *bind.CallOpts) (common.Address, error)

RewardsDistribution is a free data retrieval call binding the contract method 0x3fc6df6e.

Solidity: function rewardsDistribution() view returns(address)

func (*UniswapStakingCaller) RewardsDuration

func (_UniswapStaking *UniswapStakingCaller) RewardsDuration(opts *bind.CallOpts) (*big.Int, error)

RewardsDuration is a free data retrieval call binding the contract method 0x386a9525.

Solidity: function rewardsDuration() view returns(uint256)

func (*UniswapStakingCaller) RewardsToken

func (_UniswapStaking *UniswapStakingCaller) RewardsToken(opts *bind.CallOpts) (common.Address, error)

RewardsToken is a free data retrieval call binding the contract method 0xd1af0c7d.

Solidity: function rewardsToken() view returns(address)

func (*UniswapStakingCaller) StakingToken

func (_UniswapStaking *UniswapStakingCaller) StakingToken(opts *bind.CallOpts) (common.Address, error)

StakingToken is a free data retrieval call binding the contract method 0x72f702f3.

Solidity: function stakingToken() view returns(address)

func (*UniswapStakingCaller) TotalSupply

func (_UniswapStaking *UniswapStakingCaller) 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 (*UniswapStakingCaller) UserRewardPerTokenPaid

func (_UniswapStaking *UniswapStakingCaller) UserRewardPerTokenPaid(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

UserRewardPerTokenPaid is a free data retrieval call binding the contract method 0x8b876347.

Solidity: function userRewardPerTokenPaid(address ) view returns(uint256)

type UniswapStakingCallerRaw

type UniswapStakingCallerRaw struct {
	Contract *UniswapStakingCaller // Generic read-only contract binding to access the raw methods on
}

UniswapStakingCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*UniswapStakingCallerRaw) Call

func (_UniswapStaking *UniswapStakingCallerRaw) 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 UniswapStakingCallerSession

type UniswapStakingCallerSession struct {
	Contract *UniswapStakingCaller // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts         // Call options to use throughout this session
}

UniswapStakingCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

func (*UniswapStakingCallerSession) BalanceOf

func (_UniswapStaking *UniswapStakingCallerSession) 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 (*UniswapStakingCallerSession) Earned

func (_UniswapStaking *UniswapStakingCallerSession) Earned(account common.Address) (*big.Int, error)

Earned is a free data retrieval call binding the contract method 0x008cc262.

Solidity: function earned(address account) view returns(uint256)

func (*UniswapStakingCallerSession) GetRewardForDuration

func (_UniswapStaking *UniswapStakingCallerSession) GetRewardForDuration() (*big.Int, error)

GetRewardForDuration is a free data retrieval call binding the contract method 0x1c1f78eb.

Solidity: function getRewardForDuration() view returns(uint256)

func (*UniswapStakingCallerSession) LastTimeRewardApplicable

func (_UniswapStaking *UniswapStakingCallerSession) LastTimeRewardApplicable() (*big.Int, error)

LastTimeRewardApplicable is a free data retrieval call binding the contract method 0x80faa57d.

Solidity: function lastTimeRewardApplicable() view returns(uint256)

func (*UniswapStakingCallerSession) LastUpdateTime

func (_UniswapStaking *UniswapStakingCallerSession) LastUpdateTime() (*big.Int, error)

LastUpdateTime is a free data retrieval call binding the contract method 0xc8f33c91.

Solidity: function lastUpdateTime() view returns(uint256)

func (*UniswapStakingCallerSession) PeriodFinish

func (_UniswapStaking *UniswapStakingCallerSession) PeriodFinish() (*big.Int, error)

PeriodFinish is a free data retrieval call binding the contract method 0xebe2b12b.

Solidity: function periodFinish() view returns(uint256)

func (*UniswapStakingCallerSession) RewardPerToken

func (_UniswapStaking *UniswapStakingCallerSession) RewardPerToken() (*big.Int, error)

RewardPerToken is a free data retrieval call binding the contract method 0xcd3daf9d.

Solidity: function rewardPerToken() view returns(uint256)

func (*UniswapStakingCallerSession) RewardPerTokenStored

func (_UniswapStaking *UniswapStakingCallerSession) RewardPerTokenStored() (*big.Int, error)

RewardPerTokenStored is a free data retrieval call binding the contract method 0xdf136d65.

Solidity: function rewardPerTokenStored() view returns(uint256)

func (*UniswapStakingCallerSession) RewardRate

func (_UniswapStaking *UniswapStakingCallerSession) RewardRate() (*big.Int, error)

RewardRate is a free data retrieval call binding the contract method 0x7b0a47ee.

Solidity: function rewardRate() view returns(uint256)

func (*UniswapStakingCallerSession) Rewards

func (_UniswapStaking *UniswapStakingCallerSession) Rewards(arg0 common.Address) (*big.Int, error)

Rewards is a free data retrieval call binding the contract method 0x0700037d.

Solidity: function rewards(address ) view returns(uint256)

func (*UniswapStakingCallerSession) RewardsDistribution

func (_UniswapStaking *UniswapStakingCallerSession) RewardsDistribution() (common.Address, error)

RewardsDistribution is a free data retrieval call binding the contract method 0x3fc6df6e.

Solidity: function rewardsDistribution() view returns(address)

func (*UniswapStakingCallerSession) RewardsDuration

func (_UniswapStaking *UniswapStakingCallerSession) RewardsDuration() (*big.Int, error)

RewardsDuration is a free data retrieval call binding the contract method 0x386a9525.

Solidity: function rewardsDuration() view returns(uint256)

func (*UniswapStakingCallerSession) RewardsToken

func (_UniswapStaking *UniswapStakingCallerSession) RewardsToken() (common.Address, error)

RewardsToken is a free data retrieval call binding the contract method 0xd1af0c7d.

Solidity: function rewardsToken() view returns(address)

func (*UniswapStakingCallerSession) StakingToken

func (_UniswapStaking *UniswapStakingCallerSession) StakingToken() (common.Address, error)

StakingToken is a free data retrieval call binding the contract method 0x72f702f3.

Solidity: function stakingToken() view returns(address)

func (*UniswapStakingCallerSession) TotalSupply

func (_UniswapStaking *UniswapStakingCallerSession) TotalSupply() (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() view returns(uint256)

func (*UniswapStakingCallerSession) UserRewardPerTokenPaid

func (_UniswapStaking *UniswapStakingCallerSession) UserRewardPerTokenPaid(arg0 common.Address) (*big.Int, error)

UserRewardPerTokenPaid is a free data retrieval call binding the contract method 0x8b876347.

Solidity: function userRewardPerTokenPaid(address ) view returns(uint256)

type UniswapStakingFilterer

type UniswapStakingFilterer struct {
	// contains filtered or unexported fields
}

UniswapStakingFilterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewUniswapStakingFilterer

func NewUniswapStakingFilterer(address common.Address, filterer bind.ContractFilterer) (*UniswapStakingFilterer, error)

NewUniswapStakingFilterer creates a new log filterer instance of UniswapStaking, bound to a specific deployed contract.

func (*UniswapStakingFilterer) FilterRewardAdded

func (_UniswapStaking *UniswapStakingFilterer) FilterRewardAdded(opts *bind.FilterOpts) (*UniswapStakingRewardAddedIterator, error)

FilterRewardAdded is a free log retrieval operation binding the contract event 0xde88a922e0d3b88b24e9623efeb464919c6bf9f66857a65e2bfcf2ce87a9433d.

Solidity: event RewardAdded(uint256 reward)

func (*UniswapStakingFilterer) FilterRewardPaid

func (_UniswapStaking *UniswapStakingFilterer) FilterRewardPaid(opts *bind.FilterOpts, user []common.Address) (*UniswapStakingRewardPaidIterator, error)

FilterRewardPaid is a free log retrieval operation binding the contract event 0xe2403640ba68fed3a2f88b7557551d1993f84b99bb10ff833f0cf8db0c5e0486.

Solidity: event RewardPaid(address indexed user, uint256 reward)

func (*UniswapStakingFilterer) FilterStaked

func (_UniswapStaking *UniswapStakingFilterer) FilterStaked(opts *bind.FilterOpts, user []common.Address) (*UniswapStakingStakedIterator, error)

FilterStaked is a free log retrieval operation binding the contract event 0x9e71bc8eea02a63969f509818f2dafb9254532904319f9dbda79b67bd34a5f3d.

Solidity: event Staked(address indexed user, uint256 amount)

func (*UniswapStakingFilterer) FilterWithdrawn

func (_UniswapStaking *UniswapStakingFilterer) FilterWithdrawn(opts *bind.FilterOpts, user []common.Address) (*UniswapStakingWithdrawnIterator, error)

FilterWithdrawn is a free log retrieval operation binding the contract event 0x7084f5476618d8e60b11ef0d7d3f06914655adb8793e28ff7f018d4c76d505d5.

Solidity: event Withdrawn(address indexed user, uint256 amount)

func (*UniswapStakingFilterer) ParseRewardAdded

func (_UniswapStaking *UniswapStakingFilterer) ParseRewardAdded(log types.Log) (*UniswapStakingRewardAdded, error)

ParseRewardAdded is a log parse operation binding the contract event 0xde88a922e0d3b88b24e9623efeb464919c6bf9f66857a65e2bfcf2ce87a9433d.

Solidity: event RewardAdded(uint256 reward)

func (*UniswapStakingFilterer) ParseRewardPaid

func (_UniswapStaking *UniswapStakingFilterer) ParseRewardPaid(log types.Log) (*UniswapStakingRewardPaid, error)

ParseRewardPaid is a log parse operation binding the contract event 0xe2403640ba68fed3a2f88b7557551d1993f84b99bb10ff833f0cf8db0c5e0486.

Solidity: event RewardPaid(address indexed user, uint256 reward)

func (*UniswapStakingFilterer) ParseStaked

func (_UniswapStaking *UniswapStakingFilterer) ParseStaked(log types.Log) (*UniswapStakingStaked, error)

ParseStaked is a log parse operation binding the contract event 0x9e71bc8eea02a63969f509818f2dafb9254532904319f9dbda79b67bd34a5f3d.

Solidity: event Staked(address indexed user, uint256 amount)

func (*UniswapStakingFilterer) ParseWithdrawn

func (_UniswapStaking *UniswapStakingFilterer) ParseWithdrawn(log types.Log) (*UniswapStakingWithdrawn, error)

ParseWithdrawn is a log parse operation binding the contract event 0x7084f5476618d8e60b11ef0d7d3f06914655adb8793e28ff7f018d4c76d505d5.

Solidity: event Withdrawn(address indexed user, uint256 amount)

func (*UniswapStakingFilterer) WatchRewardAdded

func (_UniswapStaking *UniswapStakingFilterer) WatchRewardAdded(opts *bind.WatchOpts, sink chan<- *UniswapStakingRewardAdded) (event.Subscription, error)

WatchRewardAdded is a free log subscription operation binding the contract event 0xde88a922e0d3b88b24e9623efeb464919c6bf9f66857a65e2bfcf2ce87a9433d.

Solidity: event RewardAdded(uint256 reward)

func (*UniswapStakingFilterer) WatchRewardPaid

func (_UniswapStaking *UniswapStakingFilterer) WatchRewardPaid(opts *bind.WatchOpts, sink chan<- *UniswapStakingRewardPaid, user []common.Address) (event.Subscription, error)

WatchRewardPaid is a free log subscription operation binding the contract event 0xe2403640ba68fed3a2f88b7557551d1993f84b99bb10ff833f0cf8db0c5e0486.

Solidity: event RewardPaid(address indexed user, uint256 reward)

func (*UniswapStakingFilterer) WatchStaked

func (_UniswapStaking *UniswapStakingFilterer) WatchStaked(opts *bind.WatchOpts, sink chan<- *UniswapStakingStaked, user []common.Address) (event.Subscription, error)

WatchStaked is a free log subscription operation binding the contract event 0x9e71bc8eea02a63969f509818f2dafb9254532904319f9dbda79b67bd34a5f3d.

Solidity: event Staked(address indexed user, uint256 amount)

func (*UniswapStakingFilterer) WatchWithdrawn

func (_UniswapStaking *UniswapStakingFilterer) WatchWithdrawn(opts *bind.WatchOpts, sink chan<- *UniswapStakingWithdrawn, user []common.Address) (event.Subscription, error)

WatchWithdrawn is a free log subscription operation binding the contract event 0x7084f5476618d8e60b11ef0d7d3f06914655adb8793e28ff7f018d4c76d505d5.

Solidity: event Withdrawn(address indexed user, uint256 amount)

type UniswapStakingRaw

type UniswapStakingRaw struct {
	Contract *UniswapStaking // Generic contract binding to access the raw methods on
}

UniswapStakingRaw is an auto generated low-level Go binding around an Ethereum contract.

func (*UniswapStakingRaw) Call

func (_UniswapStaking *UniswapStakingRaw) 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 (*UniswapStakingRaw) Transact

func (_UniswapStaking *UniswapStakingRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*UniswapStakingRaw) Transfer

func (_UniswapStaking *UniswapStakingRaw) 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 UniswapStakingRewardAdded

type UniswapStakingRewardAdded struct {
	Reward *big.Int
	Raw    types.Log // Blockchain specific contextual infos
}

UniswapStakingRewardAdded represents a RewardAdded event raised by the UniswapStaking contract.

type UniswapStakingRewardAddedIterator

type UniswapStakingRewardAddedIterator struct {
	Event *UniswapStakingRewardAdded // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

UniswapStakingRewardAddedIterator is returned from FilterRewardAdded and is used to iterate over the raw logs and unpacked data for RewardAdded events raised by the UniswapStaking contract.

func (*UniswapStakingRewardAddedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*UniswapStakingRewardAddedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*UniswapStakingRewardAddedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type UniswapStakingRewardPaid

type UniswapStakingRewardPaid struct {
	User   common.Address
	Reward *big.Int
	Raw    types.Log // Blockchain specific contextual infos
}

UniswapStakingRewardPaid represents a RewardPaid event raised by the UniswapStaking contract.

type UniswapStakingRewardPaidIterator

type UniswapStakingRewardPaidIterator struct {
	Event *UniswapStakingRewardPaid // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

UniswapStakingRewardPaidIterator is returned from FilterRewardPaid and is used to iterate over the raw logs and unpacked data for RewardPaid events raised by the UniswapStaking contract.

func (*UniswapStakingRewardPaidIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*UniswapStakingRewardPaidIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*UniswapStakingRewardPaidIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type UniswapStakingSession

type UniswapStakingSession struct {
	Contract     *UniswapStaking   // 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
}

UniswapStakingSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

func (*UniswapStakingSession) BalanceOf

func (_UniswapStaking *UniswapStakingSession) 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 (*UniswapStakingSession) Earned

func (_UniswapStaking *UniswapStakingSession) Earned(account common.Address) (*big.Int, error)

Earned is a free data retrieval call binding the contract method 0x008cc262.

Solidity: function earned(address account) view returns(uint256)

func (*UniswapStakingSession) Exit

func (_UniswapStaking *UniswapStakingSession) Exit() (*types.Transaction, error)

Exit is a paid mutator transaction binding the contract method 0xe9fad8ee.

Solidity: function exit() returns()

func (*UniswapStakingSession) GetReward

func (_UniswapStaking *UniswapStakingSession) GetReward() (*types.Transaction, error)

GetReward is a paid mutator transaction binding the contract method 0x3d18b912.

Solidity: function getReward() returns()

func (*UniswapStakingSession) GetRewardForDuration

func (_UniswapStaking *UniswapStakingSession) GetRewardForDuration() (*big.Int, error)

GetRewardForDuration is a free data retrieval call binding the contract method 0x1c1f78eb.

Solidity: function getRewardForDuration() view returns(uint256)

func (*UniswapStakingSession) LastTimeRewardApplicable

func (_UniswapStaking *UniswapStakingSession) LastTimeRewardApplicable() (*big.Int, error)

LastTimeRewardApplicable is a free data retrieval call binding the contract method 0x80faa57d.

Solidity: function lastTimeRewardApplicable() view returns(uint256)

func (*UniswapStakingSession) LastUpdateTime

func (_UniswapStaking *UniswapStakingSession) LastUpdateTime() (*big.Int, error)

LastUpdateTime is a free data retrieval call binding the contract method 0xc8f33c91.

Solidity: function lastUpdateTime() view returns(uint256)

func (*UniswapStakingSession) NotifyRewardAmount

func (_UniswapStaking *UniswapStakingSession) NotifyRewardAmount(reward *big.Int) (*types.Transaction, error)

NotifyRewardAmount is a paid mutator transaction binding the contract method 0x3c6b16ab.

Solidity: function notifyRewardAmount(uint256 reward) returns()

func (*UniswapStakingSession) PeriodFinish

func (_UniswapStaking *UniswapStakingSession) PeriodFinish() (*big.Int, error)

PeriodFinish is a free data retrieval call binding the contract method 0xebe2b12b.

Solidity: function periodFinish() view returns(uint256)

func (*UniswapStakingSession) RewardPerToken

func (_UniswapStaking *UniswapStakingSession) RewardPerToken() (*big.Int, error)

RewardPerToken is a free data retrieval call binding the contract method 0xcd3daf9d.

Solidity: function rewardPerToken() view returns(uint256)

func (*UniswapStakingSession) RewardPerTokenStored

func (_UniswapStaking *UniswapStakingSession) RewardPerTokenStored() (*big.Int, error)

RewardPerTokenStored is a free data retrieval call binding the contract method 0xdf136d65.

Solidity: function rewardPerTokenStored() view returns(uint256)

func (*UniswapStakingSession) RewardRate

func (_UniswapStaking *UniswapStakingSession) RewardRate() (*big.Int, error)

RewardRate is a free data retrieval call binding the contract method 0x7b0a47ee.

Solidity: function rewardRate() view returns(uint256)

func (*UniswapStakingSession) Rewards

func (_UniswapStaking *UniswapStakingSession) Rewards(arg0 common.Address) (*big.Int, error)

Rewards is a free data retrieval call binding the contract method 0x0700037d.

Solidity: function rewards(address ) view returns(uint256)

func (*UniswapStakingSession) RewardsDistribution

func (_UniswapStaking *UniswapStakingSession) RewardsDistribution() (common.Address, error)

RewardsDistribution is a free data retrieval call binding the contract method 0x3fc6df6e.

Solidity: function rewardsDistribution() view returns(address)

func (*UniswapStakingSession) RewardsDuration

func (_UniswapStaking *UniswapStakingSession) RewardsDuration() (*big.Int, error)

RewardsDuration is a free data retrieval call binding the contract method 0x386a9525.

Solidity: function rewardsDuration() view returns(uint256)

func (*UniswapStakingSession) RewardsToken

func (_UniswapStaking *UniswapStakingSession) RewardsToken() (common.Address, error)

RewardsToken is a free data retrieval call binding the contract method 0xd1af0c7d.

Solidity: function rewardsToken() view returns(address)

func (*UniswapStakingSession) Stake

func (_UniswapStaking *UniswapStakingSession) Stake(amount *big.Int) (*types.Transaction, error)

Stake is a paid mutator transaction binding the contract method 0xa694fc3a.

Solidity: function stake(uint256 amount) returns()

func (*UniswapStakingSession) StakeWithPermit

func (_UniswapStaking *UniswapStakingSession) StakeWithPermit(amount *big.Int, deadline *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

StakeWithPermit is a paid mutator transaction binding the contract method 0xecd9ba82.

Solidity: function stakeWithPermit(uint256 amount, uint256 deadline, uint8 v, bytes32 r, bytes32 s) returns()

func (*UniswapStakingSession) StakingToken

func (_UniswapStaking *UniswapStakingSession) StakingToken() (common.Address, error)

StakingToken is a free data retrieval call binding the contract method 0x72f702f3.

Solidity: function stakingToken() view returns(address)

func (*UniswapStakingSession) TotalSupply

func (_UniswapStaking *UniswapStakingSession) TotalSupply() (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() view returns(uint256)

func (*UniswapStakingSession) UserRewardPerTokenPaid

func (_UniswapStaking *UniswapStakingSession) UserRewardPerTokenPaid(arg0 common.Address) (*big.Int, error)

UserRewardPerTokenPaid is a free data retrieval call binding the contract method 0x8b876347.

Solidity: function userRewardPerTokenPaid(address ) view returns(uint256)

func (*UniswapStakingSession) Withdraw

func (_UniswapStaking *UniswapStakingSession) Withdraw(amount *big.Int) (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0x2e1a7d4d.

Solidity: function withdraw(uint256 amount) returns()

type UniswapStakingStaked

type UniswapStakingStaked struct {
	User   common.Address
	Amount *big.Int
	Raw    types.Log // Blockchain specific contextual infos
}

UniswapStakingStaked represents a Staked event raised by the UniswapStaking contract.

type UniswapStakingStakedIterator

type UniswapStakingStakedIterator struct {
	Event *UniswapStakingStaked // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

UniswapStakingStakedIterator is returned from FilterStaked and is used to iterate over the raw logs and unpacked data for Staked events raised by the UniswapStaking contract.

func (*UniswapStakingStakedIterator) Close

func (it *UniswapStakingStakedIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*UniswapStakingStakedIterator) Error

func (it *UniswapStakingStakedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*UniswapStakingStakedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type UniswapStakingTransactor

type UniswapStakingTransactor struct {
	// contains filtered or unexported fields
}

UniswapStakingTransactor is an auto generated write-only Go binding around an Ethereum contract.

func NewUniswapStakingTransactor

func NewUniswapStakingTransactor(address common.Address, transactor bind.ContractTransactor) (*UniswapStakingTransactor, error)

NewUniswapStakingTransactor creates a new write-only instance of UniswapStaking, bound to a specific deployed contract.

func (*UniswapStakingTransactor) Exit

func (_UniswapStaking *UniswapStakingTransactor) Exit(opts *bind.TransactOpts) (*types.Transaction, error)

Exit is a paid mutator transaction binding the contract method 0xe9fad8ee.

Solidity: function exit() returns()

func (*UniswapStakingTransactor) GetReward

func (_UniswapStaking *UniswapStakingTransactor) GetReward(opts *bind.TransactOpts) (*types.Transaction, error)

GetReward is a paid mutator transaction binding the contract method 0x3d18b912.

Solidity: function getReward() returns()

func (*UniswapStakingTransactor) NotifyRewardAmount

func (_UniswapStaking *UniswapStakingTransactor) NotifyRewardAmount(opts *bind.TransactOpts, reward *big.Int) (*types.Transaction, error)

NotifyRewardAmount is a paid mutator transaction binding the contract method 0x3c6b16ab.

Solidity: function notifyRewardAmount(uint256 reward) returns()

func (*UniswapStakingTransactor) Stake

func (_UniswapStaking *UniswapStakingTransactor) Stake(opts *bind.TransactOpts, amount *big.Int) (*types.Transaction, error)

Stake is a paid mutator transaction binding the contract method 0xa694fc3a.

Solidity: function stake(uint256 amount) returns()

func (*UniswapStakingTransactor) StakeWithPermit

func (_UniswapStaking *UniswapStakingTransactor) StakeWithPermit(opts *bind.TransactOpts, amount *big.Int, deadline *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

StakeWithPermit is a paid mutator transaction binding the contract method 0xecd9ba82.

Solidity: function stakeWithPermit(uint256 amount, uint256 deadline, uint8 v, bytes32 r, bytes32 s) returns()

func (*UniswapStakingTransactor) Withdraw

func (_UniswapStaking *UniswapStakingTransactor) Withdraw(opts *bind.TransactOpts, amount *big.Int) (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0x2e1a7d4d.

Solidity: function withdraw(uint256 amount) returns()

type UniswapStakingTransactorRaw

type UniswapStakingTransactorRaw struct {
	Contract *UniswapStakingTransactor // Generic write-only contract binding to access the raw methods on
}

UniswapStakingTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*UniswapStakingTransactorRaw) Transact

func (_UniswapStaking *UniswapStakingTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*UniswapStakingTransactorRaw) Transfer

func (_UniswapStaking *UniswapStakingTransactorRaw) 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 UniswapStakingTransactorSession

type UniswapStakingTransactorSession struct {
	Contract     *UniswapStakingTransactor // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts         // Transaction auth options to use throughout this session
}

UniswapStakingTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

func (*UniswapStakingTransactorSession) Exit

func (_UniswapStaking *UniswapStakingTransactorSession) Exit() (*types.Transaction, error)

Exit is a paid mutator transaction binding the contract method 0xe9fad8ee.

Solidity: function exit() returns()

func (*UniswapStakingTransactorSession) GetReward

func (_UniswapStaking *UniswapStakingTransactorSession) GetReward() (*types.Transaction, error)

GetReward is a paid mutator transaction binding the contract method 0x3d18b912.

Solidity: function getReward() returns()

func (*UniswapStakingTransactorSession) NotifyRewardAmount

func (_UniswapStaking *UniswapStakingTransactorSession) NotifyRewardAmount(reward *big.Int) (*types.Transaction, error)

NotifyRewardAmount is a paid mutator transaction binding the contract method 0x3c6b16ab.

Solidity: function notifyRewardAmount(uint256 reward) returns()

func (*UniswapStakingTransactorSession) Stake

func (_UniswapStaking *UniswapStakingTransactorSession) Stake(amount *big.Int) (*types.Transaction, error)

Stake is a paid mutator transaction binding the contract method 0xa694fc3a.

Solidity: function stake(uint256 amount) returns()

func (*UniswapStakingTransactorSession) StakeWithPermit

func (_UniswapStaking *UniswapStakingTransactorSession) StakeWithPermit(amount *big.Int, deadline *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

StakeWithPermit is a paid mutator transaction binding the contract method 0xecd9ba82.

Solidity: function stakeWithPermit(uint256 amount, uint256 deadline, uint8 v, bytes32 r, bytes32 s) returns()

func (*UniswapStakingTransactorSession) Withdraw

func (_UniswapStaking *UniswapStakingTransactorSession) Withdraw(amount *big.Int) (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0x2e1a7d4d.

Solidity: function withdraw(uint256 amount) returns()

type UniswapStakingWithdrawn

type UniswapStakingWithdrawn struct {
	User   common.Address
	Amount *big.Int
	Raw    types.Log // Blockchain specific contextual infos
}

UniswapStakingWithdrawn represents a Withdrawn event raised by the UniswapStaking contract.

type UniswapStakingWithdrawnIterator

type UniswapStakingWithdrawnIterator struct {
	Event *UniswapStakingWithdrawn // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

UniswapStakingWithdrawnIterator is returned from FilterWithdrawn and is used to iterate over the raw logs and unpacked data for Withdrawn events raised by the UniswapStaking contract.

func (*UniswapStakingWithdrawnIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*UniswapStakingWithdrawnIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*UniswapStakingWithdrawnIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type UniswapV2

type UniswapV2 struct {
	UniswapV2Caller     // Read-only binding to the contract
	UniswapV2Transactor // Write-only binding to the contract
	UniswapV2Filterer   // Log filterer for contract events
}

UniswapV2 is an auto generated Go binding around an Ethereum contract.

func NewUniswapV2

func NewUniswapV2(address common.Address, backend bind.ContractBackend) (*UniswapV2, error)

NewUniswapV2 creates a new instance of UniswapV2, bound to a specific deployed contract.

type UniswapV2Caller

type UniswapV2Caller struct {
	// contains filtered or unexported fields
}

UniswapV2Caller is an auto generated read-only Go binding around an Ethereum contract.

func NewUniswapV2Caller

func NewUniswapV2Caller(address common.Address, caller bind.ContractCaller) (*UniswapV2Caller, error)

NewUniswapV2Caller creates a new read-only instance of UniswapV2, bound to a specific deployed contract.

func (*UniswapV2Caller) Factory

func (_UniswapV2 *UniswapV2Caller) Factory(opts *bind.CallOpts) (common.Address, error)

Factory is a free data retrieval call binding the contract method 0xc45a0155.

Solidity: function factory() view returns(address)

func (*UniswapV2Caller) GetAmountIn

func (_UniswapV2 *UniswapV2Caller) GetAmountIn(opts *bind.CallOpts, amountOut *big.Int, reserveIn *big.Int, reserveOut *big.Int) (*big.Int, error)

GetAmountIn is a free data retrieval call binding the contract method 0x85f8c259.

Solidity: function getAmountIn(uint256 amountOut, uint256 reserveIn, uint256 reserveOut) pure returns(uint256 amountIn)

func (*UniswapV2Caller) GetAmountOut

func (_UniswapV2 *UniswapV2Caller) GetAmountOut(opts *bind.CallOpts, amountIn *big.Int, reserveIn *big.Int, reserveOut *big.Int) (*big.Int, error)

GetAmountOut is a free data retrieval call binding the contract method 0x054d50d4.

Solidity: function getAmountOut(uint256 amountIn, uint256 reserveIn, uint256 reserveOut) pure returns(uint256 amountOut)

func (*UniswapV2Caller) GetAmountsIn

func (_UniswapV2 *UniswapV2Caller) GetAmountsIn(opts *bind.CallOpts, amountOut *big.Int, path []common.Address) ([]*big.Int, error)

GetAmountsIn is a free data retrieval call binding the contract method 0x1f00ca74.

Solidity: function getAmountsIn(uint256 amountOut, address[] path) view returns(uint256[] amounts)

func (*UniswapV2Caller) GetAmountsOut

func (_UniswapV2 *UniswapV2Caller) GetAmountsOut(opts *bind.CallOpts, amountIn *big.Int, path []common.Address) ([]*big.Int, error)

GetAmountsOut is a free data retrieval call binding the contract method 0xd06ca61f.

Solidity: function getAmountsOut(uint256 amountIn, address[] path) view returns(uint256[] amounts)

func (*UniswapV2Caller) Quote

func (_UniswapV2 *UniswapV2Caller) Quote(opts *bind.CallOpts, amountA *big.Int, reserveA *big.Int, reserveB *big.Int) (*big.Int, error)

Quote is a free data retrieval call binding the contract method 0xad615dec.

Solidity: function quote(uint256 amountA, uint256 reserveA, uint256 reserveB) pure returns(uint256 amountB)

func (*UniswapV2Caller) WETH

func (_UniswapV2 *UniswapV2Caller) WETH(opts *bind.CallOpts) (common.Address, error)

WETH is a free data retrieval call binding the contract method 0xad5c4648.

Solidity: function WETH() view returns(address)

type UniswapV2CallerRaw

type UniswapV2CallerRaw struct {
	Contract *UniswapV2Caller // Generic read-only contract binding to access the raw methods on
}

UniswapV2CallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*UniswapV2CallerRaw) Call

func (_UniswapV2 *UniswapV2CallerRaw) 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 UniswapV2CallerSession

type UniswapV2CallerSession struct {
	Contract *UniswapV2Caller // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts    // Call options to use throughout this session
}

UniswapV2CallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

func (*UniswapV2CallerSession) Factory

func (_UniswapV2 *UniswapV2CallerSession) Factory() (common.Address, error)

Factory is a free data retrieval call binding the contract method 0xc45a0155.

Solidity: function factory() view returns(address)

func (*UniswapV2CallerSession) GetAmountIn

func (_UniswapV2 *UniswapV2CallerSession) GetAmountIn(amountOut *big.Int, reserveIn *big.Int, reserveOut *big.Int) (*big.Int, error)

GetAmountIn is a free data retrieval call binding the contract method 0x85f8c259.

Solidity: function getAmountIn(uint256 amountOut, uint256 reserveIn, uint256 reserveOut) pure returns(uint256 amountIn)

func (*UniswapV2CallerSession) GetAmountOut

func (_UniswapV2 *UniswapV2CallerSession) GetAmountOut(amountIn *big.Int, reserveIn *big.Int, reserveOut *big.Int) (*big.Int, error)

GetAmountOut is a free data retrieval call binding the contract method 0x054d50d4.

Solidity: function getAmountOut(uint256 amountIn, uint256 reserveIn, uint256 reserveOut) pure returns(uint256 amountOut)

func (*UniswapV2CallerSession) GetAmountsIn

func (_UniswapV2 *UniswapV2CallerSession) GetAmountsIn(amountOut *big.Int, path []common.Address) ([]*big.Int, error)

GetAmountsIn is a free data retrieval call binding the contract method 0x1f00ca74.

Solidity: function getAmountsIn(uint256 amountOut, address[] path) view returns(uint256[] amounts)

func (*UniswapV2CallerSession) GetAmountsOut

func (_UniswapV2 *UniswapV2CallerSession) GetAmountsOut(amountIn *big.Int, path []common.Address) ([]*big.Int, error)

GetAmountsOut is a free data retrieval call binding the contract method 0xd06ca61f.

Solidity: function getAmountsOut(uint256 amountIn, address[] path) view returns(uint256[] amounts)

func (*UniswapV2CallerSession) Quote

func (_UniswapV2 *UniswapV2CallerSession) Quote(amountA *big.Int, reserveA *big.Int, reserveB *big.Int) (*big.Int, error)

Quote is a free data retrieval call binding the contract method 0xad615dec.

Solidity: function quote(uint256 amountA, uint256 reserveA, uint256 reserveB) pure returns(uint256 amountB)

func (*UniswapV2CallerSession) WETH

func (_UniswapV2 *UniswapV2CallerSession) WETH() (common.Address, error)

WETH is a free data retrieval call binding the contract method 0xad5c4648.

Solidity: function WETH() view returns(address)

type UniswapV2ERC20

type UniswapV2ERC20 struct {
	UniswapV2ERC20Caller     // Read-only binding to the contract
	UniswapV2ERC20Transactor // Write-only binding to the contract
	UniswapV2ERC20Filterer   // Log filterer for contract events
}

UniswapV2ERC20 is an auto generated Go binding around an Ethereum contract.

func DeployUniswapV2ERC20

func DeployUniswapV2ERC20(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *UniswapV2ERC20, error)

DeployUniswapV2ERC20 deploys a new Ethereum contract, binding an instance of UniswapV2ERC20 to it.

func NewUniswapV2ERC20

func NewUniswapV2ERC20(address common.Address, backend bind.ContractBackend) (*UniswapV2ERC20, error)

NewUniswapV2ERC20 creates a new instance of UniswapV2ERC20, bound to a specific deployed contract.

type UniswapV2ERC20Approval

type UniswapV2ERC20Approval struct {
	Owner   common.Address
	Spender common.Address
	Value   *big.Int
	Raw     types.Log // Blockchain specific contextual infos
}

UniswapV2ERC20Approval represents a Approval event raised by the UniswapV2ERC20 contract.

type UniswapV2ERC20ApprovalIterator

type UniswapV2ERC20ApprovalIterator struct {
	Event *UniswapV2ERC20Approval // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

UniswapV2ERC20ApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the UniswapV2ERC20 contract.

func (*UniswapV2ERC20ApprovalIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*UniswapV2ERC20ApprovalIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*UniswapV2ERC20ApprovalIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type UniswapV2ERC20Caller

type UniswapV2ERC20Caller struct {
	// contains filtered or unexported fields
}

UniswapV2ERC20Caller is an auto generated read-only Go binding around an Ethereum contract.

func NewUniswapV2ERC20Caller

func NewUniswapV2ERC20Caller(address common.Address, caller bind.ContractCaller) (*UniswapV2ERC20Caller, error)

NewUniswapV2ERC20Caller creates a new read-only instance of UniswapV2ERC20, bound to a specific deployed contract.

func (*UniswapV2ERC20Caller) Allowance

func (_UniswapV2ERC20 *UniswapV2ERC20Caller) Allowance(opts *bind.CallOpts, arg0 common.Address, arg1 common.Address) (*big.Int, error)

Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.

Solidity: function allowance(address , address ) view returns(uint256)

func (*UniswapV2ERC20Caller) BalanceOf

func (_UniswapV2ERC20 *UniswapV2ERC20Caller) BalanceOf(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(address ) view returns(uint256)

func (*UniswapV2ERC20Caller) DOMAINSEPARATOR

func (_UniswapV2ERC20 *UniswapV2ERC20Caller) DOMAINSEPARATOR(opts *bind.CallOpts) ([32]byte, error)

DOMAINSEPARATOR is a free data retrieval call binding the contract method 0x3644e515.

Solidity: function DOMAIN_SEPARATOR() view returns(bytes32)

func (*UniswapV2ERC20Caller) Decimals

func (_UniswapV2ERC20 *UniswapV2ERC20Caller) 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 (*UniswapV2ERC20Caller) Name

func (_UniswapV2ERC20 *UniswapV2ERC20Caller) 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 (*UniswapV2ERC20Caller) Nonces

func (_UniswapV2ERC20 *UniswapV2ERC20Caller) Nonces(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

Nonces is a free data retrieval call binding the contract method 0x7ecebe00.

Solidity: function nonces(address ) view returns(uint256)

func (*UniswapV2ERC20Caller) PERMITTYPEHASH

func (_UniswapV2ERC20 *UniswapV2ERC20Caller) PERMITTYPEHASH(opts *bind.CallOpts) ([32]byte, error)

PERMITTYPEHASH is a free data retrieval call binding the contract method 0x30adf81f.

Solidity: function PERMIT_TYPEHASH() view returns(bytes32)

func (*UniswapV2ERC20Caller) Symbol

func (_UniswapV2ERC20 *UniswapV2ERC20Caller) 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 (*UniswapV2ERC20Caller) TotalSupply

func (_UniswapV2ERC20 *UniswapV2ERC20Caller) 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)

type UniswapV2ERC20CallerRaw

type UniswapV2ERC20CallerRaw struct {
	Contract *UniswapV2ERC20Caller // Generic read-only contract binding to access the raw methods on
}

UniswapV2ERC20CallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*UniswapV2ERC20CallerRaw) Call

func (_UniswapV2ERC20 *UniswapV2ERC20CallerRaw) 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 UniswapV2ERC20CallerSession

type UniswapV2ERC20CallerSession struct {
	Contract *UniswapV2ERC20Caller // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts         // Call options to use throughout this session
}

UniswapV2ERC20CallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

func (*UniswapV2ERC20CallerSession) Allowance

func (_UniswapV2ERC20 *UniswapV2ERC20CallerSession) Allowance(arg0 common.Address, arg1 common.Address) (*big.Int, error)

Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.

Solidity: function allowance(address , address ) view returns(uint256)

func (*UniswapV2ERC20CallerSession) BalanceOf

func (_UniswapV2ERC20 *UniswapV2ERC20CallerSession) BalanceOf(arg0 common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(address ) view returns(uint256)

func (*UniswapV2ERC20CallerSession) DOMAINSEPARATOR

func (_UniswapV2ERC20 *UniswapV2ERC20CallerSession) DOMAINSEPARATOR() ([32]byte, error)

DOMAINSEPARATOR is a free data retrieval call binding the contract method 0x3644e515.

Solidity: function DOMAIN_SEPARATOR() view returns(bytes32)

func (*UniswapV2ERC20CallerSession) Decimals

func (_UniswapV2ERC20 *UniswapV2ERC20CallerSession) Decimals() (uint8, error)

Decimals is a free data retrieval call binding the contract method 0x313ce567.

Solidity: function decimals() view returns(uint8)

func (*UniswapV2ERC20CallerSession) Name

func (_UniswapV2ERC20 *UniswapV2ERC20CallerSession) Name() (string, error)

Name is a free data retrieval call binding the contract method 0x06fdde03.

Solidity: function name() view returns(string)

func (*UniswapV2ERC20CallerSession) Nonces

func (_UniswapV2ERC20 *UniswapV2ERC20CallerSession) Nonces(arg0 common.Address) (*big.Int, error)

Nonces is a free data retrieval call binding the contract method 0x7ecebe00.

Solidity: function nonces(address ) view returns(uint256)

func (*UniswapV2ERC20CallerSession) PERMITTYPEHASH

func (_UniswapV2ERC20 *UniswapV2ERC20CallerSession) PERMITTYPEHASH() ([32]byte, error)

PERMITTYPEHASH is a free data retrieval call binding the contract method 0x30adf81f.

Solidity: function PERMIT_TYPEHASH() view returns(bytes32)

func (*UniswapV2ERC20CallerSession) Symbol

func (_UniswapV2ERC20 *UniswapV2ERC20CallerSession) Symbol() (string, error)

Symbol is a free data retrieval call binding the contract method 0x95d89b41.

Solidity: function symbol() view returns(string)

func (*UniswapV2ERC20CallerSession) TotalSupply

func (_UniswapV2ERC20 *UniswapV2ERC20CallerSession) TotalSupply() (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() view returns(uint256)

type UniswapV2ERC20Filterer

type UniswapV2ERC20Filterer struct {
	// contains filtered or unexported fields
}

UniswapV2ERC20Filterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewUniswapV2ERC20Filterer

func NewUniswapV2ERC20Filterer(address common.Address, filterer bind.ContractFilterer) (*UniswapV2ERC20Filterer, error)

NewUniswapV2ERC20Filterer creates a new log filterer instance of UniswapV2ERC20, bound to a specific deployed contract.

func (*UniswapV2ERC20Filterer) FilterApproval

func (_UniswapV2ERC20 *UniswapV2ERC20Filterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*UniswapV2ERC20ApprovalIterator, error)

FilterApproval is a free log retrieval operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)

func (*UniswapV2ERC20Filterer) FilterTransfer

func (_UniswapV2ERC20 *UniswapV2ERC20Filterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*UniswapV2ERC20TransferIterator, error)

FilterTransfer is a free log retrieval operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed from, address indexed to, uint256 value)

func (*UniswapV2ERC20Filterer) ParseApproval

func (_UniswapV2ERC20 *UniswapV2ERC20Filterer) ParseApproval(log types.Log) (*UniswapV2ERC20Approval, error)

ParseApproval is a log parse operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)

func (*UniswapV2ERC20Filterer) ParseTransfer

func (_UniswapV2ERC20 *UniswapV2ERC20Filterer) ParseTransfer(log types.Log) (*UniswapV2ERC20Transfer, error)

ParseTransfer is a log parse operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed from, address indexed to, uint256 value)

func (*UniswapV2ERC20Filterer) WatchApproval

func (_UniswapV2ERC20 *UniswapV2ERC20Filterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *UniswapV2ERC20Approval, owner []common.Address, spender []common.Address) (event.Subscription, error)

WatchApproval is a free log subscription operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)

func (*UniswapV2ERC20Filterer) WatchTransfer

func (_UniswapV2ERC20 *UniswapV2ERC20Filterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *UniswapV2ERC20Transfer, from []common.Address, to []common.Address) (event.Subscription, error)

WatchTransfer is a free log subscription operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed from, address indexed to, uint256 value)

type UniswapV2ERC20Raw

type UniswapV2ERC20Raw struct {
	Contract *UniswapV2ERC20 // Generic contract binding to access the raw methods on
}

UniswapV2ERC20Raw is an auto generated low-level Go binding around an Ethereum contract.

func (*UniswapV2ERC20Raw) Call

func (_UniswapV2ERC20 *UniswapV2ERC20Raw) 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 (*UniswapV2ERC20Raw) Transact

func (_UniswapV2ERC20 *UniswapV2ERC20Raw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*UniswapV2ERC20Raw) Transfer

func (_UniswapV2ERC20 *UniswapV2ERC20Raw) 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 UniswapV2ERC20Session

type UniswapV2ERC20Session struct {
	Contract     *UniswapV2ERC20   // 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
}

UniswapV2ERC20Session is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

func (*UniswapV2ERC20Session) Allowance

func (_UniswapV2ERC20 *UniswapV2ERC20Session) Allowance(arg0 common.Address, arg1 common.Address) (*big.Int, error)

Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.

Solidity: function allowance(address , address ) view returns(uint256)

func (*UniswapV2ERC20Session) Approve

func (_UniswapV2ERC20 *UniswapV2ERC20Session) Approve(spender common.Address, value *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address spender, uint256 value) returns(bool)

func (*UniswapV2ERC20Session) BalanceOf

func (_UniswapV2ERC20 *UniswapV2ERC20Session) BalanceOf(arg0 common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(address ) view returns(uint256)

func (*UniswapV2ERC20Session) DOMAINSEPARATOR

func (_UniswapV2ERC20 *UniswapV2ERC20Session) DOMAINSEPARATOR() ([32]byte, error)

DOMAINSEPARATOR is a free data retrieval call binding the contract method 0x3644e515.

Solidity: function DOMAIN_SEPARATOR() view returns(bytes32)

func (*UniswapV2ERC20Session) Decimals

func (_UniswapV2ERC20 *UniswapV2ERC20Session) Decimals() (uint8, error)

Decimals is a free data retrieval call binding the contract method 0x313ce567.

Solidity: function decimals() view returns(uint8)

func (*UniswapV2ERC20Session) Name

func (_UniswapV2ERC20 *UniswapV2ERC20Session) Name() (string, error)

Name is a free data retrieval call binding the contract method 0x06fdde03.

Solidity: function name() view returns(string)

func (*UniswapV2ERC20Session) Nonces

func (_UniswapV2ERC20 *UniswapV2ERC20Session) Nonces(arg0 common.Address) (*big.Int, error)

Nonces is a free data retrieval call binding the contract method 0x7ecebe00.

Solidity: function nonces(address ) view returns(uint256)

func (*UniswapV2ERC20Session) PERMITTYPEHASH

func (_UniswapV2ERC20 *UniswapV2ERC20Session) PERMITTYPEHASH() ([32]byte, error)

PERMITTYPEHASH is a free data retrieval call binding the contract method 0x30adf81f.

Solidity: function PERMIT_TYPEHASH() view returns(bytes32)

func (*UniswapV2ERC20Session) Permit

func (_UniswapV2ERC20 *UniswapV2ERC20Session) Permit(owner common.Address, spender common.Address, value *big.Int, deadline *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

Permit is a paid mutator transaction binding the contract method 0xd505accf.

Solidity: function permit(address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) returns()

func (*UniswapV2ERC20Session) Symbol

func (_UniswapV2ERC20 *UniswapV2ERC20Session) Symbol() (string, error)

Symbol is a free data retrieval call binding the contract method 0x95d89b41.

Solidity: function symbol() view returns(string)

func (*UniswapV2ERC20Session) TotalSupply

func (_UniswapV2ERC20 *UniswapV2ERC20Session) TotalSupply() (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() view returns(uint256)

func (*UniswapV2ERC20Session) Transfer

func (_UniswapV2ERC20 *UniswapV2ERC20Session) Transfer(to common.Address, value *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(address to, uint256 value) returns(bool)

func (*UniswapV2ERC20Session) TransferFrom

func (_UniswapV2ERC20 *UniswapV2ERC20Session) TransferFrom(from common.Address, to common.Address, value *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address from, address to, uint256 value) returns(bool)

type UniswapV2ERC20Transactor

type UniswapV2ERC20Transactor struct {
	// contains filtered or unexported fields
}

UniswapV2ERC20Transactor is an auto generated write-only Go binding around an Ethereum contract.

func NewUniswapV2ERC20Transactor

func NewUniswapV2ERC20Transactor(address common.Address, transactor bind.ContractTransactor) (*UniswapV2ERC20Transactor, error)

NewUniswapV2ERC20Transactor creates a new write-only instance of UniswapV2ERC20, bound to a specific deployed contract.

func (*UniswapV2ERC20Transactor) Approve

func (_UniswapV2ERC20 *UniswapV2ERC20Transactor) Approve(opts *bind.TransactOpts, spender common.Address, value *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address spender, uint256 value) returns(bool)

func (*UniswapV2ERC20Transactor) Permit

func (_UniswapV2ERC20 *UniswapV2ERC20Transactor) Permit(opts *bind.TransactOpts, owner common.Address, spender common.Address, value *big.Int, deadline *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

Permit is a paid mutator transaction binding the contract method 0xd505accf.

Solidity: function permit(address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) returns()

func (*UniswapV2ERC20Transactor) Transfer

func (_UniswapV2ERC20 *UniswapV2ERC20Transactor) Transfer(opts *bind.TransactOpts, to common.Address, value *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(address to, uint256 value) returns(bool)

func (*UniswapV2ERC20Transactor) TransferFrom

func (_UniswapV2ERC20 *UniswapV2ERC20Transactor) TransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, value *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address from, address to, uint256 value) returns(bool)

type UniswapV2ERC20TransactorRaw

type UniswapV2ERC20TransactorRaw struct {
	Contract *UniswapV2ERC20Transactor // Generic write-only contract binding to access the raw methods on
}

UniswapV2ERC20TransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*UniswapV2ERC20TransactorRaw) Transact

func (_UniswapV2ERC20 *UniswapV2ERC20TransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*UniswapV2ERC20TransactorRaw) Transfer

func (_UniswapV2ERC20 *UniswapV2ERC20TransactorRaw) 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 UniswapV2ERC20TransactorSession

type UniswapV2ERC20TransactorSession struct {
	Contract     *UniswapV2ERC20Transactor // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts         // Transaction auth options to use throughout this session
}

UniswapV2ERC20TransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

func (*UniswapV2ERC20TransactorSession) Approve

func (_UniswapV2ERC20 *UniswapV2ERC20TransactorSession) Approve(spender common.Address, value *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address spender, uint256 value) returns(bool)

func (*UniswapV2ERC20TransactorSession) Permit

func (_UniswapV2ERC20 *UniswapV2ERC20TransactorSession) Permit(owner common.Address, spender common.Address, value *big.Int, deadline *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

Permit is a paid mutator transaction binding the contract method 0xd505accf.

Solidity: function permit(address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) returns()

func (*UniswapV2ERC20TransactorSession) Transfer

func (_UniswapV2ERC20 *UniswapV2ERC20TransactorSession) Transfer(to common.Address, value *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(address to, uint256 value) returns(bool)

func (*UniswapV2ERC20TransactorSession) TransferFrom

func (_UniswapV2ERC20 *UniswapV2ERC20TransactorSession) TransferFrom(from common.Address, to common.Address, value *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address from, address to, uint256 value) returns(bool)

type UniswapV2ERC20Transfer

type UniswapV2ERC20Transfer struct {
	From  common.Address
	To    common.Address
	Value *big.Int
	Raw   types.Log // Blockchain specific contextual infos
}

UniswapV2ERC20Transfer represents a Transfer event raised by the UniswapV2ERC20 contract.

type UniswapV2ERC20TransferIterator

type UniswapV2ERC20TransferIterator struct {
	Event *UniswapV2ERC20Transfer // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

UniswapV2ERC20TransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the UniswapV2ERC20 contract.

func (*UniswapV2ERC20TransferIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*UniswapV2ERC20TransferIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*UniswapV2ERC20TransferIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type UniswapV2Factory

type UniswapV2Factory struct {
	UniswapV2FactoryCaller     // Read-only binding to the contract
	UniswapV2FactoryTransactor // Write-only binding to the contract
	UniswapV2FactoryFilterer   // Log filterer for contract events
}

UniswapV2Factory is an auto generated Go binding around an Ethereum contract.

func DeployUniswapV2Factory

func DeployUniswapV2Factory(auth *bind.TransactOpts, backend bind.ContractBackend, _feeToSetter common.Address) (common.Address, *types.Transaction, *UniswapV2Factory, error)

DeployUniswapV2Factory deploys a new Ethereum contract, binding an instance of UniswapV2Factory to it.

func NewUniswapV2Factory

func NewUniswapV2Factory(address common.Address, backend bind.ContractBackend) (*UniswapV2Factory, error)

NewUniswapV2Factory creates a new instance of UniswapV2Factory, bound to a specific deployed contract.

type UniswapV2FactoryCaller

type UniswapV2FactoryCaller struct {
	// contains filtered or unexported fields
}

UniswapV2FactoryCaller is an auto generated read-only Go binding around an Ethereum contract.

func NewUniswapV2FactoryCaller

func NewUniswapV2FactoryCaller(address common.Address, caller bind.ContractCaller) (*UniswapV2FactoryCaller, error)

NewUniswapV2FactoryCaller creates a new read-only instance of UniswapV2Factory, bound to a specific deployed contract.

func (*UniswapV2FactoryCaller) AllPairs

func (_UniswapV2Factory *UniswapV2FactoryCaller) AllPairs(opts *bind.CallOpts, arg0 *big.Int) (common.Address, error)

AllPairs is a free data retrieval call binding the contract method 0x1e3dd18b.

Solidity: function allPairs(uint256 ) view returns(address)

func (*UniswapV2FactoryCaller) AllPairsLength

func (_UniswapV2Factory *UniswapV2FactoryCaller) AllPairsLength(opts *bind.CallOpts) (*big.Int, error)

AllPairsLength is a free data retrieval call binding the contract method 0x574f2ba3.

Solidity: function allPairsLength() view returns(uint256)

func (*UniswapV2FactoryCaller) FeeTo

func (_UniswapV2Factory *UniswapV2FactoryCaller) FeeTo(opts *bind.CallOpts) (common.Address, error)

FeeTo is a free data retrieval call binding the contract method 0x017e7e58.

Solidity: function feeTo() view returns(address)

func (*UniswapV2FactoryCaller) FeeToSetter

func (_UniswapV2Factory *UniswapV2FactoryCaller) FeeToSetter(opts *bind.CallOpts) (common.Address, error)

FeeToSetter is a free data retrieval call binding the contract method 0x094b7415.

Solidity: function feeToSetter() view returns(address)

func (*UniswapV2FactoryCaller) GetPair

func (_UniswapV2Factory *UniswapV2FactoryCaller) GetPair(opts *bind.CallOpts, arg0 common.Address, arg1 common.Address) (common.Address, error)

GetPair is a free data retrieval call binding the contract method 0xe6a43905.

Solidity: function getPair(address , address ) view returns(address)

type UniswapV2FactoryCallerRaw

type UniswapV2FactoryCallerRaw struct {
	Contract *UniswapV2FactoryCaller // Generic read-only contract binding to access the raw methods on
}

UniswapV2FactoryCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*UniswapV2FactoryCallerRaw) Call

func (_UniswapV2Factory *UniswapV2FactoryCallerRaw) 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 UniswapV2FactoryCallerSession

type UniswapV2FactoryCallerSession struct {
	Contract *UniswapV2FactoryCaller // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts           // Call options to use throughout this session
}

UniswapV2FactoryCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

func (*UniswapV2FactoryCallerSession) AllPairs

func (_UniswapV2Factory *UniswapV2FactoryCallerSession) AllPairs(arg0 *big.Int) (common.Address, error)

AllPairs is a free data retrieval call binding the contract method 0x1e3dd18b.

Solidity: function allPairs(uint256 ) view returns(address)

func (*UniswapV2FactoryCallerSession) AllPairsLength

func (_UniswapV2Factory *UniswapV2FactoryCallerSession) AllPairsLength() (*big.Int, error)

AllPairsLength is a free data retrieval call binding the contract method 0x574f2ba3.

Solidity: function allPairsLength() view returns(uint256)

func (*UniswapV2FactoryCallerSession) FeeTo

func (_UniswapV2Factory *UniswapV2FactoryCallerSession) FeeTo() (common.Address, error)

FeeTo is a free data retrieval call binding the contract method 0x017e7e58.

Solidity: function feeTo() view returns(address)

func (*UniswapV2FactoryCallerSession) FeeToSetter

func (_UniswapV2Factory *UniswapV2FactoryCallerSession) FeeToSetter() (common.Address, error)

FeeToSetter is a free data retrieval call binding the contract method 0x094b7415.

Solidity: function feeToSetter() view returns(address)

func (*UniswapV2FactoryCallerSession) GetPair

func (_UniswapV2Factory *UniswapV2FactoryCallerSession) GetPair(arg0 common.Address, arg1 common.Address) (common.Address, error)

GetPair is a free data retrieval call binding the contract method 0xe6a43905.

Solidity: function getPair(address , address ) view returns(address)

type UniswapV2FactoryFilterer

type UniswapV2FactoryFilterer struct {
	// contains filtered or unexported fields
}

UniswapV2FactoryFilterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewUniswapV2FactoryFilterer

func NewUniswapV2FactoryFilterer(address common.Address, filterer bind.ContractFilterer) (*UniswapV2FactoryFilterer, error)

NewUniswapV2FactoryFilterer creates a new log filterer instance of UniswapV2Factory, bound to a specific deployed contract.

func (*UniswapV2FactoryFilterer) FilterPairCreated

func (_UniswapV2Factory *UniswapV2FactoryFilterer) FilterPairCreated(opts *bind.FilterOpts, token0 []common.Address, token1 []common.Address) (*UniswapV2FactoryPairCreatedIterator, error)

FilterPairCreated is a free log retrieval operation binding the contract event 0x0d3648bd0f6ba80134a33ba9275ac585d9d315f0ad8355cddefde31afa28d0e9.

Solidity: event PairCreated(address indexed token0, address indexed token1, address pair, uint256 arg3)

func (*UniswapV2FactoryFilterer) ParsePairCreated

func (_UniswapV2Factory *UniswapV2FactoryFilterer) ParsePairCreated(log types.Log) (*UniswapV2FactoryPairCreated, error)

ParsePairCreated is a log parse operation binding the contract event 0x0d3648bd0f6ba80134a33ba9275ac585d9d315f0ad8355cddefde31afa28d0e9.

Solidity: event PairCreated(address indexed token0, address indexed token1, address pair, uint256 arg3)

func (*UniswapV2FactoryFilterer) WatchPairCreated

func (_UniswapV2Factory *UniswapV2FactoryFilterer) WatchPairCreated(opts *bind.WatchOpts, sink chan<- *UniswapV2FactoryPairCreated, token0 []common.Address, token1 []common.Address) (event.Subscription, error)

WatchPairCreated is a free log subscription operation binding the contract event 0x0d3648bd0f6ba80134a33ba9275ac585d9d315f0ad8355cddefde31afa28d0e9.

Solidity: event PairCreated(address indexed token0, address indexed token1, address pair, uint256 arg3)

type UniswapV2FactoryPairCreated

type UniswapV2FactoryPairCreated struct {
	Token0 common.Address
	Token1 common.Address
	Pair   common.Address
	Arg3   *big.Int
	Raw    types.Log // Blockchain specific contextual infos
}

UniswapV2FactoryPairCreated represents a PairCreated event raised by the UniswapV2Factory contract.

type UniswapV2FactoryPairCreatedIterator

type UniswapV2FactoryPairCreatedIterator struct {
	Event *UniswapV2FactoryPairCreated // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

UniswapV2FactoryPairCreatedIterator is returned from FilterPairCreated and is used to iterate over the raw logs and unpacked data for PairCreated events raised by the UniswapV2Factory contract.

func (*UniswapV2FactoryPairCreatedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*UniswapV2FactoryPairCreatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*UniswapV2FactoryPairCreatedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type UniswapV2FactoryRaw

type UniswapV2FactoryRaw struct {
	Contract *UniswapV2Factory // Generic contract binding to access the raw methods on
}

UniswapV2FactoryRaw is an auto generated low-level Go binding around an Ethereum contract.

func (*UniswapV2FactoryRaw) Call

func (_UniswapV2Factory *UniswapV2FactoryRaw) 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 (*UniswapV2FactoryRaw) Transact

func (_UniswapV2Factory *UniswapV2FactoryRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*UniswapV2FactoryRaw) Transfer

func (_UniswapV2Factory *UniswapV2FactoryRaw) 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 UniswapV2FactorySession

type UniswapV2FactorySession struct {
	Contract     *UniswapV2Factory // 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
}

UniswapV2FactorySession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

func (*UniswapV2FactorySession) AllPairs

func (_UniswapV2Factory *UniswapV2FactorySession) AllPairs(arg0 *big.Int) (common.Address, error)

AllPairs is a free data retrieval call binding the contract method 0x1e3dd18b.

Solidity: function allPairs(uint256 ) view returns(address)

func (*UniswapV2FactorySession) AllPairsLength

func (_UniswapV2Factory *UniswapV2FactorySession) AllPairsLength() (*big.Int, error)

AllPairsLength is a free data retrieval call binding the contract method 0x574f2ba3.

Solidity: function allPairsLength() view returns(uint256)

func (*UniswapV2FactorySession) CreatePair

func (_UniswapV2Factory *UniswapV2FactorySession) CreatePair(tokenA common.Address, tokenB common.Address) (*types.Transaction, error)

CreatePair is a paid mutator transaction binding the contract method 0xc9c65396.

Solidity: function createPair(address tokenA, address tokenB) returns(address pair)

func (*UniswapV2FactorySession) FeeTo

func (_UniswapV2Factory *UniswapV2FactorySession) FeeTo() (common.Address, error)

FeeTo is a free data retrieval call binding the contract method 0x017e7e58.

Solidity: function feeTo() view returns(address)

func (*UniswapV2FactorySession) FeeToSetter

func (_UniswapV2Factory *UniswapV2FactorySession) FeeToSetter() (common.Address, error)

FeeToSetter is a free data retrieval call binding the contract method 0x094b7415.

Solidity: function feeToSetter() view returns(address)

func (*UniswapV2FactorySession) GetPair

func (_UniswapV2Factory *UniswapV2FactorySession) GetPair(arg0 common.Address, arg1 common.Address) (common.Address, error)

GetPair is a free data retrieval call binding the contract method 0xe6a43905.

Solidity: function getPair(address , address ) view returns(address)

func (*UniswapV2FactorySession) SetFeeTo

func (_UniswapV2Factory *UniswapV2FactorySession) SetFeeTo(_feeTo common.Address) (*types.Transaction, error)

SetFeeTo is a paid mutator transaction binding the contract method 0xf46901ed.

Solidity: function setFeeTo(address _feeTo) returns()

func (*UniswapV2FactorySession) SetFeeToSetter

func (_UniswapV2Factory *UniswapV2FactorySession) SetFeeToSetter(_feeToSetter common.Address) (*types.Transaction, error)

SetFeeToSetter is a paid mutator transaction binding the contract method 0xa2e74af6.

Solidity: function setFeeToSetter(address _feeToSetter) returns()

type UniswapV2FactoryTransactor

type UniswapV2FactoryTransactor struct {
	// contains filtered or unexported fields
}

UniswapV2FactoryTransactor is an auto generated write-only Go binding around an Ethereum contract.

func NewUniswapV2FactoryTransactor

func NewUniswapV2FactoryTransactor(address common.Address, transactor bind.ContractTransactor) (*UniswapV2FactoryTransactor, error)

NewUniswapV2FactoryTransactor creates a new write-only instance of UniswapV2Factory, bound to a specific deployed contract.

func (*UniswapV2FactoryTransactor) CreatePair

func (_UniswapV2Factory *UniswapV2FactoryTransactor) CreatePair(opts *bind.TransactOpts, tokenA common.Address, tokenB common.Address) (*types.Transaction, error)

CreatePair is a paid mutator transaction binding the contract method 0xc9c65396.

Solidity: function createPair(address tokenA, address tokenB) returns(address pair)

func (*UniswapV2FactoryTransactor) SetFeeTo

func (_UniswapV2Factory *UniswapV2FactoryTransactor) SetFeeTo(opts *bind.TransactOpts, _feeTo common.Address) (*types.Transaction, error)

SetFeeTo is a paid mutator transaction binding the contract method 0xf46901ed.

Solidity: function setFeeTo(address _feeTo) returns()

func (*UniswapV2FactoryTransactor) SetFeeToSetter

func (_UniswapV2Factory *UniswapV2FactoryTransactor) SetFeeToSetter(opts *bind.TransactOpts, _feeToSetter common.Address) (*types.Transaction, error)

SetFeeToSetter is a paid mutator transaction binding the contract method 0xa2e74af6.

Solidity: function setFeeToSetter(address _feeToSetter) returns()

type UniswapV2FactoryTransactorRaw

type UniswapV2FactoryTransactorRaw struct {
	Contract *UniswapV2FactoryTransactor // Generic write-only contract binding to access the raw methods on
}

UniswapV2FactoryTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*UniswapV2FactoryTransactorRaw) Transact

func (_UniswapV2Factory *UniswapV2FactoryTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*UniswapV2FactoryTransactorRaw) Transfer

func (_UniswapV2Factory *UniswapV2FactoryTransactorRaw) 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 UniswapV2FactoryTransactorSession

type UniswapV2FactoryTransactorSession struct {
	Contract     *UniswapV2FactoryTransactor // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts           // Transaction auth options to use throughout this session
}

UniswapV2FactoryTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

func (*UniswapV2FactoryTransactorSession) CreatePair

func (_UniswapV2Factory *UniswapV2FactoryTransactorSession) CreatePair(tokenA common.Address, tokenB common.Address) (*types.Transaction, error)

CreatePair is a paid mutator transaction binding the contract method 0xc9c65396.

Solidity: function createPair(address tokenA, address tokenB) returns(address pair)

func (*UniswapV2FactoryTransactorSession) SetFeeTo

func (_UniswapV2Factory *UniswapV2FactoryTransactorSession) SetFeeTo(_feeTo common.Address) (*types.Transaction, error)

SetFeeTo is a paid mutator transaction binding the contract method 0xf46901ed.

Solidity: function setFeeTo(address _feeTo) returns()

func (*UniswapV2FactoryTransactorSession) SetFeeToSetter

func (_UniswapV2Factory *UniswapV2FactoryTransactorSession) SetFeeToSetter(_feeToSetter common.Address) (*types.Transaction, error)

SetFeeToSetter is a paid mutator transaction binding the contract method 0xa2e74af6.

Solidity: function setFeeToSetter(address _feeToSetter) returns()

type UniswapV2Filterer

type UniswapV2Filterer struct {
	// contains filtered or unexported fields
}

UniswapV2Filterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewUniswapV2Filterer

func NewUniswapV2Filterer(address common.Address, filterer bind.ContractFilterer) (*UniswapV2Filterer, error)

NewUniswapV2Filterer creates a new log filterer instance of UniswapV2, bound to a specific deployed contract.

type UniswapV2Pair

type UniswapV2Pair struct {
	UniswapV2PairCaller     // Read-only binding to the contract
	UniswapV2PairTransactor // Write-only binding to the contract
	UniswapV2PairFilterer   // Log filterer for contract events
}

UniswapV2Pair is an auto generated Go binding around an Ethereum contract.

func DeployUniswapV2Pair

func DeployUniswapV2Pair(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *UniswapV2Pair, error)

DeployUniswapV2Pair deploys a new Ethereum contract, binding an instance of UniswapV2Pair to it.

func NewUniswapV2Pair

func NewUniswapV2Pair(address common.Address, backend bind.ContractBackend) (*UniswapV2Pair, error)

NewUniswapV2Pair creates a new instance of UniswapV2Pair, bound to a specific deployed contract.

type UniswapV2PairApproval

type UniswapV2PairApproval struct {
	Owner   common.Address
	Spender common.Address
	Value   *big.Int
	Raw     types.Log // Blockchain specific contextual infos
}

UniswapV2PairApproval represents a Approval event raised by the UniswapV2Pair contract.

type UniswapV2PairApprovalIterator

type UniswapV2PairApprovalIterator struct {
	Event *UniswapV2PairApproval // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

UniswapV2PairApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the UniswapV2Pair contract.

func (*UniswapV2PairApprovalIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*UniswapV2PairApprovalIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*UniswapV2PairApprovalIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type UniswapV2PairBurn

type UniswapV2PairBurn struct {
	Sender  common.Address
	Amount0 *big.Int
	Amount1 *big.Int
	To      common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

UniswapV2PairBurn represents a Burn event raised by the UniswapV2Pair contract.

type UniswapV2PairBurnIterator

type UniswapV2PairBurnIterator struct {
	Event *UniswapV2PairBurn // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

UniswapV2PairBurnIterator is returned from FilterBurn and is used to iterate over the raw logs and unpacked data for Burn events raised by the UniswapV2Pair contract.

func (*UniswapV2PairBurnIterator) Close

func (it *UniswapV2PairBurnIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*UniswapV2PairBurnIterator) Error

func (it *UniswapV2PairBurnIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*UniswapV2PairBurnIterator) Next

func (it *UniswapV2PairBurnIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type UniswapV2PairCaller

type UniswapV2PairCaller struct {
	// contains filtered or unexported fields
}

UniswapV2PairCaller is an auto generated read-only Go binding around an Ethereum contract.

func NewUniswapV2PairCaller

func NewUniswapV2PairCaller(address common.Address, caller bind.ContractCaller) (*UniswapV2PairCaller, error)

NewUniswapV2PairCaller creates a new read-only instance of UniswapV2Pair, bound to a specific deployed contract.

func (*UniswapV2PairCaller) Allowance

func (_UniswapV2Pair *UniswapV2PairCaller) Allowance(opts *bind.CallOpts, arg0 common.Address, arg1 common.Address) (*big.Int, error)

Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.

Solidity: function allowance(address , address ) view returns(uint256)

func (*UniswapV2PairCaller) BalanceOf

func (_UniswapV2Pair *UniswapV2PairCaller) BalanceOf(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(address ) view returns(uint256)

func (*UniswapV2PairCaller) DOMAINSEPARATOR

func (_UniswapV2Pair *UniswapV2PairCaller) DOMAINSEPARATOR(opts *bind.CallOpts) ([32]byte, error)

DOMAINSEPARATOR is a free data retrieval call binding the contract method 0x3644e515.

Solidity: function DOMAIN_SEPARATOR() view returns(bytes32)

func (*UniswapV2PairCaller) Decimals

func (_UniswapV2Pair *UniswapV2PairCaller) 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 (*UniswapV2PairCaller) Factory

func (_UniswapV2Pair *UniswapV2PairCaller) Factory(opts *bind.CallOpts) (common.Address, error)

Factory is a free data retrieval call binding the contract method 0xc45a0155.

Solidity: function factory() view returns(address)

func (*UniswapV2PairCaller) GetReserves

func (_UniswapV2Pair *UniswapV2PairCaller) GetReserves(opts *bind.CallOpts) (struct {
	Reserve0           *big.Int
	Reserve1           *big.Int
	BlockTimestampLast uint32
}, error)

GetReserves is a free data retrieval call binding the contract method 0x0902f1ac.

Solidity: function getReserves() view returns(uint112 _reserve0, uint112 _reserve1, uint32 _blockTimestampLast)

func (*UniswapV2PairCaller) KLast

func (_UniswapV2Pair *UniswapV2PairCaller) KLast(opts *bind.CallOpts) (*big.Int, error)

KLast is a free data retrieval call binding the contract method 0x7464fc3d.

Solidity: function kLast() view returns(uint256)

func (*UniswapV2PairCaller) MINIMUMLIQUIDITY

func (_UniswapV2Pair *UniswapV2PairCaller) MINIMUMLIQUIDITY(opts *bind.CallOpts) (*big.Int, error)

MINIMUMLIQUIDITY is a free data retrieval call binding the contract method 0xba9a7a56.

Solidity: function MINIMUM_LIQUIDITY() view returns(uint256)

func (*UniswapV2PairCaller) Name

func (_UniswapV2Pair *UniswapV2PairCaller) 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 (*UniswapV2PairCaller) Nonces

func (_UniswapV2Pair *UniswapV2PairCaller) Nonces(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

Nonces is a free data retrieval call binding the contract method 0x7ecebe00.

Solidity: function nonces(address ) view returns(uint256)

func (*UniswapV2PairCaller) PERMITTYPEHASH

func (_UniswapV2Pair *UniswapV2PairCaller) PERMITTYPEHASH(opts *bind.CallOpts) ([32]byte, error)

PERMITTYPEHASH is a free data retrieval call binding the contract method 0x30adf81f.

Solidity: function PERMIT_TYPEHASH() view returns(bytes32)

func (*UniswapV2PairCaller) Price0CumulativeLast

func (_UniswapV2Pair *UniswapV2PairCaller) Price0CumulativeLast(opts *bind.CallOpts) (*big.Int, error)

Price0CumulativeLast is a free data retrieval call binding the contract method 0x5909c0d5.

Solidity: function price0CumulativeLast() view returns(uint256)

func (*UniswapV2PairCaller) Price1CumulativeLast

func (_UniswapV2Pair *UniswapV2PairCaller) Price1CumulativeLast(opts *bind.CallOpts) (*big.Int, error)

Price1CumulativeLast is a free data retrieval call binding the contract method 0x5a3d5493.

Solidity: function price1CumulativeLast() view returns(uint256)

func (*UniswapV2PairCaller) Symbol

func (_UniswapV2Pair *UniswapV2PairCaller) 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 (*UniswapV2PairCaller) Token0

func (_UniswapV2Pair *UniswapV2PairCaller) Token0(opts *bind.CallOpts) (common.Address, error)

Token0 is a free data retrieval call binding the contract method 0x0dfe1681.

Solidity: function token0() view returns(address)

func (*UniswapV2PairCaller) Token1

func (_UniswapV2Pair *UniswapV2PairCaller) Token1(opts *bind.CallOpts) (common.Address, error)

Token1 is a free data retrieval call binding the contract method 0xd21220a7.

Solidity: function token1() view returns(address)

func (*UniswapV2PairCaller) TotalSupply

func (_UniswapV2Pair *UniswapV2PairCaller) 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)

type UniswapV2PairCallerRaw

type UniswapV2PairCallerRaw struct {
	Contract *UniswapV2PairCaller // Generic read-only contract binding to access the raw methods on
}

UniswapV2PairCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*UniswapV2PairCallerRaw) Call

func (_UniswapV2Pair *UniswapV2PairCallerRaw) 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 UniswapV2PairCallerSession

type UniswapV2PairCallerSession struct {
	Contract *UniswapV2PairCaller // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts        // Call options to use throughout this session
}

UniswapV2PairCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

func (*UniswapV2PairCallerSession) Allowance

func (_UniswapV2Pair *UniswapV2PairCallerSession) Allowance(arg0 common.Address, arg1 common.Address) (*big.Int, error)

Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.

Solidity: function allowance(address , address ) view returns(uint256)

func (*UniswapV2PairCallerSession) BalanceOf

func (_UniswapV2Pair *UniswapV2PairCallerSession) BalanceOf(arg0 common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(address ) view returns(uint256)

func (*UniswapV2PairCallerSession) DOMAINSEPARATOR

func (_UniswapV2Pair *UniswapV2PairCallerSession) DOMAINSEPARATOR() ([32]byte, error)

DOMAINSEPARATOR is a free data retrieval call binding the contract method 0x3644e515.

Solidity: function DOMAIN_SEPARATOR() view returns(bytes32)

func (*UniswapV2PairCallerSession) Decimals

func (_UniswapV2Pair *UniswapV2PairCallerSession) Decimals() (uint8, error)

Decimals is a free data retrieval call binding the contract method 0x313ce567.

Solidity: function decimals() view returns(uint8)

func (*UniswapV2PairCallerSession) Factory

func (_UniswapV2Pair *UniswapV2PairCallerSession) Factory() (common.Address, error)

Factory is a free data retrieval call binding the contract method 0xc45a0155.

Solidity: function factory() view returns(address)

func (*UniswapV2PairCallerSession) GetReserves

func (_UniswapV2Pair *UniswapV2PairCallerSession) GetReserves() (struct {
	Reserve0           *big.Int
	Reserve1           *big.Int
	BlockTimestampLast uint32
}, error)

GetReserves is a free data retrieval call binding the contract method 0x0902f1ac.

Solidity: function getReserves() view returns(uint112 _reserve0, uint112 _reserve1, uint32 _blockTimestampLast)

func (*UniswapV2PairCallerSession) KLast

func (_UniswapV2Pair *UniswapV2PairCallerSession) KLast() (*big.Int, error)

KLast is a free data retrieval call binding the contract method 0x7464fc3d.

Solidity: function kLast() view returns(uint256)

func (*UniswapV2PairCallerSession) MINIMUMLIQUIDITY

func (_UniswapV2Pair *UniswapV2PairCallerSession) MINIMUMLIQUIDITY() (*big.Int, error)

MINIMUMLIQUIDITY is a free data retrieval call binding the contract method 0xba9a7a56.

Solidity: function MINIMUM_LIQUIDITY() view returns(uint256)

func (*UniswapV2PairCallerSession) Name

func (_UniswapV2Pair *UniswapV2PairCallerSession) Name() (string, error)

Name is a free data retrieval call binding the contract method 0x06fdde03.

Solidity: function name() view returns(string)

func (*UniswapV2PairCallerSession) Nonces

func (_UniswapV2Pair *UniswapV2PairCallerSession) Nonces(arg0 common.Address) (*big.Int, error)

Nonces is a free data retrieval call binding the contract method 0x7ecebe00.

Solidity: function nonces(address ) view returns(uint256)

func (*UniswapV2PairCallerSession) PERMITTYPEHASH

func (_UniswapV2Pair *UniswapV2PairCallerSession) PERMITTYPEHASH() ([32]byte, error)

PERMITTYPEHASH is a free data retrieval call binding the contract method 0x30adf81f.

Solidity: function PERMIT_TYPEHASH() view returns(bytes32)

func (*UniswapV2PairCallerSession) Price0CumulativeLast

func (_UniswapV2Pair *UniswapV2PairCallerSession) Price0CumulativeLast() (*big.Int, error)

Price0CumulativeLast is a free data retrieval call binding the contract method 0x5909c0d5.

Solidity: function price0CumulativeLast() view returns(uint256)

func (*UniswapV2PairCallerSession) Price1CumulativeLast

func (_UniswapV2Pair *UniswapV2PairCallerSession) Price1CumulativeLast() (*big.Int, error)

Price1CumulativeLast is a free data retrieval call binding the contract method 0x5a3d5493.

Solidity: function price1CumulativeLast() view returns(uint256)

func (*UniswapV2PairCallerSession) Symbol

func (_UniswapV2Pair *UniswapV2PairCallerSession) Symbol() (string, error)

Symbol is a free data retrieval call binding the contract method 0x95d89b41.

Solidity: function symbol() view returns(string)

func (*UniswapV2PairCallerSession) Token0

func (_UniswapV2Pair *UniswapV2PairCallerSession) Token0() (common.Address, error)

Token0 is a free data retrieval call binding the contract method 0x0dfe1681.

Solidity: function token0() view returns(address)

func (*UniswapV2PairCallerSession) Token1

func (_UniswapV2Pair *UniswapV2PairCallerSession) Token1() (common.Address, error)

Token1 is a free data retrieval call binding the contract method 0xd21220a7.

Solidity: function token1() view returns(address)

func (*UniswapV2PairCallerSession) TotalSupply

func (_UniswapV2Pair *UniswapV2PairCallerSession) TotalSupply() (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() view returns(uint256)

type UniswapV2PairFilterer

type UniswapV2PairFilterer struct {
	// contains filtered or unexported fields
}

UniswapV2PairFilterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewUniswapV2PairFilterer

func NewUniswapV2PairFilterer(address common.Address, filterer bind.ContractFilterer) (*UniswapV2PairFilterer, error)

NewUniswapV2PairFilterer creates a new log filterer instance of UniswapV2Pair, bound to a specific deployed contract.

func (*UniswapV2PairFilterer) FilterApproval

func (_UniswapV2Pair *UniswapV2PairFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*UniswapV2PairApprovalIterator, error)

FilterApproval is a free log retrieval operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)

func (*UniswapV2PairFilterer) FilterBurn

func (_UniswapV2Pair *UniswapV2PairFilterer) FilterBurn(opts *bind.FilterOpts, sender []common.Address, to []common.Address) (*UniswapV2PairBurnIterator, error)

FilterBurn is a free log retrieval operation binding the contract event 0xdccd412f0b1252819cb1fd330b93224ca42612892bb3f4f789976e6d81936496.

Solidity: event Burn(address indexed sender, uint256 amount0, uint256 amount1, address indexed to)

func (*UniswapV2PairFilterer) FilterMint

func (_UniswapV2Pair *UniswapV2PairFilterer) FilterMint(opts *bind.FilterOpts, sender []common.Address) (*UniswapV2PairMintIterator, error)

FilterMint is a free log retrieval operation binding the contract event 0x4c209b5fc8ad50758f13e2e1088ba56a560dff690a1c6fef26394f4c03821c4f.

Solidity: event Mint(address indexed sender, uint256 amount0, uint256 amount1)

func (*UniswapV2PairFilterer) FilterSwap

func (_UniswapV2Pair *UniswapV2PairFilterer) FilterSwap(opts *bind.FilterOpts, sender []common.Address, to []common.Address) (*UniswapV2PairSwapIterator, error)

FilterSwap is a free log retrieval operation binding the contract event 0xd78ad95fa46c994b6551d0da85fc275fe613ce37657fb8d5e3d130840159d822.

Solidity: event Swap(address indexed sender, uint256 amount0In, uint256 amount1In, uint256 amount0Out, uint256 amount1Out, address indexed to)

func (*UniswapV2PairFilterer) FilterSync

func (_UniswapV2Pair *UniswapV2PairFilterer) FilterSync(opts *bind.FilterOpts) (*UniswapV2PairSyncIterator, error)

FilterSync is a free log retrieval operation binding the contract event 0x1c411e9a96e071241c2f21f7726b17ae89e3cab4c78be50e062b03a9fffbbad1.

Solidity: event Sync(uint112 reserve0, uint112 reserve1)

func (*UniswapV2PairFilterer) FilterTransfer

func (_UniswapV2Pair *UniswapV2PairFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*UniswapV2PairTransferIterator, error)

FilterTransfer is a free log retrieval operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed from, address indexed to, uint256 value)

func (*UniswapV2PairFilterer) ParseApproval

func (_UniswapV2Pair *UniswapV2PairFilterer) ParseApproval(log types.Log) (*UniswapV2PairApproval, error)

ParseApproval is a log parse operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)

func (*UniswapV2PairFilterer) ParseBurn

func (_UniswapV2Pair *UniswapV2PairFilterer) ParseBurn(log types.Log) (*UniswapV2PairBurn, error)

ParseBurn is a log parse operation binding the contract event 0xdccd412f0b1252819cb1fd330b93224ca42612892bb3f4f789976e6d81936496.

Solidity: event Burn(address indexed sender, uint256 amount0, uint256 amount1, address indexed to)

func (*UniswapV2PairFilterer) ParseMint

func (_UniswapV2Pair *UniswapV2PairFilterer) ParseMint(log types.Log) (*UniswapV2PairMint, error)

ParseMint is a log parse operation binding the contract event 0x4c209b5fc8ad50758f13e2e1088ba56a560dff690a1c6fef26394f4c03821c4f.

Solidity: event Mint(address indexed sender, uint256 amount0, uint256 amount1)

func (*UniswapV2PairFilterer) ParseSwap

func (_UniswapV2Pair *UniswapV2PairFilterer) ParseSwap(log types.Log) (*UniswapV2PairSwap, error)

ParseSwap is a log parse operation binding the contract event 0xd78ad95fa46c994b6551d0da85fc275fe613ce37657fb8d5e3d130840159d822.

Solidity: event Swap(address indexed sender, uint256 amount0In, uint256 amount1In, uint256 amount0Out, uint256 amount1Out, address indexed to)

func (*UniswapV2PairFilterer) ParseSync

func (_UniswapV2Pair *UniswapV2PairFilterer) ParseSync(log types.Log) (*UniswapV2PairSync, error)

ParseSync is a log parse operation binding the contract event 0x1c411e9a96e071241c2f21f7726b17ae89e3cab4c78be50e062b03a9fffbbad1.

Solidity: event Sync(uint112 reserve0, uint112 reserve1)

func (*UniswapV2PairFilterer) ParseTransfer

func (_UniswapV2Pair *UniswapV2PairFilterer) ParseTransfer(log types.Log) (*UniswapV2PairTransfer, error)

ParseTransfer is a log parse operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed from, address indexed to, uint256 value)

func (*UniswapV2PairFilterer) WatchApproval

func (_UniswapV2Pair *UniswapV2PairFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *UniswapV2PairApproval, owner []common.Address, spender []common.Address) (event.Subscription, error)

WatchApproval is a free log subscription operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)

func (*UniswapV2PairFilterer) WatchBurn

func (_UniswapV2Pair *UniswapV2PairFilterer) WatchBurn(opts *bind.WatchOpts, sink chan<- *UniswapV2PairBurn, sender []common.Address, to []common.Address) (event.Subscription, error)

WatchBurn is a free log subscription operation binding the contract event 0xdccd412f0b1252819cb1fd330b93224ca42612892bb3f4f789976e6d81936496.

Solidity: event Burn(address indexed sender, uint256 amount0, uint256 amount1, address indexed to)

func (*UniswapV2PairFilterer) WatchMint

func (_UniswapV2Pair *UniswapV2PairFilterer) WatchMint(opts *bind.WatchOpts, sink chan<- *UniswapV2PairMint, sender []common.Address) (event.Subscription, error)

WatchMint is a free log subscription operation binding the contract event 0x4c209b5fc8ad50758f13e2e1088ba56a560dff690a1c6fef26394f4c03821c4f.

Solidity: event Mint(address indexed sender, uint256 amount0, uint256 amount1)

func (*UniswapV2PairFilterer) WatchSwap

func (_UniswapV2Pair *UniswapV2PairFilterer) WatchSwap(opts *bind.WatchOpts, sink chan<- *UniswapV2PairSwap, sender []common.Address, to []common.Address) (event.Subscription, error)

WatchSwap is a free log subscription operation binding the contract event 0xd78ad95fa46c994b6551d0da85fc275fe613ce37657fb8d5e3d130840159d822.

Solidity: event Swap(address indexed sender, uint256 amount0In, uint256 amount1In, uint256 amount0Out, uint256 amount1Out, address indexed to)

func (*UniswapV2PairFilterer) WatchSync

func (_UniswapV2Pair *UniswapV2PairFilterer) WatchSync(opts *bind.WatchOpts, sink chan<- *UniswapV2PairSync) (event.Subscription, error)

WatchSync is a free log subscription operation binding the contract event 0x1c411e9a96e071241c2f21f7726b17ae89e3cab4c78be50e062b03a9fffbbad1.

Solidity: event Sync(uint112 reserve0, uint112 reserve1)

func (*UniswapV2PairFilterer) WatchTransfer

func (_UniswapV2Pair *UniswapV2PairFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *UniswapV2PairTransfer, from []common.Address, to []common.Address) (event.Subscription, error)

WatchTransfer is a free log subscription operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed from, address indexed to, uint256 value)

type UniswapV2PairMint

type UniswapV2PairMint struct {
	Sender  common.Address
	Amount0 *big.Int
	Amount1 *big.Int
	Raw     types.Log // Blockchain specific contextual infos
}

UniswapV2PairMint represents a Mint event raised by the UniswapV2Pair contract.

type UniswapV2PairMintIterator

type UniswapV2PairMintIterator struct {
	Event *UniswapV2PairMint // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

UniswapV2PairMintIterator is returned from FilterMint and is used to iterate over the raw logs and unpacked data for Mint events raised by the UniswapV2Pair contract.

func (*UniswapV2PairMintIterator) Close

func (it *UniswapV2PairMintIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*UniswapV2PairMintIterator) Error

func (it *UniswapV2PairMintIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*UniswapV2PairMintIterator) Next

func (it *UniswapV2PairMintIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type UniswapV2PairRaw

type UniswapV2PairRaw struct {
	Contract *UniswapV2Pair // Generic contract binding to access the raw methods on
}

UniswapV2PairRaw is an auto generated low-level Go binding around an Ethereum contract.

func (*UniswapV2PairRaw) Call

func (_UniswapV2Pair *UniswapV2PairRaw) 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 (*UniswapV2PairRaw) Transact

func (_UniswapV2Pair *UniswapV2PairRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*UniswapV2PairRaw) Transfer

func (_UniswapV2Pair *UniswapV2PairRaw) 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 UniswapV2PairSession

type UniswapV2PairSession struct {
	Contract     *UniswapV2Pair    // 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
}

UniswapV2PairSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

func (*UniswapV2PairSession) Allowance

func (_UniswapV2Pair *UniswapV2PairSession) Allowance(arg0 common.Address, arg1 common.Address) (*big.Int, error)

Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.

Solidity: function allowance(address , address ) view returns(uint256)

func (*UniswapV2PairSession) Approve

func (_UniswapV2Pair *UniswapV2PairSession) Approve(spender common.Address, value *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address spender, uint256 value) returns(bool)

func (*UniswapV2PairSession) BalanceOf

func (_UniswapV2Pair *UniswapV2PairSession) BalanceOf(arg0 common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(address ) view returns(uint256)

func (*UniswapV2PairSession) Burn

func (_UniswapV2Pair *UniswapV2PairSession) Burn(to common.Address) (*types.Transaction, error)

Burn is a paid mutator transaction binding the contract method 0x89afcb44.

Solidity: function burn(address to) returns(uint256 amount0, uint256 amount1)

func (*UniswapV2PairSession) DOMAINSEPARATOR

func (_UniswapV2Pair *UniswapV2PairSession) DOMAINSEPARATOR() ([32]byte, error)

DOMAINSEPARATOR is a free data retrieval call binding the contract method 0x3644e515.

Solidity: function DOMAIN_SEPARATOR() view returns(bytes32)

func (*UniswapV2PairSession) Decimals

func (_UniswapV2Pair *UniswapV2PairSession) Decimals() (uint8, error)

Decimals is a free data retrieval call binding the contract method 0x313ce567.

Solidity: function decimals() view returns(uint8)

func (*UniswapV2PairSession) Factory

func (_UniswapV2Pair *UniswapV2PairSession) Factory() (common.Address, error)

Factory is a free data retrieval call binding the contract method 0xc45a0155.

Solidity: function factory() view returns(address)

func (*UniswapV2PairSession) GetReserves

func (_UniswapV2Pair *UniswapV2PairSession) GetReserves() (struct {
	Reserve0           *big.Int
	Reserve1           *big.Int
	BlockTimestampLast uint32
}, error)

GetReserves is a free data retrieval call binding the contract method 0x0902f1ac.

Solidity: function getReserves() view returns(uint112 _reserve0, uint112 _reserve1, uint32 _blockTimestampLast)

func (*UniswapV2PairSession) Initialize

func (_UniswapV2Pair *UniswapV2PairSession) Initialize(_token0 common.Address, _token1 common.Address) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0x485cc955.

Solidity: function initialize(address _token0, address _token1) returns()

func (*UniswapV2PairSession) KLast

func (_UniswapV2Pair *UniswapV2PairSession) KLast() (*big.Int, error)

KLast is a free data retrieval call binding the contract method 0x7464fc3d.

Solidity: function kLast() view returns(uint256)

func (*UniswapV2PairSession) MINIMUMLIQUIDITY

func (_UniswapV2Pair *UniswapV2PairSession) MINIMUMLIQUIDITY() (*big.Int, error)

MINIMUMLIQUIDITY is a free data retrieval call binding the contract method 0xba9a7a56.

Solidity: function MINIMUM_LIQUIDITY() view returns(uint256)

func (*UniswapV2PairSession) Mint

func (_UniswapV2Pair *UniswapV2PairSession) Mint(to common.Address) (*types.Transaction, error)

Mint is a paid mutator transaction binding the contract method 0x6a627842.

Solidity: function mint(address to) returns(uint256 liquidity)

func (*UniswapV2PairSession) Name

func (_UniswapV2Pair *UniswapV2PairSession) Name() (string, error)

Name is a free data retrieval call binding the contract method 0x06fdde03.

Solidity: function name() view returns(string)

func (*UniswapV2PairSession) Nonces

func (_UniswapV2Pair *UniswapV2PairSession) Nonces(arg0 common.Address) (*big.Int, error)

Nonces is a free data retrieval call binding the contract method 0x7ecebe00.

Solidity: function nonces(address ) view returns(uint256)

func (*UniswapV2PairSession) PERMITTYPEHASH

func (_UniswapV2Pair *UniswapV2PairSession) PERMITTYPEHASH() ([32]byte, error)

PERMITTYPEHASH is a free data retrieval call binding the contract method 0x30adf81f.

Solidity: function PERMIT_TYPEHASH() view returns(bytes32)

func (*UniswapV2PairSession) Permit

func (_UniswapV2Pair *UniswapV2PairSession) Permit(owner common.Address, spender common.Address, value *big.Int, deadline *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

Permit is a paid mutator transaction binding the contract method 0xd505accf.

Solidity: function permit(address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) returns()

func (*UniswapV2PairSession) Price0CumulativeLast

func (_UniswapV2Pair *UniswapV2PairSession) Price0CumulativeLast() (*big.Int, error)

Price0CumulativeLast is a free data retrieval call binding the contract method 0x5909c0d5.

Solidity: function price0CumulativeLast() view returns(uint256)

func (*UniswapV2PairSession) Price1CumulativeLast

func (_UniswapV2Pair *UniswapV2PairSession) Price1CumulativeLast() (*big.Int, error)

Price1CumulativeLast is a free data retrieval call binding the contract method 0x5a3d5493.

Solidity: function price1CumulativeLast() view returns(uint256)

func (*UniswapV2PairSession) Skim

func (_UniswapV2Pair *UniswapV2PairSession) Skim(to common.Address) (*types.Transaction, error)

Skim is a paid mutator transaction binding the contract method 0xbc25cf77.

Solidity: function skim(address to) returns()

func (*UniswapV2PairSession) Swap

func (_UniswapV2Pair *UniswapV2PairSession) Swap(amount0Out *big.Int, amount1Out *big.Int, to common.Address, data []byte) (*types.Transaction, error)

Swap is a paid mutator transaction binding the contract method 0x022c0d9f.

Solidity: function swap(uint256 amount0Out, uint256 amount1Out, address to, bytes data) returns()

func (*UniswapV2PairSession) Symbol

func (_UniswapV2Pair *UniswapV2PairSession) Symbol() (string, error)

Symbol is a free data retrieval call binding the contract method 0x95d89b41.

Solidity: function symbol() view returns(string)

func (*UniswapV2PairSession) Sync

func (_UniswapV2Pair *UniswapV2PairSession) Sync() (*types.Transaction, error)

Sync is a paid mutator transaction binding the contract method 0xfff6cae9.

Solidity: function sync() returns()

func (*UniswapV2PairSession) Token0

func (_UniswapV2Pair *UniswapV2PairSession) Token0() (common.Address, error)

Token0 is a free data retrieval call binding the contract method 0x0dfe1681.

Solidity: function token0() view returns(address)

func (*UniswapV2PairSession) Token1

func (_UniswapV2Pair *UniswapV2PairSession) Token1() (common.Address, error)

Token1 is a free data retrieval call binding the contract method 0xd21220a7.

Solidity: function token1() view returns(address)

func (*UniswapV2PairSession) TotalSupply

func (_UniswapV2Pair *UniswapV2PairSession) TotalSupply() (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() view returns(uint256)

func (*UniswapV2PairSession) Transfer

func (_UniswapV2Pair *UniswapV2PairSession) Transfer(to common.Address, value *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(address to, uint256 value) returns(bool)

func (*UniswapV2PairSession) TransferFrom

func (_UniswapV2Pair *UniswapV2PairSession) TransferFrom(from common.Address, to common.Address, value *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address from, address to, uint256 value) returns(bool)

type UniswapV2PairSwap

type UniswapV2PairSwap struct {
	Sender     common.Address
	Amount0In  *big.Int
	Amount1In  *big.Int
	Amount0Out *big.Int
	Amount1Out *big.Int
	To         common.Address
	Raw        types.Log // Blockchain specific contextual infos
}

UniswapV2PairSwap represents a Swap event raised by the UniswapV2Pair contract.

type UniswapV2PairSwapIterator

type UniswapV2PairSwapIterator struct {
	Event *UniswapV2PairSwap // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

UniswapV2PairSwapIterator is returned from FilterSwap and is used to iterate over the raw logs and unpacked data for Swap events raised by the UniswapV2Pair contract.

func (*UniswapV2PairSwapIterator) Close

func (it *UniswapV2PairSwapIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*UniswapV2PairSwapIterator) Error

func (it *UniswapV2PairSwapIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*UniswapV2PairSwapIterator) Next

func (it *UniswapV2PairSwapIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type UniswapV2PairSync

type UniswapV2PairSync struct {
	Reserve0 *big.Int
	Reserve1 *big.Int
	Raw      types.Log // Blockchain specific contextual infos
}

UniswapV2PairSync represents a Sync event raised by the UniswapV2Pair contract.

type UniswapV2PairSyncIterator

type UniswapV2PairSyncIterator struct {
	Event *UniswapV2PairSync // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

UniswapV2PairSyncIterator is returned from FilterSync and is used to iterate over the raw logs and unpacked data for Sync events raised by the UniswapV2Pair contract.

func (*UniswapV2PairSyncIterator) Close

func (it *UniswapV2PairSyncIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*UniswapV2PairSyncIterator) Error

func (it *UniswapV2PairSyncIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*UniswapV2PairSyncIterator) Next

func (it *UniswapV2PairSyncIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type UniswapV2PairTransactor

type UniswapV2PairTransactor struct {
	// contains filtered or unexported fields
}

UniswapV2PairTransactor is an auto generated write-only Go binding around an Ethereum contract.

func NewUniswapV2PairTransactor

func NewUniswapV2PairTransactor(address common.Address, transactor bind.ContractTransactor) (*UniswapV2PairTransactor, error)

NewUniswapV2PairTransactor creates a new write-only instance of UniswapV2Pair, bound to a specific deployed contract.

func (*UniswapV2PairTransactor) Approve

func (_UniswapV2Pair *UniswapV2PairTransactor) Approve(opts *bind.TransactOpts, spender common.Address, value *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address spender, uint256 value) returns(bool)

func (*UniswapV2PairTransactor) Burn

func (_UniswapV2Pair *UniswapV2PairTransactor) Burn(opts *bind.TransactOpts, to common.Address) (*types.Transaction, error)

Burn is a paid mutator transaction binding the contract method 0x89afcb44.

Solidity: function burn(address to) returns(uint256 amount0, uint256 amount1)

func (*UniswapV2PairTransactor) Initialize

func (_UniswapV2Pair *UniswapV2PairTransactor) Initialize(opts *bind.TransactOpts, _token0 common.Address, _token1 common.Address) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0x485cc955.

Solidity: function initialize(address _token0, address _token1) returns()

func (*UniswapV2PairTransactor) Mint

func (_UniswapV2Pair *UniswapV2PairTransactor) Mint(opts *bind.TransactOpts, to common.Address) (*types.Transaction, error)

Mint is a paid mutator transaction binding the contract method 0x6a627842.

Solidity: function mint(address to) returns(uint256 liquidity)

func (*UniswapV2PairTransactor) Permit

func (_UniswapV2Pair *UniswapV2PairTransactor) Permit(opts *bind.TransactOpts, owner common.Address, spender common.Address, value *big.Int, deadline *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

Permit is a paid mutator transaction binding the contract method 0xd505accf.

Solidity: function permit(address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) returns()

func (*UniswapV2PairTransactor) Skim

func (_UniswapV2Pair *UniswapV2PairTransactor) Skim(opts *bind.TransactOpts, to common.Address) (*types.Transaction, error)

Skim is a paid mutator transaction binding the contract method 0xbc25cf77.

Solidity: function skim(address to) returns()

func (*UniswapV2PairTransactor) Swap

func (_UniswapV2Pair *UniswapV2PairTransactor) Swap(opts *bind.TransactOpts, amount0Out *big.Int, amount1Out *big.Int, to common.Address, data []byte) (*types.Transaction, error)

Swap is a paid mutator transaction binding the contract method 0x022c0d9f.

Solidity: function swap(uint256 amount0Out, uint256 amount1Out, address to, bytes data) returns()

func (*UniswapV2PairTransactor) Sync

func (_UniswapV2Pair *UniswapV2PairTransactor) Sync(opts *bind.TransactOpts) (*types.Transaction, error)

Sync is a paid mutator transaction binding the contract method 0xfff6cae9.

Solidity: function sync() returns()

func (*UniswapV2PairTransactor) Transfer

func (_UniswapV2Pair *UniswapV2PairTransactor) Transfer(opts *bind.TransactOpts, to common.Address, value *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(address to, uint256 value) returns(bool)

func (*UniswapV2PairTransactor) TransferFrom

func (_UniswapV2Pair *UniswapV2PairTransactor) TransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, value *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address from, address to, uint256 value) returns(bool)

type UniswapV2PairTransactorRaw

type UniswapV2PairTransactorRaw struct {
	Contract *UniswapV2PairTransactor // Generic write-only contract binding to access the raw methods on
}

UniswapV2PairTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*UniswapV2PairTransactorRaw) Transact

func (_UniswapV2Pair *UniswapV2PairTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*UniswapV2PairTransactorRaw) Transfer

func (_UniswapV2Pair *UniswapV2PairTransactorRaw) 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 UniswapV2PairTransactorSession

type UniswapV2PairTransactorSession struct {
	Contract     *UniswapV2PairTransactor // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts        // Transaction auth options to use throughout this session
}

UniswapV2PairTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

func (*UniswapV2PairTransactorSession) Approve

func (_UniswapV2Pair *UniswapV2PairTransactorSession) Approve(spender common.Address, value *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address spender, uint256 value) returns(bool)

func (*UniswapV2PairTransactorSession) Burn

func (_UniswapV2Pair *UniswapV2PairTransactorSession) Burn(to common.Address) (*types.Transaction, error)

Burn is a paid mutator transaction binding the contract method 0x89afcb44.

Solidity: function burn(address to) returns(uint256 amount0, uint256 amount1)

func (*UniswapV2PairTransactorSession) Initialize

func (_UniswapV2Pair *UniswapV2PairTransactorSession) Initialize(_token0 common.Address, _token1 common.Address) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0x485cc955.

Solidity: function initialize(address _token0, address _token1) returns()

func (*UniswapV2PairTransactorSession) Mint

func (_UniswapV2Pair *UniswapV2PairTransactorSession) Mint(to common.Address) (*types.Transaction, error)

Mint is a paid mutator transaction binding the contract method 0x6a627842.

Solidity: function mint(address to) returns(uint256 liquidity)

func (*UniswapV2PairTransactorSession) Permit

func (_UniswapV2Pair *UniswapV2PairTransactorSession) Permit(owner common.Address, spender common.Address, value *big.Int, deadline *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

Permit is a paid mutator transaction binding the contract method 0xd505accf.

Solidity: function permit(address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) returns()

func (*UniswapV2PairTransactorSession) Skim

func (_UniswapV2Pair *UniswapV2PairTransactorSession) Skim(to common.Address) (*types.Transaction, error)

Skim is a paid mutator transaction binding the contract method 0xbc25cf77.

Solidity: function skim(address to) returns()

func (*UniswapV2PairTransactorSession) Swap

func (_UniswapV2Pair *UniswapV2PairTransactorSession) Swap(amount0Out *big.Int, amount1Out *big.Int, to common.Address, data []byte) (*types.Transaction, error)

Swap is a paid mutator transaction binding the contract method 0x022c0d9f.

Solidity: function swap(uint256 amount0Out, uint256 amount1Out, address to, bytes data) returns()

func (*UniswapV2PairTransactorSession) Sync

func (_UniswapV2Pair *UniswapV2PairTransactorSession) Sync() (*types.Transaction, error)

Sync is a paid mutator transaction binding the contract method 0xfff6cae9.

Solidity: function sync() returns()

func (*UniswapV2PairTransactorSession) Transfer

func (_UniswapV2Pair *UniswapV2PairTransactorSession) Transfer(to common.Address, value *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(address to, uint256 value) returns(bool)

func (*UniswapV2PairTransactorSession) TransferFrom

func (_UniswapV2Pair *UniswapV2PairTransactorSession) TransferFrom(from common.Address, to common.Address, value *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address from, address to, uint256 value) returns(bool)

type UniswapV2PairTransfer

type UniswapV2PairTransfer struct {
	From  common.Address
	To    common.Address
	Value *big.Int
	Raw   types.Log // Blockchain specific contextual infos
}

UniswapV2PairTransfer represents a Transfer event raised by the UniswapV2Pair contract.

type UniswapV2PairTransferIterator

type UniswapV2PairTransferIterator struct {
	Event *UniswapV2PairTransfer // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

UniswapV2PairTransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the UniswapV2Pair contract.

func (*UniswapV2PairTransferIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*UniswapV2PairTransferIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*UniswapV2PairTransferIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type UniswapV2Pool

type UniswapV2Pool struct {
	UniswapV2PoolCaller     // Read-only binding to the contract
	UniswapV2PoolTransactor // Write-only binding to the contract
	UniswapV2PoolFilterer   // Log filterer for contract events
}

UniswapV2Pool is an auto generated Go binding around an Ethereum contract.

func NewUniswapV2Pool

func NewUniswapV2Pool(address common.Address, backend bind.ContractBackend) (*UniswapV2Pool, error)

NewUniswapV2Pool creates a new instance of UniswapV2Pool, bound to a specific deployed contract.

type UniswapV2PoolApproval

type UniswapV2PoolApproval struct {
	Owner   common.Address
	Spender common.Address
	Value   *big.Int
	Raw     types.Log // Blockchain specific contextual infos
}

UniswapV2PoolApproval represents a Approval event raised by the UniswapV2Pool contract.

type UniswapV2PoolApprovalIterator

type UniswapV2PoolApprovalIterator struct {
	Event *UniswapV2PoolApproval // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

UniswapV2PoolApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the UniswapV2Pool contract.

func (*UniswapV2PoolApprovalIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*UniswapV2PoolApprovalIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*UniswapV2PoolApprovalIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type UniswapV2PoolBurn

type UniswapV2PoolBurn struct {
	Sender  common.Address
	Amount0 *big.Int
	Amount1 *big.Int
	To      common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

UniswapV2PoolBurn represents a Burn event raised by the UniswapV2Pool contract.

type UniswapV2PoolBurnIterator

type UniswapV2PoolBurnIterator struct {
	Event *UniswapV2PoolBurn // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

UniswapV2PoolBurnIterator is returned from FilterBurn and is used to iterate over the raw logs and unpacked data for Burn events raised by the UniswapV2Pool contract.

func (*UniswapV2PoolBurnIterator) Close

func (it *UniswapV2PoolBurnIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*UniswapV2PoolBurnIterator) Error

func (it *UniswapV2PoolBurnIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*UniswapV2PoolBurnIterator) Next

func (it *UniswapV2PoolBurnIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type UniswapV2PoolCaller

type UniswapV2PoolCaller struct {
	// contains filtered or unexported fields
}

UniswapV2PoolCaller is an auto generated read-only Go binding around an Ethereum contract.

func NewUniswapV2PoolCaller

func NewUniswapV2PoolCaller(address common.Address, caller bind.ContractCaller) (*UniswapV2PoolCaller, error)

NewUniswapV2PoolCaller creates a new read-only instance of UniswapV2Pool, bound to a specific deployed contract.

func (*UniswapV2PoolCaller) Allowance

func (_UniswapV2Pool *UniswapV2PoolCaller) Allowance(opts *bind.CallOpts, arg0 common.Address, arg1 common.Address) (*big.Int, error)

Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.

Solidity: function allowance(address , address ) view returns(uint256)

func (*UniswapV2PoolCaller) BalanceOf

func (_UniswapV2Pool *UniswapV2PoolCaller) BalanceOf(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(address ) view returns(uint256)

func (*UniswapV2PoolCaller) DOMAINSEPARATOR

func (_UniswapV2Pool *UniswapV2PoolCaller) DOMAINSEPARATOR(opts *bind.CallOpts) ([32]byte, error)

DOMAINSEPARATOR is a free data retrieval call binding the contract method 0x3644e515.

Solidity: function DOMAIN_SEPARATOR() view returns(bytes32)

func (*UniswapV2PoolCaller) Decimals

func (_UniswapV2Pool *UniswapV2PoolCaller) 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 (*UniswapV2PoolCaller) Factory

func (_UniswapV2Pool *UniswapV2PoolCaller) Factory(opts *bind.CallOpts) (common.Address, error)

Factory is a free data retrieval call binding the contract method 0xc45a0155.

Solidity: function factory() view returns(address)

func (*UniswapV2PoolCaller) GetReserves

func (_UniswapV2Pool *UniswapV2PoolCaller) GetReserves(opts *bind.CallOpts) (struct {
	Reserve0           *big.Int
	Reserve1           *big.Int
	BlockTimestampLast uint32
}, error)

GetReserves is a free data retrieval call binding the contract method 0x0902f1ac.

Solidity: function getReserves() view returns(uint112 _reserve0, uint112 _reserve1, uint32 _blockTimestampLast)

func (*UniswapV2PoolCaller) KLast

func (_UniswapV2Pool *UniswapV2PoolCaller) KLast(opts *bind.CallOpts) (*big.Int, error)

KLast is a free data retrieval call binding the contract method 0x7464fc3d.

Solidity: function kLast() view returns(uint256)

func (*UniswapV2PoolCaller) MINIMUMLIQUIDITY

func (_UniswapV2Pool *UniswapV2PoolCaller) MINIMUMLIQUIDITY(opts *bind.CallOpts) (*big.Int, error)

MINIMUMLIQUIDITY is a free data retrieval call binding the contract method 0xba9a7a56.

Solidity: function MINIMUM_LIQUIDITY() view returns(uint256)

func (*UniswapV2PoolCaller) Name

func (_UniswapV2Pool *UniswapV2PoolCaller) 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 (*UniswapV2PoolCaller) Nonces

func (_UniswapV2Pool *UniswapV2PoolCaller) Nonces(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

Nonces is a free data retrieval call binding the contract method 0x7ecebe00.

Solidity: function nonces(address ) view returns(uint256)

func (*UniswapV2PoolCaller) PERMITTYPEHASH

func (_UniswapV2Pool *UniswapV2PoolCaller) PERMITTYPEHASH(opts *bind.CallOpts) ([32]byte, error)

PERMITTYPEHASH is a free data retrieval call binding the contract method 0x30adf81f.

Solidity: function PERMIT_TYPEHASH() view returns(bytes32)

func (*UniswapV2PoolCaller) Price0CumulativeLast

func (_UniswapV2Pool *UniswapV2PoolCaller) Price0CumulativeLast(opts *bind.CallOpts) (*big.Int, error)

Price0CumulativeLast is a free data retrieval call binding the contract method 0x5909c0d5.

Solidity: function price0CumulativeLast() view returns(uint256)

func (*UniswapV2PoolCaller) Price1CumulativeLast

func (_UniswapV2Pool *UniswapV2PoolCaller) Price1CumulativeLast(opts *bind.CallOpts) (*big.Int, error)

Price1CumulativeLast is a free data retrieval call binding the contract method 0x5a3d5493.

Solidity: function price1CumulativeLast() view returns(uint256)

func (*UniswapV2PoolCaller) Symbol

func (_UniswapV2Pool *UniswapV2PoolCaller) 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 (*UniswapV2PoolCaller) Token0

func (_UniswapV2Pool *UniswapV2PoolCaller) Token0(opts *bind.CallOpts) (common.Address, error)

Token0 is a free data retrieval call binding the contract method 0x0dfe1681.

Solidity: function token0() view returns(address)

func (*UniswapV2PoolCaller) Token1

func (_UniswapV2Pool *UniswapV2PoolCaller) Token1(opts *bind.CallOpts) (common.Address, error)

Token1 is a free data retrieval call binding the contract method 0xd21220a7.

Solidity: function token1() view returns(address)

func (*UniswapV2PoolCaller) TotalSupply

func (_UniswapV2Pool *UniswapV2PoolCaller) 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)

type UniswapV2PoolCallerRaw

type UniswapV2PoolCallerRaw struct {
	Contract *UniswapV2PoolCaller // Generic read-only contract binding to access the raw methods on
}

UniswapV2PoolCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*UniswapV2PoolCallerRaw) Call

func (_UniswapV2Pool *UniswapV2PoolCallerRaw) 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 UniswapV2PoolCallerSession

type UniswapV2PoolCallerSession struct {
	Contract *UniswapV2PoolCaller // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts        // Call options to use throughout this session
}

UniswapV2PoolCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

func (*UniswapV2PoolCallerSession) Allowance

func (_UniswapV2Pool *UniswapV2PoolCallerSession) Allowance(arg0 common.Address, arg1 common.Address) (*big.Int, error)

Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.

Solidity: function allowance(address , address ) view returns(uint256)

func (*UniswapV2PoolCallerSession) BalanceOf

func (_UniswapV2Pool *UniswapV2PoolCallerSession) BalanceOf(arg0 common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(address ) view returns(uint256)

func (*UniswapV2PoolCallerSession) DOMAINSEPARATOR

func (_UniswapV2Pool *UniswapV2PoolCallerSession) DOMAINSEPARATOR() ([32]byte, error)

DOMAINSEPARATOR is a free data retrieval call binding the contract method 0x3644e515.

Solidity: function DOMAIN_SEPARATOR() view returns(bytes32)

func (*UniswapV2PoolCallerSession) Decimals

func (_UniswapV2Pool *UniswapV2PoolCallerSession) Decimals() (uint8, error)

Decimals is a free data retrieval call binding the contract method 0x313ce567.

Solidity: function decimals() view returns(uint8)

func (*UniswapV2PoolCallerSession) Factory

func (_UniswapV2Pool *UniswapV2PoolCallerSession) Factory() (common.Address, error)

Factory is a free data retrieval call binding the contract method 0xc45a0155.

Solidity: function factory() view returns(address)

func (*UniswapV2PoolCallerSession) GetReserves

func (_UniswapV2Pool *UniswapV2PoolCallerSession) GetReserves() (struct {
	Reserve0           *big.Int
	Reserve1           *big.Int
	BlockTimestampLast uint32
}, error)

GetReserves is a free data retrieval call binding the contract method 0x0902f1ac.

Solidity: function getReserves() view returns(uint112 _reserve0, uint112 _reserve1, uint32 _blockTimestampLast)

func (*UniswapV2PoolCallerSession) KLast

func (_UniswapV2Pool *UniswapV2PoolCallerSession) KLast() (*big.Int, error)

KLast is a free data retrieval call binding the contract method 0x7464fc3d.

Solidity: function kLast() view returns(uint256)

func (*UniswapV2PoolCallerSession) MINIMUMLIQUIDITY

func (_UniswapV2Pool *UniswapV2PoolCallerSession) MINIMUMLIQUIDITY() (*big.Int, error)

MINIMUMLIQUIDITY is a free data retrieval call binding the contract method 0xba9a7a56.

Solidity: function MINIMUM_LIQUIDITY() view returns(uint256)

func (*UniswapV2PoolCallerSession) Name

func (_UniswapV2Pool *UniswapV2PoolCallerSession) Name() (string, error)

Name is a free data retrieval call binding the contract method 0x06fdde03.

Solidity: function name() view returns(string)

func (*UniswapV2PoolCallerSession) Nonces

func (_UniswapV2Pool *UniswapV2PoolCallerSession) Nonces(arg0 common.Address) (*big.Int, error)

Nonces is a free data retrieval call binding the contract method 0x7ecebe00.

Solidity: function nonces(address ) view returns(uint256)

func (*UniswapV2PoolCallerSession) PERMITTYPEHASH

func (_UniswapV2Pool *UniswapV2PoolCallerSession) PERMITTYPEHASH() ([32]byte, error)

PERMITTYPEHASH is a free data retrieval call binding the contract method 0x30adf81f.

Solidity: function PERMIT_TYPEHASH() view returns(bytes32)

func (*UniswapV2PoolCallerSession) Price0CumulativeLast

func (_UniswapV2Pool *UniswapV2PoolCallerSession) Price0CumulativeLast() (*big.Int, error)

Price0CumulativeLast is a free data retrieval call binding the contract method 0x5909c0d5.

Solidity: function price0CumulativeLast() view returns(uint256)

func (*UniswapV2PoolCallerSession) Price1CumulativeLast

func (_UniswapV2Pool *UniswapV2PoolCallerSession) Price1CumulativeLast() (*big.Int, error)

Price1CumulativeLast is a free data retrieval call binding the contract method 0x5a3d5493.

Solidity: function price1CumulativeLast() view returns(uint256)

func (*UniswapV2PoolCallerSession) Symbol

func (_UniswapV2Pool *UniswapV2PoolCallerSession) Symbol() (string, error)

Symbol is a free data retrieval call binding the contract method 0x95d89b41.

Solidity: function symbol() view returns(string)

func (*UniswapV2PoolCallerSession) Token0

func (_UniswapV2Pool *UniswapV2PoolCallerSession) Token0() (common.Address, error)

Token0 is a free data retrieval call binding the contract method 0x0dfe1681.

Solidity: function token0() view returns(address)

func (*UniswapV2PoolCallerSession) Token1

func (_UniswapV2Pool *UniswapV2PoolCallerSession) Token1() (common.Address, error)

Token1 is a free data retrieval call binding the contract method 0xd21220a7.

Solidity: function token1() view returns(address)

func (*UniswapV2PoolCallerSession) TotalSupply

func (_UniswapV2Pool *UniswapV2PoolCallerSession) TotalSupply() (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() view returns(uint256)

type UniswapV2PoolFilterer

type UniswapV2PoolFilterer struct {
	// contains filtered or unexported fields
}

UniswapV2PoolFilterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewUniswapV2PoolFilterer

func NewUniswapV2PoolFilterer(address common.Address, filterer bind.ContractFilterer) (*UniswapV2PoolFilterer, error)

NewUniswapV2PoolFilterer creates a new log filterer instance of UniswapV2Pool, bound to a specific deployed contract.

func (*UniswapV2PoolFilterer) FilterApproval

func (_UniswapV2Pool *UniswapV2PoolFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*UniswapV2PoolApprovalIterator, error)

FilterApproval is a free log retrieval operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)

func (*UniswapV2PoolFilterer) FilterBurn

func (_UniswapV2Pool *UniswapV2PoolFilterer) FilterBurn(opts *bind.FilterOpts, sender []common.Address, to []common.Address) (*UniswapV2PoolBurnIterator, error)

FilterBurn is a free log retrieval operation binding the contract event 0xdccd412f0b1252819cb1fd330b93224ca42612892bb3f4f789976e6d81936496.

Solidity: event Burn(address indexed sender, uint256 amount0, uint256 amount1, address indexed to)

func (*UniswapV2PoolFilterer) FilterMint

func (_UniswapV2Pool *UniswapV2PoolFilterer) FilterMint(opts *bind.FilterOpts, sender []common.Address) (*UniswapV2PoolMintIterator, error)

FilterMint is a free log retrieval operation binding the contract event 0x4c209b5fc8ad50758f13e2e1088ba56a560dff690a1c6fef26394f4c03821c4f.

Solidity: event Mint(address indexed sender, uint256 amount0, uint256 amount1)

func (*UniswapV2PoolFilterer) FilterSwap

func (_UniswapV2Pool *UniswapV2PoolFilterer) FilterSwap(opts *bind.FilterOpts, sender []common.Address, to []common.Address) (*UniswapV2PoolSwapIterator, error)

FilterSwap is a free log retrieval operation binding the contract event 0xd78ad95fa46c994b6551d0da85fc275fe613ce37657fb8d5e3d130840159d822.

Solidity: event Swap(address indexed sender, uint256 amount0In, uint256 amount1In, uint256 amount0Out, uint256 amount1Out, address indexed to)

func (*UniswapV2PoolFilterer) FilterSync

func (_UniswapV2Pool *UniswapV2PoolFilterer) FilterSync(opts *bind.FilterOpts) (*UniswapV2PoolSyncIterator, error)

FilterSync is a free log retrieval operation binding the contract event 0x1c411e9a96e071241c2f21f7726b17ae89e3cab4c78be50e062b03a9fffbbad1.

Solidity: event Sync(uint112 reserve0, uint112 reserve1)

func (*UniswapV2PoolFilterer) FilterTransfer

func (_UniswapV2Pool *UniswapV2PoolFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*UniswapV2PoolTransferIterator, error)

FilterTransfer is a free log retrieval operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed from, address indexed to, uint256 value)

func (*UniswapV2PoolFilterer) ParseApproval

func (_UniswapV2Pool *UniswapV2PoolFilterer) ParseApproval(log types.Log) (*UniswapV2PoolApproval, error)

ParseApproval is a log parse operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)

func (*UniswapV2PoolFilterer) ParseBurn

func (_UniswapV2Pool *UniswapV2PoolFilterer) ParseBurn(log types.Log) (*UniswapV2PoolBurn, error)

ParseBurn is a log parse operation binding the contract event 0xdccd412f0b1252819cb1fd330b93224ca42612892bb3f4f789976e6d81936496.

Solidity: event Burn(address indexed sender, uint256 amount0, uint256 amount1, address indexed to)

func (*UniswapV2PoolFilterer) ParseMint

func (_UniswapV2Pool *UniswapV2PoolFilterer) ParseMint(log types.Log) (*UniswapV2PoolMint, error)

ParseMint is a log parse operation binding the contract event 0x4c209b5fc8ad50758f13e2e1088ba56a560dff690a1c6fef26394f4c03821c4f.

Solidity: event Mint(address indexed sender, uint256 amount0, uint256 amount1)

func (*UniswapV2PoolFilterer) ParseSwap

func (_UniswapV2Pool *UniswapV2PoolFilterer) ParseSwap(log types.Log) (*UniswapV2PoolSwap, error)

ParseSwap is a log parse operation binding the contract event 0xd78ad95fa46c994b6551d0da85fc275fe613ce37657fb8d5e3d130840159d822.

Solidity: event Swap(address indexed sender, uint256 amount0In, uint256 amount1In, uint256 amount0Out, uint256 amount1Out, address indexed to)

func (*UniswapV2PoolFilterer) ParseSync

func (_UniswapV2Pool *UniswapV2PoolFilterer) ParseSync(log types.Log) (*UniswapV2PoolSync, error)

ParseSync is a log parse operation binding the contract event 0x1c411e9a96e071241c2f21f7726b17ae89e3cab4c78be50e062b03a9fffbbad1.

Solidity: event Sync(uint112 reserve0, uint112 reserve1)

func (*UniswapV2PoolFilterer) ParseTransfer

func (_UniswapV2Pool *UniswapV2PoolFilterer) ParseTransfer(log types.Log) (*UniswapV2PoolTransfer, error)

ParseTransfer is a log parse operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed from, address indexed to, uint256 value)

func (*UniswapV2PoolFilterer) WatchApproval

func (_UniswapV2Pool *UniswapV2PoolFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *UniswapV2PoolApproval, owner []common.Address, spender []common.Address) (event.Subscription, error)

WatchApproval is a free log subscription operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)

func (*UniswapV2PoolFilterer) WatchBurn

func (_UniswapV2Pool *UniswapV2PoolFilterer) WatchBurn(opts *bind.WatchOpts, sink chan<- *UniswapV2PoolBurn, sender []common.Address, to []common.Address) (event.Subscription, error)

WatchBurn is a free log subscription operation binding the contract event 0xdccd412f0b1252819cb1fd330b93224ca42612892bb3f4f789976e6d81936496.

Solidity: event Burn(address indexed sender, uint256 amount0, uint256 amount1, address indexed to)

func (*UniswapV2PoolFilterer) WatchMint

func (_UniswapV2Pool *UniswapV2PoolFilterer) WatchMint(opts *bind.WatchOpts, sink chan<- *UniswapV2PoolMint, sender []common.Address) (event.Subscription, error)

WatchMint is a free log subscription operation binding the contract event 0x4c209b5fc8ad50758f13e2e1088ba56a560dff690a1c6fef26394f4c03821c4f.

Solidity: event Mint(address indexed sender, uint256 amount0, uint256 amount1)

func (*UniswapV2PoolFilterer) WatchSwap

func (_UniswapV2Pool *UniswapV2PoolFilterer) WatchSwap(opts *bind.WatchOpts, sink chan<- *UniswapV2PoolSwap, sender []common.Address, to []common.Address) (event.Subscription, error)

WatchSwap is a free log subscription operation binding the contract event 0xd78ad95fa46c994b6551d0da85fc275fe613ce37657fb8d5e3d130840159d822.

Solidity: event Swap(address indexed sender, uint256 amount0In, uint256 amount1In, uint256 amount0Out, uint256 amount1Out, address indexed to)

func (*UniswapV2PoolFilterer) WatchSync

func (_UniswapV2Pool *UniswapV2PoolFilterer) WatchSync(opts *bind.WatchOpts, sink chan<- *UniswapV2PoolSync) (event.Subscription, error)

WatchSync is a free log subscription operation binding the contract event 0x1c411e9a96e071241c2f21f7726b17ae89e3cab4c78be50e062b03a9fffbbad1.

Solidity: event Sync(uint112 reserve0, uint112 reserve1)

func (*UniswapV2PoolFilterer) WatchTransfer

func (_UniswapV2Pool *UniswapV2PoolFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *UniswapV2PoolTransfer, from []common.Address, to []common.Address) (event.Subscription, error)

WatchTransfer is a free log subscription operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed from, address indexed to, uint256 value)

type UniswapV2PoolMint

type UniswapV2PoolMint struct {
	Sender  common.Address
	Amount0 *big.Int
	Amount1 *big.Int
	Raw     types.Log // Blockchain specific contextual infos
}

UniswapV2PoolMint represents a Mint event raised by the UniswapV2Pool contract.

type UniswapV2PoolMintIterator

type UniswapV2PoolMintIterator struct {
	Event *UniswapV2PoolMint // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

UniswapV2PoolMintIterator is returned from FilterMint and is used to iterate over the raw logs and unpacked data for Mint events raised by the UniswapV2Pool contract.

func (*UniswapV2PoolMintIterator) Close

func (it *UniswapV2PoolMintIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*UniswapV2PoolMintIterator) Error

func (it *UniswapV2PoolMintIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*UniswapV2PoolMintIterator) Next

func (it *UniswapV2PoolMintIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type UniswapV2PoolRaw

type UniswapV2PoolRaw struct {
	Contract *UniswapV2Pool // Generic contract binding to access the raw methods on
}

UniswapV2PoolRaw is an auto generated low-level Go binding around an Ethereum contract.

func (*UniswapV2PoolRaw) Call

func (_UniswapV2Pool *UniswapV2PoolRaw) 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 (*UniswapV2PoolRaw) Transact

func (_UniswapV2Pool *UniswapV2PoolRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*UniswapV2PoolRaw) Transfer

func (_UniswapV2Pool *UniswapV2PoolRaw) 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 UniswapV2PoolSession

type UniswapV2PoolSession struct {
	Contract     *UniswapV2Pool    // 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
}

UniswapV2PoolSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

func (*UniswapV2PoolSession) Allowance

func (_UniswapV2Pool *UniswapV2PoolSession) Allowance(arg0 common.Address, arg1 common.Address) (*big.Int, error)

Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.

Solidity: function allowance(address , address ) view returns(uint256)

func (*UniswapV2PoolSession) Approve

func (_UniswapV2Pool *UniswapV2PoolSession) Approve(spender common.Address, value *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address spender, uint256 value) returns(bool)

func (*UniswapV2PoolSession) BalanceOf

func (_UniswapV2Pool *UniswapV2PoolSession) BalanceOf(arg0 common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(address ) view returns(uint256)

func (*UniswapV2PoolSession) Burn

func (_UniswapV2Pool *UniswapV2PoolSession) Burn(to common.Address) (*types.Transaction, error)

Burn is a paid mutator transaction binding the contract method 0x89afcb44.

Solidity: function burn(address to) returns(uint256 amount0, uint256 amount1)

func (*UniswapV2PoolSession) DOMAINSEPARATOR

func (_UniswapV2Pool *UniswapV2PoolSession) DOMAINSEPARATOR() ([32]byte, error)

DOMAINSEPARATOR is a free data retrieval call binding the contract method 0x3644e515.

Solidity: function DOMAIN_SEPARATOR() view returns(bytes32)

func (*UniswapV2PoolSession) Decimals

func (_UniswapV2Pool *UniswapV2PoolSession) Decimals() (uint8, error)

Decimals is a free data retrieval call binding the contract method 0x313ce567.

Solidity: function decimals() view returns(uint8)

func (*UniswapV2PoolSession) Factory

func (_UniswapV2Pool *UniswapV2PoolSession) Factory() (common.Address, error)

Factory is a free data retrieval call binding the contract method 0xc45a0155.

Solidity: function factory() view returns(address)

func (*UniswapV2PoolSession) GetReserves

func (_UniswapV2Pool *UniswapV2PoolSession) GetReserves() (struct {
	Reserve0           *big.Int
	Reserve1           *big.Int
	BlockTimestampLast uint32
}, error)

GetReserves is a free data retrieval call binding the contract method 0x0902f1ac.

Solidity: function getReserves() view returns(uint112 _reserve0, uint112 _reserve1, uint32 _blockTimestampLast)

func (*UniswapV2PoolSession) Initialize

func (_UniswapV2Pool *UniswapV2PoolSession) Initialize(_token0 common.Address, _token1 common.Address) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0x485cc955.

Solidity: function initialize(address _token0, address _token1) returns()

func (*UniswapV2PoolSession) KLast

func (_UniswapV2Pool *UniswapV2PoolSession) KLast() (*big.Int, error)

KLast is a free data retrieval call binding the contract method 0x7464fc3d.

Solidity: function kLast() view returns(uint256)

func (*UniswapV2PoolSession) MINIMUMLIQUIDITY

func (_UniswapV2Pool *UniswapV2PoolSession) MINIMUMLIQUIDITY() (*big.Int, error)

MINIMUMLIQUIDITY is a free data retrieval call binding the contract method 0xba9a7a56.

Solidity: function MINIMUM_LIQUIDITY() view returns(uint256)

func (*UniswapV2PoolSession) Mint

func (_UniswapV2Pool *UniswapV2PoolSession) Mint(to common.Address) (*types.Transaction, error)

Mint is a paid mutator transaction binding the contract method 0x6a627842.

Solidity: function mint(address to) returns(uint256 liquidity)

func (*UniswapV2PoolSession) Name

func (_UniswapV2Pool *UniswapV2PoolSession) Name() (string, error)

Name is a free data retrieval call binding the contract method 0x06fdde03.

Solidity: function name() view returns(string)

func (*UniswapV2PoolSession) Nonces

func (_UniswapV2Pool *UniswapV2PoolSession) Nonces(arg0 common.Address) (*big.Int, error)

Nonces is a free data retrieval call binding the contract method 0x7ecebe00.

Solidity: function nonces(address ) view returns(uint256)

func (*UniswapV2PoolSession) PERMITTYPEHASH

func (_UniswapV2Pool *UniswapV2PoolSession) PERMITTYPEHASH() ([32]byte, error)

PERMITTYPEHASH is a free data retrieval call binding the contract method 0x30adf81f.

Solidity: function PERMIT_TYPEHASH() view returns(bytes32)

func (*UniswapV2PoolSession) Permit

func (_UniswapV2Pool *UniswapV2PoolSession) Permit(owner common.Address, spender common.Address, value *big.Int, deadline *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

Permit is a paid mutator transaction binding the contract method 0xd505accf.

Solidity: function permit(address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) returns()

func (*UniswapV2PoolSession) Price0CumulativeLast

func (_UniswapV2Pool *UniswapV2PoolSession) Price0CumulativeLast() (*big.Int, error)

Price0CumulativeLast is a free data retrieval call binding the contract method 0x5909c0d5.

Solidity: function price0CumulativeLast() view returns(uint256)

func (*UniswapV2PoolSession) Price1CumulativeLast

func (_UniswapV2Pool *UniswapV2PoolSession) Price1CumulativeLast() (*big.Int, error)

Price1CumulativeLast is a free data retrieval call binding the contract method 0x5a3d5493.

Solidity: function price1CumulativeLast() view returns(uint256)

func (*UniswapV2PoolSession) Skim

func (_UniswapV2Pool *UniswapV2PoolSession) Skim(to common.Address) (*types.Transaction, error)

Skim is a paid mutator transaction binding the contract method 0xbc25cf77.

Solidity: function skim(address to) returns()

func (*UniswapV2PoolSession) Swap

func (_UniswapV2Pool *UniswapV2PoolSession) Swap(amount0Out *big.Int, amount1Out *big.Int, to common.Address, data []byte) (*types.Transaction, error)

Swap is a paid mutator transaction binding the contract method 0x022c0d9f.

Solidity: function swap(uint256 amount0Out, uint256 amount1Out, address to, bytes data) returns()

func (*UniswapV2PoolSession) Symbol

func (_UniswapV2Pool *UniswapV2PoolSession) Symbol() (string, error)

Symbol is a free data retrieval call binding the contract method 0x95d89b41.

Solidity: function symbol() view returns(string)

func (*UniswapV2PoolSession) Sync

func (_UniswapV2Pool *UniswapV2PoolSession) Sync() (*types.Transaction, error)

Sync is a paid mutator transaction binding the contract method 0xfff6cae9.

Solidity: function sync() returns()

func (*UniswapV2PoolSession) Token0

func (_UniswapV2Pool *UniswapV2PoolSession) Token0() (common.Address, error)

Token0 is a free data retrieval call binding the contract method 0x0dfe1681.

Solidity: function token0() view returns(address)

func (*UniswapV2PoolSession) Token1

func (_UniswapV2Pool *UniswapV2PoolSession) Token1() (common.Address, error)

Token1 is a free data retrieval call binding the contract method 0xd21220a7.

Solidity: function token1() view returns(address)

func (*UniswapV2PoolSession) TotalSupply

func (_UniswapV2Pool *UniswapV2PoolSession) TotalSupply() (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() view returns(uint256)

func (*UniswapV2PoolSession) Transfer

func (_UniswapV2Pool *UniswapV2PoolSession) Transfer(to common.Address, value *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(address to, uint256 value) returns(bool)

func (*UniswapV2PoolSession) TransferFrom

func (_UniswapV2Pool *UniswapV2PoolSession) TransferFrom(from common.Address, to common.Address, value *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address from, address to, uint256 value) returns(bool)

type UniswapV2PoolSwap

type UniswapV2PoolSwap struct {
	Sender     common.Address
	Amount0In  *big.Int
	Amount1In  *big.Int
	Amount0Out *big.Int
	Amount1Out *big.Int
	To         common.Address
	Raw        types.Log // Blockchain specific contextual infos
}

UniswapV2PoolSwap represents a Swap event raised by the UniswapV2Pool contract.

type UniswapV2PoolSwapIterator

type UniswapV2PoolSwapIterator struct {
	Event *UniswapV2PoolSwap // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

UniswapV2PoolSwapIterator is returned from FilterSwap and is used to iterate over the raw logs and unpacked data for Swap events raised by the UniswapV2Pool contract.

func (*UniswapV2PoolSwapIterator) Close

func (it *UniswapV2PoolSwapIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*UniswapV2PoolSwapIterator) Error

func (it *UniswapV2PoolSwapIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*UniswapV2PoolSwapIterator) Next

func (it *UniswapV2PoolSwapIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type UniswapV2PoolSync

type UniswapV2PoolSync struct {
	Reserve0 *big.Int
	Reserve1 *big.Int
	Raw      types.Log // Blockchain specific contextual infos
}

UniswapV2PoolSync represents a Sync event raised by the UniswapV2Pool contract.

type UniswapV2PoolSyncIterator

type UniswapV2PoolSyncIterator struct {
	Event *UniswapV2PoolSync // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

UniswapV2PoolSyncIterator is returned from FilterSync and is used to iterate over the raw logs and unpacked data for Sync events raised by the UniswapV2Pool contract.

func (*UniswapV2PoolSyncIterator) Close

func (it *UniswapV2PoolSyncIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*UniswapV2PoolSyncIterator) Error

func (it *UniswapV2PoolSyncIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*UniswapV2PoolSyncIterator) Next

func (it *UniswapV2PoolSyncIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type UniswapV2PoolTransactor

type UniswapV2PoolTransactor struct {
	// contains filtered or unexported fields
}

UniswapV2PoolTransactor is an auto generated write-only Go binding around an Ethereum contract.

func NewUniswapV2PoolTransactor

func NewUniswapV2PoolTransactor(address common.Address, transactor bind.ContractTransactor) (*UniswapV2PoolTransactor, error)

NewUniswapV2PoolTransactor creates a new write-only instance of UniswapV2Pool, bound to a specific deployed contract.

func (*UniswapV2PoolTransactor) Approve

func (_UniswapV2Pool *UniswapV2PoolTransactor) Approve(opts *bind.TransactOpts, spender common.Address, value *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address spender, uint256 value) returns(bool)

func (*UniswapV2PoolTransactor) Burn

func (_UniswapV2Pool *UniswapV2PoolTransactor) Burn(opts *bind.TransactOpts, to common.Address) (*types.Transaction, error)

Burn is a paid mutator transaction binding the contract method 0x89afcb44.

Solidity: function burn(address to) returns(uint256 amount0, uint256 amount1)

func (*UniswapV2PoolTransactor) Initialize

func (_UniswapV2Pool *UniswapV2PoolTransactor) Initialize(opts *bind.TransactOpts, _token0 common.Address, _token1 common.Address) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0x485cc955.

Solidity: function initialize(address _token0, address _token1) returns()

func (*UniswapV2PoolTransactor) Mint

func (_UniswapV2Pool *UniswapV2PoolTransactor) Mint(opts *bind.TransactOpts, to common.Address) (*types.Transaction, error)

Mint is a paid mutator transaction binding the contract method 0x6a627842.

Solidity: function mint(address to) returns(uint256 liquidity)

func (*UniswapV2PoolTransactor) Permit

func (_UniswapV2Pool *UniswapV2PoolTransactor) Permit(opts *bind.TransactOpts, owner common.Address, spender common.Address, value *big.Int, deadline *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

Permit is a paid mutator transaction binding the contract method 0xd505accf.

Solidity: function permit(address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) returns()

func (*UniswapV2PoolTransactor) Skim

func (_UniswapV2Pool *UniswapV2PoolTransactor) Skim(opts *bind.TransactOpts, to common.Address) (*types.Transaction, error)

Skim is a paid mutator transaction binding the contract method 0xbc25cf77.

Solidity: function skim(address to) returns()

func (*UniswapV2PoolTransactor) Swap

func (_UniswapV2Pool *UniswapV2PoolTransactor) Swap(opts *bind.TransactOpts, amount0Out *big.Int, amount1Out *big.Int, to common.Address, data []byte) (*types.Transaction, error)

Swap is a paid mutator transaction binding the contract method 0x022c0d9f.

Solidity: function swap(uint256 amount0Out, uint256 amount1Out, address to, bytes data) returns()

func (*UniswapV2PoolTransactor) Sync

func (_UniswapV2Pool *UniswapV2PoolTransactor) Sync(opts *bind.TransactOpts) (*types.Transaction, error)

Sync is a paid mutator transaction binding the contract method 0xfff6cae9.

Solidity: function sync() returns()

func (*UniswapV2PoolTransactor) Transfer

func (_UniswapV2Pool *UniswapV2PoolTransactor) Transfer(opts *bind.TransactOpts, to common.Address, value *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(address to, uint256 value) returns(bool)

func (*UniswapV2PoolTransactor) TransferFrom

func (_UniswapV2Pool *UniswapV2PoolTransactor) TransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, value *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address from, address to, uint256 value) returns(bool)

type UniswapV2PoolTransactorRaw

type UniswapV2PoolTransactorRaw struct {
	Contract *UniswapV2PoolTransactor // Generic write-only contract binding to access the raw methods on
}

UniswapV2PoolTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*UniswapV2PoolTransactorRaw) Transact

func (_UniswapV2Pool *UniswapV2PoolTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*UniswapV2PoolTransactorRaw) Transfer

func (_UniswapV2Pool *UniswapV2PoolTransactorRaw) 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 UniswapV2PoolTransactorSession

type UniswapV2PoolTransactorSession struct {
	Contract     *UniswapV2PoolTransactor // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts        // Transaction auth options to use throughout this session
}

UniswapV2PoolTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

func (*UniswapV2PoolTransactorSession) Approve

func (_UniswapV2Pool *UniswapV2PoolTransactorSession) Approve(spender common.Address, value *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address spender, uint256 value) returns(bool)

func (*UniswapV2PoolTransactorSession) Burn

func (_UniswapV2Pool *UniswapV2PoolTransactorSession) Burn(to common.Address) (*types.Transaction, error)

Burn is a paid mutator transaction binding the contract method 0x89afcb44.

Solidity: function burn(address to) returns(uint256 amount0, uint256 amount1)

func (*UniswapV2PoolTransactorSession) Initialize

func (_UniswapV2Pool *UniswapV2PoolTransactorSession) Initialize(_token0 common.Address, _token1 common.Address) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0x485cc955.

Solidity: function initialize(address _token0, address _token1) returns()

func (*UniswapV2PoolTransactorSession) Mint

func (_UniswapV2Pool *UniswapV2PoolTransactorSession) Mint(to common.Address) (*types.Transaction, error)

Mint is a paid mutator transaction binding the contract method 0x6a627842.

Solidity: function mint(address to) returns(uint256 liquidity)

func (*UniswapV2PoolTransactorSession) Permit

func (_UniswapV2Pool *UniswapV2PoolTransactorSession) Permit(owner common.Address, spender common.Address, value *big.Int, deadline *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

Permit is a paid mutator transaction binding the contract method 0xd505accf.

Solidity: function permit(address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) returns()

func (*UniswapV2PoolTransactorSession) Skim

func (_UniswapV2Pool *UniswapV2PoolTransactorSession) Skim(to common.Address) (*types.Transaction, error)

Skim is a paid mutator transaction binding the contract method 0xbc25cf77.

Solidity: function skim(address to) returns()

func (*UniswapV2PoolTransactorSession) Swap

func (_UniswapV2Pool *UniswapV2PoolTransactorSession) Swap(amount0Out *big.Int, amount1Out *big.Int, to common.Address, data []byte) (*types.Transaction, error)

Swap is a paid mutator transaction binding the contract method 0x022c0d9f.

Solidity: function swap(uint256 amount0Out, uint256 amount1Out, address to, bytes data) returns()

func (*UniswapV2PoolTransactorSession) Sync

func (_UniswapV2Pool *UniswapV2PoolTransactorSession) Sync() (*types.Transaction, error)

Sync is a paid mutator transaction binding the contract method 0xfff6cae9.

Solidity: function sync() returns()

func (*UniswapV2PoolTransactorSession) Transfer

func (_UniswapV2Pool *UniswapV2PoolTransactorSession) Transfer(to common.Address, value *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(address to, uint256 value) returns(bool)

func (*UniswapV2PoolTransactorSession) TransferFrom

func (_UniswapV2Pool *UniswapV2PoolTransactorSession) TransferFrom(from common.Address, to common.Address, value *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address from, address to, uint256 value) returns(bool)

type UniswapV2PoolTransfer

type UniswapV2PoolTransfer struct {
	From  common.Address
	To    common.Address
	Value *big.Int
	Raw   types.Log // Blockchain specific contextual infos
}

UniswapV2PoolTransfer represents a Transfer event raised by the UniswapV2Pool contract.

type UniswapV2PoolTransferIterator

type UniswapV2PoolTransferIterator struct {
	Event *UniswapV2PoolTransfer // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

UniswapV2PoolTransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the UniswapV2Pool contract.

func (*UniswapV2PoolTransferIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*UniswapV2PoolTransferIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*UniswapV2PoolTransferIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type UniswapV2Raw

type UniswapV2Raw struct {
	Contract *UniswapV2 // Generic contract binding to access the raw methods on
}

UniswapV2Raw is an auto generated low-level Go binding around an Ethereum contract.

func (*UniswapV2Raw) Call

func (_UniswapV2 *UniswapV2Raw) 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 (*UniswapV2Raw) Transact

func (_UniswapV2 *UniswapV2Raw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*UniswapV2Raw) Transfer

func (_UniswapV2 *UniswapV2Raw) 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 UniswapV2Session

type UniswapV2Session struct {
	Contract     *UniswapV2        // 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
}

UniswapV2Session is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

func (*UniswapV2Session) AddLiquidity

func (_UniswapV2 *UniswapV2Session) AddLiquidity(tokenA common.Address, tokenB common.Address, amountADesired *big.Int, amountBDesired *big.Int, amountAMin *big.Int, amountBMin *big.Int, to common.Address, deadline *big.Int) (*types.Transaction, error)

AddLiquidity is a paid mutator transaction binding the contract method 0xe8e33700.

Solidity: function addLiquidity(address tokenA, address tokenB, uint256 amountADesired, uint256 amountBDesired, uint256 amountAMin, uint256 amountBMin, address to, uint256 deadline) returns(uint256 amountA, uint256 amountB, uint256 liquidity)

func (*UniswapV2Session) AddLiquidityETH

func (_UniswapV2 *UniswapV2Session) AddLiquidityETH(token common.Address, amountTokenDesired *big.Int, amountTokenMin *big.Int, amountETHMin *big.Int, to common.Address, deadline *big.Int) (*types.Transaction, error)

AddLiquidityETH is a paid mutator transaction binding the contract method 0xf305d719.

Solidity: function addLiquidityETH(address token, uint256 amountTokenDesired, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline) payable returns(uint256 amountToken, uint256 amountETH, uint256 liquidity)

func (*UniswapV2Session) Factory

func (_UniswapV2 *UniswapV2Session) Factory() (common.Address, error)

Factory is a free data retrieval call binding the contract method 0xc45a0155.

Solidity: function factory() view returns(address)

func (*UniswapV2Session) GetAmountIn

func (_UniswapV2 *UniswapV2Session) GetAmountIn(amountOut *big.Int, reserveIn *big.Int, reserveOut *big.Int) (*big.Int, error)

GetAmountIn is a free data retrieval call binding the contract method 0x85f8c259.

Solidity: function getAmountIn(uint256 amountOut, uint256 reserveIn, uint256 reserveOut) pure returns(uint256 amountIn)

func (*UniswapV2Session) GetAmountOut

func (_UniswapV2 *UniswapV2Session) GetAmountOut(amountIn *big.Int, reserveIn *big.Int, reserveOut *big.Int) (*big.Int, error)

GetAmountOut is a free data retrieval call binding the contract method 0x054d50d4.

Solidity: function getAmountOut(uint256 amountIn, uint256 reserveIn, uint256 reserveOut) pure returns(uint256 amountOut)

func (*UniswapV2Session) GetAmountsIn

func (_UniswapV2 *UniswapV2Session) GetAmountsIn(amountOut *big.Int, path []common.Address) ([]*big.Int, error)

GetAmountsIn is a free data retrieval call binding the contract method 0x1f00ca74.

Solidity: function getAmountsIn(uint256 amountOut, address[] path) view returns(uint256[] amounts)

func (*UniswapV2Session) GetAmountsOut

func (_UniswapV2 *UniswapV2Session) GetAmountsOut(amountIn *big.Int, path []common.Address) ([]*big.Int, error)

GetAmountsOut is a free data retrieval call binding the contract method 0xd06ca61f.

Solidity: function getAmountsOut(uint256 amountIn, address[] path) view returns(uint256[] amounts)

func (*UniswapV2Session) Quote

func (_UniswapV2 *UniswapV2Session) Quote(amountA *big.Int, reserveA *big.Int, reserveB *big.Int) (*big.Int, error)

Quote is a free data retrieval call binding the contract method 0xad615dec.

Solidity: function quote(uint256 amountA, uint256 reserveA, uint256 reserveB) pure returns(uint256 amountB)

func (*UniswapV2Session) Receive

func (_UniswapV2 *UniswapV2Session) Receive() (*types.Transaction, error)

Receive is a paid mutator transaction binding the contract receive function.

Solidity: receive() payable returns()

func (*UniswapV2Session) RemoveLiquidity

func (_UniswapV2 *UniswapV2Session) RemoveLiquidity(tokenA common.Address, tokenB common.Address, liquidity *big.Int, amountAMin *big.Int, amountBMin *big.Int, to common.Address, deadline *big.Int) (*types.Transaction, error)

RemoveLiquidity is a paid mutator transaction binding the contract method 0xbaa2abde.

Solidity: function removeLiquidity(address tokenA, address tokenB, uint256 liquidity, uint256 amountAMin, uint256 amountBMin, address to, uint256 deadline) returns(uint256 amountA, uint256 amountB)

func (*UniswapV2Session) RemoveLiquidityETH

func (_UniswapV2 *UniswapV2Session) RemoveLiquidityETH(token common.Address, liquidity *big.Int, amountTokenMin *big.Int, amountETHMin *big.Int, to common.Address, deadline *big.Int) (*types.Transaction, error)

RemoveLiquidityETH is a paid mutator transaction binding the contract method 0x02751cec.

Solidity: function removeLiquidityETH(address token, uint256 liquidity, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline) returns(uint256 amountToken, uint256 amountETH)

func (*UniswapV2Session) RemoveLiquidityETHSupportingFeeOnTransferTokens

func (_UniswapV2 *UniswapV2Session) RemoveLiquidityETHSupportingFeeOnTransferTokens(token common.Address, liquidity *big.Int, amountTokenMin *big.Int, amountETHMin *big.Int, to common.Address, deadline *big.Int) (*types.Transaction, error)

RemoveLiquidityETHSupportingFeeOnTransferTokens is a paid mutator transaction binding the contract method 0xaf2979eb.

Solidity: function removeLiquidityETHSupportingFeeOnTransferTokens(address token, uint256 liquidity, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline) returns(uint256 amountETH)

func (*UniswapV2Session) RemoveLiquidityETHWithPermit

func (_UniswapV2 *UniswapV2Session) RemoveLiquidityETHWithPermit(token common.Address, liquidity *big.Int, amountTokenMin *big.Int, amountETHMin *big.Int, to common.Address, deadline *big.Int, approveMax bool, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

RemoveLiquidityETHWithPermit is a paid mutator transaction binding the contract method 0xded9382a.

Solidity: function removeLiquidityETHWithPermit(address token, uint256 liquidity, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s) returns(uint256 amountToken, uint256 amountETH)

func (*UniswapV2Session) RemoveLiquidityETHWithPermitSupportingFeeOnTransferTokens

func (_UniswapV2 *UniswapV2Session) RemoveLiquidityETHWithPermitSupportingFeeOnTransferTokens(token common.Address, liquidity *big.Int, amountTokenMin *big.Int, amountETHMin *big.Int, to common.Address, deadline *big.Int, approveMax bool, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

RemoveLiquidityETHWithPermitSupportingFeeOnTransferTokens is a paid mutator transaction binding the contract method 0x5b0d5984.

Solidity: function removeLiquidityETHWithPermitSupportingFeeOnTransferTokens(address token, uint256 liquidity, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s) returns(uint256 amountETH)

func (*UniswapV2Session) RemoveLiquidityWithPermit

func (_UniswapV2 *UniswapV2Session) RemoveLiquidityWithPermit(tokenA common.Address, tokenB common.Address, liquidity *big.Int, amountAMin *big.Int, amountBMin *big.Int, to common.Address, deadline *big.Int, approveMax bool, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

RemoveLiquidityWithPermit is a paid mutator transaction binding the contract method 0x2195995c.

Solidity: function removeLiquidityWithPermit(address tokenA, address tokenB, uint256 liquidity, uint256 amountAMin, uint256 amountBMin, address to, uint256 deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s) returns(uint256 amountA, uint256 amountB)

func (*UniswapV2Session) SwapETHForExactTokens

func (_UniswapV2 *UniswapV2Session) SwapETHForExactTokens(amountOut *big.Int, path []common.Address, to common.Address, deadline *big.Int) (*types.Transaction, error)

SwapETHForExactTokens is a paid mutator transaction binding the contract method 0xfb3bdb41.

Solidity: function swapETHForExactTokens(uint256 amountOut, address[] path, address to, uint256 deadline) payable returns(uint256[] amounts)

func (*UniswapV2Session) SwapExactETHForTokens

func (_UniswapV2 *UniswapV2Session) SwapExactETHForTokens(amountOutMin *big.Int, path []common.Address, to common.Address, deadline *big.Int) (*types.Transaction, error)

SwapExactETHForTokens is a paid mutator transaction binding the contract method 0x7ff36ab5.

Solidity: function swapExactETHForTokens(uint256 amountOutMin, address[] path, address to, uint256 deadline) payable returns(uint256[] amounts)

func (*UniswapV2Session) SwapExactETHForTokensSupportingFeeOnTransferTokens

func (_UniswapV2 *UniswapV2Session) SwapExactETHForTokensSupportingFeeOnTransferTokens(amountOutMin *big.Int, path []common.Address, to common.Address, deadline *big.Int) (*types.Transaction, error)

SwapExactETHForTokensSupportingFeeOnTransferTokens is a paid mutator transaction binding the contract method 0xb6f9de95.

Solidity: function swapExactETHForTokensSupportingFeeOnTransferTokens(uint256 amountOutMin, address[] path, address to, uint256 deadline) payable returns()

func (*UniswapV2Session) SwapExactTokensForETH

func (_UniswapV2 *UniswapV2Session) SwapExactTokensForETH(amountIn *big.Int, amountOutMin *big.Int, path []common.Address, to common.Address, deadline *big.Int) (*types.Transaction, error)

SwapExactTokensForETH is a paid mutator transaction binding the contract method 0x18cbafe5.

Solidity: function swapExactTokensForETH(uint256 amountIn, uint256 amountOutMin, address[] path, address to, uint256 deadline) returns(uint256[] amounts)

func (*UniswapV2Session) SwapExactTokensForETHSupportingFeeOnTransferTokens

func (_UniswapV2 *UniswapV2Session) SwapExactTokensForETHSupportingFeeOnTransferTokens(amountIn *big.Int, amountOutMin *big.Int, path []common.Address, to common.Address, deadline *big.Int) (*types.Transaction, error)

SwapExactTokensForETHSupportingFeeOnTransferTokens is a paid mutator transaction binding the contract method 0x791ac947.

Solidity: function swapExactTokensForETHSupportingFeeOnTransferTokens(uint256 amountIn, uint256 amountOutMin, address[] path, address to, uint256 deadline) returns()

func (*UniswapV2Session) SwapExactTokensForTokens

func (_UniswapV2 *UniswapV2Session) SwapExactTokensForTokens(amountIn *big.Int, amountOutMin *big.Int, path []common.Address, to common.Address, deadline *big.Int) (*types.Transaction, error)

SwapExactTokensForTokens is a paid mutator transaction binding the contract method 0x38ed1739.

Solidity: function swapExactTokensForTokens(uint256 amountIn, uint256 amountOutMin, address[] path, address to, uint256 deadline) returns(uint256[] amounts)

func (*UniswapV2Session) SwapExactTokensForTokensSupportingFeeOnTransferTokens

func (_UniswapV2 *UniswapV2Session) SwapExactTokensForTokensSupportingFeeOnTransferTokens(amountIn *big.Int, amountOutMin *big.Int, path []common.Address, to common.Address, deadline *big.Int) (*types.Transaction, error)

SwapExactTokensForTokensSupportingFeeOnTransferTokens is a paid mutator transaction binding the contract method 0x5c11d795.

Solidity: function swapExactTokensForTokensSupportingFeeOnTransferTokens(uint256 amountIn, uint256 amountOutMin, address[] path, address to, uint256 deadline) returns()

func (*UniswapV2Session) SwapTokensForExactETH

func (_UniswapV2 *UniswapV2Session) SwapTokensForExactETH(amountOut *big.Int, amountInMax *big.Int, path []common.Address, to common.Address, deadline *big.Int) (*types.Transaction, error)

SwapTokensForExactETH is a paid mutator transaction binding the contract method 0x4a25d94a.

Solidity: function swapTokensForExactETH(uint256 amountOut, uint256 amountInMax, address[] path, address to, uint256 deadline) returns(uint256[] amounts)

func (*UniswapV2Session) SwapTokensForExactTokens

func (_UniswapV2 *UniswapV2Session) SwapTokensForExactTokens(amountOut *big.Int, amountInMax *big.Int, path []common.Address, to common.Address, deadline *big.Int) (*types.Transaction, error)

SwapTokensForExactTokens is a paid mutator transaction binding the contract method 0x8803dbee.

Solidity: function swapTokensForExactTokens(uint256 amountOut, uint256 amountInMax, address[] path, address to, uint256 deadline) returns(uint256[] amounts)

func (*UniswapV2Session) WETH

func (_UniswapV2 *UniswapV2Session) WETH() (common.Address, error)

WETH is a free data retrieval call binding the contract method 0xad5c4648.

Solidity: function WETH() view returns(address)

type UniswapV2Transactor

type UniswapV2Transactor struct {
	// contains filtered or unexported fields
}

UniswapV2Transactor is an auto generated write-only Go binding around an Ethereum contract.

func NewUniswapV2Transactor

func NewUniswapV2Transactor(address common.Address, transactor bind.ContractTransactor) (*UniswapV2Transactor, error)

NewUniswapV2Transactor creates a new write-only instance of UniswapV2, bound to a specific deployed contract.

func (*UniswapV2Transactor) AddLiquidity

func (_UniswapV2 *UniswapV2Transactor) AddLiquidity(opts *bind.TransactOpts, tokenA common.Address, tokenB common.Address, amountADesired *big.Int, amountBDesired *big.Int, amountAMin *big.Int, amountBMin *big.Int, to common.Address, deadline *big.Int) (*types.Transaction, error)

AddLiquidity is a paid mutator transaction binding the contract method 0xe8e33700.

Solidity: function addLiquidity(address tokenA, address tokenB, uint256 amountADesired, uint256 amountBDesired, uint256 amountAMin, uint256 amountBMin, address to, uint256 deadline) returns(uint256 amountA, uint256 amountB, uint256 liquidity)

func (*UniswapV2Transactor) AddLiquidityETH

func (_UniswapV2 *UniswapV2Transactor) AddLiquidityETH(opts *bind.TransactOpts, token common.Address, amountTokenDesired *big.Int, amountTokenMin *big.Int, amountETHMin *big.Int, to common.Address, deadline *big.Int) (*types.Transaction, error)

AddLiquidityETH is a paid mutator transaction binding the contract method 0xf305d719.

Solidity: function addLiquidityETH(address token, uint256 amountTokenDesired, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline) payable returns(uint256 amountToken, uint256 amountETH, uint256 liquidity)

func (*UniswapV2Transactor) Receive

func (_UniswapV2 *UniswapV2Transactor) Receive(opts *bind.TransactOpts) (*types.Transaction, error)

Receive is a paid mutator transaction binding the contract receive function.

Solidity: receive() payable returns()

func (*UniswapV2Transactor) RemoveLiquidity

func (_UniswapV2 *UniswapV2Transactor) RemoveLiquidity(opts *bind.TransactOpts, tokenA common.Address, tokenB common.Address, liquidity *big.Int, amountAMin *big.Int, amountBMin *big.Int, to common.Address, deadline *big.Int) (*types.Transaction, error)

RemoveLiquidity is a paid mutator transaction binding the contract method 0xbaa2abde.

Solidity: function removeLiquidity(address tokenA, address tokenB, uint256 liquidity, uint256 amountAMin, uint256 amountBMin, address to, uint256 deadline) returns(uint256 amountA, uint256 amountB)

func (*UniswapV2Transactor) RemoveLiquidityETH

func (_UniswapV2 *UniswapV2Transactor) RemoveLiquidityETH(opts *bind.TransactOpts, token common.Address, liquidity *big.Int, amountTokenMin *big.Int, amountETHMin *big.Int, to common.Address, deadline *big.Int) (*types.Transaction, error)

RemoveLiquidityETH is a paid mutator transaction binding the contract method 0x02751cec.

Solidity: function removeLiquidityETH(address token, uint256 liquidity, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline) returns(uint256 amountToken, uint256 amountETH)

func (*UniswapV2Transactor) RemoveLiquidityETHSupportingFeeOnTransferTokens

func (_UniswapV2 *UniswapV2Transactor) RemoveLiquidityETHSupportingFeeOnTransferTokens(opts *bind.TransactOpts, token common.Address, liquidity *big.Int, amountTokenMin *big.Int, amountETHMin *big.Int, to common.Address, deadline *big.Int) (*types.Transaction, error)

RemoveLiquidityETHSupportingFeeOnTransferTokens is a paid mutator transaction binding the contract method 0xaf2979eb.

Solidity: function removeLiquidityETHSupportingFeeOnTransferTokens(address token, uint256 liquidity, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline) returns(uint256 amountETH)

func (*UniswapV2Transactor) RemoveLiquidityETHWithPermit

func (_UniswapV2 *UniswapV2Transactor) RemoveLiquidityETHWithPermit(opts *bind.TransactOpts, token common.Address, liquidity *big.Int, amountTokenMin *big.Int, amountETHMin *big.Int, to common.Address, deadline *big.Int, approveMax bool, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

RemoveLiquidityETHWithPermit is a paid mutator transaction binding the contract method 0xded9382a.

Solidity: function removeLiquidityETHWithPermit(address token, uint256 liquidity, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s) returns(uint256 amountToken, uint256 amountETH)

func (*UniswapV2Transactor) RemoveLiquidityETHWithPermitSupportingFeeOnTransferTokens

func (_UniswapV2 *UniswapV2Transactor) RemoveLiquidityETHWithPermitSupportingFeeOnTransferTokens(opts *bind.TransactOpts, token common.Address, liquidity *big.Int, amountTokenMin *big.Int, amountETHMin *big.Int, to common.Address, deadline *big.Int, approveMax bool, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

RemoveLiquidityETHWithPermitSupportingFeeOnTransferTokens is a paid mutator transaction binding the contract method 0x5b0d5984.

Solidity: function removeLiquidityETHWithPermitSupportingFeeOnTransferTokens(address token, uint256 liquidity, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s) returns(uint256 amountETH)

func (*UniswapV2Transactor) RemoveLiquidityWithPermit

func (_UniswapV2 *UniswapV2Transactor) RemoveLiquidityWithPermit(opts *bind.TransactOpts, tokenA common.Address, tokenB common.Address, liquidity *big.Int, amountAMin *big.Int, amountBMin *big.Int, to common.Address, deadline *big.Int, approveMax bool, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

RemoveLiquidityWithPermit is a paid mutator transaction binding the contract method 0x2195995c.

Solidity: function removeLiquidityWithPermit(address tokenA, address tokenB, uint256 liquidity, uint256 amountAMin, uint256 amountBMin, address to, uint256 deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s) returns(uint256 amountA, uint256 amountB)

func (*UniswapV2Transactor) SwapETHForExactTokens

func (_UniswapV2 *UniswapV2Transactor) SwapETHForExactTokens(opts *bind.TransactOpts, amountOut *big.Int, path []common.Address, to common.Address, deadline *big.Int) (*types.Transaction, error)

SwapETHForExactTokens is a paid mutator transaction binding the contract method 0xfb3bdb41.

Solidity: function swapETHForExactTokens(uint256 amountOut, address[] path, address to, uint256 deadline) payable returns(uint256[] amounts)

func (*UniswapV2Transactor) SwapExactETHForTokens

func (_UniswapV2 *UniswapV2Transactor) SwapExactETHForTokens(opts *bind.TransactOpts, amountOutMin *big.Int, path []common.Address, to common.Address, deadline *big.Int) (*types.Transaction, error)

SwapExactETHForTokens is a paid mutator transaction binding the contract method 0x7ff36ab5.

Solidity: function swapExactETHForTokens(uint256 amountOutMin, address[] path, address to, uint256 deadline) payable returns(uint256[] amounts)

func (*UniswapV2Transactor) SwapExactETHForTokensSupportingFeeOnTransferTokens

func (_UniswapV2 *UniswapV2Transactor) SwapExactETHForTokensSupportingFeeOnTransferTokens(opts *bind.TransactOpts, amountOutMin *big.Int, path []common.Address, to common.Address, deadline *big.Int) (*types.Transaction, error)

SwapExactETHForTokensSupportingFeeOnTransferTokens is a paid mutator transaction binding the contract method 0xb6f9de95.

Solidity: function swapExactETHForTokensSupportingFeeOnTransferTokens(uint256 amountOutMin, address[] path, address to, uint256 deadline) payable returns()

func (*UniswapV2Transactor) SwapExactTokensForETH

func (_UniswapV2 *UniswapV2Transactor) SwapExactTokensForETH(opts *bind.TransactOpts, amountIn *big.Int, amountOutMin *big.Int, path []common.Address, to common.Address, deadline *big.Int) (*types.Transaction, error)

SwapExactTokensForETH is a paid mutator transaction binding the contract method 0x18cbafe5.

Solidity: function swapExactTokensForETH(uint256 amountIn, uint256 amountOutMin, address[] path, address to, uint256 deadline) returns(uint256[] amounts)

func (*UniswapV2Transactor) SwapExactTokensForETHSupportingFeeOnTransferTokens

func (_UniswapV2 *UniswapV2Transactor) SwapExactTokensForETHSupportingFeeOnTransferTokens(opts *bind.TransactOpts, amountIn *big.Int, amountOutMin *big.Int, path []common.Address, to common.Address, deadline *big.Int) (*types.Transaction, error)

SwapExactTokensForETHSupportingFeeOnTransferTokens is a paid mutator transaction binding the contract method 0x791ac947.

Solidity: function swapExactTokensForETHSupportingFeeOnTransferTokens(uint256 amountIn, uint256 amountOutMin, address[] path, address to, uint256 deadline) returns()

func (*UniswapV2Transactor) SwapExactTokensForTokens

func (_UniswapV2 *UniswapV2Transactor) SwapExactTokensForTokens(opts *bind.TransactOpts, amountIn *big.Int, amountOutMin *big.Int, path []common.Address, to common.Address, deadline *big.Int) (*types.Transaction, error)

SwapExactTokensForTokens is a paid mutator transaction binding the contract method 0x38ed1739.

Solidity: function swapExactTokensForTokens(uint256 amountIn, uint256 amountOutMin, address[] path, address to, uint256 deadline) returns(uint256[] amounts)

func (*UniswapV2Transactor) SwapExactTokensForTokensSupportingFeeOnTransferTokens

func (_UniswapV2 *UniswapV2Transactor) SwapExactTokensForTokensSupportingFeeOnTransferTokens(opts *bind.TransactOpts, amountIn *big.Int, amountOutMin *big.Int, path []common.Address, to common.Address, deadline *big.Int) (*types.Transaction, error)

SwapExactTokensForTokensSupportingFeeOnTransferTokens is a paid mutator transaction binding the contract method 0x5c11d795.

Solidity: function swapExactTokensForTokensSupportingFeeOnTransferTokens(uint256 amountIn, uint256 amountOutMin, address[] path, address to, uint256 deadline) returns()

func (*UniswapV2Transactor) SwapTokensForExactETH

func (_UniswapV2 *UniswapV2Transactor) SwapTokensForExactETH(opts *bind.TransactOpts, amountOut *big.Int, amountInMax *big.Int, path []common.Address, to common.Address, deadline *big.Int) (*types.Transaction, error)

SwapTokensForExactETH is a paid mutator transaction binding the contract method 0x4a25d94a.

Solidity: function swapTokensForExactETH(uint256 amountOut, uint256 amountInMax, address[] path, address to, uint256 deadline) returns(uint256[] amounts)

func (*UniswapV2Transactor) SwapTokensForExactTokens

func (_UniswapV2 *UniswapV2Transactor) SwapTokensForExactTokens(opts *bind.TransactOpts, amountOut *big.Int, amountInMax *big.Int, path []common.Address, to common.Address, deadline *big.Int) (*types.Transaction, error)

SwapTokensForExactTokens is a paid mutator transaction binding the contract method 0x8803dbee.

Solidity: function swapTokensForExactTokens(uint256 amountOut, uint256 amountInMax, address[] path, address to, uint256 deadline) returns(uint256[] amounts)

type UniswapV2TransactorRaw

type UniswapV2TransactorRaw struct {
	Contract *UniswapV2Transactor // Generic write-only contract binding to access the raw methods on
}

UniswapV2TransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*UniswapV2TransactorRaw) Transact

func (_UniswapV2 *UniswapV2TransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*UniswapV2TransactorRaw) Transfer

func (_UniswapV2 *UniswapV2TransactorRaw) 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 UniswapV2TransactorSession

type UniswapV2TransactorSession struct {
	Contract     *UniswapV2Transactor // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts    // Transaction auth options to use throughout this session
}

UniswapV2TransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

func (*UniswapV2TransactorSession) AddLiquidity

func (_UniswapV2 *UniswapV2TransactorSession) AddLiquidity(tokenA common.Address, tokenB common.Address, amountADesired *big.Int, amountBDesired *big.Int, amountAMin *big.Int, amountBMin *big.Int, to common.Address, deadline *big.Int) (*types.Transaction, error)

AddLiquidity is a paid mutator transaction binding the contract method 0xe8e33700.

Solidity: function addLiquidity(address tokenA, address tokenB, uint256 amountADesired, uint256 amountBDesired, uint256 amountAMin, uint256 amountBMin, address to, uint256 deadline) returns(uint256 amountA, uint256 amountB, uint256 liquidity)

func (*UniswapV2TransactorSession) AddLiquidityETH

func (_UniswapV2 *UniswapV2TransactorSession) AddLiquidityETH(token common.Address, amountTokenDesired *big.Int, amountTokenMin *big.Int, amountETHMin *big.Int, to common.Address, deadline *big.Int) (*types.Transaction, error)

AddLiquidityETH is a paid mutator transaction binding the contract method 0xf305d719.

Solidity: function addLiquidityETH(address token, uint256 amountTokenDesired, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline) payable returns(uint256 amountToken, uint256 amountETH, uint256 liquidity)

func (*UniswapV2TransactorSession) Receive

func (_UniswapV2 *UniswapV2TransactorSession) Receive() (*types.Transaction, error)

Receive is a paid mutator transaction binding the contract receive function.

Solidity: receive() payable returns()

func (*UniswapV2TransactorSession) RemoveLiquidity

func (_UniswapV2 *UniswapV2TransactorSession) RemoveLiquidity(tokenA common.Address, tokenB common.Address, liquidity *big.Int, amountAMin *big.Int, amountBMin *big.Int, to common.Address, deadline *big.Int) (*types.Transaction, error)

RemoveLiquidity is a paid mutator transaction binding the contract method 0xbaa2abde.

Solidity: function removeLiquidity(address tokenA, address tokenB, uint256 liquidity, uint256 amountAMin, uint256 amountBMin, address to, uint256 deadline) returns(uint256 amountA, uint256 amountB)

func (*UniswapV2TransactorSession) RemoveLiquidityETH

func (_UniswapV2 *UniswapV2TransactorSession) RemoveLiquidityETH(token common.Address, liquidity *big.Int, amountTokenMin *big.Int, amountETHMin *big.Int, to common.Address, deadline *big.Int) (*types.Transaction, error)

RemoveLiquidityETH is a paid mutator transaction binding the contract method 0x02751cec.

Solidity: function removeLiquidityETH(address token, uint256 liquidity, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline) returns(uint256 amountToken, uint256 amountETH)

func (*UniswapV2TransactorSession) RemoveLiquidityETHSupportingFeeOnTransferTokens

func (_UniswapV2 *UniswapV2TransactorSession) RemoveLiquidityETHSupportingFeeOnTransferTokens(token common.Address, liquidity *big.Int, amountTokenMin *big.Int, amountETHMin *big.Int, to common.Address, deadline *big.Int) (*types.Transaction, error)

RemoveLiquidityETHSupportingFeeOnTransferTokens is a paid mutator transaction binding the contract method 0xaf2979eb.

Solidity: function removeLiquidityETHSupportingFeeOnTransferTokens(address token, uint256 liquidity, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline) returns(uint256 amountETH)

func (*UniswapV2TransactorSession) RemoveLiquidityETHWithPermit

func (_UniswapV2 *UniswapV2TransactorSession) RemoveLiquidityETHWithPermit(token common.Address, liquidity *big.Int, amountTokenMin *big.Int, amountETHMin *big.Int, to common.Address, deadline *big.Int, approveMax bool, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

RemoveLiquidityETHWithPermit is a paid mutator transaction binding the contract method 0xded9382a.

Solidity: function removeLiquidityETHWithPermit(address token, uint256 liquidity, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s) returns(uint256 amountToken, uint256 amountETH)

func (*UniswapV2TransactorSession) RemoveLiquidityETHWithPermitSupportingFeeOnTransferTokens

func (_UniswapV2 *UniswapV2TransactorSession) RemoveLiquidityETHWithPermitSupportingFeeOnTransferTokens(token common.Address, liquidity *big.Int, amountTokenMin *big.Int, amountETHMin *big.Int, to common.Address, deadline *big.Int, approveMax bool, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

RemoveLiquidityETHWithPermitSupportingFeeOnTransferTokens is a paid mutator transaction binding the contract method 0x5b0d5984.

Solidity: function removeLiquidityETHWithPermitSupportingFeeOnTransferTokens(address token, uint256 liquidity, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s) returns(uint256 amountETH)

func (*UniswapV2TransactorSession) RemoveLiquidityWithPermit

func (_UniswapV2 *UniswapV2TransactorSession) RemoveLiquidityWithPermit(tokenA common.Address, tokenB common.Address, liquidity *big.Int, amountAMin *big.Int, amountBMin *big.Int, to common.Address, deadline *big.Int, approveMax bool, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

RemoveLiquidityWithPermit is a paid mutator transaction binding the contract method 0x2195995c.

Solidity: function removeLiquidityWithPermit(address tokenA, address tokenB, uint256 liquidity, uint256 amountAMin, uint256 amountBMin, address to, uint256 deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s) returns(uint256 amountA, uint256 amountB)

func (*UniswapV2TransactorSession) SwapETHForExactTokens

func (_UniswapV2 *UniswapV2TransactorSession) SwapETHForExactTokens(amountOut *big.Int, path []common.Address, to common.Address, deadline *big.Int) (*types.Transaction, error)

SwapETHForExactTokens is a paid mutator transaction binding the contract method 0xfb3bdb41.

Solidity: function swapETHForExactTokens(uint256 amountOut, address[] path, address to, uint256 deadline) payable returns(uint256[] amounts)

func (*UniswapV2TransactorSession) SwapExactETHForTokens

func (_UniswapV2 *UniswapV2TransactorSession) SwapExactETHForTokens(amountOutMin *big.Int, path []common.Address, to common.Address, deadline *big.Int) (*types.Transaction, error)

SwapExactETHForTokens is a paid mutator transaction binding the contract method 0x7ff36ab5.

Solidity: function swapExactETHForTokens(uint256 amountOutMin, address[] path, address to, uint256 deadline) payable returns(uint256[] amounts)

func (*UniswapV2TransactorSession) SwapExactETHForTokensSupportingFeeOnTransferTokens

func (_UniswapV2 *UniswapV2TransactorSession) SwapExactETHForTokensSupportingFeeOnTransferTokens(amountOutMin *big.Int, path []common.Address, to common.Address, deadline *big.Int) (*types.Transaction, error)

SwapExactETHForTokensSupportingFeeOnTransferTokens is a paid mutator transaction binding the contract method 0xb6f9de95.

Solidity: function swapExactETHForTokensSupportingFeeOnTransferTokens(uint256 amountOutMin, address[] path, address to, uint256 deadline) payable returns()

func (*UniswapV2TransactorSession) SwapExactTokensForETH

func (_UniswapV2 *UniswapV2TransactorSession) SwapExactTokensForETH(amountIn *big.Int, amountOutMin *big.Int, path []common.Address, to common.Address, deadline *big.Int) (*types.Transaction, error)

SwapExactTokensForETH is a paid mutator transaction binding the contract method 0x18cbafe5.

Solidity: function swapExactTokensForETH(uint256 amountIn, uint256 amountOutMin, address[] path, address to, uint256 deadline) returns(uint256[] amounts)

func (*UniswapV2TransactorSession) SwapExactTokensForETHSupportingFeeOnTransferTokens

func (_UniswapV2 *UniswapV2TransactorSession) SwapExactTokensForETHSupportingFeeOnTransferTokens(amountIn *big.Int, amountOutMin *big.Int, path []common.Address, to common.Address, deadline *big.Int) (*types.Transaction, error)

SwapExactTokensForETHSupportingFeeOnTransferTokens is a paid mutator transaction binding the contract method 0x791ac947.

Solidity: function swapExactTokensForETHSupportingFeeOnTransferTokens(uint256 amountIn, uint256 amountOutMin, address[] path, address to, uint256 deadline) returns()

func (*UniswapV2TransactorSession) SwapExactTokensForTokens

func (_UniswapV2 *UniswapV2TransactorSession) SwapExactTokensForTokens(amountIn *big.Int, amountOutMin *big.Int, path []common.Address, to common.Address, deadline *big.Int) (*types.Transaction, error)

SwapExactTokensForTokens is a paid mutator transaction binding the contract method 0x38ed1739.

Solidity: function swapExactTokensForTokens(uint256 amountIn, uint256 amountOutMin, address[] path, address to, uint256 deadline) returns(uint256[] amounts)

func (*UniswapV2TransactorSession) SwapExactTokensForTokensSupportingFeeOnTransferTokens

func (_UniswapV2 *UniswapV2TransactorSession) SwapExactTokensForTokensSupportingFeeOnTransferTokens(amountIn *big.Int, amountOutMin *big.Int, path []common.Address, to common.Address, deadline *big.Int) (*types.Transaction, error)

SwapExactTokensForTokensSupportingFeeOnTransferTokens is a paid mutator transaction binding the contract method 0x5c11d795.

Solidity: function swapExactTokensForTokensSupportingFeeOnTransferTokens(uint256 amountIn, uint256 amountOutMin, address[] path, address to, uint256 deadline) returns()

func (*UniswapV2TransactorSession) SwapTokensForExactETH

func (_UniswapV2 *UniswapV2TransactorSession) SwapTokensForExactETH(amountOut *big.Int, amountInMax *big.Int, path []common.Address, to common.Address, deadline *big.Int) (*types.Transaction, error)

SwapTokensForExactETH is a paid mutator transaction binding the contract method 0x4a25d94a.

Solidity: function swapTokensForExactETH(uint256 amountOut, uint256 amountInMax, address[] path, address to, uint256 deadline) returns(uint256[] amounts)

func (*UniswapV2TransactorSession) SwapTokensForExactTokens

func (_UniswapV2 *UniswapV2TransactorSession) SwapTokensForExactTokens(amountOut *big.Int, amountInMax *big.Int, path []common.Address, to common.Address, deadline *big.Int) (*types.Transaction, error)

SwapTokensForExactTokens is a paid mutator transaction binding the contract method 0x8803dbee.

Solidity: function swapTokensForExactTokens(uint256 amountOut, uint256 amountInMax, address[] path, address to, uint256 deadline) returns(uint256[] amounts)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL