special

package
v1.2.1-rc-17 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2021 License: GPL-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const SpecialABI = "" /* 10410-byte string literal not displayed */

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

Variables

This section is empty.

Functions

This section is empty.

Types

type Special

type Special struct {
	SpecialCaller     // Read-only binding to the contract
	SpecialTransactor // Write-only binding to the contract
	SpecialFilterer   // Log filterer for contract events
}

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

func NewSpecial

func NewSpecial(address common.Address, backend bind.ContractBackend) (*Special, error)

NewSpecial creates a new instance of Special, bound to a specific deployed contract.

type SpecialAddLiquidity

type SpecialAddLiquidity struct {
	Provider     common.Address
	TokenAmounts [2]*big.Int
	Fees         [2]*big.Int
	Invariant    *big.Int
	TokenSupply  *big.Int
	Raw          types.Log // Blockchain specific contextual infos
}

SpecialAddLiquidity represents a AddLiquidity event raised by the Special contract.

type SpecialAddLiquidityIterator

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

SpecialAddLiquidityIterator is returned from FilterAddLiquidity and is used to iterate over the raw logs and unpacked data for AddLiquidity events raised by the Special contract.

func (*SpecialAddLiquidityIterator) Close

func (it *SpecialAddLiquidityIterator) Close() error

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

func (*SpecialAddLiquidityIterator) Error

func (it *SpecialAddLiquidityIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*SpecialAddLiquidityIterator) Next

func (it *SpecialAddLiquidityIterator) 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 SpecialCaller

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

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

func NewSpecialCaller

func NewSpecialCaller(address common.Address, caller bind.ContractCaller) (*SpecialCaller, error)

NewSpecialCaller creates a new read-only instance of Special, bound to a specific deployed contract.

func (*SpecialCaller) A

func (_Special *SpecialCaller) A(opts *bind.CallOpts) (*big.Int, error)

A is a free data retrieval call binding the contract method 0xf446c1d0.

Solidity: function A() view returns(uint256)

func (*SpecialCaller) AdminActionsDeadline

func (_Special *SpecialCaller) AdminActionsDeadline(opts *bind.CallOpts) (*big.Int, error)

AdminActionsDeadline is a free data retrieval call binding the contract method 0x405e28f8.

Solidity: function admin_actions_deadline() view returns(uint256)

func (*SpecialCaller) AdminBalances

func (_Special *SpecialCaller) AdminBalances(opts *bind.CallOpts, i *big.Int) (*big.Int, error)

AdminBalances is a free data retrieval call binding the contract method 0xe2e7d264.

Solidity: function admin_balances(uint256 i) view returns(uint256)

func (*SpecialCaller) AdminFee

func (_Special *SpecialCaller) AdminFee(opts *bind.CallOpts) (*big.Int, error)

AdminFee is a free data retrieval call binding the contract method 0xfee3f7f9.

Solidity: function admin_fee() view returns(uint256)

func (*SpecialCaller) Balances

func (_Special *SpecialCaller) Balances(opts *bind.CallOpts, arg0 *big.Int) (*big.Int, error)

Balances is a free data retrieval call binding the contract method 0x4903b0d1.

Solidity: function balances(uint256 arg0) view returns(uint256)

func (*SpecialCaller) CalcTokenAmount

func (_Special *SpecialCaller) CalcTokenAmount(opts *bind.CallOpts, amounts [2]*big.Int, deposit bool) (*big.Int, error)

CalcTokenAmount is a free data retrieval call binding the contract method 0xed8e84f3.

Solidity: function calc_token_amount(uint256[2] amounts, bool deposit) view returns(uint256)

func (*SpecialCaller) CalcWithdrawOneCoin

func (_Special *SpecialCaller) CalcWithdrawOneCoin(opts *bind.CallOpts, _token_amount *big.Int, i *big.Int) (*big.Int, error)

CalcWithdrawOneCoin is a free data retrieval call binding the contract method 0xcc2b27d7.

Solidity: function calc_withdraw_one_coin(uint256 _token_amount, int128 i) view returns(uint256)

func (*SpecialCaller) Coins

func (_Special *SpecialCaller) Coins(opts *bind.CallOpts, arg0 *big.Int) (common.Address, error)

Coins is a free data retrieval call binding the contract method 0xc6610657.

Solidity: function coins(uint256 arg0) view returns(address)

func (*SpecialCaller) Fee

func (_Special *SpecialCaller) Fee(opts *bind.CallOpts) (*big.Int, error)

Fee is a free data retrieval call binding the contract method 0xddca3f43.

Solidity: function fee() view returns(uint256)

func (*SpecialCaller) FutureA

func (_Special *SpecialCaller) FutureA(opts *bind.CallOpts) (*big.Int, error)

FutureA is a free data retrieval call binding the contract method 0xb4b577ad.

Solidity: function future_A() view returns(uint256)

func (*SpecialCaller) FutureATime

func (_Special *SpecialCaller) FutureATime(opts *bind.CallOpts) (*big.Int, error)

FutureATime is a free data retrieval call binding the contract method 0x14052288.

Solidity: function future_A_time() view returns(uint256)

func (*SpecialCaller) FutureAdminFee

func (_Special *SpecialCaller) FutureAdminFee(opts *bind.CallOpts) (*big.Int, error)

FutureAdminFee is a free data retrieval call binding the contract method 0xe3824462.

Solidity: function future_admin_fee() view returns(uint256)

func (*SpecialCaller) FutureFee

func (_Special *SpecialCaller) FutureFee(opts *bind.CallOpts) (*big.Int, error)

FutureFee is a free data retrieval call binding the contract method 0x58680d0b.

Solidity: function future_fee() view returns(uint256)

func (*SpecialCaller) FutureOwner

func (_Special *SpecialCaller) FutureOwner(opts *bind.CallOpts) (common.Address, error)

FutureOwner is a free data retrieval call binding the contract method 0x1ec0cdc1.

Solidity: function future_owner() view returns(address)

func (*SpecialCaller) GetDy

func (_Special *SpecialCaller) GetDy(opts *bind.CallOpts, i *big.Int, j *big.Int, dx *big.Int) (*big.Int, error)

GetDy is a free data retrieval call binding the contract method 0x5e0d443f.

Solidity: function get_dy(int128 i, int128 j, uint256 dx) view returns(uint256)

func (*SpecialCaller) GetDyUnderlying

func (_Special *SpecialCaller) GetDyUnderlying(opts *bind.CallOpts, i *big.Int, j *big.Int, dx *big.Int) (*big.Int, error)

GetDyUnderlying is a free data retrieval call binding the contract method 0x07211ef7.

Solidity: function get_dy_underlying(int128 i, int128 j, uint256 dx) view returns(uint256)

func (*SpecialCaller) GetVirtualPrice

func (_Special *SpecialCaller) GetVirtualPrice(opts *bind.CallOpts) (*big.Int, error)

GetVirtualPrice is a free data retrieval call binding the contract method 0xbb7b8b80.

Solidity: function get_virtual_price() view returns(uint256)

func (*SpecialCaller) InitialA

func (_Special *SpecialCaller) InitialA(opts *bind.CallOpts) (*big.Int, error)

InitialA is a free data retrieval call binding the contract method 0x5409491a.

Solidity: function initial_A() view returns(uint256)

func (*SpecialCaller) InitialATime

func (_Special *SpecialCaller) InitialATime(opts *bind.CallOpts) (*big.Int, error)

InitialATime is a free data retrieval call binding the contract method 0x2081066c.

Solidity: function initial_A_time() view returns(uint256)

func (*SpecialCaller) Owner

func (_Special *SpecialCaller) Owner(opts *bind.CallOpts) (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*SpecialCaller) TransferOwnershipDeadline

