WOOPP

package
v0.0.0-...-a05b099 Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2023 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_WOOPP_proto protoreflect.FileDescriptor
View Source
var WOOPPABI = WOOPPMetaData.ABI

WOOPPABI is the input ABI used to generate the binding from. Deprecated: Use WOOPPMetaData.ABI instead.

View Source
var WOOPPMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newQuoteToken\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"newWooracle\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"newFeeManager\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"newWooGuardian\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newFeeManager\",\"type\":\"address\"}],\"name\":\"FeeManagerUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferPrepared\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"baseToken\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"newThreshold\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"newR\",\"type\":\"uint256\"}],\"name\":\"ParametersUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"Paused\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newRewardManager\",\"type\":\"address\"}],\"name\":\"RewardManagerUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"strategist\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"flag\",\"type\":\"bool\"}],\"name\":\"StrategistUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"Unpaused\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"Withdraw\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newWooGuardian\",\"type\":\"address\"}],\"name\":\"WooGuardianUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"fromToken\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"toToken\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"fromAmount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"toAmount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"rebateTo\",\"type\":\"address\"}],\"name\":\"WooSwap\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newWooracle\",\"type\":\"address\"}],\"name\":\"WooracleUpdated\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"_NEW_OWNER_\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"_OWNER_\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"baseToken\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"threshold\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"R\",\"type\":\"uint256\"}],\"name\":\"addBaseToken\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"claimOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"feeManager\",\"outputs\":[{\"internalType\":\"contractIWooFeeManager\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"initOwner\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"isStrategist\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"pairsInfo\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"pause\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"paused\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"}],\"name\":\"poolSize\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"baseToken\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"baseAmount\",\"type\":\"uint256\"}],\"name\":\"querySellBase\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"quoteAmount\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"baseToken\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"quoteAmount\",\"type\":\"uint256\"}],\"name\":\"querySellQuote\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"baseAmount\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"quoteToken\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"baseToken\",\"type\":\"address\"}],\"name\":\"removeBaseToken\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"baseToken\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"baseAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"minQuoteAmount\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"rebateTo\",\"type\":\"address\"}],\"name\":\"sellBase\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"quoteAmount\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"baseToken\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"quoteAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"minBaseAmount\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"rebateTo\",\"type\":\"address\"}],\"name\":\"sellQuote\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"baseAmount\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newFeeManager\",\"type\":\"address\"}],\"name\":\"setFeeManager\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"newPairsInfo\",\"type\":\"string\"}],\"name\":\"setPairsInfo\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"strategist\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"flag\",\"type\":\"bool\"}],\"name\":\"setStrategist\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newWooGuardian\",\"type\":\"address\"}],\"name\":\"setWooGuardian\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newWooracle\",\"type\":\"address\"}],\"name\":\"setWooracle\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"tokenInfo\",\"outputs\":[{\"internalType\":\"uint112\",\"name\":\"reserve\",\"type\":\"uint112\"},{\"internalType\":\"uint112\",\"name\":\"threshold\",\"type\":\"uint112\"},{\"internalType\":\"uint32\",\"name\":\"lastResetTimestamp\",\"type\":\"uint32\"},{\"internalType\":\"uint64\",\"name\":\"R\",\"type\":\"uint64\"},{\"internalType\":\"uint112\",\"name\":\"target\",\"type\":\"uint112\"},{\"internalType\":\"bool\",\"name\":\"isValid\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"newThreshold\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"newR\",\"type\":\"uint256\"}],\"name\":\"tuneParameters\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"unpause\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"withdraw\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"}],\"name\":\"withdrawAll\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"}],\"name\":\"withdrawAllToOwner\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"wooGuardian\",\"outputs\":[{\"internalType\":\"contractIWooGuardian\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"wooracle\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]",
}

WOOPPMetaData contains all meta data concerning the WOOPP contract.

Functions

This section is empty.

Types

type FeeManagerUpdated

type FeeManagerUpdated struct {
	Ts            *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=ts,proto3" json:"ts,omitempty"`
	BlockNumber   uint64                 `protobuf:"varint,2,opt,name=blockNumber,proto3" json:"blockNumber,omitempty"`
	Index         uint64                 `protobuf:"varint,3,opt,name=index,proto3" json:"index,omitempty"`
	TxHash        []byte                 `protobuf:"bytes,4,opt,name=txHash,proto3" json:"txHash,omitempty"`
	NewFeeManager []byte                 `protobuf:"bytes,5,opt,name=newFeeManager,proto3" json:"newFeeManager,omitempty"`
	// contains filtered or unexported fields
}

func (*FeeManagerUpdated) Descriptor deprecated

func (*FeeManagerUpdated) Descriptor() ([]byte, []int)

Deprecated: Use FeeManagerUpdated.ProtoReflect.Descriptor instead.

func (*FeeManagerUpdated) GetBlockNumber

func (x *FeeManagerUpdated) GetBlockNumber() uint64

func (*FeeManagerUpdated) GetIndex

func (x *FeeManagerUpdated) GetIndex() uint64

func (*FeeManagerUpdated) GetNewFeeManager

func (x *FeeManagerUpdated) GetNewFeeManager() []byte

func (*FeeManagerUpdated) GetTs

func (*FeeManagerUpdated) GetTxHash

func (x *FeeManagerUpdated) GetTxHash() []byte

func (*FeeManagerUpdated) ProtoMessage

func (*FeeManagerUpdated) ProtoMessage()

func (*FeeManagerUpdated) ProtoReflect

func (x *FeeManagerUpdated) ProtoReflect() protoreflect.Message

func (*FeeManagerUpdated) Reset

func (x *FeeManagerUpdated) Reset()

func (*FeeManagerUpdated) String

func (x *FeeManagerUpdated) String() string

type OwnershipTransferPrepared

type OwnershipTransferPrepared struct {
	Ts            *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=ts,proto3" json:"ts,omitempty"`
	BlockNumber   uint64                 `protobuf:"varint,2,opt,name=blockNumber,proto3" json:"blockNumber,omitempty"`
	Index         uint64                 `protobuf:"varint,3,opt,name=index,proto3" json:"index,omitempty"`
	TxHash        []byte                 `protobuf:"bytes,4,opt,name=txHash,proto3" json:"txHash,omitempty"`
	PreviousOwner []byte                 `protobuf:"bytes,5,opt,name=previousOwner,proto3" json:"previousOwner,omitempty"`
	NewOwner      []byte                 `protobuf:"bytes,6,opt,name=newOwner,proto3" json:"newOwner,omitempty"`
	// contains filtered or unexported fields
}

func (*OwnershipTransferPrepared) Descriptor deprecated

func (*OwnershipTransferPrepared) Descriptor() ([]byte, []int)

Deprecated: Use OwnershipTransferPrepared.ProtoReflect.Descriptor instead.

func (*OwnershipTransferPrepared) GetBlockNumber

func (x *OwnershipTransferPrepared) GetBlockNumber() uint64

func (*OwnershipTransferPrepared) GetIndex

func (x *OwnershipTransferPrepared) GetIndex() uint64

func (*OwnershipTransferPrepared) GetNewOwner

func (x *OwnershipTransferPrepared) GetNewOwner() []byte

func (*OwnershipTransferPrepared) GetPreviousOwner

func (x *OwnershipTransferPrepared) GetPreviousOwner() []byte

func (*OwnershipTransferPrepared) GetTs

func (*OwnershipTransferPrepared) GetTxHash

func (x *OwnershipTransferPrepared) GetTxHash() []byte

func (*OwnershipTransferPrepared) ProtoMessage

func (*OwnershipTransferPrepared) ProtoMessage()

func (*OwnershipTransferPrepared) ProtoReflect

func (*OwnershipTransferPrepared) Reset

func (x *OwnershipTransferPrepared) Reset()

func (*OwnershipTransferPrepared) String

func (x *OwnershipTransferPrepared) String() string

type OwnershipTransferred

type OwnershipTransferred struct {
	Ts            *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=ts,proto3" json:"ts,omitempty"`
	BlockNumber   uint64                 `protobuf:"varint,2,opt,name=blockNumber,proto3" json:"blockNumber,omitempty"`
	Index         uint64                 `protobuf:"varint,3,opt,name=index,proto3" json:"index,omitempty"`
	TxHash        []byte                 `protobuf:"bytes,4,opt,name=txHash,proto3" json:"txHash,omitempty"`
	PreviousOwner []byte                 `protobuf:"bytes,5,opt,name=previousOwner,proto3" json:"previousOwner,omitempty"`
	NewOwner      []byte                 `protobuf:"bytes,6,opt,name=newOwner,proto3" json:"newOwner,omitempty"`
	// contains filtered or unexported fields
}

func (*OwnershipTransferred) Descriptor deprecated

func (*OwnershipTransferred) Descriptor() ([]byte, []int)

Deprecated: Use OwnershipTransferred.ProtoReflect.Descriptor instead.

func (*OwnershipTransferred) GetBlockNumber

func (x *OwnershipTransferred) GetBlockNumber() uint64

func (*OwnershipTransferred) GetIndex

func (x *OwnershipTransferred) GetIndex() uint64

func (*OwnershipTransferred) GetNewOwner

func (x *OwnershipTransferred) GetNewOwner() []byte

func (*OwnershipTransferred) GetPreviousOwner

func (x *OwnershipTransferred) GetPreviousOwner() []byte

func (*OwnershipTransferred) GetTs

func (*OwnershipTransferred) GetTxHash

func (x *OwnershipTransferred) GetTxHash() []byte

func (*OwnershipTransferred) ProtoMessage

func (*OwnershipTransferred) ProtoMessage()

func (*OwnershipTransferred) ProtoReflect

func (x *OwnershipTransferred) ProtoReflect() protoreflect.Message

func (*OwnershipTransferred) Reset

func (x *OwnershipTransferred) Reset()

func (*OwnershipTransferred) String

func (x *OwnershipTransferred) String() string

type ParametersUpdated

type ParametersUpdated struct {
	Ts           *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=ts,proto3" json:"ts,omitempty"`
	BlockNumber  uint64                 `protobuf:"varint,2,opt,name=blockNumber,proto3" json:"blockNumber,omitempty"`
	Index        uint64                 `protobuf:"varint,3,opt,name=index,proto3" json:"index,omitempty"`
	TxHash       []byte                 `protobuf:"bytes,4,opt,name=txHash,proto3" json:"txHash,omitempty"`
	BaseToken    []byte                 `protobuf:"bytes,5,opt,name=baseToken,proto3" json:"baseToken,omitempty"`
	NewThreshold []byte                 `protobuf:"bytes,6,opt,name=newThreshold,proto3" json:"newThreshold,omitempty"` // uint256
	NewR         []byte                 `protobuf:"bytes,7,opt,name=newR,proto3" json:"newR,omitempty"`                 // uint256
	// contains filtered or unexported fields
}

