ren

package
v1.4.1-rc-45 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2022 License: GPL-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const RenABI = "" /* 10335-byte string literal not displayed */

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

Variables

This section is empty.

Functions

This section is empty.

Types

type Ren

type Ren struct {
	RenCaller     // Read-only binding to the contract
	RenTransactor // Write-only binding to the contract
	RenFilterer   // Log filterer for contract events
}

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

func NewRen

func NewRen(address common.Address, backend bind.ContractBackend) (*Ren, error)

NewRen creates a new instance of Ren, bound to a specific deployed contract.

type RenAddLiquidity

type RenAddLiquidity 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
}

RenAddLiquidity represents a AddLiquidity event raised by the Ren contract.

type RenAddLiquidityIterator

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

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

func (*RenAddLiquidityIterator) Close

func (it *RenAddLiquidityIterator) Close() error

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

func (*RenAddLiquidityIterator) Error

func (it *RenAddLiquidityIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*RenAddLiquidityIterator) Next

func (it *RenAddLiquidityIterator) 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 RenCaller

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

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

func NewRenCaller

func NewRenCaller(address common.Address, caller bind.ContractCaller) (*RenCaller, error)

NewRenCaller creates a new read-only instance of Ren, bound to a specific deployed contract.

func (*RenCaller) A

func (_Ren *RenCaller) A(opts *bind.CallOpts) (*big.Int, error)

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

Solidity: function A() returns(uint256)

func (*RenCaller) AdminActionsDeadline

func (_Ren *RenCaller) AdminActionsDeadline(opts *bind.CallOpts) (*big.Int, error)

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

Solidity: function admin_actions_deadline() returns(uint256)

func (*RenCaller) AdminFee

func (_Ren *RenCaller) AdminFee(opts *bind.CallOpts) (*big.Int, error)

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

Solidity: function admin_fee() returns(uint256)

func (*RenCaller) Balances

func (_Ren *RenCaller) Balances(opts *bind.CallOpts, arg0 *big.Int) (*big.Int, error)

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

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

func (*RenCaller) CalcTokenAmount

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

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

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

func (*RenCaller) CalcWithdrawOneCoin

func (_Ren *RenCaller) 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) returns(uint256)

func (*RenCaller) Coins

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

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

Solidity: function coins(int128 arg0) returns(address)

func (*RenCaller) Fee

func (_Ren *RenCaller) Fee(opts *bind.CallOpts) (*big.Int, error)

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

Solidity: function fee() returns(uint256)

func (*RenCaller) FutureA

func (_Ren *RenCaller) FutureA(opts *bind.CallOpts) (*big.Int, error)

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

Solidity: function future_A() returns(uint256)

func (*RenCaller) FutureATime

func (_Ren *RenCaller) FutureATime(opts *bind.CallOpts) (*big.Int, error)

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

Solidity: function future_A_time() returns(uint256)

func (*RenCaller) FutureAdminFee

func (_Ren *RenCaller) FutureAdminFee(opts *bind.CallOpts) (*big.Int, error)

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

Solidity: function future_admin_fee() returns(uint256)

func (*RenCaller) FutureFee

func (_Ren *RenCaller) FutureFee(opts *bind.CallOpts) (*big.Int, error)

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

Solidity: function future_fee() returns(uint256)

func (*RenCaller) FutureOwner

func (_Ren *RenCaller) FutureOwner(opts *bind.CallOpts) (common.Address, error)

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

Solidity: function future_owner() returns(address)

func (*RenCaller) GetDy

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

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

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

func (*RenCaller) GetDyUnderlying

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

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

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

func (*RenCaller) GetVirtualPrice

func (_Ren *RenCaller) GetVirtualPrice(opts *bind.CallOpts) (*big.Int, error)

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

Solidity: function get_virtual_price() returns(uint256)

func (*RenCaller) InitialA

func (_Ren *RenCaller) InitialA(opts *bind.CallOpts) (*big.Int, error)

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

Solidity: function initial_A() returns(uint256)

func (*RenCaller) InitialATime

func (_Ren *RenCaller) InitialATime(opts *bind.CallOpts) (*big.Int, error)

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

Solidity: function initial_A_time() returns(uint256)