func (_Special *SpecialCaller) TransferOwnershipDeadline(opts *bind.CallOpts) (*big.Int, error)

TransferOwnershipDeadline is a free data retrieval call binding the contract method 0xe0a0b586.

Solidity: function transfer_ownership_deadline() view returns(uint256)

type SpecialCallerRaw

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

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

func (*SpecialCallerRaw) Call

func (_Special *SpecialCallerRaw) 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 SpecialCallerSession

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

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

func (*SpecialCallerSession) A

func (_Special *SpecialCallerSession) A() (*big.Int, error)

A is a free data retrieval call binding the contract method 0xf446c1d0.

Solidity: function A() view returns(uint256)

func (*SpecialCallerSession) AdminActionsDeadline

func (_Special *SpecialCallerSession) AdminActionsDeadline() (*big.Int, error)

AdminActionsDeadline is a free data retrieval call binding the contract method 0x405e28f8.

Solidity: function admin_actions_deadline() view returns(uint256)

func (*SpecialCallerSession) AdminBalances

func (_Special *SpecialCallerSession) AdminBalances(i *big.Int) (*big.Int, error)

AdminBalances is a free data retrieval call binding the contract method 0xe2e7d264.

Solidity: function admin_balances(uint256 i) view returns(uint256)

func (*SpecialCallerSession) AdminFee

func (_Special *SpecialCallerSession) AdminFee() (*big.Int, error)

AdminFee is a free data retrieval call binding the contract method 0xfee3f7f9.

Solidity: function admin_fee() view returns(uint256)

func (*SpecialCallerSession) Balances

func (_Special *SpecialCallerSession) Balances(arg0 *big.Int) (*big.Int, error)

Balances is a free data retrieval call binding the contract method 0x4903b0d1.

Solidity: function balances(uint256 arg0) view returns(uint256)

func (*SpecialCallerSession) CalcTokenAmount

func (_Special *SpecialCallerSession) CalcTokenAmount(amounts [2]*big.Int, deposit bool) (*big.Int, error)

CalcTokenAmount is a free data retrieval call binding the contract method 0xed8e84f3.

Solidity: function calc_token_amount(uint256[2] amounts, bool deposit) view returns(uint256)

func (*SpecialCallerSession) CalcWithdrawOneCoin

func (_Special *SpecialCallerSession) CalcWithdrawOneCoin(_token_amount *big.Int, i *big.Int) (*big.Int, error)

CalcWithdrawOneCoin is a free data retrieval call binding the contract method 0xcc2b27d7.

Solidity: function calc_withdraw_one_coin(uint256 _token_amount, int128 i) view returns(uint256)

func (*SpecialCallerSession) Coins

func (_Special *SpecialCallerSession) Coins(arg0 *big.Int) (common.Address, error)

Coins is a free data retrieval call binding the contract method 0xc6610657.

Solidity: function coins(uint256 arg0) view returns(address)

func (*SpecialCallerSession) Fee

func (_Special *SpecialCallerSession) Fee() (*big.Int, error)

Fee is a free data retrieval call binding the contract method 0xddca3f43.

Solidity: function fee() view returns(uint256)

func (*SpecialCallerSession) FutureA

func (_Special *SpecialCallerSession) FutureA() (*big.Int, error)

FutureA is a free data retrieval call binding the contract method 0xb4b577ad.

Solidity: function future_A() view returns(uint256)

func (*SpecialCallerSession) FutureATime

func (_Special *SpecialCallerSession) FutureATime() (*big.Int, error)

FutureATime is a free data retrieval call binding the contract method 0x14052288.

Solidity: function future_A_time() view returns(uint256)

func (*SpecialCallerSession) FutureAdminFee

func (_Special *SpecialCallerSession) FutureAdminFee() (*big.Int, error)

FutureAdminFee is a free data retrieval call binding the contract method 0xe3824462.

Solidity: function future_admin_fee() view returns(uint256)

func (*SpecialCallerSession) FutureFee

func (_Special *SpecialCallerSession) FutureFee() (*big.Int, error)

FutureFee is a free data retrieval call binding the contract method 0x58680d0b.

Solidity: function future_fee() view returns(uint256)

func (*SpecialCallerSession) FutureOwner

func (_Special *SpecialCallerSession) FutureOwner() (common.Address, error)

FutureOwner is a free data retrieval call binding the contract method 0x1ec0cdc1.

Solidity: function future_owner() view returns(address)

func (*SpecialCallerSession) GetDy

func (_Special *SpecialCallerSession) GetDy(i *big.Int, j *big.Int, dx *big.Int) (*big.Int, error)

GetDy is a free data retrieval call binding the contract method 0x5e0d443f.

Solidity: function get_dy(int128 i, int128 j, uint256 dx) view returns(uint256)

func (*SpecialCallerSession) GetDyUnderlying

func (_Special *SpecialCallerSession) GetDyUnderlying(i *big.Int, j *big.Int, dx *big.Int) (*big.Int, error)

GetDyUnderlying is a free data retrieval call binding the contract method 0x07211ef7.

Solidity: function get_dy_underlying(int128 i, int128 j, uint256 dx) view returns(uint256)

func (*SpecialCallerSession) GetVirtualPrice

func (_Special *SpecialCallerSession) GetVirtualPrice() (*big.Int, error)

GetVirtualPrice is a free data retrieval call binding the contract method 0xbb7b8b80.

Solidity: function get_virtual_price() view returns(uint256)

func (*SpecialCallerSession) InitialA

func (_Special *SpecialCallerSession) InitialA() (*big.Int, error)

InitialA is a free data retrieval call binding the contract method 0x5409491a.

Solidity: function initial_A() view returns(uint256)

func (*SpecialCallerSession) InitialATime

func (_Special *SpecialCallerSession) InitialATime() (*big.Int, error)

InitialATime is a free data retrieval call binding the contract method 0x2081066c.

Solidity: function initial_A_time() view returns(uint256)

func (*SpecialCallerSession) Owner

func (_Special *SpecialCallerSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*SpecialCallerSession) TransferOwnershipDeadline

func (_Special *SpecialCallerSession) TransferOwnershipDeadline() (*big.Int, error)

TransferOwnershipDeadline is a free data retrieval call binding the contract method 0xe0a0b586.

Solidity: function transfer_ownership_deadline() view returns(uint256)

type SpecialCommitNewAdmin

type SpecialCommitNewAdmin struct {
	Deadline *big.Int
	Admin    common.Address
	Raw      types.Log // Blockchain specific contextual infos
}

SpecialCommitNewAdmin represents a CommitNewAdmin event raised by the Special contract.

type SpecialCommitNewAdminIterator

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

SpecialCommitNewAdminIterator is returned from FilterCommitNewAdmin and is used to iterate over the raw logs and unpacked data for CommitNewAdmin events raised by the Special contract.

func (*SpecialCommitNewAdminIterator) Close

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

func (*SpecialCommitNewAdminIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*SpecialCommitNewAdminIterator) 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 SpecialCommitNewFee

type SpecialCommitNewFee struct {
	Deadline *big.Int
	Fee      *big.Int
	AdminFee *big.Int
	Raw      types.Log // Blockchain specific contextual infos
}

SpecialCommitNewFee represents a CommitNewFee event raised by the Special contract.

type SpecialCommitNewFeeIterator

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

SpecialCommitNewFeeIterator is returned from FilterCommitNewFee and is used to iterate over the raw logs and unpacked data for CommitNewFee events raised by the Special contract.

func (*SpecialCommitNewFeeIterator) Close

func (it *SpecialCommitNewFeeIterator) Close() error

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

func (*SpecialCommitNewFeeIterator) Error

func (it *SpecialCommitNewFeeIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*SpecialCommitNewFeeIterator) Next