func (*ParametersUpdated) Descriptor deprecated

func (*ParametersUpdated) Descriptor() ([]byte, []int)

Deprecated: Use ParametersUpdated.ProtoReflect.Descriptor instead.

func (*ParametersUpdated) GetBaseToken

func (x *ParametersUpdated) GetBaseToken() []byte

func (*ParametersUpdated) GetBlockNumber

func (x *ParametersUpdated) GetBlockNumber() uint64

func (*ParametersUpdated) GetIndex

func (x *ParametersUpdated) GetIndex() uint64

func (*ParametersUpdated) GetNewR

func (x *ParametersUpdated) GetNewR() []byte

func (*ParametersUpdated) GetNewThreshold

func (x *ParametersUpdated) GetNewThreshold() []byte

func (*ParametersUpdated) GetTs

func (*ParametersUpdated) GetTxHash

func (x *ParametersUpdated) GetTxHash() []byte

func (*ParametersUpdated) ProtoMessage

func (*ParametersUpdated) ProtoMessage()

func (*ParametersUpdated) ProtoReflect

func (x *ParametersUpdated) ProtoReflect() protoreflect.Message

func (*ParametersUpdated) Reset

func (x *ParametersUpdated) Reset()

func (*ParametersUpdated) String

func (x *ParametersUpdated) String() string

type Paused

type Paused struct {
	Ts          *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=ts,proto3" json:"ts,omitempty"`
	BlockNumber uint64                 `protobuf:"varint,2,opt,name=blockNumber,proto3" json:"blockNumber,omitempty"`
	Index       uint64                 `protobuf:"varint,3,opt,name=index,proto3" json:"index,omitempty"`
	TxHash      []byte                 `protobuf:"bytes,4,opt,name=txHash,proto3" json:"txHash,omitempty"`
	Account     []byte                 `protobuf:"bytes,5,opt,name=account,proto3" json:"account,omitempty"`
	// contains filtered or unexported fields
}

func (*Paused) Descriptor deprecated

func (*Paused) Descriptor() ([]byte, []int)

Deprecated: Use Paused.ProtoReflect.Descriptor instead.

func (*Paused) GetAccount

func (x *Paused) GetAccount() []byte

func (*Paused) GetBlockNumber

func (x *Paused) GetBlockNumber() uint64

func (*Paused) GetIndex

func (x *Paused) GetIndex() uint64

func (*Paused) GetTs

func (x *Paused) GetTs() *timestamppb.Timestamp

func (*Paused) GetTxHash

func (x *Paused) GetTxHash() []byte

func (*Paused) ProtoMessage

func (*Paused) ProtoMessage()

func (*Paused) ProtoReflect

func (x *Paused) ProtoReflect() protoreflect.Message

func (*Paused) Reset

func (x *Paused) Reset()

func (*Paused) String

func (x *Paused) String() string

type RewardManagerUpdated

type RewardManagerUpdated struct {
	Ts               *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=ts,proto3" json:"ts,omitempty"`
	BlockNumber      uint64                 `protobuf:"varint,2,opt,name=blockNumber,proto3" json:"blockNumber,omitempty"`
	Index            uint64                 `protobuf:"varint,3,opt,name=index,proto3" json:"index,omitempty"`
	TxHash           []byte                 `protobuf:"bytes,4,opt,name=txHash,proto3" json:"txHash,omitempty"`
	NewRewardManager []byte                 `protobuf:"bytes,5,opt,name=newRewardManager,proto3" json:"newRewardManager,omitempty"`
	// contains filtered or unexported fields
}

func (*RewardManagerUpdated) Descriptor deprecated

func (*RewardManagerUpdated) Descriptor() ([]byte, []int)

Deprecated: Use RewardManagerUpdated.ProtoReflect.Descriptor instead.

func (*RewardManagerUpdated) GetBlockNumber

func (x *RewardManagerUpdated) GetBlockNumber() uint64

func (*RewardManagerUpdated) GetIndex

func (x *RewardManagerUpdated) GetIndex() uint64

func (*RewardManagerUpdated) GetNewRewardManager

func (x *RewardManagerUpdated) GetNewRewardManager() []byte

func (*RewardManagerUpdated) GetTs

func (*RewardManagerUpdated) GetTxHash

func (x *RewardManagerUpdated) GetTxHash() []byte

func (*RewardManagerUpdated) ProtoMessage

func (*RewardManagerUpdated) ProtoMessage()

func (*RewardManagerUpdated) ProtoReflect

func (x *RewardManagerUpdated) ProtoReflect() protoreflect.Message

func (*RewardManagerUpdated) Reset

func (x *RewardManagerUpdated) Reset()

func (*RewardManagerUpdated) String

func (x *RewardManagerUpdated) String() string

type SmartContract

type SmartContract struct{}

func (*SmartContract) Message

func (sc *SmartContract) Message(eventName string, contractAbi *abi.ABI, vLog types.Log, timestamp *timestamppb.Timestamp) protoreflect.ProtoMessage

type StrategistUpdated

type StrategistUpdated struct {
	Ts          *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=ts,proto3" json:"ts,omitempty"`
	BlockNumber uint64                 `protobuf:"varint,2,opt,name=blockNumber,proto3" json:"blockNumber,omitempty"`
	Index       uint64                 `protobuf:"varint,3,opt,name=index,proto3" json:"index,omitempty"`
	TxHash      []byte                 `protobuf:"bytes,4,opt,name=txHash,proto3" json:"txHash,omitempty"`
	Strategist  []byte                 `protobuf:"bytes,5,opt,name=strategist,proto3" json:"strategist,omitempty"`
	Flag        bool                   `protobuf:"varint,6,opt,name=flag,proto3" json:"flag,omitempty"`
	// contains filtered or unexported fields
}

func (*StrategistUpdated) Descriptor deprecated

func (*StrategistUpdated) Descriptor() ([]byte, []int)

Deprecated: Use StrategistUpdated.ProtoReflect.Descriptor instead.

func (*StrategistUpdated) GetBlockNumber

func (x *StrategistUpdated) GetBlockNumber() uint64

func (*StrategistUpdated) GetFlag

func (x *StrategistUpdated) GetFlag() bool

func (*StrategistUpdated) GetIndex

func (x *StrategistUpdated) GetIndex() uint64

func (*StrategistUpdated) GetStrategist

func (x *StrategistUpdated) GetStrategist() []byte

func (*StrategistUpdated) GetTs

func (*StrategistUpdated) GetTxHash

func (x *StrategistUpdated) GetTxHash() []byte

func (*StrategistUpdated) ProtoMessage

func (*StrategistUpdated) ProtoMessage()

func (*StrategistUpdated) ProtoReflect

func (x *StrategistUpdated) ProtoReflect() protoreflect.Message

func (*StrategistUpdated) Reset

func (x *StrategistUpdated) Reset()

func (*StrategistUpdated) String

func (x *StrategistUpdated) String() string

type Unpaused

type Unpaused struct {
	Ts          *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=ts,proto3" json:"ts,omitempty"`
	BlockNumber uint64                 `protobuf:"varint,2,opt,name=blockNumber,proto3" json:"blockNumber,omitempty"`
	Index       uint64                 `protobuf:"varint,3,opt,name=index,proto3" json:"index,omitempty"`
	TxHash      []byte                 `protobuf:"bytes,4,opt,name=txHash,proto3" json:"txHash,omitempty"`
	Account     []byte                 `protobuf:"bytes,5,opt,name=account,proto3" json:"account,omitempty"`
	// contains filtered or unexported fields
}

func (*Unpaused) Descriptor deprecated

func (*Unpaused) Descriptor() ([]byte, []int)

Deprecated: Use Unpaused.ProtoReflect.Descriptor instead.

func (*Unpaused) GetAccount

func (x *Unpaused) GetAccount() []byte

func (*Unpaused) GetBlockNumber

func (x *Unpaused) GetBlockNumber() uint64

func (*Unpaused) GetIndex

func (x *Unpaused) GetIndex() uint64

func (*Unpaused) GetTs

func (x *Unpaused) GetTs() *timestamppb.Timestamp

func (*Unpaused) GetTxHash

func (x *Unpaused) GetTxHash() []byte

func (*Unpaused) ProtoMessage

func (*Unpaused) ProtoMessage()

func (*Unpaused) ProtoReflect

func (x *Unpaused) ProtoReflect() protoreflect.Message

func (*Unpaused) Reset

func (x *Unpaused) Reset()

func (*Unpaused) String

func (x *Unpaused) String() string

type WOOPP

type WOOPP struct {
	WOOPPCaller     // Read-only binding to the contract
	WOOPPTransactor // Write-only binding to the contract
	WOOPPFilterer   // Log filterer for contract events
}

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

func NewWOOPP

func NewWOOPP(address common.Address, backend bind.ContractBackend) (*WOOPP, error)

NewWOOPP creates a new instance of WOOPP, bound to a specific deployed contract.

type WOOPPCaller

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

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

func NewWOOPPCaller

func NewWOOPPCaller(address common.Address, caller bind.ContractCaller) (*WOOPPCaller, error)

NewWOOPPCaller creates a new read-only instance of WOOPP, bound to a specific deployed contract.

func (*WOOPPCaller) FeeManager

func (_WOOPP *WOOPPCaller) FeeManager(opts *bind.CallOpts) (common.Address, error)

FeeManager is a free data retrieval call binding the contract method 0xd0fb0203.

Solidity: function feeManager() view returns(address)

func (*WOOPPCaller) IsStrategist

func (_WOOPP *WOOPPCaller) IsStrategist(opts *bind.CallOpts, arg0 common.Address) (bool, error)

IsStrategist is a free data retrieval call binding the contract method 0x6734faee.

Solidity: function isStrategist(address ) view returns(bool)

func (*WOOPPCaller) NEWOWNER

func (_WOOPP *WOOPPCaller) NEWOWNER(opts *bind.CallOpts) (common.Address, error)

NEWOWNER is a free data retrieval call binding the contract method 0x8456db15.

Solidity: function _NEW_OWNER_() view returns(address)

func (*WOOPPCaller) OWNER