func (*RenCaller) Owner

func (_Ren *RenCaller) Owner(opts *bind.CallOpts) (common.Address, error)

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

Solidity: function owner() returns(address)

func (*RenCaller) TransferOwnershipDeadline

func (_Ren *RenCaller) TransferOwnershipDeadline(opts *bind.CallOpts) (*big.Int, error)

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

Solidity: function transfer_ownership_deadline() returns(uint256)

type RenCallerRaw

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

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

func (*RenCallerRaw) Call

func (_Ren *RenCallerRaw) 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 RenCallerSession

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

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

func (*RenCallerSession) A

func (_Ren *RenCallerSession) A() (*big.Int, error)

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

Solidity: function A() returns(uint256)

func (*RenCallerSession) AdminActionsDeadline

func (_Ren *RenCallerSession) AdminActionsDeadline() (*big.Int, error)

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

Solidity: function admin_actions_deadline() returns(uint256)

func (*RenCallerSession) AdminFee

func (_Ren *RenCallerSession) AdminFee() (*big.Int, error)

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

Solidity: function admin_fee() returns(uint256)

func (*RenCallerSession) Balances

func (_Ren *RenCallerSession) Balances(arg0 *big.Int) (*big.Int, error)

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

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

func (*RenCallerSession) CalcTokenAmount

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

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

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

func (*RenCallerSession) CalcWithdrawOneCoin

func (_Ren *RenCallerSession) 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) returns(uint256)

func (*RenCallerSession) Coins

func (_Ren *RenCallerSession) Coins(arg0 *big.Int) (common.Address, error)

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

Solidity: function coins(int128 arg0) returns(address)

func (*RenCallerSession) Fee

func (_Ren *RenCallerSession) Fee() (*big.Int, error)

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

Solidity: function fee() returns(uint256)

func (*RenCallerSession) FutureA

func (_Ren *RenCallerSession) FutureA() (*big.Int, error)

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

Solidity: function future_A() returns(uint256)

func (*RenCallerSession) FutureATime

func (_Ren *RenCallerSession) FutureATime() (*big.Int, error)

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

Solidity: function future_A_time() returns(uint256)

func (*RenCallerSession) FutureAdminFee

func (_Ren *RenCallerSession) FutureAdminFee() (*big.Int, error)

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

Solidity: function future_admin_fee() returns(uint256)

func (*RenCallerSession) FutureFee

func (_Ren *RenCallerSession) FutureFee() (*big.Int, error)

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

Solidity: function future_fee() returns(uint256)

func (*RenCallerSession) FutureOwner

func (_Ren *RenCallerSession) FutureOwner() (common.Address, error)

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

Solidity: function future_owner() returns(address)

func (*RenCallerSession) GetDy

func (_Ren *RenCallerSession) GetDy(i *big.Int, j *big.Int, dx *big.Int) (*big.Int, error)

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

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

func (*RenCallerSession) GetDyUnderlying

func (_Ren *RenCallerSession) GetDyUnderlying(i *big.Int, j *big.Int, dx *big.Int) (*big.Int, error)

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

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

func (*RenCallerSession) GetVirtualPrice

func (_Ren *RenCallerSession) GetVirtualPrice() (*big.Int, error)

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

Solidity: function get_virtual_price() returns(uint256)

func (*RenCallerSession) InitialA

func (_Ren *RenCallerSession) InitialA() (*big.Int, error)

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

Solidity: function initial_A() returns(uint256)

func (*RenCallerSession) InitialATime

func (_Ren *RenCallerSession) InitialATime() (*big.Int, error)

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

Solidity: function initial_A_time() returns(uint256)

func (*RenCallerSession) Owner

func (_Ren *RenCallerSession) Owner() (common.Address, error)

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

Solidity: function owner() returns(address)

func (*RenCallerSession) TransferOwnershipDeadline

func (_Ren *RenCallerSession) TransferOwnershipDeadline() (*big.Int, error)

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

Solidity: function transfer_ownership_deadline() returns(uint256)

type RenCommitNewAdmin

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

RenCommitNewAdmin represents a CommitNewAdmin event raised by the Ren contract.

type RenCommitNewAdminIterator

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

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