func (it *SpecialCommitNewFeeIterator) 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 SpecialFilterer

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

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

func NewSpecialFilterer

func NewSpecialFilterer(address common.Address, filterer bind.ContractFilterer) (*SpecialFilterer, error)

NewSpecialFilterer creates a new log filterer instance of Special, bound to a specific deployed contract.

func (*SpecialFilterer) FilterAddLiquidity

func (_Special *SpecialFilterer) FilterAddLiquidity(opts *bind.FilterOpts, provider []common.Address) (*SpecialAddLiquidityIterator, error)

FilterAddLiquidity is a free log retrieval operation binding the contract event 0x26f55a85081d24974e85c6c00045d0f0453991e95873f52bff0d21af4079a768.

Solidity: event AddLiquidity(address indexed provider, uint256[2] token_amounts, uint256[2] fees, uint256 invariant, uint256 token_supply)

func (*SpecialFilterer) FilterCommitNewAdmin

func (_Special *SpecialFilterer) FilterCommitNewAdmin(opts *bind.FilterOpts, deadline []*big.Int, admin []common.Address) (*SpecialCommitNewAdminIterator, error)

FilterCommitNewAdmin is a free log retrieval operation binding the contract event 0x181aa3aa17d4cbf99265dd4443eba009433d3cde79d60164fde1d1a192beb935.

Solidity: event CommitNewAdmin(uint256 indexed deadline, address indexed admin)

func (*SpecialFilterer) FilterCommitNewFee

func (_Special *SpecialFilterer) FilterCommitNewFee(opts *bind.FilterOpts, deadline []*big.Int) (*SpecialCommitNewFeeIterator, error)

FilterCommitNewFee is a free log retrieval operation binding the contract event 0x351fc5da2fbf480f2225debf3664a4bc90fa9923743aad58b4603f648e931fe0.

Solidity: event CommitNewFee(uint256 indexed deadline, uint256 fee, uint256 admin_fee)

func (*SpecialFilterer) FilterNewAdmin

func (_Special *SpecialFilterer) FilterNewAdmin(opts *bind.FilterOpts, admin []common.Address) (*SpecialNewAdminIterator, error)

FilterNewAdmin is a free log retrieval operation binding the contract event 0x71614071b88dee5e0b2ae578a9dd7b2ebbe9ae832ba419dc0242cd065a290b6c.

Solidity: event NewAdmin(address indexed admin)

func (*SpecialFilterer) FilterNewFee

func (_Special *SpecialFilterer) FilterNewFee(opts *bind.FilterOpts) (*SpecialNewFeeIterator, error)

FilterNewFee is a free log retrieval operation binding the contract event 0xbe12859b636aed607d5230b2cc2711f68d70e51060e6cca1f575ef5d2fcc95d1.

Solidity: event NewFee(uint256 fee, uint256 admin_fee)

func (*SpecialFilterer) FilterRampA

func (_Special *SpecialFilterer) FilterRampA(opts *bind.FilterOpts) (*SpecialRampAIterator, error)

FilterRampA is a free log retrieval operation binding the contract event 0xa2b71ec6df949300b59aab36b55e189697b750119dd349fcfa8c0f779e83c254.

Solidity: event RampA(uint256 old_A, uint256 new_A, uint256 initial_time, uint256 future_time)

func (*SpecialFilterer) FilterRemoveLiquidity

func (_Special *SpecialFilterer) FilterRemoveLiquidity(opts *bind.FilterOpts, provider []common.Address) (*SpecialRemoveLiquidityIterator, error)

FilterRemoveLiquidity is a free log retrieval operation binding the contract event 0x7c363854ccf79623411f8995b362bce5eddff18c927edc6f5dbbb5e05819a82c.

Solidity: event RemoveLiquidity(address indexed provider, uint256[2] token_amounts, uint256[2] fees, uint256 token_supply)

func (*SpecialFilterer) FilterRemoveLiquidityImbalance

func (_Special *SpecialFilterer) FilterRemoveLiquidityImbalance(opts *bind.FilterOpts, provider []common.Address) (*SpecialRemoveLiquidityImbalanceIterator, error)

FilterRemoveLiquidityImbalance is a free log retrieval operation binding the contract event 0x2b5508378d7e19e0d5fa338419034731416c4f5b219a10379956f764317fd47e.

Solidity: event RemoveLiquidityImbalance(address indexed provider, uint256[2] token_amounts, uint256[2] fees, uint256 invariant, uint256 token_supply)

func (*SpecialFilterer) FilterRemoveLiquidityOne

func (_Special *SpecialFilterer) FilterRemoveLiquidityOne(opts *bind.FilterOpts, provider []common.Address) (*SpecialRemoveLiquidityOneIterator, error)

FilterRemoveLiquidityOne is a free log retrieval operation binding the contract event 0x9e96dd3b997a2a257eec4df9bb6eaf626e206df5f543bd963682d143300be310.

Solidity: event RemoveLiquidityOne(address indexed provider, uint256 token_amount, uint256 coin_amount)

func (*SpecialFilterer) FilterStopRampA

func (_Special *SpecialFilterer) FilterStopRampA(opts *bind.FilterOpts) (*SpecialStopRampAIterator, error)

FilterStopRampA is a free log retrieval operation binding the contract event 0x46e22fb3709ad289f62ce63d469248536dbc78d82b84a3d7e74ad606dc201938.

Solidity: event StopRampA(uint256 A, uint256 t)

func (*SpecialFilterer) FilterTokenExchange

func (_Special *SpecialFilterer) FilterTokenExchange(opts *bind.FilterOpts, buyer []common.Address) (*SpecialTokenExchangeIterator, error)

FilterTokenExchange is a free log retrieval operation binding the contract event 0x8b3e96f2b889fa771c53c981b40daf005f63f637f1869f707052d15a3dd97140.

Solidity: event TokenExchange(address indexed buyer, int128 sold_id, uint256 tokens_sold, int128 bought_id, uint256 tokens_bought)

func (*SpecialFilterer) ParseAddLiquidity

func (_Special *SpecialFilterer) ParseAddLiquidity(log types.Log) (*SpecialAddLiquidity, error)

ParseAddLiquidity is a log parse operation binding the contract event 0x26f55a85081d24974e85c6c00045d0f0453991e95873f52bff0d21af4079a768.

Solidity: event AddLiquidity(address indexed provider, uint256[2] token_amounts, uint256[2] fees, uint256 invariant, uint256 token_supply)

func (*SpecialFilterer) ParseCommitNewAdmin

func (_Special *SpecialFilterer) ParseCommitNewAdmin(log types.Log) (*SpecialCommitNewAdmin, error)

ParseCommitNewAdmin is a log parse operation binding the contract event 0x181aa3aa17d4cbf99265dd4443eba009433d3cde79d60164fde1d1a192beb935.

Solidity: event CommitNewAdmin(uint256 indexed deadline, address indexed admin)

func (*SpecialFilterer) ParseCommitNewFee

func (_Special *SpecialFilterer) ParseCommitNewFee(log types.Log) (*SpecialCommitNewFee, error)

ParseCommitNewFee is a log parse operation binding the contract event 0x351fc5da2fbf480f2225debf3664a4bc90fa9923743aad58b4603f648e931fe0.

Solidity: event CommitNewFee(uint256 indexed deadline, uint256 fee, uint256 admin_fee)

func (*SpecialFilterer) ParseNewAdmin

func (_Special *SpecialFilterer) ParseNewAdmin(log types.Log) (*SpecialNewAdmin, error)

ParseNewAdmin is a log parse operation binding the contract event 0x71614071b88dee5e0b2ae578a9dd7b2ebbe9ae832ba419dc0242cd065a290b6c.