func (_WOOPP *WOOPPCaller) OWNER(opts *bind.CallOpts) (common.Address, error)

OWNER is a free data retrieval call binding the contract method 0x16048bc4.

Solidity: function _OWNER_() view returns(address)

func (*WOOPPCaller) PairsInfo

func (_WOOPP *WOOPPCaller) PairsInfo(opts *bind.CallOpts) (string, error)

PairsInfo is a free data retrieval call binding the contract method 0x3ef31236.

Solidity: function pairsInfo() view returns(string)

func (*WOOPPCaller) Paused

func (_WOOPP *WOOPPCaller) 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 (*WOOPPCaller) PoolSize

func (_WOOPP *WOOPPCaller) PoolSize(opts *bind.CallOpts, token common.Address) (*big.Int, error)

PoolSize is a free data retrieval call binding the contract method 0xfa75d160.

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

func (*WOOPPCaller) QuerySellBase

func (_WOOPP *WOOPPCaller) QuerySellBase(opts *bind.CallOpts, baseToken common.Address, baseAmount *big.Int) (*big.Int, error)

QuerySellBase is a free data retrieval call binding the contract method 0x79a04876.

Solidity: function querySellBase(address baseToken, uint256 baseAmount) view returns(uint256 quoteAmount)

func (*WOOPPCaller) QuerySellQuote

func (_WOOPP *WOOPPCaller) QuerySellQuote(opts *bind.CallOpts, baseToken common.Address, quoteAmount *big.Int) (*big.Int, error)

QuerySellQuote is a free data retrieval call binding the contract method 0x66410a21.

Solidity: function querySellQuote(address baseToken, uint256 quoteAmount) view returns(uint256 baseAmount)

func (*WOOPPCaller) QuoteToken

func (_WOOPP *WOOPPCaller) QuoteToken(opts *bind.CallOpts) (common.Address, error)

QuoteToken is a free data retrieval call binding the contract method 0x217a4b70.

Solidity: function quoteToken() view returns(address)

func (*WOOPPCaller) TokenInfo

func (_WOOPP *WOOPPCaller) TokenInfo(opts *bind.CallOpts, arg0 common.Address) (struct {
	Reserve            *big.Int
	Threshold          *big.Int
	LastResetTimestamp uint32
	R                  uint64
	Target             *big.Int
	IsValid            bool
}, error)

TokenInfo is a free data retrieval call binding the contract method 0xf5dab711.

Solidity: function tokenInfo(address ) view returns(uint112 reserve, uint112 threshold, uint32 lastResetTimestamp, uint64 R, uint112 target, bool isValid)

func (*WOOPPCaller) WooGuardian

func (_WOOPP *WOOPPCaller) WooGuardian(opts *bind.CallOpts) (common.Address, error)

WooGuardian is a free data retrieval call binding the contract method 0x3313429d.

Solidity: function wooGuardian() view returns(address)

func (*WOOPPCaller) Wooracle

func (_WOOPP *WOOPPCaller) Wooracle(opts *bind.CallOpts) (common.Address, error)

Wooracle is a free data retrieval call binding the contract method 0xbc8530f9.

Solidity: function wooracle() view returns(address)

type WOOPPCallerRaw

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

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

func (*WOOPPCallerRaw) Call

func (_WOOPP *WOOPPCallerRaw) 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 WOOPPCallerSession

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

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

func (*WOOPPCallerSession) FeeManager

func (_WOOPP *WOOPPCallerSession) FeeManager() (common.Address, error)

FeeManager is a free data retrieval call binding the contract method 0xd0fb0203.

Solidity: function feeManager() view returns(address)

func (*WOOPPCallerSession) IsStrategist

func (_WOOPP *WOOPPCallerSession) IsStrategist(arg0 common.Address) (bool, error)

IsStrategist is a free data retrieval call binding the contract method 0x6734faee.

Solidity: function isStrategist(address ) view returns(bool)

func (*WOOPPCallerSession) NEWOWNER

func (_WOOPP *WOOPPCallerSession) NEWOWNER() (common.Address, error)

NEWOWNER is a free data retrieval call binding the contract method 0x8456db15.

Solidity: function _NEW_OWNER_() view returns(address)

func (*WOOPPCallerSession) OWNER

func (_WOOPP *WOOPPCallerSession) OWNER() (common.Address, error)

OWNER is a free data retrieval call binding the contract method 0x16048bc4.

Solidity: function _OWNER_() view returns(address)

func (*WOOPPCallerSession) PairsInfo

func (_WOOPP *WOOPPCallerSession) PairsInfo() (string, error)

PairsInfo is a free data retrieval call binding the contract method 0x3ef31236.

Solidity: function pairsInfo() view returns(string)

func (*WOOPPCallerSession) Paused

func (_WOOPP *WOOPPCallerSession) Paused() (bool, error)

Paused is a free data retrieval call binding the contract method 0x5c975abb.

Solidity: function paused() view returns(bool)

func (*WOOPPCallerSession) PoolSize

func (_WOOPP *WOOPPCallerSession) PoolSize(token common.Address) (*big.Int, error)

PoolSize is a free data retrieval call binding the contract method 0xfa75d160.

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

func (*WOOPPCallerSession) QuerySellBase

func (_WOOPP *WOOPPCallerSession) QuerySellBase(baseToken common.Address, baseAmount *big.Int) (*big.Int, error)

QuerySellBase is a free data retrieval call binding the contract method 0x79a04876.

Solidity: function querySellBase(address baseToken, uint256 baseAmount) view returns(uint256 quoteAmount)

func (*WOOPPCallerSession) QuerySellQuote

func (_WOOPP *WOOPPCallerSession) QuerySellQuote(baseToken common.Address, quoteAmount *big.Int) (*big.Int, error)

QuerySellQuote is a free data retrieval call binding the contract method 0x66410a21.

Solidity: function querySellQuote(address baseToken, uint256 quoteAmount) view returns(uint256 baseAmount)

func (*WOOPPCallerSession) QuoteToken

func (_WOOPP *WOOPPCallerSession) QuoteToken() (common.Address, error)

QuoteToken is a free data retrieval call binding the contract method 0x217a4b70.

Solidity: function quoteToken() view returns(address)

func (*WOOPPCallerSession) TokenInfo

func (_WOOPP *WOOPPCallerSession) TokenInfo(arg0 common.Address) (struct {
	Reserve            *big.Int
	Threshold          *big.Int
	LastResetTimestamp uint32
	R                  uint64
	Target             *big.Int
	IsValid            bool
}, error)

TokenInfo is a free data retrieval call binding the contract method 0xf5dab711.

Solidity: function tokenInfo(address ) view returns(uint112 reserve, uint112 threshold, uint32 lastResetTimestamp, uint64 R, uint112 target, bool isValid)

func (*WOOPPCallerSession) WooGuardian

func (_WOOPP *WOOPPCallerSession) WooGuardian() (common.Address, error)

WooGuardian is a free data retrieval call binding the contract method 0x3313429d.

Solidity: function wooGuardian() view returns(address)

func (*WOOPPCallerSession) Wooracle

func (_WOOPP *WOOPPCallerSession) Wooracle() (common.Address, error)

Wooracle is a free data retrieval call binding the contract method 0xbc8530f9.

Solidity: function wooracle() view returns(address)

type WOOPPFeeManagerUpdated

type WOOPPFeeManagerUpdated struct {
	NewFeeManager common.Address
	Raw           types.Log // Blockchain specific contextual infos
}

WOOPPFeeManagerUpdated represents a FeeManagerUpdated event raised by the WOOPP contract.

type WOOPPFeeManagerUpdatedIterator

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

WOOPPFeeManagerUpdatedIterator is returned from FilterFeeManagerUpdated and is used to iterate over the raw logs and unpacked data for FeeManagerUpdated events raised by the WOOPP contract.

func (*WOOPPFeeManagerUpdatedIterator) Close

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

func (*WOOPPFeeManagerUpdatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*WOOPPFeeManagerUpdatedIterator) 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 WOOPPFilterer

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

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

func NewWOOPPFilterer

func NewWOOPPFilterer(address common.Address, filterer bind.ContractFilterer) (*WOOPPFilterer, error)

NewWOOPPFilterer creates a new log filterer instance of WOOPP, bound to a specific deployed contract.

func (*WOOPPFilterer) FilterFeeManagerUpdated

func (_WOOPP *WOOPPFilterer) FilterFeeManagerUpdated(opts *bind.FilterOpts, newFeeManager []common.Address) (*WOOPPFeeManagerUpdatedIterator, error)

FilterFeeManagerUpdated is a free log retrieval operation binding the contract event 0xe45f5e140399b0a7e12971ab020724b828fbed8ac408c420884dc7d1bbe506b4.

Solidity: event FeeManagerUpdated(address indexed newFeeManager)

func (*WOOPPFilterer) FilterOwnershipTransferPrepared

func (_WOOPP *WOOPPFilterer) FilterOwnershipTransferPrepared(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*WOOPPOwnershipTransferPreparedIterator, error)

FilterOwnershipTransferPrepared is a free log retrieval operation binding the contract event 0xdcf55418cee3220104fef63f979ff3c4097ad240c0c43dcb33ce837748983e62.

Solidity: event OwnershipTransferPrepared(address indexed previousOwner, address indexed newOwner)

func (*WOOPPFilterer) FilterOwnershipTransferred

func (_WOOPP *WOOPPFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*WOOPPOwnershipTransferredIterator, error)

FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*WOOPPFilterer) FilterParametersUpdated

func (_WOOPP *WOOPPFilterer) FilterParametersUpdated(opts *bind.FilterOpts, baseToken []common.Address) (*WOOPPParametersUpdatedIterator, error)

FilterParametersUpdated is a free log retrieval operation binding the contract event 0x5a1f36141a0cb942bd02bfae3796688b4c89d39ca58a36b286c71492a9b18012.

Solidity: event ParametersUpdated(address indexed baseToken, uint256 newThreshold, uint256 newR)

func (*WOOPPFilterer) FilterPaused

func (_WOOPP *WOOPPFilterer) FilterPaused(opts *bind.FilterOpts) (*WOOPPPausedIterator, error)

FilterPaused is a free log retrieval operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.

Solidity: event Paused(address account)

func (*WOOPPFilterer) FilterRewardManagerUpdated

func (_WOOPP *WOOPPFilterer) FilterRewardManagerUpdated(opts *bind.FilterOpts, newRewardManager []common.Address) (*WOOPPRewardManagerUpdatedIterator, error)