func (*RenCommitNewAdminIterator) Close

func (it *RenCommitNewAdminIterator) Close() error

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

func (*RenCommitNewAdminIterator) Error

func (it *RenCommitNewAdminIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*RenCommitNewAdminIterator) Next

func (it *RenCommitNewAdminIterator) 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 RenCommitNewFee

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

RenCommitNewFee represents a CommitNewFee event raised by the Ren contract.

type RenCommitNewFeeIterator

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

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

func (*RenCommitNewFeeIterator) Close

func (it *RenCommitNewFeeIterator) Close() error

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

func (*RenCommitNewFeeIterator) Error

func (it *RenCommitNewFeeIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*RenCommitNewFeeIterator) Next

func (it *RenCommitNewFeeIterator) 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 RenFilterer

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

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

func NewRenFilterer

func NewRenFilterer(address common.Address, filterer bind.ContractFilterer) (*RenFilterer, error)

NewRenFilterer creates a new log filterer instance of Ren, bound to a specific deployed contract.

func (*RenFilterer) FilterAddLiquidity

func (_Ren *RenFilterer) FilterAddLiquidity(opts *bind.FilterOpts, provider []common.Address) (*RenAddLiquidityIterator, 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 (*RenFilterer) FilterCommitNewAdmin

func (_Ren *RenFilterer) FilterCommitNewAdmin(opts *bind.FilterOpts, deadline []*big.Int, admin []common.Address) (*RenCommitNewAdminIterator, error)

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

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

func (*RenFilterer) FilterCommitNewFee

func (_Ren *RenFilterer) FilterCommitNewFee(opts *bind.FilterOpts, deadline []*big.Int) (*RenCommitNewFeeIterator, 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 (*RenFilterer) FilterNewAdmin

func (_Ren *RenFilterer) FilterNewAdmin(opts *bind.FilterOpts, admin []common.Address) (*RenNewAdminIterator, error)

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

Solidity: event NewAdmin(address indexed admin)

func (*RenFilterer) FilterNewFee

func (_Ren *RenFilterer) FilterNewFee(opts *bind.FilterOpts) (*RenNewFeeIterator, error)

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

Solidity: event NewFee(uint256 fee, uint256 admin_fee)

func (*RenFilterer) FilterRampA

func (_Ren *RenFilterer) FilterRampA(opts *bind.FilterOpts) (*RenRampAIterator, 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 (*RenFilterer) FilterRemoveLiquidity

func (_Ren *RenFilterer) FilterRemoveLiquidity(opts *bind.FilterOpts, provider []common.Address) (*RenRemoveLiquidityIterator, 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 (*RenFilterer) FilterRemoveLiquidityImbalance

func (_Ren *RenFilterer) FilterRemoveLiquidityImbalance(opts *bind.FilterOpts, provider []common.Address) (*RenRemoveLiquidityImbalanceIterator, 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 (*RenFilterer) FilterRemoveLiquidityOne

func (_Ren *RenFilterer) FilterRemoveLiquidityOne(opts *bind.FilterOpts, provider []common.Address) (*RenRemoveLiquidityOneIterator, 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 (*RenFilterer) FilterStopRampA

func (_Ren *RenFilterer) FilterStopRampA(opts *bind.FilterOpts) (*RenStopRampAIterator, error)

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

Solidity: event StopRampA(uint256 A, uint256 t)

func (*RenFilterer) FilterTokenExchange

func (_Ren *RenFilterer) FilterTokenExchange(opts *bind.FilterOpts, buyer []common.Address) (*RenTokenExchangeIterator, 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 (*RenFilterer) ParseAddLiquidity

func (_Ren *RenFilterer) ParseAddLiquidity(log types.Log) (*RenAddLiquidity, 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 (*RenFilterer) ParseCommitNewAdmin

func (_Ren *RenFilterer) ParseCommitNewAdmin(log types.Log) (*RenCommitNewAdmin, error)

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

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

func (*RenFilterer) ParseCommitNewFee

func (_Ren *RenFilterer) ParseCommitNewFee(log types.Log) (*RenCommitNewFee, error)

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

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

func (*RenFilterer) ParseNewAdmin

func (_Ren *RenFilterer) ParseNewAdmin(log types.Log) (*RenNewAdmin, error)

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

Solidity: event NewAdmin(address indexed admin)

func (*RenFilterer) ParseNewFee

func (_Ren *RenFilterer) ParseNewFee(log types.Log) (*RenNewFee, error)

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

Solidity: event NewFee(uint256 fee, uint256 admin_fee)

func (*RenFilterer) ParseRampA

func (_Ren *RenFilterer) ParseRampA(log types.Log) (*RenRampA, 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 (*RenFilterer) ParseRemoveLiquidity

func (_Ren *RenFilterer) ParseRemoveLiquidity(log types.Log) (*RenRemoveLiquidity, 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 (*RenFilterer) ParseRemoveLiquidityImbalance

func (_Ren *RenFilterer) ParseRemoveLiquidityImbalance(log types.Log) (*RenRemoveLiquidityImbalance, 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 (*RenFilterer) ParseRemoveLiquidityOne

func (_Ren *RenFilterer) ParseRemoveLiquidityOne(log types.Log) (*RenRemoveLiquidityOne, 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 (*RenFilterer) ParseStopRampA

func (_Ren *RenFilterer) ParseStopRampA(log types.Log) (*RenStopRampA, error)

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

Solidity: event StopRampA(uint256 A, uint256 t)

func (*RenFilterer) ParseTokenExchange

func (_Ren *RenFilterer) ParseTokenExchange(log types.Log) (*RenTokenExchange, 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 (*RenFilterer) WatchAddLiquidity

func (_Ren *RenFilterer) WatchAddLiquidity(opts *bind.WatchOpts, sink chan<- *RenAddLiquidity, 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 (*RenFilterer) WatchCommitNewAdmin

func (_Ren *RenFilterer) WatchCommitNewAdmin(opts *bind.WatchOpts, sink chan<- *RenCommitNewAdmin, 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 (*RenFilterer) WatchCommitNewFee

func (_Ren *RenFilterer) WatchCommitNewFee(opts *bind.WatchOpts, sink chan<- *RenCommitNewFee, 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 (*RenFilterer) WatchNewAdmin

func (_Ren *RenFilterer) WatchNewAdmin(opts *bind.WatchOpts, sink chan<- *RenNewAdmin, 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 (*RenFilterer) WatchNewFee

func (_Ren *RenFilterer) WatchNewFee(opts *bind.WatchOpts, sink chan<- *RenNewFee) (event.Subscription, error)

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

Solidity: event NewFee(uint256 fee, uint256 admin_fee)

func (*RenFilterer) WatchRampA

func (_Ren *RenFilterer) WatchRampA(opts *bind.WatchOpts, sink chan<- *RenRampA) (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 (*RenFilterer) WatchRemoveLiquidity

func (_Ren *RenFilterer) WatchRemoveLiquidity(opts *bind.WatchOpts, sink chan<- *RenRemoveLiquidity, 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 (*RenFilterer) WatchRemoveLiquidityImbalance

func (_Ren *RenFilterer) WatchRemoveLiquidityImbalance(opts *bind.WatchOpts, sink chan<- *RenRemoveLiquidityImbalance, 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 (*RenFilterer) WatchRemoveLiquidityOne

func (_Ren *RenFilterer) WatchRemoveLiquidityOne(opts *bind.WatchOpts, sink chan<- *RenRemoveLiquidityOne, 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 (*RenFilterer) WatchStopRampA

func (_Ren *RenFilterer) WatchStopRampA(opts *bind.WatchOpts, sink chan<- *RenStopRampA) (event.Subscription, error)

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

Solidity: event StopRampA(uint256 A, uint256 t)

func (*RenFilterer) WatchTokenExchange

func (_Ren *RenFilterer) WatchTokenExchange(opts *bind.WatchOpts, sink chan<- *RenTokenExchange, 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 RenNewAdmin

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

RenNewAdmin represents a NewAdmin event raised by the Ren contract.

type RenNewAdminIterator

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

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

func (*RenNewAdminIterator) Close

func (it *RenNewAdminIterator) Close() error

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

func (*RenNewAdminIterator) Error

func (it *RenNewAdminIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*RenNewAdminIterator) Next

func (it *RenNewAdminIterator) 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 RenNewFee

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

RenNewFee represents a NewFee event raised by the Ren contract.

type RenNewFeeIterator

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

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

func (*RenNewFeeIterator) Close

func (it *RenNewFeeIterator) Close() error

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

func (*RenNewFeeIterator) Error

func (it *RenNewFeeIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*RenNewFeeIterator) Next

func (it *RenNewFeeIterator) 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 RenRampA

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

RenRampA represents a RampA event raised by the Ren contract.

type RenRampAIterator

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

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

func (*RenRampAIterator) Close

func (it *RenRampAIterator) Close() error

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

func (*RenRampAIterator) Error

func (it *RenRampAIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*RenRampAIterator) Next

func (it *RenRampAIterator) 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 RenRaw

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

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

func (*RenRaw) Call

func (_Ren *RenRaw) 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 (*RenRaw) Transact

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

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

func (*RenRaw) Transfer

func (_Ren *RenRaw) 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 RenRemoveLiquidity

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

RenRemoveLiquidity represents a RemoveLiquidity event raised by the Ren contract.

type RenRemoveLiquidityImbalance

type RenRemoveLiquidityImbalance 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
}

RenRemoveLiquidityImbalance represents a RemoveLiquidityImbalance event raised by the Ren contract.

type RenRemoveLiquidityImbalanceIterator

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

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

func (*RenRemoveLiquidityImbalanceIterator) Close

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

func (*RenRemoveLiquidityImbalanceIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*RenRemoveLiquidityImbalanceIterator) 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 RenRemoveLiquidityIterator

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

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

func (*RenRemoveLiquidityIterator) Close

func (it *RenRemoveLiquidityIterator) Close() error

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

func (*RenRemoveLiquidityIterator) Error

func (it *RenRemoveLiquidityIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*RenRemoveLiquidityIterator) Next

func (it *RenRemoveLiquidityIterator) 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 RenRemoveLiquidityOne

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

RenRemoveLiquidityOne represents a RemoveLiquidityOne event raised by the Ren contract.

type RenRemoveLiquidityOneIterator

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

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

func (*RenRemoveLiquidityOneIterator) Close

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

func (*RenRemoveLiquidityOneIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*RenRemoveLiquidityOneIterator) 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 RenSession

type RenSession struct {
	Contract     *Ren              // 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
}

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

func (*RenSession) A

func (_Ren *RenSession) A() (*big.Int, error)

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

Solidity: function A() returns(uint256)

func (*RenSession) AddLiquidity

func (_Ren *RenSession) 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 (*RenSession) AdminActionsDeadline

func (_Ren *RenSession) AdminActionsDeadline() (*big.Int, error)

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

Solidity: function admin_actions_deadline() returns(uint256)

func (*RenSession) AdminFee

func (_Ren *RenSession) AdminFee() (*big.Int, error)

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

Solidity: function admin_fee() returns(uint256)

func (*RenSession) ApplyNewFee

func (_Ren *RenSession) ApplyNewFee() (*types.Transaction, error)

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

Solidity: function apply_new_fee() returns()

func (*RenSession) ApplyTransferOwnership

func (_Ren *RenSession) ApplyTransferOwnership() (*types.Transaction, error)

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

Solidity: function apply_transfer_ownership() returns()

func (*RenSession) Balances

func (_Ren *RenSession) Balances(arg0 *big.Int) (*big.Int, error)

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

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

func (*RenSession) CalcTokenAmount

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

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

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

func (*RenSession) CalcWithdrawOneCoin

func (_Ren *RenSession) 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) returns(uint256)

func (*RenSession) Coins

func (_Ren *RenSession) Coins(arg0 *big.Int) (common.Address, error)

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

Solidity: function coins(int128 arg0) returns(address)

func (*RenSession) CommitNewFee

func (_Ren *RenSession) 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 (*RenSession) CommitTransferOwnership

func (_Ren *RenSession) 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 (*RenSession) Exchange

func (_Ren *RenSession) 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 (*RenSession) Fee

func (_Ren *RenSession) Fee() (*big.Int, error)

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

Solidity: function fee() returns(uint256)

func (*RenSession) FutureA

func (_Ren *RenSession) FutureA() (*big.Int, error)

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

Solidity: function future_A() returns(uint256)

func (*RenSession) FutureATime

func (_Ren *RenSession) FutureATime() (*big.Int, error)

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

Solidity: function future_A_time() returns(uint256)

func (*RenSession) FutureAdminFee

func (_Ren *RenSession) FutureAdminFee() (*big.Int, error)

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

Solidity: function future_admin_fee() returns(uint256)

func (*RenSession) FutureFee

func (_Ren *RenSession) FutureFee() (*big.Int, error)

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

Solidity: function future_fee() returns(uint256)

func (*RenSession) FutureOwner

func (_Ren *RenSession) FutureOwner() (common.Address, error)

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

Solidity: function future_owner() returns(address)

func (*RenSession) GetDy

func (_Ren *RenSession) GetDy(i *big.Int, j *big.Int, dx *big.Int) (*big.Int, error)

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

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

func (*RenSession) GetDyUnderlying

func (_Ren *RenSession) GetDyUnderlying(i *big.Int, j *big.Int, dx *big.Int) (*big.Int, error)

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

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

func (*RenSession) GetVirtualPrice

func (_Ren *RenSession) GetVirtualPrice() (*big.Int, error)

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

Solidity: function get_virtual_price() returns(uint256)

func (*RenSession) InitialA

func (_Ren *RenSession) InitialA() (*big.Int, error)

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

Solidity: function initial_A() returns(uint256)

func (*RenSession) InitialATime

func (_Ren *RenSession) InitialATime() (*big.Int, error)

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

Solidity: function initial_A_time() returns(uint256)

func (*RenSession) KillMe

func (_Ren *RenSession) KillMe() (*types.Transaction, error)

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

Solidity: function kill_me() returns()

func (*RenSession) Owner

func (_Ren *RenSession) Owner() (common.Address, error)

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

Solidity: function owner() returns(address)

func (*RenSession) RampA

func (_Ren *RenSession) 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 (*RenSession) RemoveLiquidity

func (_Ren *RenSession) 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 (*RenSession) RemoveLiquidityImbalance

func (_Ren *RenSession) 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 (*RenSession) RemoveLiquidityOneCoin

func (_Ren *RenSession) 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 (*RenSession) RevertNewParameters

func (_Ren *RenSession) RevertNewParameters() (*types.Transaction, error)

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

Solidity: function revert_new_parameters() returns()

func (*RenSession) RevertTransferOwnership

func (_Ren *RenSession) RevertTransferOwnership() (*types.Transaction, error)

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

Solidity: function revert_transfer_ownership() returns()

func (*RenSession) StopRampA

func (_Ren *RenSession) StopRampA() (*types.Transaction, error)

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

Solidity: function stop_ramp_A() returns()

func (*RenSession) TransferOwnershipDeadline

func (_Ren *RenSession) TransferOwnershipDeadline() (*big.Int, error)

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

Solidity: function transfer_ownership_deadline() returns(uint256)

func (*RenSession) UnkillMe

func (_Ren *RenSession) UnkillMe() (*types.Transaction, error)

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

Solidity: function unkill_me() returns()

func (*RenSession) WithdrawAdminFees

func (_Ren *RenSession) WithdrawAdminFees() (*types.Transaction, error)

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

Solidity: function withdraw_admin_fees() returns()

type RenStopRampA

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

RenStopRampA represents a StopRampA event raised by the Ren contract.

type RenStopRampAIterator

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

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

func (*RenStopRampAIterator) Close

func (it *RenStopRampAIterator) Close() error

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

func (*RenStopRampAIterator) Error

func (it *RenStopRampAIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*RenStopRampAIterator) Next

func (it *RenStopRampAIterator) 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 RenTokenExchange

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

RenTokenExchange represents a TokenExchange event raised by the Ren contract.

type RenTokenExchangeIterator

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

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

func (*RenTokenExchangeIterator) Close

func (it *RenTokenExchangeIterator) Close() error

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

func (*RenTokenExchangeIterator) Error

func (it *RenTokenExchangeIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*RenTokenExchangeIterator) Next

func (it *RenTokenExchangeIterator) 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 RenTransactor

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

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

func NewRenTransactor

func NewRenTransactor(address common.Address, transactor bind.ContractTransactor) (*RenTransactor, error)

NewRenTransactor creates a new write-only instance of Ren, bound to a specific deployed contract.

func (*RenTransactor) AddLiquidity

func (_Ren *RenTransactor) 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 (*RenTransactor) ApplyNewFee

func (_Ren *RenTransactor) 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 (*RenTransactor) ApplyTransferOwnership

func (_Ren *RenTransactor) 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 (*RenTransactor) CommitNewFee

func (_Ren *RenTransactor) 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 (*RenTransactor) CommitTransferOwnership

func (_Ren *RenTransactor) 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 (*RenTransactor) Exchange

func (_Ren *RenTransactor) 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 (*RenTransactor) KillMe

func (_Ren *RenTransactor) KillMe(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function kill_me() returns()

func (*RenTransactor) RampA

func (_Ren *RenTransactor) 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 (*RenTransactor) RemoveLiquidity

func (_Ren *RenTransactor) 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 (*RenTransactor) RemoveLiquidityImbalance

func (_Ren *RenTransactor) 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 (*RenTransactor) RemoveLiquidityOneCoin

func (_Ren *RenTransactor) 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 (*RenTransactor) RevertNewParameters

func (_Ren *RenTransactor) 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 (*RenTransactor) RevertTransferOwnership

func (_Ren *RenTransactor) 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 (*RenTransactor) StopRampA

func (_Ren *RenTransactor) 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 (*RenTransactor) UnkillMe

func (_Ren *RenTransactor) UnkillMe(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function unkill_me() returns()

func (*RenTransactor) WithdrawAdminFees

func (_Ren *RenTransactor) 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 RenTransactorRaw

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

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

func (*RenTransactorRaw) Transact

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

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

func (*RenTransactorRaw) Transfer

func (_Ren *RenTransactorRaw) 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 RenTransactorSession

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

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

func (*RenTransactorSession) AddLiquidity

func (_Ren *RenTransactorSession) 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 (*RenTransactorSession) ApplyNewFee

func (_Ren *RenTransactorSession) ApplyNewFee() (*types.Transaction, error)

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

Solidity: function apply_new_fee() returns()

func (*RenTransactorSession) ApplyTransferOwnership

func (_Ren *RenTransactorSession) ApplyTransferOwnership() (*types.Transaction, error)

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

Solidity: function apply_transfer_ownership() returns()

func (*RenTransactorSession) CommitNewFee

func (_Ren *RenTransactorSession) 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 (*RenTransactorSession) CommitTransferOwnership

func (_Ren *RenTransactorSession) 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 (*RenTransactorSession) Exchange

func (_Ren *RenTransactorSession) 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 (*RenTransactorSession) KillMe

func (_Ren *RenTransactorSession) KillMe() (*types.Transaction, error)

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

Solidity: function kill_me() returns()

func (*RenTransactorSession) RampA

func (_Ren *RenTransactorSession) 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 (*RenTransactorSession) RemoveLiquidity

func (_Ren *RenTransactorSession) 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 (*RenTransactorSession) RemoveLiquidityImbalance

func (_Ren *RenTransactorSession) 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 (*RenTransactorSession) RemoveLiquidityOneCoin

func (_Ren *RenTransactorSession) 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 (*RenTransactorSession) RevertNewParameters

func (_Ren *RenTransactorSession) RevertNewParameters() (*types.Transaction, error)

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

Solidity: function revert_new_parameters() returns()

func (*RenTransactorSession) RevertTransferOwnership

func (_Ren *RenTransactorSession) RevertTransferOwnership() (*types.Transaction, error)

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

Solidity: function revert_transfer_ownership() returns()

func (*RenTransactorSession) StopRampA

func (_Ren *RenTransactorSession) StopRampA() (*types.Transaction, error)

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

Solidity: function stop_ramp_A() returns()

func (*RenTransactorSession) UnkillMe

func (_Ren *RenTransactorSession) UnkillMe() (*types.Transaction, error)

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

Solidity: function unkill_me() returns()

func (*RenTransactorSession) WithdrawAdminFees

func (_Ren *RenTransactorSession) 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