Solidity: event NewAdmin(address indexed admin)

func (*SpecialFilterer) ParseNewFee

func (_Special *SpecialFilterer) ParseNewFee(log types.Log) (*SpecialNewFee, error)

ParseNewFee is a log parse operation binding the contract event 0xbe12859b636aed607d5230b2cc2711f68d70e51060e6cca1f575ef5d2fcc95d1.

Solidity: event NewFee(uint256 fee, uint256 admin_fee)

func (*SpecialFilterer) ParseRampA

func (_Special *SpecialFilterer) ParseRampA(log types.Log) (*SpecialRampA, error)

ParseRampA is a log parse operation binding the contract event 0xa2b71ec6df949300b59aab36b55e189697b750119dd349fcfa8c0f779e83c254.

Solidity: event RampA(uint256 old_A, uint256 new_A, uint256 initial_time, uint256 future_time)

func (*SpecialFilterer) ParseRemoveLiquidity

func (_Special *SpecialFilterer) ParseRemoveLiquidity(log types.Log) (*SpecialRemoveLiquidity, error)

ParseRemoveLiquidity is a log parse operation binding the contract event 0x7c363854ccf79623411f8995b362bce5eddff18c927edc6f5dbbb5e05819a82c.

Solidity: event RemoveLiquidity(address indexed provider, uint256[2] token_amounts, uint256[2] fees, uint256 token_supply)

func (*SpecialFilterer) ParseRemoveLiquidityImbalance

func (_Special *SpecialFilterer) ParseRemoveLiquidityImbalance(log types.Log) (*SpecialRemoveLiquidityImbalance, error)

ParseRemoveLiquidityImbalance is a log parse operation binding the contract event 0x2b5508378d7e19e0d5fa338419034731416c4f5b219a10379956f764317fd47e.

Solidity: event RemoveLiquidityImbalance(address indexed provider, uint256[2] token_amounts, uint256[2] fees, uint256 invariant, uint256 token_supply)

func (*SpecialFilterer) ParseRemoveLiquidityOne

func (_Special *SpecialFilterer) ParseRemoveLiquidityOne(log types.Log) (*SpecialRemoveLiquidityOne, error)

ParseRemoveLiquidityOne is a log parse operation binding the contract event 0x9e96dd3b997a2a257eec4df9bb6eaf626e206df5f543bd963682d143300be310.

Solidity: event RemoveLiquidityOne(address indexed provider, uint256 token_amount, uint256 coin_amount)

func (*SpecialFilterer) ParseStopRampA

func (_Special *SpecialFilterer) ParseStopRampA(log types.Log) (*SpecialStopRampA, error)

ParseStopRampA is a log parse operation binding the contract event 0x46e22fb3709ad289f62ce63d469248536dbc78d82b84a3d7e74ad606dc201938.

Solidity: event StopRampA(uint256 A, uint256 t)

func (*SpecialFilterer) ParseTokenExchange

func (_Special *SpecialFilterer) ParseTokenExchange(log types.Log) (*SpecialTokenExchange, error)

ParseTokenExchange is a log parse operation binding the contract event 0x8b3e96f2b889fa771c53c981b40daf005f63f637f1869f707052d15a3dd97140.

Solidity: event TokenExchange(address indexed buyer, int128 sold_id, uint256 tokens_sold, int128 bought_id, uint256 tokens_bought)

func (*SpecialFilterer) WatchAddLiquidity

func (_Special *SpecialFilterer) WatchAddLiquidity(opts *bind.WatchOpts, sink chan<- *SpecialAddLiquidity, provider []common.Address) (event.Subscription, error)

WatchAddLiquidity is a free log subscription operation binding the contract event 0x26f55a85081d24974e85c6c00045d0f0453991e95873f52bff0d21af4079a768.

Solidity: event AddLiquidity(address indexed provider, uint256[2] token_amounts, uint256[2] fees, uint256 invariant, uint256 token_supply)

func (*SpecialFilterer) WatchCommitNewAdmin

func (_Special *SpecialFilterer) WatchCommitNewAdmin(opts *bind.WatchOpts, sink chan<- *SpecialCommitNewAdmin, deadline []*big.Int, admin []common.Address) (event.Subscription, error)

WatchCommitNewAdmin is a free log subscription operation binding the contract event 0x181aa3aa17d4cbf99265dd4443eba009433d3cde79d60164fde1d1a192beb935.

Solidity: event CommitNewAdmin(uint256 indexed deadline, address indexed admin)

func (*SpecialFilterer) WatchCommitNewFee

func (_Special *SpecialFilterer) WatchCommitNewFee(opts *bind.WatchOpts, sink chan<- *SpecialCommitNewFee, deadline []*big.Int) (event.Subscription, error)

WatchCommitNewFee is a free log subscription operation binding the contract event 0x351fc5da2fbf480f2225debf3664a4bc90fa9923743aad58b4603f648e931fe0.

Solidity: event CommitNewFee(uint256 indexed deadline, uint256 fee, uint256 admin_fee)

func (*SpecialFilterer) WatchNewAdmin

func (_Special *SpecialFilterer) WatchNewAdmin(opts *bind.WatchOpts, sink chan<- *SpecialNewAdmin, admin []common.Address) (event.Subscription, error)

WatchNewAdmin is a free log subscription operation binding the contract event 0x71614071b88dee5e0b2ae578a9dd7b2ebbe9ae832ba419dc0242cd065a290b6c.

Solidity: event NewAdmin(address indexed admin)

func (*SpecialFilterer) WatchNewFee

func (_Special *SpecialFilterer) WatchNewFee(opts *bind.WatchOpts, sink chan<- *SpecialNewFee) (event.Subscription, error)

WatchNewFee is a free log subscription operation binding the contract event 0xbe12859b636aed607d5230b2cc2711f68d70e51060e6cca1f575ef5d2fcc95d1.

Solidity: event NewFee(uint256 fee, uint256 admin_fee)

func (*SpecialFilterer) WatchRampA

func (_Special *SpecialFilterer) WatchRampA(opts *bind.WatchOpts, sink chan<- *SpecialRampA) (event.Subscription, error)

WatchRampA is a free log subscription operation binding the contract event 0xa2b71ec6df949300b59aab36b55e189697b750119dd349fcfa8c0f779e83c254.

Solidity: event RampA(uint256 old_A, uint256 new_A, uint256 initial_time, uint256 future_time)

func (*SpecialFilterer) WatchRemoveLiquidity

func (_Special *SpecialFilterer) WatchRemoveLiquidity(opts *bind.WatchOpts, sink chan<- *SpecialRemoveLiquidity, provider []common.Address) (event.Subscription, error)

WatchRemoveLiquidity is a free log subscription operation binding the contract event 0x7c363854ccf79623411f8995b362bce5eddff18c927edc6f5dbbb5e05819a82c.

Solidity: event RemoveLiquidity(address indexed provider, uint256[2] token_amounts, uint256[2] fees, uint256 token_supply)

func (*SpecialFilterer) WatchRemoveLiquidityImbalance

func (_Special *SpecialFilterer) WatchRemoveLiquidityImbalance(opts *bind.WatchOpts, sink chan<- *SpecialRemoveLiquidityImbalance, provider []common.Address) (event.Subscription, error)

WatchRemoveLiquidityImbalance is a free log subscription operation binding the contract event 0x2b5508378d7e19e0d5fa338419034731416c4f5b219a10379956f764317fd47e.

Solidity: event RemoveLiquidityImbalance(address indexed provider, uint256[2] token_amounts, uint256[2] fees, uint256 invariant, uint256 token_supply)

func (*SpecialFilterer) WatchRemoveLiquidityOne