FilterRewardManagerUpdated is a free log retrieval operation binding the contract event 0x3d94d9e8342a65edb95eef4f65059294d45e5192603632d8dddb2344e7078053.

Solidity: event RewardManagerUpdated(address indexed newRewardManager)

func (*WOOPPFilterer) FilterStrategistUpdated

func (_WOOPP *WOOPPFilterer) FilterStrategistUpdated(opts *bind.FilterOpts, strategist []common.Address) (*WOOPPStrategistUpdatedIterator, error)

FilterStrategistUpdated is a free log retrieval operation binding the contract event 0xaee0e1c61a3f9668cbb6c91cbe9352a6cbb5334687e9dcf76655d72a23b942ce.

Solidity: event StrategistUpdated(address indexed strategist, bool flag)

func (*WOOPPFilterer) FilterUnpaused

func (_WOOPP *WOOPPFilterer) FilterUnpaused(opts *bind.FilterOpts) (*WOOPPUnpausedIterator, error)

FilterUnpaused is a free log retrieval operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.

Solidity: event Unpaused(address account)

func (*WOOPPFilterer) FilterWithdraw

func (_WOOPP *WOOPPFilterer) FilterWithdraw(opts *bind.FilterOpts, token []common.Address, to []common.Address) (*WOOPPWithdrawIterator, error)

FilterWithdraw is a free log retrieval operation binding the contract event 0x9b1bfa7fa9ee420a16e124f794c35ac9f90472acc99140eb2f6447c714cad8eb.

Solidity: event Withdraw(address indexed token, address indexed to, uint256 amount)

func (*WOOPPFilterer) FilterWooGuardianUpdated

func (_WOOPP *WOOPPFilterer) FilterWooGuardianUpdated(opts *bind.FilterOpts, newWooGuardian []common.Address) (*WOOPPWooGuardianUpdatedIterator, error)

FilterWooGuardianUpdated is a free log retrieval operation binding the contract event 0x95543a0f1d7d53325b1264bff29b0cb8704c48f0da6e578463e10a951caf2ebb.

Solidity: event WooGuardianUpdated(address indexed newWooGuardian)

func (*WOOPPFilterer) FilterWooSwap

func (_WOOPP *WOOPPFilterer) FilterWooSwap(opts *bind.FilterOpts, fromToken []common.Address, toToken []common.Address, to []common.Address) (*WOOPPWooSwapIterator, error)

FilterWooSwap is a free log retrieval operation binding the contract event 0x74ef34e2ea7c5d9f7b7ed44e97ad44b4303416c3a660c3fb5b3bdb95a1d6abd3.

Solidity: event WooSwap(address indexed fromToken, address indexed toToken, uint256 fromAmount, uint256 toAmount, address from, address indexed to, address rebateTo)

func (*WOOPPFilterer) FilterWooracleUpdated

func (_WOOPP *WOOPPFilterer) FilterWooracleUpdated(opts *bind.FilterOpts, newWooracle []common.Address) (*WOOPPWooracleUpdatedIterator, error)

FilterWooracleUpdated is a free log retrieval operation binding the contract event 0x59ddfdd1bf7e3ea08a07e8aaa1fe2ce9c840fab69fe5ede6ea727a45eb42fc66.

Solidity: event WooracleUpdated(address indexed newWooracle)

func (*WOOPPFilterer) ParseFeeManagerUpdated

func (_WOOPP *WOOPPFilterer) ParseFeeManagerUpdated(log types.Log) (*WOOPPFeeManagerUpdated, error)

ParseFeeManagerUpdated is a log parse operation binding the contract event 0xe45f5e140399b0a7e12971ab020724b828fbed8ac408c420884dc7d1bbe506b4.

Solidity: event FeeManagerUpdated(address indexed newFeeManager)

func (*WOOPPFilterer) ParseOwnershipTransferPrepared

func (_WOOPP *WOOPPFilterer) ParseOwnershipTransferPrepared(log types.Log) (*WOOPPOwnershipTransferPrepared, error)

ParseOwnershipTransferPrepared is a log parse operation binding the contract event 0xdcf55418cee3220104fef63f979ff3c4097ad240c0c43dcb33ce837748983e62.

Solidity: event OwnershipTransferPrepared(address indexed previousOwner, address indexed newOwner)

func (*WOOPPFilterer) ParseOwnershipTransferred

func (_WOOPP *WOOPPFilterer) ParseOwnershipTransferred(log types.Log) (*WOOPPOwnershipTransferred, error)

ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*WOOPPFilterer) ParseParametersUpdated

func (_WOOPP *WOOPPFilterer) ParseParametersUpdated(log types.Log) (*WOOPPParametersUpdated, error)

ParseParametersUpdated is a log parse operation binding the contract event 0x5a1f36141a0cb942bd02bfae3796688b4c89d39ca58a36b286c71492a9b18012.

Solidity: event ParametersUpdated(address indexed baseToken, uint256 newThreshold, uint256 newR)

func (*WOOPPFilterer) ParsePaused

func (_WOOPP *WOOPPFilterer) ParsePaused(log types.Log) (*WOOPPPaused, error)

ParsePaused is a log parse operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.

Solidity: event Paused(address account)

func (*WOOPPFilterer) ParseRewardManagerUpdated

func (_WOOPP *WOOPPFilterer) ParseRewardManagerUpdated(log types.Log) (*WOOPPRewardManagerUpdated, error)

ParseRewardManagerUpdated is a log parse operation binding the contract event 0x3d94d9e8342a65edb95eef4f65059294d45e5192603632d8dddb2344e7078053.

Solidity: event RewardManagerUpdated(address indexed newRewardManager)

func (*WOOPPFilterer) ParseStrategistUpdated

func (_WOOPP *WOOPPFilterer) ParseStrategistUpdated(log types.Log) (*WOOPPStrategistUpdated, error)

ParseStrategistUpdated is a log parse operation binding the contract event 0xaee0e1c61a3f9668cbb6c91cbe9352a6cbb5334687e9dcf76655d72a23b942ce.

Solidity: event StrategistUpdated(address indexed strategist, bool flag)

func (*WOOPPFilterer) ParseUnpaused

func (_WOOPP *WOOPPFilterer) ParseUnpaused(log types.Log) (*WOOPPUnpaused, error)

ParseUnpaused is a log parse operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.

Solidity: event Unpaused(address account)

func (*WOOPPFilterer) ParseWithdraw

func (_WOOPP *WOOPPFilterer) ParseWithdraw(log types.Log) (*WOOPPWithdraw, error)

ParseWithdraw is a log parse operation binding the contract event 0x9b1bfa7fa9ee420a16e124f794c35ac9f90472acc99140eb2f6447c714cad8eb.

Solidity: event Withdraw(address indexed token, address indexed to, uint256 amount)

func (*WOOPPFilterer) ParseWooGuardianUpdated

func (_WOOPP *WOOPPFilterer) ParseWooGuardianUpdated(log types.Log) (*WOOPPWooGuardianUpdated, error)

ParseWooGuardianUpdated is a log parse operation binding the contract event 0x95543a0f1d7d53325b1264bff29b0cb8704c48f0da6e578463e10a951caf2ebb.

Solidity: event WooGuardianUpdated(address indexed newWooGuardian)

func (*WOOPPFilterer) ParseWooSwap

func (_WOOPP *WOOPPFilterer) ParseWooSwap(log types.Log) (*WOOPPWooSwap, error)

ParseWooSwap is a log parse operation binding the contract event 0x74ef34e2ea7c5d9f7b7ed44e97ad44b4303416c3a660c3fb5b3bdb95a1d6abd3.

Solidity: event WooSwap(address indexed fromToken, address indexed toToken, uint256 fromAmount, uint256 toAmount, address from, address indexed to, address rebateTo)

func (*WOOPPFilterer) ParseWooracleUpdated

func (_WOOPP *WOOPPFilterer) ParseWooracleUpdated(log types.Log) (*WOOPPWooracleUpdated, error)

ParseWooracleUpdated is a log parse operation binding the contract event 0x59ddfdd1bf7e3ea08a07e8aaa1fe2ce9c840fab69fe5ede6ea727a45eb42fc66.

Solidity: event WooracleUpdated(address indexed newWooracle)

func (*WOOPPFilterer) WatchFeeManagerUpdated

func (_WOOPP *WOOPPFilterer) WatchFeeManagerUpdated(opts *bind.WatchOpts, sink chan<- *WOOPPFeeManagerUpdated, newFeeManager []common.Address) (event.Subscription, error)

WatchFeeManagerUpdated is a free log subscription operation binding the contract event 0xe45f5e140399b0a7e12971ab020724b828fbed8ac408c420884dc7d1bbe506b4.

Solidity: event FeeManagerUpdated(address indexed newFeeManager)

func (*WOOPPFilterer) WatchOwnershipTransferPrepared

func (_WOOPP *WOOPPFilterer) WatchOwnershipTransferPrepared(opts *bind.WatchOpts, sink chan<- *WOOPPOwnershipTransferPrepared, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)

WatchOwnershipTransferPrepared is a free log subscription operation binding the contract event 0xdcf55418cee3220104fef63f979ff3c4097ad240c0c43dcb33ce837748983e62.

Solidity: event OwnershipTransferPrepared(address indexed previousOwner, address indexed newOwner)

func (*WOOPPFilterer) WatchOwnershipTransferred