func (_Special *SpecialFilterer) WatchRemoveLiquidityOne(opts *bind.WatchOpts, sink chan<- *SpecialRemoveLiquidityOne, provider []common.Address) (event.Subscription, error)

WatchRemoveLiquidityOne is a free log subscription operation binding the contract event 0x9e96dd3b997a2a257eec4df9bb6eaf626e206df5f543bd963682d143300be310.

Solidity: event RemoveLiquidityOne(address indexed provider, uint256 token_amount, uint256 coin_amount)

func (*SpecialFilterer) WatchStopRampA

func (_Special *SpecialFilterer) WatchStopRampA(opts *bind.WatchOpts, sink chan<- *SpecialStopRampA) (event.Subscription, error)

WatchStopRampA is a free log subscription operation binding the contract event 0x46e22fb3709ad289f62ce63d469248536dbc78d82b84a3d7e74ad606dc201938.

Solidity: event StopRampA(uint256 A, uint256 t)

func (*SpecialFilterer) WatchTokenExchange

func (_Special *SpecialFilterer) WatchTokenExchange(opts *bind.WatchOpts, sink chan<- *SpecialTokenExchange, buyer []common.Address) (event.Subscription, error)

WatchTokenExchange is a free log subscription operation binding the contract event 0x8b3e96f2b889fa771c53c981b40daf005f63f637f1869f707052d15a3dd97140.

Solidity: event TokenExchange(address indexed buyer, int128 sold_id, uint256 tokens_sold, int128 bought_id, uint256 tokens_bought)

type SpecialNewAdmin

type SpecialNewAdmin struct {
	Admin common.Address
	Raw   types.Log // Blockchain specific contextual infos
}

SpecialNewAdmin represents a NewAdmin event raised by the Special contract.

type SpecialNewAdminIterator

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

SpecialNewAdminIterator is returned from FilterNewAdmin and is used to iterate over the raw logs and unpacked data for NewAdmin events raised by the Special contract.

func (*SpecialNewAdminIterator) Close

func (it *SpecialNewAdminIterator) Close() error

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

func (*SpecialNewAdminIterator) Error

func (it *SpecialNewAdminIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*SpecialNewAdminIterator) Next

func (it *SpecialNewAdminIterator) 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 SpecialNewFee

type SpecialNewFee struct {
	Fee      *big.Int
	AdminFee *big.Int
	Raw      types.Log // Blockchain specific contextual infos
}

SpecialNewFee represents a NewFee event raised by the Special contract.

type SpecialNewFeeIterator

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

SpecialNewFeeIterator is returned from FilterNewFee and is used to iterate over the raw logs and unpacked data for NewFee events raised by the Special contract.

func (*SpecialNewFeeIterator) Close

func (it *SpecialNewFeeIterator) Close() error

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

func (*SpecialNewFeeIterator) Error

func (it *SpecialNewFeeIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*SpecialNewFeeIterator) Next

func (it *SpecialNewFeeIterator) 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 SpecialRampA

type SpecialRampA struct {
	OldA        *big.Int
	NewA        *big.Int
	InitialTime *big.Int
	FutureTime  *big.Int
	Raw         types.Log // Blockchain specific contextual infos
}

SpecialRampA represents a RampA event raised by the Special contract.

type SpecialRampAIterator

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

SpecialRampAIterator is returned from FilterRampA and is used to iterate over the raw logs and unpacked data for RampA events raised by the Special contract.

func (*SpecialRampAIterator) Close

func (it *SpecialRampAIterator) Close() error

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

func (*SpecialRampAIterator) Error

func (it *SpecialRampAIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*SpecialRampAIterator) Next

func (it *SpecialRampAIterator) 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 SpecialRaw

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

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

func (*SpecialRaw) Call

func (_Special *SpecialRaw) 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 (*SpecialRaw) Transact

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

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

func (*SpecialRaw) Transfer

func (_Special *SpecialRaw) 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 SpecialRemoveLiquidity

type SpecialRemoveLiquidity struct {
	Provider     common.Address
	TokenAmounts [2]*big.Int
	Fees         [2]*big.Int
	TokenSupply  *big.Int
	Raw          types.Log // Blockchain specific contextual infos
}

SpecialRemoveLiquidity represents a RemoveLiquidity event raised by the Special contract.

type SpecialRemoveLiquidityImbalance

type SpecialRemoveLiquidityImbalance struct {
	Provider     common.Address
	TokenAmounts [2]*big.Int
	Fees         [2]*big.Int
	Invariant    *big.Int
	TokenSupply  *big.Int
	Raw          types.Log // Blockchain specific contextual infos
}

SpecialRemoveLiquidityImbalance represents a RemoveLiquidityImbalance event raised by the Special contract.

type SpecialRemoveLiquidityImbalanceIterator

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

SpecialRemoveLiquidityImbalanceIterator is returned from FilterRemoveLiquidityImbalance and is used to iterate over the raw logs and unpacked data for RemoveLiquidityImbalance events raised by the Special contract.

func (*SpecialRemoveLiquidityImbalanceIterator) Close

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

func (*SpecialRemoveLiquidityImbalanceIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*SpecialRemoveLiquidityImbalanceIterator) 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 SpecialRemoveLiquidityIterator

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

SpecialRemoveLiquidityIterator is returned from FilterRemoveLiquidity and is used to iterate over the raw logs and unpacked data for RemoveLiquidity events raised by the Special contract.

func (*SpecialRemoveLiquidityIterator) Close

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

func (*SpecialRemoveLiquidityIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*SpecialRemoveLiquidityIterator) 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 SpecialRemoveLiquidityOne

type SpecialRemoveLiquidityOne struct {
	Provider    common.Address
	TokenAmount *big.Int
	CoinAmount  *big.Int
	Raw         types.Log // Blockchain specific contextual infos
}

SpecialRemoveLiquidityOne represents a RemoveLiquidityOne event raised by the Special contract.

type SpecialRemoveLiquidityOneIterator

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

SpecialRemoveLiquidityOneIterator is returned from FilterRemoveLiquidityOne and is used to iterate over the raw logs and unpacked data for RemoveLiquidityOne events raised by the Special contract.

func (*SpecialRemoveLiquidityOneIterator) Close

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

func (*SpecialRemoveLiquidityOneIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*SpecialRemoveLiquidityOneIterator) 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 SpecialSession

type SpecialSession struct {
	Contract     *Special          // 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
}

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

func (*SpecialSession) A

func (_Special *SpecialSession) A() (*big.Int, error)

A is a free data retrieval call binding the contract method 0xf446c1d0.

Solidity: function A() view returns(uint256)

func (*SpecialSession) AddLiquidity

func (_Special *SpecialSession) AddLiquidity(amounts [2]*big.Int, min_mint_amount *big.Int) (*types.Transaction, error)

AddLiquidity is a paid mutator transaction binding the contract method 0x0b4c7e4d.

Solidity: function add_liquidity(uint256[2] amounts, uint256 min_mint_amount) returns()

func (*SpecialSession) AdminActionsDeadline

func (_Special *SpecialSession) AdminActionsDeadline() (*big.Int, error)

AdminActionsDeadline is a free data retrieval call binding the contract method 0x405e28f8.

Solidity: function admin_actions_deadline() view returns(uint256)

func (*SpecialSession) AdminBalances

func (_Special *SpecialSession) AdminBalances(i *big.Int) (*big.Int, error)

AdminBalances is a free data retrieval call binding the contract method 0xe2e7d264.

Solidity: function admin_balances(uint256 i) view returns(uint256)

func (*SpecialSession) AdminFee

func (_Special *SpecialSession) AdminFee() (*big.Int, error)

AdminFee is a free data retrieval call binding the contract method 0xfee3f7f9.

Solidity: function admin_fee() view returns(uint256)

func (*SpecialSession) ApplyNewFee

func (_Special *SpecialSession) ApplyNewFee() (*types.Transaction, error)

ApplyNewFee is a paid mutator transaction binding the contract method 0x4f12fe97.

Solidity: function apply_new_fee() returns()

func (*SpecialSession) ApplyTransferOwnership

func (_Special *SpecialSession) ApplyTransferOwnership() (*types.Transaction, error)

ApplyTransferOwnership is a paid mutator transaction binding the contract method 0x6a1c05ae.

Solidity: function apply_transfer_ownership() returns()

func (*SpecialSession) Balances

func (_Special *SpecialSession) Balances(arg0 *big.Int) (*big.Int, error)

Balances is a free data retrieval call binding the contract method 0x4903b0d1.

Solidity: function balances(uint256 arg0) view returns(uint256)

func (*SpecialSession) CalcTokenAmount

func (_Special *SpecialSession) CalcTokenAmount(amounts [2]*big.Int, deposit bool) (*big.Int, error)

CalcTokenAmount is a free data retrieval call binding the contract method 0xed8e84f3.

Solidity: function calc_token_amount(uint256[2] amounts, bool deposit) view returns(uint256)

func (*SpecialSession) CalcWithdrawOneCoin

func (_Special *SpecialSession) CalcWithdrawOneCoin(_token_amount *big.Int, i *big.Int) (*big.Int, error)

CalcWithdrawOneCoin is a free data retrieval call binding the contract method 0xcc2b27d7.

Solidity: function calc_withdraw_one_coin(uint256 _token_amount, int128 i) view returns(uint256)

func (*SpecialSession) Coins

func (_Special *SpecialSession) Coins(arg0 *big.Int) (common.Address, error)

Coins is a free data retrieval call binding the contract method 0xc6610657.

Solidity: function coins(uint256 arg0) view returns(address)

func (*SpecialSession) CommitNewFee

func (_Special *SpecialSession) CommitNewFee(new_fee *big.Int, new_admin_fee *big.Int) (*types.Transaction, error)

CommitNewFee is a paid mutator transaction binding the contract method 0x5b5a1467.

Solidity: function commit_new_fee(uint256 new_fee, uint256 new_admin_fee) returns()

func (*SpecialSession) CommitTransferOwnership

func (_Special *SpecialSession) CommitTransferOwnership(_owner common.Address) (*types.Transaction, error)

CommitTransferOwnership is a paid mutator transaction binding the contract method 0x6b441a40.

Solidity: function commit_transfer_ownership(address _owner) returns()

func (*SpecialSession) DonateAdminFees

func (_Special *SpecialSession) DonateAdminFees() (*types.Transaction, error)

DonateAdminFees is a paid mutator transaction binding the contract method 0x524c3901.

Solidity: function donate_admin_fees() returns()

func (*SpecialSession) Exchange

func (_Special *SpecialSession) Exchange(i *big.Int, j *big.Int, dx *big.Int, min_dy *big.Int) (*types.Transaction, error)

Exchange is a paid mutator transaction binding the contract method 0x3df02124.

Solidity: function exchange(int128 i, int128 j, uint256 dx, uint256 min_dy) returns()

func (*SpecialSession) Fee

func (_Special *SpecialSession) Fee() (*big.Int, error)

Fee is a free data retrieval call binding the contract method 0xddca3f43.

Solidity: function fee() view returns(uint256)

func (*SpecialSession) FutureA

func (_Special *SpecialSession) FutureA() (*big.Int, error)

FutureA is a free data retrieval call binding the contract method 0xb4b577ad.

Solidity: function future_A() view returns(uint256)

func (*SpecialSession) FutureATime

func (_Special *SpecialSession) FutureATime() (*big.Int, error)

FutureATime is a free data retrieval call binding the contract method 0x14052288.

Solidity: function future_A_time() view returns(uint256)

func (*SpecialSession) FutureAdminFee

func (_Special *SpecialSession) FutureAdminFee() (*big.Int, error)

FutureAdminFee is a free data retrieval call binding the contract method 0xe3824462.

Solidity: function future_admin_fee() view returns(uint256)

func (*SpecialSession) FutureFee

func (_Special *SpecialSession) FutureFee() (*big.Int, error)

FutureFee is a free data retrieval call binding the contract method 0x58680d0b.

Solidity: function future_fee() view returns(uint256)

func (*SpecialSession) FutureOwner

func (_Special *SpecialSession) FutureOwner() (common.Address, error)

FutureOwner is a free data retrieval call binding the contract method 0x1ec0cdc1.

Solidity: function future_owner() view returns(address)

func (*SpecialSession) GetDy

func (_Special *SpecialSession) GetDy(i *big.Int, j *big.Int, dx *big.Int) (*big.Int, error)

GetDy is a free data retrieval call binding the contract method 0x5e0d443f.

Solidity: function get_dy(int128 i, int128 j, uint256 dx) view returns(uint256)

func (*SpecialSession) GetDyUnderlying

func (_Special *SpecialSession) GetDyUnderlying(i *big.Int, j *big.Int, dx *big.Int) (*big.Int, error)

GetDyUnderlying is a free data retrieval call binding the contract method 0x07211ef7.

Solidity: function get_dy_underlying(int128 i, int128 j, uint256 dx) view returns(uint256)

func (*SpecialSession) GetVirtualPrice

func (_Special *SpecialSession) GetVirtualPrice() (*big.Int, error)

GetVirtualPrice is a free data retrieval call binding the contract method 0xbb7b8b80.

Solidity: function get_virtual_price() view returns(uint256)

func (*SpecialSession) InitialA

func (_Special *SpecialSession) InitialA() (*big.Int, error)

InitialA is a free data retrieval call binding the contract method 0x5409491a.

Solidity: function initial_A() view returns(uint256)

func (*SpecialSession) InitialATime

func (_Special *SpecialSession) InitialATime() (*big.Int, error)

InitialATime is a free data retrieval call binding the contract method 0x2081066c.

Solidity: function initial_A_time() view returns(uint256)

func (*SpecialSession) KillMe

func (_Special *SpecialSession) KillMe() (*types.Transaction, error)

KillMe is a paid mutator transaction binding the contract method 0xe3698853.

Solidity: function kill_me() returns()

func (*SpecialSession) Owner

func (_Special *SpecialSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*SpecialSession) RampA

func (_Special *SpecialSession) RampA(_future_A *big.Int, _future_time *big.Int) (*types.Transaction, error)

RampA is a paid mutator transaction binding the contract method 0x3c157e64.

Solidity: function ramp_A(uint256 _future_A, uint256 _future_time) returns()

func (*SpecialSession) RemoveLiquidity

func (_Special *SpecialSession) RemoveLiquidity(_amount *big.Int, min_amounts [2]*big.Int) (*types.Transaction, error)

RemoveLiquidity is a paid mutator transaction binding the contract method 0x5b36389c.

Solidity: function remove_liquidity(uint256 _amount, uint256[2] min_amounts) returns()

func (*SpecialSession) RemoveLiquidityImbalance

func (_Special *SpecialSession) RemoveLiquidityImbalance(amounts [2]*big.Int, max_burn_amount *big.Int) (*types.Transaction, error)

RemoveLiquidityImbalance is a paid mutator transaction binding the contract method 0xe3103273.

Solidity: function remove_liquidity_imbalance(uint256[2] amounts, uint256 max_burn_amount) returns()

func (*SpecialSession) RemoveLiquidityOneCoin

func (_Special *SpecialSession) RemoveLiquidityOneCoin(_token_amount *big.Int, i *big.Int, min_amount *big.Int) (*types.Transaction, error)

RemoveLiquidityOneCoin is a paid mutator transaction binding the contract method 0x1a4d01d2.