func (_WOOPP *WOOPPFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *WOOPPOwnershipTransferred, 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 (*WOOPPFilterer) WatchParametersUpdated

func (_WOOPP *WOOPPFilterer) WatchParametersUpdated(opts *bind.WatchOpts, sink chan<- *WOOPPParametersUpdated, baseToken []common.Address) (event.Subscription, error)

WatchParametersUpdated is a free log subscription operation binding the contract event 0x5a1f36141a0cb942bd02bfae3796688b4c89d39ca58a36b286c71492a9b18012.

Solidity: event ParametersUpdated(address indexed baseToken, uint256 newThreshold, uint256 newR)

func (*WOOPPFilterer) WatchPaused

func (_WOOPP *WOOPPFilterer) WatchPaused(opts *bind.WatchOpts, sink chan<- *WOOPPPaused) (event.Subscription, error)

WatchPaused is a free log subscription operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.

Solidity: event Paused(address account)

func (*WOOPPFilterer) WatchRewardManagerUpdated

func (_WOOPP *WOOPPFilterer) WatchRewardManagerUpdated(opts *bind.WatchOpts, sink chan<- *WOOPPRewardManagerUpdated, newRewardManager []common.Address) (event.Subscription, error)

WatchRewardManagerUpdated is a free log subscription operation binding the contract event 0x3d94d9e8342a65edb95eef4f65059294d45e5192603632d8dddb2344e7078053.

Solidity: event RewardManagerUpdated(address indexed newRewardManager)

func (*WOOPPFilterer) WatchStrategistUpdated

func (_WOOPP *WOOPPFilterer) WatchStrategistUpdated(opts *bind.WatchOpts, sink chan<- *WOOPPStrategistUpdated, strategist []common.Address) (event.Subscription, error)

WatchStrategistUpdated is a free log subscription operation binding the contract event 0xaee0e1c61a3f9668cbb6c91cbe9352a6cbb5334687e9dcf76655d72a23b942ce.

Solidity: event StrategistUpdated(address indexed strategist, bool flag)

func (*WOOPPFilterer) WatchUnpaused

func (_WOOPP *WOOPPFilterer) WatchUnpaused(opts *bind.WatchOpts, sink chan<- *WOOPPUnpaused) (event.Subscription, error)

WatchUnpaused is a free log subscription operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.

Solidity: event Unpaused(address account)

func (*WOOPPFilterer) WatchWithdraw

func (_WOOPP *WOOPPFilterer) WatchWithdraw(opts *bind.WatchOpts, sink chan<- *WOOPPWithdraw, token []common.Address, to []common.Address) (event.Subscription, error)

WatchWithdraw is a free log subscription operation binding the contract event 0x9b1bfa7fa9ee420a16e124f794c35ac9f90472acc99140eb2f6447c714cad8eb.

Solidity: event Withdraw(address indexed token, address indexed to, uint256 amount)

func (*WOOPPFilterer) WatchWooGuardianUpdated

func (_WOOPP *WOOPPFilterer) WatchWooGuardianUpdated(opts *bind.WatchOpts, sink chan<- *WOOPPWooGuardianUpdated, newWooGuardian []common.Address) (event.Subscription, error)

WatchWooGuardianUpdated is a free log subscription operation binding the contract event 0x95543a0f1d7d53325b1264bff29b0cb8704c48f0da6e578463e10a951caf2ebb.

Solidity: event WooGuardianUpdated(address indexed newWooGuardian)

func (*WOOPPFilterer) WatchWooSwap

func (_WOOPP *WOOPPFilterer) WatchWooSwap(opts *bind.WatchOpts, sink chan<- *WOOPPWooSwap, fromToken []common.Address, toToken []common.Address, to []common.Address) (event.Subscription, error)

WatchWooSwap is a free log subscription operation binding the contract event 0x74ef34e2ea7c5d9f7b7ed44e97ad44b4303416c3a660c3fb5b3bdb95a1d6abd3.

Solidity: event WooSwap(address indexed fromToken, address indexed toToken, uint256 fromAmount, uint256 toAmount, address from, address indexed to, address rebateTo)

func (*WOOPPFilterer) WatchWooracleUpdated

func (_WOOPP *WOOPPFilterer) WatchWooracleUpdated(opts *bind.WatchOpts, sink chan<- *WOOPPWooracleUpdated, newWooracle []common.Address) (event.Subscription, error)

WatchWooracleUpdated is a free log subscription operation binding the contract event 0x59ddfdd1bf7e3ea08a07e8aaa1fe2ce9c840fab69fe5ede6ea727a45eb42fc66.

Solidity: event WooracleUpdated(address indexed newWooracle)

type WOOPPOwnershipTransferPrepared

type WOOPPOwnershipTransferPrepared struct {
	PreviousOwner common.Address
	NewOwner      common.Address
	Raw           types.Log // Blockchain specific contextual infos
}

WOOPPOwnershipTransferPrepared represents a OwnershipTransferPrepared event raised by the WOOPP contract.

type WOOPPOwnershipTransferPreparedIterator

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

WOOPPOwnershipTransferPreparedIterator is returned from FilterOwnershipTransferPrepared and is used to iterate over the raw logs and unpacked data for OwnershipTransferPrepared events raised by the WOOPP contract.

func (*WOOPPOwnershipTransferPreparedIterator) Close

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

func (*WOOPPOwnershipTransferPreparedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*WOOPPOwnershipTransferPreparedIterator) 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 WOOPPOwnershipTransferred

type WOOPPOwnershipTransferred struct {
	PreviousOwner common.Address
	NewOwner      common.Address
	Raw           types.Log // Blockchain specific contextual infos
}

WOOPPOwnershipTransferred represents a OwnershipTransferred event raised by the WOOPP contract.

type WOOPPOwnershipTransferredIterator

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

WOOPPOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the WOOPP contract.

func (*WOOPPOwnershipTransferredIterator) Close

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

func (*WOOPPOwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*WOOPPOwnershipTransferredIterator) 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 WOOPPParametersUpdated

type WOOPPParametersUpdated struct {
	BaseToken    common.Address
	NewThreshold *big.Int
	NewR         *big.Int
	Raw          types.Log // Blockchain specific contextual infos
}

WOOPPParametersUpdated represents a ParametersUpdated event raised by the WOOPP contract.

type WOOPPParametersUpdatedIterator

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

WOOPPParametersUpdatedIterator is returned from FilterParametersUpdated and is used to iterate over the raw logs and unpacked data for ParametersUpdated events raised by the WOOPP contract.

func (*WOOPPParametersUpdatedIterator) Close

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

func (*WOOPPParametersUpdatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*WOOPPParametersUpdatedIterator) 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 WOOPPPaused

type WOOPPPaused struct {
	Account common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

WOOPPPaused represents a Paused event raised by the WOOPP contract.

type WOOPPPausedIterator

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

WOOPPPausedIterator is returned from FilterPaused and is used to iterate over the raw logs and unpacked data for Paused events raised by the WOOPP contract.

func (*WOOPPPausedIterator) Close

func (it *WOOPPPausedIterator) Close() error

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

func (*WOOPPPausedIterator) Error

func (it *WOOPPPausedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*WOOPPPausedIterator) Next

func (it *WOOPPPausedIterator) 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 WOOPPRaw

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

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

func (*WOOPPRaw) Call

func (_WOOPP *WOOPPRaw) 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 (*WOOPPRaw) Transact

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

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

func (*WOOPPRaw) Transfer

func (_WOOPP *WOOPPRaw) 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 WOOPPRewardManagerUpdated

type WOOPPRewardManagerUpdated struct {
	NewRewardManager common.Address
	Raw              types.Log // Blockchain specific contextual infos
}

WOOPPRewardManagerUpdated represents a RewardManagerUpdated event raised by the WOOPP contract.

type WOOPPRewardManagerUpdatedIterator

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

WOOPPRewardManagerUpdatedIterator is returned from FilterRewardManagerUpdated and is used to iterate over the raw logs and unpacked data for RewardManagerUpdated events raised by the WOOPP contract.

func (*WOOPPRewardManagerUpdatedIterator) Close

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

func (*WOOPPRewardManagerUpdatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*WOOPPRewardManagerUpdatedIterator) 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 WOOPPSession

type WOOPPSession struct {
	Contract     *WOOPP            // 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
}

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

func (*WOOPPSession) AddBaseToken

func (_WOOPP *WOOPPSession) AddBaseToken(baseToken common.Address, threshold *big.Int, R *big.Int) (*types.Transaction, error)

AddBaseToken is a paid mutator transaction binding the contract method 0xdb77c0a1.

Solidity: function addBaseToken(address baseToken, uint256 threshold, uint256 R) returns()

func (*WOOPPSession) ClaimOwnership

func (_WOOPP *WOOPPSession) ClaimOwnership() (*types.Transaction, error)

ClaimOwnership is a paid mutator transaction binding the contract method 0x4e71e0c8.

Solidity: function claimOwnership() returns()

func (*WOOPPSession) FeeManager

func (_WOOPP *WOOPPSession) FeeManager() (common.Address, error)

FeeManager is a free data retrieval call binding the contract method 0xd0fb0203.

Solidity: function feeManager() view returns(address)

func (*WOOPPSession) InitOwner

func (_WOOPP *WOOPPSession) InitOwner(newOwner common.Address) (*types.Transaction, error)

InitOwner is a paid mutator transaction binding the contract method 0x0d009297.

Solidity: function initOwner(address newOwner) returns()

func (*WOOPPSession) IsStrategist

func (_WOOPP *WOOPPSession) IsStrategist(arg0 common.Address) (bool, error)

IsStrategist is a free data retrieval call binding the contract method 0x6734faee.

Solidity: function isStrategist(address ) view returns(bool)

func (*WOOPPSession) NEWOWNER

func (_WOOPP *WOOPPSession) NEWOWNER() (common.Address, error)

NEWOWNER is a free data retrieval call binding the contract method 0x8456db15.

Solidity: function _NEW_OWNER_() view returns(address)

func (*WOOPPSession) OWNER

func (_WOOPP *WOOPPSession) OWNER() (common.Address, error)

OWNER is a free data retrieval call binding the contract method 0x16048bc4.

Solidity: function _OWNER_() view returns(address)

func (*WOOPPSession) PairsInfo

func (_WOOPP *WOOPPSession) PairsInfo() (string, error)

PairsInfo is a free data retrieval call binding the contract method 0x3ef31236.

Solidity: function pairsInfo() view returns(string)

func (*WOOPPSession) Pause

func (_WOOPP *WOOPPSession) Pause() (*types.Transaction, error)

Pause is a paid mutator transaction binding the contract method 0x8456cb59.

Solidity: function pause() returns()

func (*WOOPPSession) Paused

func (_WOOPP *WOOPPSession) Paused() (bool, error)

Paused is a free data retrieval call binding the contract method 0x5c975abb.

Solidity: function paused() view returns(bool)

func (*WOOPPSession) PoolSize

func (_WOOPP *WOOPPSession) PoolSize(token common.Address) (*big.Int, error)

PoolSize is a free data retrieval call binding the contract method 0xfa75d160.

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

func (*WOOPPSession) QuerySellBase

func (_WOOPP *WOOPPSession) QuerySellBase(baseToken common.Address, baseAmount *big.Int) (*big.Int, error)

QuerySellBase is a free data retrieval call binding the contract method 0x79a04876.

Solidity: function querySellBase(address baseToken, uint256 baseAmount) view returns(uint256 quoteAmount)

func (*WOOPPSession) QuerySellQuote

func (_WOOPP *WOOPPSession) QuerySellQuote(baseToken common.Address, quoteAmount *big.Int) (*big.Int, error)

QuerySellQuote is a free data retrieval call binding the contract method 0x66410a21.

Solidity: function querySellQuote(address baseToken, uint256 quoteAmount) view returns(uint256 baseAmount)

func (*WOOPPSession) QuoteToken

func (_WOOPP *WOOPPSession) QuoteToken() (common.Address, error)

QuoteToken is a free data retrieval call binding the contract method 0x217a4b70.

Solidity: function quoteToken() view returns(address)

func (*WOOPPSession) RemoveBaseToken

func (_WOOPP *WOOPPSession) RemoveBaseToken(baseToken common.Address) (*types.Transaction, error)

RemoveBaseToken is a paid mutator transaction binding the contract method 0xbbd1e122.

Solidity: function removeBaseToken(address baseToken) returns()

func (*WOOPPSession) SellBase

func (_WOOPP *WOOPPSession) SellBase(baseToken common.Address, baseAmount *big.Int, minQuoteAmount *big.Int, to common.Address, rebateTo common.Address) (*types.Transaction, error)

SellBase is a paid mutator transaction binding the contract method 0x6846fb50.

Solidity: function sellBase(address baseToken, uint256 baseAmount, uint256 minQuoteAmount, address to, address rebateTo) returns(uint256 quoteAmount)

func (*WOOPPSession) SellQuote

func (_WOOPP *WOOPPSession) SellQuote(baseToken common.Address, quoteAmount *big.Int, minBaseAmount *big.Int, to common.Address, rebateTo common.Address) (*types.Transaction, error)

SellQuote is a paid mutator transaction binding the contract method 0xf3287c2f.

Solidity: function sellQuote(address baseToken, uint256 quoteAmount, uint256 minBaseAmount, address to, address rebateTo) returns(uint256 baseAmount)

func (*WOOPPSession) SetFeeManager

func (_WOOPP *WOOPPSession) SetFeeManager(newFeeManager common.Address) (*types.Transaction, error)

SetFeeManager is a paid mutator transaction binding the contract method 0x472d35b9.

Solidity: function setFeeManager(address newFeeManager) returns()

func (*WOOPPSession) SetPairsInfo

func (_WOOPP *WOOPPSession) SetPairsInfo(newPairsInfo string) (*types.Transaction, error)

SetPairsInfo is a paid mutator transaction binding the contract method 0xbec6c1c1.

Solidity: function setPairsInfo(string newPairsInfo) returns()

func (*WOOPPSession) SetStrategist

func (_WOOPP *WOOPPSession) SetStrategist(strategist common.Address, flag bool) (*types.Transaction, error)

SetStrategist is a paid mutator transaction binding the contract method 0x4c341e13.

Solidity: function setStrategist(address strategist, bool flag) returns()

func (*WOOPPSession) SetWooGuardian

func (_WOOPP *WOOPPSession) SetWooGuardian(newWooGuardian common.Address) (*types.Transaction, error)

SetWooGuardian is a paid mutator transaction binding the contract method 0x301ed02d.

Solidity: function setWooGuardian(address newWooGuardian) returns()

func (*WOOPPSession) SetWooracle

func (_WOOPP *WOOPPSession) SetWooracle(newWooracle common.Address) (*types.Transaction, error)

SetWooracle is a paid mutator transaction binding the contract method 0xa1ae8490.

Solidity: function setWooracle(address newWooracle) returns()

func (*WOOPPSession) TokenInfo

func (_WOOPP *WOOPPSession) TokenInfo(arg0 common.Address) (struct {
	Reserve            *big.Int
	Threshold          *big.Int
	LastResetTimestamp uint32
	R                  uint64
	Target             *big.Int
	IsValid            bool
}, error)

TokenInfo is a free data retrieval call binding the contract method 0xf5dab711.

Solidity: function tokenInfo(address ) view returns(uint112 reserve, uint112 threshold, uint32 lastResetTimestamp, uint64 R, uint112 target, bool isValid)

func (*WOOPPSession) TransferOwnership

func (_WOOPP *WOOPPSession) 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 (*WOOPPSession) TuneParameters

func (_WOOPP *WOOPPSession) TuneParameters(token common.Address, newThreshold *big.Int, newR *big.Int) (*types.Transaction, error)

TuneParameters is a paid mutator transaction binding the contract method 0x567b5d6d.

Solidity: function tuneParameters(address token, uint256 newThreshold, uint256 newR) returns()

func (*WOOPPSession) Unpause

func (_WOOPP *WOOPPSession) Unpause() (*types.Transaction, error)

Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.

Solidity: function unpause() returns()

func (*WOOPPSession) Withdraw

func (_WOOPP *WOOPPSession) Withdraw(token common.Address, to common.Address, amount *big.Int) (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0xd9caed12.

Solidity: function withdraw(address token, address to, uint256 amount) returns()

func (*WOOPPSession) WithdrawAll

func (_WOOPP *WOOPPSession) WithdrawAll(token common.Address, to common.Address) (*types.Transaction, error)

WithdrawAll is a paid mutator transaction binding the contract method 0x09cae2c8.

Solidity: function withdrawAll(address token, address to) returns()

func (*WOOPPSession) WithdrawAllToOwner

func (_WOOPP *WOOPPSession) WithdrawAllToOwner(token common.Address) (*types.Transaction, error)

WithdrawAllToOwner is a paid mutator transaction binding the contract method 0x48d9751e.

Solidity: function withdrawAllToOwner(address token) returns()

func (*WOOPPSession) WooGuardian

func (_WOOPP *WOOPPSession) WooGuardian() (common.Address, error)

WooGuardian is a free data retrieval call binding the contract method 0x3313429d.

Solidity: function wooGuardian() view returns(address)

func (*WOOPPSession) Wooracle

func (_WOOPP *WOOPPSession) Wooracle() (common.Address, error)

Wooracle is a free data retrieval call binding the contract method 0xbc8530f9.

Solidity: function wooracle() view returns(address)

type WOOPPStrategistUpdated

type WOOPPStrategistUpdated struct {
	Strategist common.Address
	Flag       bool
	Raw        types.Log // Blockchain specific contextual infos
}

WOOPPStrategistUpdated represents a StrategistUpdated event raised by the WOOPP contract.

type WOOPPStrategistUpdatedIterator

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

WOOPPStrategistUpdatedIterator is returned from FilterStrategistUpdated and is used to iterate over the raw logs and unpacked data for StrategistUpdated events raised by the WOOPP contract.

func (*WOOPPStrategistUpdatedIterator) Close

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

func (*WOOPPStrategistUpdatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*WOOPPStrategistUpdatedIterator) 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 WOOPPTransactor

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

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

func NewWOOPPTransactor

func NewWOOPPTransactor(address common.Address, transactor bind.ContractTransactor) (*WOOPPTransactor, error)

NewWOOPPTransactor creates a new write-only instance of WOOPP, bound to a specific deployed contract.

func (*WOOPPTransactor) AddBaseToken

func (_WOOPP *WOOPPTransactor) AddBaseToken(opts *bind.TransactOpts, baseToken common.Address, threshold *big.Int, R *big.Int) (*types.Transaction, error)

AddBaseToken is a paid mutator transaction binding the contract method 0xdb77c0a1.

Solidity: function addBaseToken(address baseToken, uint256 threshold, uint256 R) returns()

func (*WOOPPTransactor) ClaimOwnership

func (_WOOPP *WOOPPTransactor) ClaimOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

ClaimOwnership is a paid mutator transaction binding the contract method 0x4e71e0c8.

Solidity: function claimOwnership() returns()

func (*WOOPPTransactor) InitOwner

func (_WOOPP *WOOPPTransactor) InitOwner(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)

InitOwner is a paid mutator transaction binding the contract method 0x0d009297.

Solidity: function initOwner(address newOwner) returns()

func (*WOOPPTransactor) Pause

func (_WOOPP *WOOPPTransactor) Pause(opts *bind.TransactOpts) (*types.Transaction, error)

Pause is a paid mutator transaction binding the contract method 0x8456cb59.

Solidity: function pause() returns()

func (*WOOPPTransactor) RemoveBaseToken

func (_WOOPP *WOOPPTransactor) RemoveBaseToken(opts *bind.TransactOpts, baseToken common.Address) (*types.Transaction, error)

RemoveBaseToken is a paid mutator transaction binding the contract method 0xbbd1e122.

Solidity: function removeBaseToken(address baseToken) returns()

func (*WOOPPTransactor) SellBase

func (_WOOPP *WOOPPTransactor) SellBase(opts *bind.TransactOpts, baseToken common.Address, baseAmount *big.Int, minQuoteAmount *big.Int, to common.Address, rebateTo common.Address) (*types.Transaction, error)

SellBase is a paid mutator transaction binding the contract method 0x6846fb50.

Solidity: function sellBase(address baseToken, uint256 baseAmount, uint256 minQuoteAmount, address to, address rebateTo) returns(uint256 quoteAmount)

func (*WOOPPTransactor) SellQuote

func (_WOOPP *WOOPPTransactor) SellQuote(opts *bind.TransactOpts, baseToken common.Address, quoteAmount *big.Int, minBaseAmount *big.Int, to common.Address, rebateTo common.Address) (*types.Transaction, error)

SellQuote is a paid mutator transaction binding the contract method 0xf3287c2f.

Solidity: function sellQuote(address baseToken, uint256 quoteAmount, uint256 minBaseAmount, address to, address rebateTo) returns(uint256 baseAmount)

func (*WOOPPTransactor) SetFeeManager

func (_WOOPP *WOOPPTransactor) SetFeeManager(opts *bind.TransactOpts, newFeeManager common.Address) (*types.Transaction, error)

SetFeeManager is a paid mutator transaction binding the contract method 0x472d35b9.

Solidity: function setFeeManager(address newFeeManager) returns()

func (*WOOPPTransactor) SetPairsInfo

func (_WOOPP *WOOPPTransactor) SetPairsInfo(opts *bind.TransactOpts, newPairsInfo string) (*types.Transaction, error)

SetPairsInfo is a paid mutator transaction binding the contract method 0xbec6c1c1.

Solidity: function setPairsInfo(string newPairsInfo) returns()

func (*WOOPPTransactor) SetStrategist

func (_WOOPP *WOOPPTransactor) SetStrategist(opts *bind.TransactOpts, strategist common.Address, flag bool) (*types.Transaction, error)

SetStrategist is a paid mutator transaction binding the contract method 0x4c341e13.

Solidity: function setStrategist(address strategist, bool flag) returns()

func (*WOOPPTransactor) SetWooGuardian

func (_WOOPP *WOOPPTransactor) SetWooGuardian(opts *bind.TransactOpts, newWooGuardian common.Address) (*types.Transaction, error)

SetWooGuardian is a paid mutator transaction binding the contract method 0x301ed02d.

Solidity: function setWooGuardian(address newWooGuardian) returns()

func (*WOOPPTransactor) SetWooracle

func (_WOOPP *WOOPPTransactor) SetWooracle(opts *bind.TransactOpts, newWooracle common.Address) (*types.Transaction, error)

SetWooracle is a paid mutator transaction binding the contract method 0xa1ae8490.

Solidity: function setWooracle(address newWooracle) returns()

func (*WOOPPTransactor) TransferOwnership

func (_WOOPP *WOOPPTransactor) 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 (*WOOPPTransactor) TuneParameters

func (_WOOPP *WOOPPTransactor) TuneParameters(opts *bind.TransactOpts, token common.Address, newThreshold *big.Int, newR *big.Int) (*types.Transaction, error)

TuneParameters is a paid mutator transaction binding the contract method 0x567b5d6d.

Solidity: function tuneParameters(address token, uint256 newThreshold, uint256 newR) returns()

func (*WOOPPTransactor) Unpause

func (_WOOPP *WOOPPTransactor) Unpause(opts *bind.TransactOpts) (*types.Transaction, error)

Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.

Solidity: function unpause() returns()

func (*WOOPPTransactor) Withdraw

func (_WOOPP *WOOPPTransactor) Withdraw(opts *bind.TransactOpts, token common.Address, to common.Address, amount *big.Int) (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0xd9caed12.

Solidity: function withdraw(address token, address to, uint256 amount) returns()

func (*WOOPPTransactor) WithdrawAll

func (_WOOPP *WOOPPTransactor) WithdrawAll(opts *bind.TransactOpts, token common.Address, to common.Address) (*types.Transaction, error)

WithdrawAll is a paid mutator transaction binding the contract method 0x09cae2c8.

Solidity: function withdrawAll(address token, address to) returns()

func (*WOOPPTransactor) WithdrawAllToOwner

func (_WOOPP *WOOPPTransactor) WithdrawAllToOwner(opts *bind.TransactOpts, token common.Address) (*types.Transaction, error)

WithdrawAllToOwner is a paid mutator transaction binding the contract method 0x48d9751e.

Solidity: function withdrawAllToOwner(address token) returns()

type WOOPPTransactorRaw

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

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

func (*WOOPPTransactorRaw) Transact

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

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

func (*WOOPPTransactorRaw) Transfer

func (_WOOPP *WOOPPTransactorRaw) 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 WOOPPTransactorSession

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

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

func (*WOOPPTransactorSession) AddBaseToken

func (_WOOPP *WOOPPTransactorSession) AddBaseToken(baseToken common.Address, threshold *big.Int, R *big.Int) (*types.Transaction, error)

AddBaseToken is a paid mutator transaction binding the contract method 0xdb77c0a1.

Solidity: function addBaseToken(address baseToken, uint256 threshold, uint256 R) returns()

func (*WOOPPTransactorSession) ClaimOwnership

func (_WOOPP *WOOPPTransactorSession) ClaimOwnership() (*types.Transaction, error)

ClaimOwnership is a paid mutator transaction binding the contract method 0x4e71e0c8.

Solidity: function claimOwnership() returns()

func (*WOOPPTransactorSession) InitOwner

func (_WOOPP *WOOPPTransactorSession) InitOwner(newOwner common.Address) (*types.Transaction, error)

InitOwner is a paid mutator transaction binding the contract method 0x0d009297.

Solidity: function initOwner(address newOwner) returns()

func (*WOOPPTransactorSession) Pause

func (_WOOPP *WOOPPTransactorSession) Pause() (*types.Transaction, error)

Pause is a paid mutator transaction binding the contract method 0x8456cb59.

Solidity: function pause() returns()

func (*WOOPPTransactorSession) RemoveBaseToken

func (_WOOPP *WOOPPTransactorSession) RemoveBaseToken(baseToken common.Address) (*types.Transaction, error)

RemoveBaseToken is a paid mutator transaction binding the contract method 0xbbd1e122.

Solidity: function removeBaseToken(address baseToken) returns()

func (*WOOPPTransactorSession) SellBase

func (_WOOPP *WOOPPTransactorSession) SellBase(baseToken common.Address, baseAmount *big.Int, minQuoteAmount *big.Int, to common.Address, rebateTo common.Address) (*types.Transaction, error)

SellBase is a paid mutator transaction binding the contract method 0x6846fb50.

Solidity: function sellBase(address baseToken, uint256 baseAmount, uint256 minQuoteAmount, address to, address rebateTo) returns(uint256 quoteAmount)

func (*WOOPPTransactorSession) SellQuote

func (_WOOPP *WOOPPTransactorSession) SellQuote(baseToken common.Address, quoteAmount *big.Int, minBaseAmount *big.Int, to common.Address, rebateTo common.Address) (*types.Transaction, error)

SellQuote is a paid mutator transaction binding the contract method 0xf3287c2f.

Solidity: function sellQuote(address baseToken, uint256 quoteAmount, uint256 minBaseAmount, address to, address rebateTo) returns(uint256 baseAmount)

func (*WOOPPTransactorSession) SetFeeManager

func (_WOOPP *WOOPPTransactorSession) SetFeeManager(newFeeManager common.Address) (*types.Transaction, error)

SetFeeManager is a paid mutator transaction binding the contract method 0x472d35b9.

Solidity: function setFeeManager(address newFeeManager) returns()

func (*WOOPPTransactorSession) SetPairsInfo

func (_WOOPP *WOOPPTransactorSession) SetPairsInfo(newPairsInfo string) (*types.Transaction, error)

SetPairsInfo is a paid mutator transaction binding the contract method 0xbec6c1c1.

Solidity: function setPairsInfo(string newPairsInfo) returns()

func (*WOOPPTransactorSession) SetStrategist

func (_WOOPP *WOOPPTransactorSession) SetStrategist(strategist common.Address, flag bool) (*types.Transaction, error)

SetStrategist is a paid mutator transaction binding the contract method 0x4c341e13.

Solidity: function setStrategist(address strategist, bool flag) returns()

func (*WOOPPTransactorSession) SetWooGuardian

func (_WOOPP *WOOPPTransactorSession) SetWooGuardian(newWooGuardian common.Address) (*types.Transaction, error)

SetWooGuardian is a paid mutator transaction binding the contract method 0x301ed02d.

Solidity: function setWooGuardian(address newWooGuardian) returns()

func (*WOOPPTransactorSession) SetWooracle

func (_WOOPP *WOOPPTransactorSession) SetWooracle(newWooracle common.Address) (*types.Transaction, error)

SetWooracle is a paid mutator transaction binding the contract method 0xa1ae8490.

Solidity: function setWooracle(address newWooracle) returns()

func (*WOOPPTransactorSession) TransferOwnership

func (_WOOPP *WOOPPTransactorSession) 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 (*WOOPPTransactorSession) TuneParameters

func (_WOOPP *WOOPPTransactorSession) TuneParameters(token common.Address, newThreshold *big.Int, newR *big.Int) (*types.Transaction, error)

TuneParameters is a paid mutator transaction binding the contract method 0x567b5d6d.

Solidity: function tuneParameters(address token, uint256 newThreshold, uint256 newR) returns()

func (*WOOPPTransactorSession) Unpause

func (_WOOPP *WOOPPTransactorSession) Unpause() (*types.Transaction, error)

Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.

Solidity: function unpause() returns()

func (*WOOPPTransactorSession) Withdraw

func (_WOOPP *WOOPPTransactorSession) Withdraw(token common.Address, to common.Address, amount *big.Int) (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0xd9caed12.

Solidity: function withdraw(address token, address to, uint256 amount) returns()

func (*WOOPPTransactorSession) WithdrawAll

func (_WOOPP *WOOPPTransactorSession) WithdrawAll(token common.Address, to common.Address) (*types.Transaction, error)

WithdrawAll is a paid mutator transaction binding the contract method 0x09cae2c8.

Solidity: function withdrawAll(address token, address to) returns()

func (*WOOPPTransactorSession) WithdrawAllToOwner

func (_WOOPP *WOOPPTransactorSession) WithdrawAllToOwner(token common.Address) (*types.Transaction, error)

WithdrawAllToOwner is a paid mutator transaction binding the contract method 0x48d9751e.

Solidity: function withdrawAllToOwner(address token) returns()

type WOOPPUnpaused

type WOOPPUnpaused struct {
	Account common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

WOOPPUnpaused represents a Unpaused event raised by the WOOPP contract.

type WOOPPUnpausedIterator

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

WOOPPUnpausedIterator is returned from FilterUnpaused and is used to iterate over the raw logs and unpacked data for Unpaused events raised by the WOOPP contract.

func (*WOOPPUnpausedIterator) Close

func (it *WOOPPUnpausedIterator) Close() error

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

func (*WOOPPUnpausedIterator) Error

func (it *WOOPPUnpausedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*WOOPPUnpausedIterator) Next

func (it *WOOPPUnpausedIterator) 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 WOOPPWithdraw

type WOOPPWithdraw struct {
	Token  common.Address
	To     common.Address
	Amount *big.Int
	Raw    types.Log // Blockchain specific contextual infos
}

WOOPPWithdraw represents a Withdraw event raised by the WOOPP contract.

type WOOPPWithdrawIterator

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

WOOPPWithdrawIterator is returned from FilterWithdraw and is used to iterate over the raw logs and unpacked data for Withdraw events raised by the WOOPP contract.

func (*WOOPPWithdrawIterator) Close

func (it *WOOPPWithdrawIterator) Close() error

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

func (*WOOPPWithdrawIterator) Error

func (it *WOOPPWithdrawIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*WOOPPWithdrawIterator) Next

func (it *WOOPPWithdrawIterator) 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 WOOPPWooGuardianUpdated

type WOOPPWooGuardianUpdated struct {
	NewWooGuardian common.Address
	Raw            types.Log // Blockchain specific contextual infos
}

WOOPPWooGuardianUpdated represents a WooGuardianUpdated event raised by the WOOPP contract.

type WOOPPWooGuardianUpdatedIterator

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

WOOPPWooGuardianUpdatedIterator is returned from FilterWooGuardianUpdated and is used to iterate over the raw logs and unpacked data for WooGuardianUpdated events raised by the WOOPP contract.

func (*WOOPPWooGuardianUpdatedIterator) Close

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

func (*WOOPPWooGuardianUpdatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*WOOPPWooGuardianUpdatedIterator) 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 WOOPPWooSwap

type WOOPPWooSwap struct {
	FromToken  common.Address
	ToToken    common.Address
	FromAmount *big.Int
	ToAmount   *big.Int
	From       common.Address
	To         common.Address
	RebateTo   common.Address
	Raw        types.Log // Blockchain specific contextual infos
}

WOOPPWooSwap represents a WooSwap event raised by the WOOPP contract.

type WOOPPWooSwapIterator

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

WOOPPWooSwapIterator is returned from FilterWooSwap and is used to iterate over the raw logs and unpacked data for WooSwap events raised by the WOOPP contract.

func (*WOOPPWooSwapIterator) Close

func (it *WOOPPWooSwapIterator) Close() error

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

func (*WOOPPWooSwapIterator) Error

func (it *WOOPPWooSwapIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*WOOPPWooSwapIterator) Next

func (it *WOOPPWooSwapIterator) 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 WOOPPWooracleUpdated

type WOOPPWooracleUpdated struct {
	NewWooracle common.Address
	Raw         types.Log // Blockchain specific contextual infos
}

WOOPPWooracleUpdated represents a WooracleUpdated event raised by the WOOPP contract.

type WOOPPWooracleUpdatedIterator

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

WOOPPWooracleUpdatedIterator is returned from FilterWooracleUpdated and is used to iterate over the raw logs and unpacked data for WooracleUpdated events raised by the WOOPP contract.

func (*WOOPPWooracleUpdatedIterator) Close

func (it *WOOPPWooracleUpdatedIterator) Close() error

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

func (*WOOPPWooracleUpdatedIterator) Error

func (it *WOOPPWooracleUpdatedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*WOOPPWooracleUpdatedIterator) 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 Withdraw

type Withdraw struct {
	Ts          *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=ts,proto3" json:"ts,omitempty"`
	BlockNumber uint64                 `protobuf:"varint,2,opt,name=blockNumber,proto3" json:"blockNumber,omitempty"`
	Index       uint64                 `protobuf:"varint,3,opt,name=index,proto3" json:"index,omitempty"`
	TxHash      []byte                 `protobuf:"bytes,4,opt,name=txHash,proto3" json:"txHash,omitempty"`
	Token       []byte                 `protobuf:"bytes,5,opt,name=token,proto3" json:"token,omitempty"`
	To          []byte                 `protobuf:"bytes,6,opt,name=to,proto3" json:"to,omitempty"`
	Amount      []byte                 `protobuf:"bytes,7,opt,name=amount,proto3" json:"amount,omitempty"` // uint256
	// contains filtered or unexported fields
}

func (*Withdraw) Descriptor deprecated

func (*Withdraw) Descriptor() ([]byte, []int)

Deprecated: Use Withdraw.ProtoReflect.Descriptor instead.

func (*Withdraw) GetAmount

func (x *Withdraw) GetAmount() []byte

func (*Withdraw) GetBlockNumber

func (x *Withdraw) GetBlockNumber() uint64

func (*Withdraw) GetIndex

func (x *Withdraw) GetIndex() uint64

func (*Withdraw) GetTo

func (x *Withdraw) GetTo() []byte

func (*Withdraw) GetToken

func (x *Withdraw) GetToken() []byte

func (*Withdraw) GetTs

func (x *Withdraw) GetTs() *timestamppb.Timestamp

func (*Withdraw) GetTxHash

func (x *Withdraw) GetTxHash() []byte

func (*Withdraw) ProtoMessage

func (*Withdraw) ProtoMessage()

func (*Withdraw) ProtoReflect

func (x *Withdraw) ProtoReflect() protoreflect.Message

func (*Withdraw) Reset

func (x *Withdraw) Reset()

func (*Withdraw) String

func (x *Withdraw) String() string

type WooGuardianUpdated

type WooGuardianUpdated struct {
	Ts             *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=ts,proto3" json:"ts,omitempty"`
	BlockNumber    uint64                 `protobuf:"varint,2,opt,name=blockNumber,proto3" json:"blockNumber,omitempty"`
	Index          uint64                 `protobuf:"varint,3,opt,name=index,proto3" json:"index,omitempty"`
	TxHash         []byte                 `protobuf:"bytes,4,opt,name=txHash,proto3" json:"txHash,omitempty"`
	NewWooGuardian []byte                 `protobuf:"bytes,5,opt,name=newWooGuardian,proto3" json:"newWooGuardian,omitempty"`
	// contains filtered or unexported fields
}

func (*WooGuardianUpdated) Descriptor deprecated

func (*WooGuardianUpdated) Descriptor() ([]byte, []int)

Deprecated: Use WooGuardianUpdated.ProtoReflect.Descriptor instead.

func (*WooGuardianUpdated) GetBlockNumber

func (x *WooGuardianUpdated) GetBlockNumber() uint64

func (*WooGuardianUpdated) GetIndex

func (x *WooGuardianUpdated) GetIndex() uint64

func (*WooGuardianUpdated) GetNewWooGuardian

func (x *WooGuardianUpdated) GetNewWooGuardian() []byte

func (*WooGuardianUpdated) GetTs

func (*WooGuardianUpdated) GetTxHash

func (x *WooGuardianUpdated) GetTxHash() []byte

func (*WooGuardianUpdated) ProtoMessage

func (*WooGuardianUpdated) ProtoMessage()

func (*WooGuardianUpdated) ProtoReflect

func (x *WooGuardianUpdated) ProtoReflect() protoreflect.Message

func (*WooGuardianUpdated) Reset

func (x *WooGuardianUpdated) Reset()

func (*WooGuardianUpdated) String

func (x *WooGuardianUpdated) String() string

type WooSwap

type WooSwap struct {
	Ts          *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=ts,proto3" json:"ts,omitempty"`
	BlockNumber uint64                 `protobuf:"varint,2,opt,name=blockNumber,proto3" json:"blockNumber,omitempty"`
	Index       uint64                 `protobuf:"varint,3,opt,name=index,proto3" json:"index,omitempty"`
	TxHash      []byte                 `protobuf:"bytes,4,opt,name=txHash,proto3" json:"txHash,omitempty"`
	FromToken   []byte                 `protobuf:"bytes,5,opt,name=fromToken,proto3" json:"fromToken,omitempty"`
	ToToken     []byte                 `protobuf:"bytes,6,opt,name=toToken,proto3" json:"toToken,omitempty"`
	FromAmount  []byte                 `protobuf:"bytes,7,opt,name=fromAmount,proto3" json:"fromAmount,omitempty"` // uint256
	ToAmount    []byte                 `protobuf:"bytes,8,opt,name=toAmount,proto3" json:"toAmount,omitempty"`     // uint256
	From        []byte                 `protobuf:"bytes,9,opt,name=from,proto3" json:"from,omitempty"`
	To          []byte                 `protobuf:"bytes,10,opt,name=to,proto3" json:"to,omitempty"`
	RebateTo    []byte                 `protobuf:"bytes,11,opt,name=rebateTo,proto3" json:"rebateTo,omitempty"`
	// contains filtered or unexported fields
}

func (*WooSwap) Descriptor deprecated

func (*WooSwap) Descriptor() ([]byte, []int)

Deprecated: Use WooSwap.ProtoReflect.Descriptor instead.

func (*WooSwap) GetBlockNumber

func (x *WooSwap) GetBlockNumber() uint64

func (*WooSwap) GetFrom

func (x *WooSwap) GetFrom() []byte

func (*WooSwap) GetFromAmount

func (x *WooSwap) GetFromAmount() []byte

func (*WooSwap) GetFromToken

func (x *WooSwap) GetFromToken() []byte

func (*WooSwap) GetIndex

func (x *WooSwap) GetIndex() uint64

func (*WooSwap) GetRebateTo

func (x *WooSwap) GetRebateTo() []byte

func (*WooSwap) GetTo

func (x *WooSwap) GetTo() []byte

func (*WooSwap) GetToAmount

func (x *WooSwap) GetToAmount() []byte

func (*WooSwap) GetToToken

func (x *WooSwap) GetToToken() []byte

func (*WooSwap) GetTs

func (x *WooSwap) GetTs() *timestamppb.Timestamp

func (*WooSwap) GetTxHash

func (x *WooSwap) GetTxHash() []byte

func (*WooSwap) ProtoMessage

func (*WooSwap) ProtoMessage()

func (*WooSwap) ProtoReflect

func (x *WooSwap) ProtoReflect() protoreflect.Message

func (*WooSwap) Reset

func (x *WooSwap) Reset()

func (*WooSwap) String

func (x *WooSwap) String() string

type WooracleUpdated

type WooracleUpdated struct {
	Ts          *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=ts,proto3" json:"ts,omitempty"`
	BlockNumber uint64                 `protobuf:"varint,2,opt,name=blockNumber,proto3" json:"blockNumber,omitempty"`
	Index       uint64                 `protobuf:"varint,3,opt,name=index,proto3" json:"index,omitempty"`
	TxHash      []byte                 `protobuf:"bytes,4,opt,name=txHash,proto3" json:"txHash,omitempty"`
	NewWooracle []byte                 `protobuf:"bytes,5,opt,name=newWooracle,proto3" json:"newWooracle,omitempty"`
	// contains filtered or unexported fields
}

func (*WooracleUpdated) Descriptor deprecated

func (*WooracleUpdated) Descriptor() ([]byte, []int)

Deprecated: Use WooracleUpdated.ProtoReflect.Descriptor instead.

func (*WooracleUpdated) GetBlockNumber

func (x *WooracleUpdated) GetBlockNumber() uint64

func (*WooracleUpdated) GetIndex

func (x *WooracleUpdated) GetIndex() uint64

func (*WooracleUpdated) GetNewWooracle

func (x *WooracleUpdated) GetNewWooracle() []byte

func (*WooracleUpdated) GetTs

func (*WooracleUpdated) GetTxHash

func (x *WooracleUpdated) GetTxHash() []byte

func (*WooracleUpdated) ProtoMessage

func (*WooracleUpdated) ProtoMessage()

func (*WooracleUpdated) ProtoReflect

func (x *WooracleUpdated) ProtoReflect() protoreflect.Message

func (*WooracleUpdated) Reset

func (x *WooracleUpdated) Reset()

func (*WooracleUpdated) String

func (x *WooracleUpdated) String() string

Jump to

Keyboard shortcuts

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