Solidity: function remove_liquidity_one_coin(uint256 _token_amount, int128 i, uint256 min_amount) returns()

func (*SpecialSession) RevertNewParameters

func (_Special *SpecialSession) RevertNewParameters() (*types.Transaction, error)

RevertNewParameters is a paid mutator transaction binding the contract method 0x226840fb.

Solidity: function revert_new_parameters() returns()

func (*SpecialSession) RevertTransferOwnership

func (_Special *SpecialSession) RevertTransferOwnership() (*types.Transaction, error)

RevertTransferOwnership is a paid mutator transaction binding the contract method 0x86fbf193.

Solidity: function revert_transfer_ownership() returns()

func (*SpecialSession) StopRampA

func (_Special *SpecialSession) StopRampA() (*types.Transaction, error)

StopRampA is a paid mutator transaction binding the contract method 0x551a6588.

Solidity: function stop_ramp_A() returns()

func (*SpecialSession) TransferOwnershipDeadline

func (_Special *SpecialSession) TransferOwnershipDeadline() (*big.Int, error)

TransferOwnershipDeadline is a free data retrieval call binding the contract method 0xe0a0b586.

Solidity: function transfer_ownership_deadline() view returns(uint256)

func (*SpecialSession) UnkillMe

func (_Special *SpecialSession) UnkillMe() (*types.Transaction, error)

UnkillMe is a paid mutator transaction binding the contract method 0x3046f972.

Solidity: function unkill_me() returns()

func (*SpecialSession) WithdrawAdminFees

func (_Special *SpecialSession) WithdrawAdminFees() (*types.Transaction, error)

WithdrawAdminFees is a paid mutator transaction binding the contract method 0x30c54085.

Solidity: function withdraw_admin_fees() returns()

type SpecialStopRampA

type SpecialStopRampA struct {
	A   *big.Int
	T   *big.Int
	Raw types.Log // Blockchain specific contextual infos
}

SpecialStopRampA represents a StopRampA event raised by the Special contract.

type SpecialStopRampAIterator

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

SpecialStopRampAIterator is returned from FilterStopRampA and is used to iterate over the raw logs and unpacked data for StopRampA events raised by the Special contract.

func (*SpecialStopRampAIterator) Close

func (it *SpecialStopRampAIterator) Close() error

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

func (*SpecialStopRampAIterator) Error

func (it *SpecialStopRampAIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*SpecialStopRampAIterator) Next

func (it *SpecialStopRampAIterator) 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 SpecialTokenExchange

type SpecialTokenExchange struct {
	Buyer        common.Address
	SoldId       *big.Int
	TokensSold   *big.Int
	BoughtId     *big.Int
	TokensBought *big.Int
	Raw          types.Log // Blockchain specific contextual infos
}

SpecialTokenExchange represents a TokenExchange event raised by the Special contract.

type SpecialTokenExchangeIterator

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

SpecialTokenExchangeIterator is returned from FilterTokenExchange and is used to iterate over the raw logs and unpacked data for TokenExchange events raised by the Special contract.

func (*SpecialTokenExchangeIterator) Close

func (it *SpecialTokenExchangeIterator) Close() error

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

func (*SpecialTokenExchangeIterator) Error

func (it *SpecialTokenExchangeIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*SpecialTokenExchangeIterator) 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 SpecialTransactor

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

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

func NewSpecialTransactor

func NewSpecialTransactor(address common.Address, transactor bind.ContractTransactor) (*SpecialTransactor, error)

NewSpecialTransactor creates a new write-only instance of Special, bound to a specific deployed contract.

func (*SpecialTransactor) AddLiquidity

func (_Special *SpecialTransactor) AddLiquidity(opts *bind.TransactOpts, amounts [2]*big.Int, min_mint_amount *big.Int) (*types.Transaction, error)

AddLiquidity is a paid mutator transaction binding the contract method 0x0b4c7e4d.

Solidity: function add_liquidity(uint256[2] amounts, uint256 min_mint_amount) returns()

func (*SpecialTransactor) ApplyNewFee

func (_Special *SpecialTransactor) ApplyNewFee(opts *bind.TransactOpts) (*types.Transaction, error)

ApplyNewFee is a paid mutator transaction binding the contract method 0x4f12fe97.

Solidity: function apply_new_fee() returns()

func (*SpecialTransactor) ApplyTransferOwnership

func (_Special *SpecialTransactor) ApplyTransferOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

ApplyTransferOwnership is a paid mutator transaction binding the contract method 0x6a1c05ae.

Solidity: function apply_transfer_ownership() returns()

func (*SpecialTransactor) CommitNewFee

func (_Special *SpecialTransactor) CommitNewFee(opts *bind.TransactOpts, new_fee *big.Int, new_admin_fee *big.Int) (*types.Transaction, error)

CommitNewFee is a paid mutator transaction binding the contract method 0x5b5a1467.

Solidity: function commit_new_fee(uint256 new_fee, uint256 new_admin_fee) returns()

func (*SpecialTransactor) CommitTransferOwnership

func (_Special *SpecialTransactor) CommitTransferOwnership(opts *bind.TransactOpts, _owner common.Address) (*types.Transaction, error)

CommitTransferOwnership is a paid mutator transaction binding the contract method 0x6b441a40.

Solidity: function commit_transfer_ownership(address _owner) returns()

func (*SpecialTransactor) DonateAdminFees

func (_Special *SpecialTransactor) DonateAdminFees(opts *bind.TransactOpts) (*types.Transaction, error)

DonateAdminFees is a paid mutator transaction binding the contract method 0x524c3901.

Solidity: function donate_admin_fees() returns()

func (*SpecialTransactor) Exchange

func (_Special *SpecialTransactor) Exchange(opts *bind.TransactOpts, i *big.Int, j *big.Int, dx *big.Int, min_dy *big.Int) (*types.Transaction, error)

Exchange is a paid mutator transaction binding the contract method 0x3df02124.

Solidity: function exchange(int128 i, int128 j, uint256 dx, uint256 min_dy) returns()

func (*SpecialTransactor) KillMe

func (_Special *SpecialTransactor) KillMe(opts *bind.TransactOpts) (*types.Transaction, error)

KillMe is a paid mutator transaction binding the contract method 0xe3698853.

Solidity: function kill_me() returns()

func (*SpecialTransactor) RampA

func (_Special *SpecialTransactor) RampA(opts *bind.TransactOpts, _future_A *big.Int, _future_time *big.Int) (*types.Transaction, error)

RampA is a paid mutator transaction binding the contract method 0x3c157e64.

Solidity: function ramp_A(uint256 _future_A, uint256 _future_time) returns()

func (*SpecialTransactor) RemoveLiquidity

func (_Special *SpecialTransactor) RemoveLiquidity(opts *bind.TransactOpts, _amount *big.Int, min_amounts [2]*big.Int) (*types.Transaction, error)

RemoveLiquidity is a paid mutator transaction binding the contract method 0x5b36389c.

Solidity: function remove_liquidity(uint256 _amount, uint256[2] min_amounts) returns()

func (*SpecialTransactor) RemoveLiquidityImbalance

func (_Special *SpecialTransactor) RemoveLiquidityImbalance(opts *bind.TransactOpts, amounts [2]*big.Int, max_burn_amount *big.Int) (*types.Transaction, error)

RemoveLiquidityImbalance is a paid mutator transaction binding the contract method 0xe3103273.

Solidity: function remove_liquidity_imbalance(uint256[2] amounts, uint256 max_burn_amount) returns()

func (*SpecialTransactor) RemoveLiquidityOneCoin

func (_Special *SpecialTransactor) RemoveLiquidityOneCoin(opts *bind.TransactOpts, _token_amount *big.Int, i *big.Int, min_amount *big.Int) (*types.Transaction, error)

RemoveLiquidityOneCoin is a paid mutator transaction binding the contract method 0x1a4d01d2.

Solidity: function remove_liquidity_one_coin(uint256 _token_amount, int128 i, uint256 min_amount) returns()

func (*SpecialTransactor) RevertNewParameters

func (_Special *SpecialTransactor) RevertNewParameters(opts *bind.TransactOpts) (*types.Transaction, error)

RevertNewParameters is a paid mutator transaction binding the contract method 0x226840fb.

Solidity: function revert_new_parameters() returns()

func (*SpecialTransactor) RevertTransferOwnership

func (_Special *SpecialTransactor) RevertTransferOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

RevertTransferOwnership is a paid mutator transaction binding the contract method 0x86fbf193.

Solidity: function revert_transfer_ownership() returns()

func (*SpecialTransactor) StopRampA

func (_Special *SpecialTransactor) StopRampA(opts *bind.TransactOpts) (*types.Transaction, error)

StopRampA is a paid mutator transaction binding the contract method 0x551a6588.

Solidity: function stop_ramp_A() returns()

func (*SpecialTransactor) UnkillMe

func (_Special *SpecialTransactor) UnkillMe(opts *bind.TransactOpts) (*types.Transaction, error)

UnkillMe is a paid mutator transaction binding the contract method 0x3046f972.

Solidity: function unkill_me() returns()

func (*SpecialTransactor) WithdrawAdminFees

func (_Special *SpecialTransactor) WithdrawAdminFees(opts *bind.TransactOpts) (*types.Transaction, error)

WithdrawAdminFees is a paid mutator transaction binding the contract method 0x30c54085.

Solidity: function withdraw_admin_fees() returns()

type SpecialTransactorRaw

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

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

func (*SpecialTransactorRaw) Transact

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

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

func (*SpecialTransactorRaw) Transfer

func (_Special *SpecialTransactorRaw) 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 SpecialTransactorSession

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

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

func (*SpecialTransactorSession) AddLiquidity

func (_Special *SpecialTransactorSession) AddLiquidity(amounts [2]*big.Int, min_mint_amount *big.Int) (*types.Transaction, error)

AddLiquidity is a paid mutator transaction binding the contract method 0x0b4c7e4d.

Solidity: function add_liquidity(uint256[2] amounts, uint256 min_mint_amount) returns()

func (*SpecialTransactorSession) ApplyNewFee

func (_Special *SpecialTransactorSession) ApplyNewFee() (*types.Transaction, error)

ApplyNewFee is a paid mutator transaction binding the contract method 0x4f12fe97.

Solidity: function apply_new_fee() returns()

func (*SpecialTransactorSession) ApplyTransferOwnership

func (_Special *SpecialTransactorSession) ApplyTransferOwnership() (*types.Transaction, error)

ApplyTransferOwnership is a paid mutator transaction binding the contract method 0x6a1c05ae.

Solidity: function apply_transfer_ownership() returns()

func (*SpecialTransactorSession) CommitNewFee

func (_Special *SpecialTransactorSession) CommitNewFee(new_fee *big.Int, new_admin_fee *big.Int) (*types.Transaction, error)

CommitNewFee is a paid mutator transaction binding the contract method 0x5b5a1467.

Solidity: function commit_new_fee(uint256 new_fee, uint256 new_admin_fee) returns()

func (*SpecialTransactorSession) CommitTransferOwnership

func (_Special *SpecialTransactorSession) CommitTransferOwnership(_owner common.Address) (*types.Transaction, error)

CommitTransferOwnership is a paid mutator transaction binding the contract method 0x6b441a40.

Solidity: function commit_transfer_ownership(address _owner) returns()

func (*SpecialTransactorSession) DonateAdminFees

func (_Special *SpecialTransactorSession) DonateAdminFees() (*types.Transaction, error)

DonateAdminFees is a paid mutator transaction binding the contract method 0x524c3901.

Solidity: function donate_admin_fees() returns()

func (*SpecialTransactorSession) Exchange

func (_Special *SpecialTransactorSession) Exchange(i *big.Int, j *big.Int, dx *big.Int, min_dy *big.Int) (*types.Transaction, error)

Exchange is a paid mutator transaction binding the contract method 0x3df02124.

Solidity: function exchange(int128 i, int128 j, uint256 dx, uint256 min_dy) returns()

func (*SpecialTransactorSession) KillMe

func (_Special *SpecialTransactorSession) KillMe() (*types.Transaction, error)

KillMe is a paid mutator transaction binding the contract method 0xe3698853.

Solidity: function kill_me() returns()

func (*SpecialTransactorSession) RampA

func (_Special *SpecialTransactorSession) RampA(_future_A *big.Int, _future_time *big.Int) (*types.Transaction, error)

RampA is a paid mutator transaction binding the contract method 0x3c157e64.

Solidity: function ramp_A(uint256 _future_A, uint256 _future_time) returns()

func (*SpecialTransactorSession) RemoveLiquidity

func (_Special *SpecialTransactorSession) RemoveLiquidity(_amount *big.Int, min_amounts [2]*big.Int) (*types.Transaction, error)

RemoveLiquidity is a paid mutator transaction binding the contract method 0x5b36389c.

Solidity: function remove_liquidity(uint256 _amount, uint256[2] min_amounts) returns()

func (*SpecialTransactorSession) RemoveLiquidityImbalance

func (_Special *SpecialTransactorSession) RemoveLiquidityImbalance(amounts [2]*big.Int, max_burn_amount *big.Int) (*types.Transaction, error)

RemoveLiquidityImbalance is a paid mutator transaction binding the contract method 0xe3103273.

Solidity: function remove_liquidity_imbalance(uint256[2] amounts, uint256 max_burn_amount) returns()

func (*SpecialTransactorSession) RemoveLiquidityOneCoin

func (_Special *SpecialTransactorSession) RemoveLiquidityOneCoin(_token_amount *big.Int, i *big.Int, min_amount *big.Int) (*types.Transaction, error)

RemoveLiquidityOneCoin is a paid mutator transaction binding the contract method 0x1a4d01d2.

Solidity: function remove_liquidity_one_coin(uint256 _token_amount, int128 i, uint256 min_amount) returns()

func (*SpecialTransactorSession) RevertNewParameters

func (_Special *SpecialTransactorSession) RevertNewParameters() (*types.Transaction, error)

RevertNewParameters is a paid mutator transaction binding the contract method 0x226840fb.

Solidity: function revert_new_parameters() returns()

func (*SpecialTransactorSession) RevertTransferOwnership

func (_Special *SpecialTransactorSession) RevertTransferOwnership() (*types.Transaction, error)

RevertTransferOwnership is a paid mutator transaction binding the contract method 0x86fbf193.

Solidity: function revert_transfer_ownership() returns()

func (*SpecialTransactorSession) StopRampA

func (_Special *SpecialTransactorSession) StopRampA() (*types.Transaction, error)

StopRampA is a paid mutator transaction binding the contract method 0x551a6588.

Solidity: function stop_ramp_A() returns()

func (*SpecialTransactorSession) UnkillMe

func (_Special *SpecialTransactorSession) UnkillMe() (*types.Transaction, error)

UnkillMe is a paid mutator transaction binding the contract method 0x3046f972.

Solidity: function unkill_me() returns()

func (*SpecialTransactorSession) WithdrawAdminFees

func (_Special *SpecialTransactorSession) WithdrawAdminFees() (*types.Transaction, error)

WithdrawAdminFees is a paid mutator transaction binding the contract method 0x30c54085.

Solidity: function withdraw_admin_fees() returns()

Jump to

Keyboard shortcuts

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