SyntheticsReader

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var SyntheticsReaderABI = SyntheticsReaderMetaData.ABI

SyntheticsReaderABI is the input ABI used to generate the binding from. Deprecated: Use SyntheticsReaderMetaData.ABI instead.

View Source
var SyntheticsReaderMetaData = &bind.MetaData{
	ABI: "[{\"type\":\"function\",\"name\":\"BASIS_POINTS_DIVISOR\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"POSITION_PROPS_LENGTH\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"PRICE_PRECISION\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"USDG_DECIMALS\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"getAmountOut\",\"inputs\":[{\"name\":\"_vault\",\"type\":\"address\",\"internalType\":\"contractIVault\"},{\"name\":\"_tokenIn\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_tokenOut\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_amountIn\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"getFeeBasisPoints\",\"inputs\":[{\"name\":\"_vault\",\"type\":\"address\",\"internalType\":\"contractIVault\"},{\"name\":\"_tokenIn\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_tokenOut\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_amountIn\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"getFees\",\"inputs\":[{\"name\":\"_vault\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_tokens\",\"type\":\"address[]\",\"internalType\":\"address[]\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256[]\",\"internalType\":\"uint256[]\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"getFullVaultTokenInfo\",\"inputs\":[{\"name\":\"_vault\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_weth\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_usdgAmount\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"_tokens\",\"type\":\"address[]\",\"internalType\":\"address[]\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256[]\",\"internalType\":\"uint256[]\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"getFundingRates\",\"inputs\":[{\"name\":\"_vault\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_weth\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_tokens\",\"type\":\"address[]\",\"internalType\":\"address[]\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256[]\",\"internalType\":\"uint256[]\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"getMaxAmountIn\",\"inputs\":[{\"name\":\"_vault\",\"type\":\"address\",\"internalType\":\"contractIVault\"},{\"name\":\"_tokenIn\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_tokenOut\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"getPairInfo\",\"inputs\":[{\"name\":\"_factory\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_tokens\",\"type\":\"address[]\",\"internalType\":\"address[]\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256[]\",\"internalType\":\"uint256[]\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"getPositions\",\"inputs\":[{\"name\":\"_vault\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_account\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_collateralTokens\",\"type\":\"address[]\",\"internalType\":\"address[]\"},{\"name\":\"_indexTokens\",\"type\":\"address[]\",\"internalType\":\"address[]\"},{\"name\":\"_isLong\",\"type\":\"bool[]\",\"internalType\":\"bool[]\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256[]\",\"internalType\":\"uint256[]\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"getPrices\",\"inputs\":[{\"name\":\"_priceFeed\",\"type\":\"address\",\"internalType\":\"contractIVaultPriceFeed\"},{\"name\":\"_tokens\",\"type\":\"address[]\",\"internalType\":\"address[]\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256[]\",\"internalType\":\"uint256[]\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"getStakingInfo\",\"inputs\":[{\"name\":\"_account\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_yieldTrackers\",\"type\":\"address[]\",\"internalType\":\"address[]\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256[]\",\"internalType\":\"uint256[]\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"getTokenBalances\",\"inputs\":[{\"name\":\"_account\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_tokens\",\"type\":\"address[]\",\"internalType\":\"address[]\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256[]\",\"internalType\":\"uint256[]\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"getTokenBalancesWithSupplies\",\"inputs\":[{\"name\":\"_account\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_tokens\",\"type\":\"address[]\",\"internalType\":\"address[]\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256[]\",\"internalType\":\"uint256[]\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"getTokenSupply\",\"inputs\":[{\"name\":\"_token\",\"type\":\"address\",\"internalType\":\"contractIERC20\"},{\"name\":\"_excludedAccounts\",\"type\":\"address[]\",\"internalType\":\"address[]\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"getTotalBalance\",\"inputs\":[{\"name\":\"_token\",\"type\":\"address\",\"internalType\":\"contractIERC20\"},{\"name\":\"_accounts\",\"type\":\"address[]\",\"internalType\":\"address[]\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"getTotalStaked\",\"inputs\":[{\"name\":\"_yieldTokens\",\"type\":\"address[]\",\"internalType\":\"address[]\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256[]\",\"internalType\":\"uint256[]\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"getVaultTokenInfo\",\"inputs\":[{\"name\":\"_vault\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_weth\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_usdgAmount\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"_tokens\",\"type\":\"address[]\",\"internalType\":\"address[]\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256[]\",\"internalType\":\"uint256[]\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"getVaultTokenInfoV2\",\"inputs\":[{\"name\":\"_vault\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_weth\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_usdgAmount\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"_tokens\",\"type\":\"address[]\",\"internalType\":\"address[]\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256[]\",\"internalType\":\"uint256[]\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"getVestingInfo\",\"inputs\":[{\"name\":\"_account\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_vesters\",\"type\":\"address[]\",\"internalType\":\"address[]\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256[]\",\"internalType\":\"uint256[]\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"gov\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"hasMaxGlobalShortSizes\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"setConfig\",\"inputs\":[{\"name\":\"_hasMaxGlobalShortSizes\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"setGov\",\"inputs\":[{\"name\":\"_gov\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"}]",
}

SyntheticsReaderMetaData contains all meta data concerning the SyntheticsReader contract.

Functions

This section is empty.

Types

type SyntheticsReader

type SyntheticsReader struct {
	SyntheticsReaderCaller     // Read-only binding to the contract
	SyntheticsReaderTransactor // Write-only binding to the contract
	SyntheticsReaderFilterer   // Log filterer for contract events
}

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

func NewSyntheticsReader

func NewSyntheticsReader(address common.Address, backend bind.ContractBackend) (*SyntheticsReader, error)

NewSyntheticsReader creates a new instance of SyntheticsReader, bound to a specific deployed contract.

type SyntheticsReaderCaller

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

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

func NewSyntheticsReaderCaller

func NewSyntheticsReaderCaller(address common.Address, caller bind.ContractCaller) (*SyntheticsReaderCaller, error)

NewSyntheticsReaderCaller creates a new read-only instance of SyntheticsReader, bound to a specific deployed contract.

func (*SyntheticsReaderCaller) BASISPOINTSDIVISOR

func (_SyntheticsReader *SyntheticsReaderCaller) BASISPOINTSDIVISOR(opts *bind.CallOpts) (*big.Int, error)

BASISPOINTSDIVISOR is a free data retrieval call binding the contract method 0x126082cf.

Solidity: function BASIS_POINTS_DIVISOR() view returns(uint256)

func (*SyntheticsReaderCaller) GetAmountOut

func (_SyntheticsReader *SyntheticsReaderCaller) GetAmountOut(opts *bind.CallOpts, _vault common.Address, _tokenIn common.Address, _tokenOut common.Address, _amountIn *big.Int) (*big.Int, *big.Int, error)

GetAmountOut is a free data retrieval call binding the contract method 0xd7176ca9.

Solidity: function getAmountOut(address _vault, address _tokenIn, address _tokenOut, uint256 _amountIn) view returns(uint256, uint256)

func (*SyntheticsReaderCaller) GetFeeBasisPoints

func (_SyntheticsReader *SyntheticsReaderCaller) GetFeeBasisPoints(opts *bind.CallOpts, _vault common.Address, _tokenIn common.Address, _tokenOut common.Address, _amountIn *big.Int) (*big.Int, *big.Int, *big.Int, error)

GetFeeBasisPoints is a free data retrieval call binding the contract method 0x440f018c.

Solidity: function getFeeBasisPoints(address _vault, address _tokenIn, address _tokenOut, uint256 _amountIn) view returns(uint256, uint256, uint256)

func (*SyntheticsReaderCaller) GetFees

func (_SyntheticsReader *SyntheticsReaderCaller) GetFees(opts *bind.CallOpts, _vault common.Address, _tokens []common.Address) ([]*big.Int, error)

GetFees is a free data retrieval call binding the contract method 0x86d4d0f5.

Solidity: function getFees(address _vault, address[] _tokens) view returns(uint256[])

func (*SyntheticsReaderCaller) GetFullVaultTokenInfo

func (_SyntheticsReader *SyntheticsReaderCaller) GetFullVaultTokenInfo(opts *bind.CallOpts, _vault common.Address, _weth common.Address, _usdgAmount *big.Int, _tokens []common.Address) ([]*big.Int, error)

GetFullVaultTokenInfo is a free data retrieval call binding the contract method 0x7b906e93.

Solidity: function getFullVaultTokenInfo(address _vault, address _weth, uint256 _usdgAmount, address[] _tokens) view returns(uint256[])

func (*SyntheticsReaderCaller) GetFundingRates

func (_SyntheticsReader *SyntheticsReaderCaller) GetFundingRates(opts *bind.CallOpts, _vault common.Address, _weth common.Address, _tokens []common.Address) ([]*big.Int, error)

GetFundingRates is a free data retrieval call binding the contract method 0x95a7535a.

Solidity: function getFundingRates(address _vault, address _weth, address[] _tokens) view returns(uint256[])

func (*SyntheticsReaderCaller) GetMaxAmountIn

func (_SyntheticsReader *SyntheticsReaderCaller) GetMaxAmountIn(opts *bind.CallOpts, _vault common.Address, _tokenIn common.Address, _tokenOut common.Address) (*big.Int, error)

GetMaxAmountIn is a free data retrieval call binding the contract method 0xf3535e6c.

Solidity: function getMaxAmountIn(address _vault, address _tokenIn, address _tokenOut) view returns(uint256)

func (*SyntheticsReaderCaller) GetPairInfo

func (_SyntheticsReader *SyntheticsReaderCaller) GetPairInfo(opts *bind.CallOpts, _factory common.Address, _tokens []common.Address) ([]*big.Int, error)

GetPairInfo is a free data retrieval call binding the contract method 0xa4543ead.

Solidity: function getPairInfo(address _factory, address[] _tokens) view returns(uint256[])

func (*SyntheticsReaderCaller) GetPositions

func (_SyntheticsReader *SyntheticsReaderCaller) GetPositions(opts *bind.CallOpts, _vault common.Address, _account common.Address, _collateralTokens []common.Address, _indexTokens []common.Address, _isLong []bool) ([]*big.Int, error)

GetPositions is a free data retrieval call binding the contract method 0xdc383cab.

Solidity: function getPositions(address _vault, address _account, address[] _collateralTokens, address[] _indexTokens, bool[] _isLong) view returns(uint256[])

func (*SyntheticsReaderCaller) GetPrices

func (_SyntheticsReader *SyntheticsReaderCaller) GetPrices(opts *bind.CallOpts, _priceFeed common.Address, _tokens []common.Address) ([]*big.Int, error)

GetPrices is a free data retrieval call binding the contract method 0x3613d527.

Solidity: function getPrices(address _priceFeed, address[] _tokens) view returns(uint256[])

func (*SyntheticsReaderCaller) GetStakingInfo

func (_SyntheticsReader *SyntheticsReaderCaller) GetStakingInfo(opts *bind.CallOpts, _account common.Address, _yieldTrackers []common.Address) ([]*big.Int, error)

GetStakingInfo is a free data retrieval call binding the contract method 0x937a0be8.

Solidity: function getStakingInfo(address _account, address[] _yieldTrackers) view returns(uint256[])

func (*SyntheticsReaderCaller) GetTokenBalances

func (_SyntheticsReader *SyntheticsReaderCaller) GetTokenBalances(opts *bind.CallOpts, _account common.Address, _tokens []common.Address) ([]*big.Int, error)

GetTokenBalances is a free data retrieval call binding the contract method 0xd802178e.

Solidity: function getTokenBalances(address _account, address[] _tokens) view returns(uint256[])

func (*SyntheticsReaderCaller) GetTokenBalancesWithSupplies

func (_SyntheticsReader *SyntheticsReaderCaller) GetTokenBalancesWithSupplies(opts *bind.CallOpts, _account common.Address, _tokens []common.Address) ([]*big.Int, error)

GetTokenBalancesWithSupplies is a free data retrieval call binding the contract method 0x2e3e3342.

Solidity: function getTokenBalancesWithSupplies(address _account, address[] _tokens) view returns(uint256[])

func (*SyntheticsReaderCaller) GetTokenSupply

func (_SyntheticsReader *SyntheticsReaderCaller) GetTokenSupply(opts *bind.CallOpts, _token common.Address, _excludedAccounts []common.Address) (*big.Int, error)

GetTokenSupply is a free data retrieval call binding the contract method 0x2ac0184c.

Solidity: function getTokenSupply(address _token, address[] _excludedAccounts) view returns(uint256)

func (*SyntheticsReaderCaller) GetTotalBalance

func (_SyntheticsReader *SyntheticsReaderCaller) GetTotalBalance(opts *bind.CallOpts, _token common.Address, _accounts []common.Address) (*big.Int, error)

GetTotalBalance is a free data retrieval call binding the contract method 0xfbdb05ca.

Solidity: function getTotalBalance(address _token, address[] _accounts) view returns(uint256)

func (*SyntheticsReaderCaller) GetTotalStaked

func (_SyntheticsReader *SyntheticsReaderCaller) GetTotalStaked(opts *bind.CallOpts, _yieldTokens []common.Address) ([]*big.Int, error)

GetTotalStaked is a free data retrieval call binding the contract method 0x2413c8c1.

Solidity: function getTotalStaked(address[] _yieldTokens) view returns(uint256[])

func (*SyntheticsReaderCaller) GetVaultTokenInfo

func (_SyntheticsReader *SyntheticsReaderCaller) GetVaultTokenInfo(opts *bind.CallOpts, _vault common.Address, _weth common.Address, _usdgAmount *big.Int, _tokens []common.Address) ([]*big.Int, error)

GetVaultTokenInfo is a free data retrieval call binding the contract method 0x20542568.

Solidity: function getVaultTokenInfo(address _vault, address _weth, uint256 _usdgAmount, address[] _tokens) view returns(uint256[])

func (*SyntheticsReaderCaller) GetVaultTokenInfoV2

func (_SyntheticsReader *SyntheticsReaderCaller) GetVaultTokenInfoV2(opts *bind.CallOpts, _vault common.Address, _weth common.Address, _usdgAmount *big.Int, _tokens []common.Address) ([]*big.Int, error)

GetVaultTokenInfoV2 is a free data retrieval call binding the contract method 0x8e83ca32.

Solidity: function getVaultTokenInfoV2(address _vault, address _weth, uint256 _usdgAmount, address[] _tokens) view returns(uint256[])

func (*SyntheticsReaderCaller) GetVestingInfo

func (_SyntheticsReader *SyntheticsReaderCaller) GetVestingInfo(opts *bind.CallOpts, _account common.Address, _vesters []common.Address) ([]*big.Int, error)

GetVestingInfo is a free data retrieval call binding the contract method 0x48211934.

Solidity: function getVestingInfo(address _account, address[] _vesters) view returns(uint256[])

func (*SyntheticsReaderCaller) Gov

func (_SyntheticsReader *SyntheticsReaderCaller) Gov(opts *bind.CallOpts) (common.Address, error)

Gov is a free data retrieval call binding the contract method 0x12d43a51.

Solidity: function gov() view returns(address)

func (*SyntheticsReaderCaller) HasMaxGlobalShortSizes

func (_SyntheticsReader *SyntheticsReaderCaller) HasMaxGlobalShortSizes(opts *bind.CallOpts) (bool, error)

HasMaxGlobalShortSizes is a free data retrieval call binding the contract method 0xc6f1d676.

Solidity: function hasMaxGlobalShortSizes() view returns(bool)

func (*SyntheticsReaderCaller) POSITIONPROPSLENGTH

func (_SyntheticsReader *SyntheticsReaderCaller) POSITIONPROPSLENGTH(opts *bind.CallOpts) (*big.Int, error)

POSITIONPROPSLENGTH is a free data retrieval call binding the contract method 0xad7e5497.

Solidity: function POSITION_PROPS_LENGTH() view returns(uint256)

func (*SyntheticsReaderCaller) PRICEPRECISION

func (_SyntheticsReader *SyntheticsReaderCaller) PRICEPRECISION(opts *bind.CallOpts) (*big.Int, error)

PRICEPRECISION is a free data retrieval call binding the contract method 0x95082d25.

Solidity: function PRICE_PRECISION() view returns(uint256)

func (*SyntheticsReaderCaller) USDGDECIMALS

func (_SyntheticsReader *SyntheticsReaderCaller) USDGDECIMALS(opts *bind.CallOpts) (*big.Int, error)

USDGDECIMALS is a free data retrieval call binding the contract method 0x870d917c.

Solidity: function USDG_DECIMALS() view returns(uint256)

type SyntheticsReaderCallerRaw

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

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

func (*SyntheticsReaderCallerRaw) Call

func (_SyntheticsReader *SyntheticsReaderCallerRaw) 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 SyntheticsReaderCallerSession

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

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

func (*SyntheticsReaderCallerSession) BASISPOINTSDIVISOR

func (_SyntheticsReader *SyntheticsReaderCallerSession) BASISPOINTSDIVISOR() (*big.Int, error)

BASISPOINTSDIVISOR is a free data retrieval call binding the contract method 0x126082cf.

Solidity: function BASIS_POINTS_DIVISOR() view returns(uint256)

func (*SyntheticsReaderCallerSession) GetAmountOut

func (_SyntheticsReader *SyntheticsReaderCallerSession) GetAmountOut(_vault common.Address, _tokenIn common.Address, _tokenOut common.Address, _amountIn *big.Int) (*big.Int, *big.Int, error)

GetAmountOut is a free data retrieval call binding the contract method 0xd7176ca9.

Solidity: function getAmountOut(address _vault, address _tokenIn, address _tokenOut, uint256 _amountIn) view returns(uint256, uint256)

func (*SyntheticsReaderCallerSession) GetFeeBasisPoints

func (_SyntheticsReader *SyntheticsReaderCallerSession) GetFeeBasisPoints(_vault common.Address, _tokenIn common.Address, _tokenOut common.Address, _amountIn *big.Int) (*big.Int, *big.Int, *big.Int, error)

GetFeeBasisPoints is a free data retrieval call binding the contract method 0x440f018c.

Solidity: function getFeeBasisPoints(address _vault, address _tokenIn, address _tokenOut, uint256 _amountIn) view returns(uint256, uint256, uint256)

func (*SyntheticsReaderCallerSession) GetFees

func (_SyntheticsReader *SyntheticsReaderCallerSession) GetFees(_vault common.Address, _tokens []common.Address) ([]*big.Int, error)

GetFees is a free data retrieval call binding the contract method 0x86d4d0f5.

Solidity: function getFees(address _vault, address[] _tokens) view returns(uint256[])

func (*SyntheticsReaderCallerSession) GetFullVaultTokenInfo

func (_SyntheticsReader *SyntheticsReaderCallerSession) GetFullVaultTokenInfo(_vault common.Address, _weth common.Address, _usdgAmount *big.Int, _tokens []common.Address) ([]*big.Int, error)

GetFullVaultTokenInfo is a free data retrieval call binding the contract method 0x7b906e93.

Solidity: function getFullVaultTokenInfo(address _vault, address _weth, uint256 _usdgAmount, address[] _tokens) view returns(uint256[])

func (*SyntheticsReaderCallerSession) GetFundingRates

func (_SyntheticsReader *SyntheticsReaderCallerSession) GetFundingRates(_vault common.Address, _weth common.Address, _tokens []common.Address) ([]*big.Int, error)

GetFundingRates is a free data retrieval call binding the contract method 0x95a7535a.

Solidity: function getFundingRates(address _vault, address _weth, address[] _tokens) view returns(uint256[])

func (*SyntheticsReaderCallerSession) GetMaxAmountIn

func (_SyntheticsReader *SyntheticsReaderCallerSession) GetMaxAmountIn(_vault common.Address, _tokenIn common.Address, _tokenOut common.Address) (*big.Int, error)

GetMaxAmountIn is a free data retrieval call binding the contract method 0xf3535e6c.

Solidity: function getMaxAmountIn(address _vault, address _tokenIn, address _tokenOut) view returns(uint256)

func (*SyntheticsReaderCallerSession) GetPairInfo

func (_SyntheticsReader *SyntheticsReaderCallerSession) GetPairInfo(_factory common.Address, _tokens []common.Address) ([]*big.Int, error)

GetPairInfo is a free data retrieval call binding the contract method 0xa4543ead.

Solidity: function getPairInfo(address _factory, address[] _tokens) view returns(uint256[])

func (*SyntheticsReaderCallerSession) GetPositions

func (_SyntheticsReader *SyntheticsReaderCallerSession) GetPositions(_vault common.Address, _account common.Address, _collateralTokens []common.Address, _indexTokens []common.Address, _isLong []bool) ([]*big.Int, error)

GetPositions is a free data retrieval call binding the contract method 0xdc383cab.

Solidity: function getPositions(address _vault, address _account, address[] _collateralTokens, address[] _indexTokens, bool[] _isLong) view returns(uint256[])

func (*SyntheticsReaderCallerSession) GetPrices

func (_SyntheticsReader *SyntheticsReaderCallerSession) GetPrices(_priceFeed common.Address, _tokens []common.Address) ([]*big.Int, error)

GetPrices is a free data retrieval call binding the contract method 0x3613d527.

Solidity: function getPrices(address _priceFeed, address[] _tokens) view returns(uint256[])

func (*SyntheticsReaderCallerSession) GetStakingInfo

func (_SyntheticsReader *SyntheticsReaderCallerSession) GetStakingInfo(_account common.Address, _yieldTrackers []common.Address) ([]*big.Int, error)

GetStakingInfo is a free data retrieval call binding the contract method 0x937a0be8.

Solidity: function getStakingInfo(address _account, address[] _yieldTrackers) view returns(uint256[])

func (*SyntheticsReaderCallerSession) GetTokenBalances

func (_SyntheticsReader *SyntheticsReaderCallerSession) GetTokenBalances(_account common.Address, _tokens []common.Address) ([]*big.Int, error)

GetTokenBalances is a free data retrieval call binding the contract method 0xd802178e.

Solidity: function getTokenBalances(address _account, address[] _tokens) view returns(uint256[])

func (*SyntheticsReaderCallerSession) GetTokenBalancesWithSupplies

func (_SyntheticsReader *SyntheticsReaderCallerSession) GetTokenBalancesWithSupplies(_account common.Address, _tokens []common.Address) ([]*big.Int, error)

GetTokenBalancesWithSupplies is a free data retrieval call binding the contract method 0x2e3e3342.

Solidity: function getTokenBalancesWithSupplies(address _account, address[] _tokens) view returns(uint256[])

func (*SyntheticsReaderCallerSession) GetTokenSupply

func (_SyntheticsReader *SyntheticsReaderCallerSession) GetTokenSupply(_token common.Address, _excludedAccounts []common.Address) (*big.Int, error)

GetTokenSupply is a free data retrieval call binding the contract method 0x2ac0184c.

Solidity: function getTokenSupply(address _token, address[] _excludedAccounts) view returns(uint256)

func (*SyntheticsReaderCallerSession) GetTotalBalance

func (_SyntheticsReader *SyntheticsReaderCallerSession) GetTotalBalance(_token common.Address, _accounts []common.Address) (*big.Int, error)

GetTotalBalance is a free data retrieval call binding the contract method 0xfbdb05ca.

Solidity: function getTotalBalance(address _token, address[] _accounts) view returns(uint256)

func (*SyntheticsReaderCallerSession) GetTotalStaked

func (_SyntheticsReader *SyntheticsReaderCallerSession) GetTotalStaked(_yieldTokens []common.Address) ([]*big.Int, error)

GetTotalStaked is a free data retrieval call binding the contract method 0x2413c8c1.

Solidity: function getTotalStaked(address[] _yieldTokens) view returns(uint256[])

func (*SyntheticsReaderCallerSession) GetVaultTokenInfo

func (_SyntheticsReader *SyntheticsReaderCallerSession) GetVaultTokenInfo(_vault common.Address, _weth common.Address, _usdgAmount *big.Int, _tokens []common.Address) ([]*big.Int, error)

GetVaultTokenInfo is a free data retrieval call binding the contract method 0x20542568.

Solidity: function getVaultTokenInfo(address _vault, address _weth, uint256 _usdgAmount, address[] _tokens) view returns(uint256[])

func (*SyntheticsReaderCallerSession) GetVaultTokenInfoV2

func (_SyntheticsReader *SyntheticsReaderCallerSession) GetVaultTokenInfoV2(_vault common.Address, _weth common.Address, _usdgAmount *big.Int, _tokens []common.Address) ([]*big.Int, error)

GetVaultTokenInfoV2 is a free data retrieval call binding the contract method 0x8e83ca32.

Solidity: function getVaultTokenInfoV2(address _vault, address _weth, uint256 _usdgAmount, address[] _tokens) view returns(uint256[])

func (*SyntheticsReaderCallerSession) GetVestingInfo

func (_SyntheticsReader *SyntheticsReaderCallerSession) GetVestingInfo(_account common.Address, _vesters []common.Address) ([]*big.Int, error)

GetVestingInfo is a free data retrieval call binding the contract method 0x48211934.

Solidity: function getVestingInfo(address _account, address[] _vesters) view returns(uint256[])

func (*SyntheticsReaderCallerSession) Gov

func (_SyntheticsReader *SyntheticsReaderCallerSession) Gov() (common.Address, error)

Gov is a free data retrieval call binding the contract method 0x12d43a51.

Solidity: function gov() view returns(address)

func (*SyntheticsReaderCallerSession) HasMaxGlobalShortSizes

func (_SyntheticsReader *SyntheticsReaderCallerSession) HasMaxGlobalShortSizes() (bool, error)

HasMaxGlobalShortSizes is a free data retrieval call binding the contract method 0xc6f1d676.

Solidity: function hasMaxGlobalShortSizes() view returns(bool)

func (*SyntheticsReaderCallerSession) POSITIONPROPSLENGTH

func (_SyntheticsReader *SyntheticsReaderCallerSession) POSITIONPROPSLENGTH() (*big.Int, error)

POSITIONPROPSLENGTH is a free data retrieval call binding the contract method 0xad7e5497.

Solidity: function POSITION_PROPS_LENGTH() view returns(uint256)

func (*SyntheticsReaderCallerSession) PRICEPRECISION

func (_SyntheticsReader *SyntheticsReaderCallerSession) PRICEPRECISION() (*big.Int, error)

PRICEPRECISION is a free data retrieval call binding the contract method 0x95082d25.

Solidity: function PRICE_PRECISION() view returns(uint256)

func (*SyntheticsReaderCallerSession) USDGDECIMALS

func (_SyntheticsReader *SyntheticsReaderCallerSession) USDGDECIMALS() (*big.Int, error)

USDGDECIMALS is a free data retrieval call binding the contract method 0x870d917c.

Solidity: function USDG_DECIMALS() view returns(uint256)

type SyntheticsReaderFilterer

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

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

func NewSyntheticsReaderFilterer

func NewSyntheticsReaderFilterer(address common.Address, filterer bind.ContractFilterer) (*SyntheticsReaderFilterer, error)

NewSyntheticsReaderFilterer creates a new log filterer instance of SyntheticsReader, bound to a specific deployed contract.

type SyntheticsReaderRaw

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

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

func (*SyntheticsReaderRaw) Call

func (_SyntheticsReader *SyntheticsReaderRaw) 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 (*SyntheticsReaderRaw) Transact

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

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

func (*SyntheticsReaderRaw) Transfer

func (_SyntheticsReader *SyntheticsReaderRaw) 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 SyntheticsReaderSession

type SyntheticsReaderSession struct {
	Contract     *SyntheticsReader // 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
}

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

func (*SyntheticsReaderSession) BASISPOINTSDIVISOR

func (_SyntheticsReader *SyntheticsReaderSession) BASISPOINTSDIVISOR() (*big.Int, error)

BASISPOINTSDIVISOR is a free data retrieval call binding the contract method 0x126082cf.

Solidity: function BASIS_POINTS_DIVISOR() view returns(uint256)

func (*SyntheticsReaderSession) GetAmountOut

func (_SyntheticsReader *SyntheticsReaderSession) GetAmountOut(_vault common.Address, _tokenIn common.Address, _tokenOut common.Address, _amountIn *big.Int) (*big.Int, *big.Int, error)

GetAmountOut is a free data retrieval call binding the contract method 0xd7176ca9.

Solidity: function getAmountOut(address _vault, address _tokenIn, address _tokenOut, uint256 _amountIn) view returns(uint256, uint256)

func (*SyntheticsReaderSession) GetFeeBasisPoints

func (_SyntheticsReader *SyntheticsReaderSession) GetFeeBasisPoints(_vault common.Address, _tokenIn common.Address, _tokenOut common.Address, _amountIn *big.Int) (*big.Int, *big.Int, *big.Int, error)

GetFeeBasisPoints is a free data retrieval call binding the contract method 0x440f018c.

Solidity: function getFeeBasisPoints(address _vault, address _tokenIn, address _tokenOut, uint256 _amountIn) view returns(uint256, uint256, uint256)

func (*SyntheticsReaderSession) GetFees

func (_SyntheticsReader *SyntheticsReaderSession) GetFees(_vault common.Address, _tokens []common.Address) ([]*big.Int, error)

GetFees is a free data retrieval call binding the contract method 0x86d4d0f5.

Solidity: function getFees(address _vault, address[] _tokens) view returns(uint256[])

func (*SyntheticsReaderSession) GetFullVaultTokenInfo

func (_SyntheticsReader *SyntheticsReaderSession) GetFullVaultTokenInfo(_vault common.Address, _weth common.Address, _usdgAmount *big.Int, _tokens []common.Address) ([]*big.Int, error)

GetFullVaultTokenInfo is a free data retrieval call binding the contract method 0x7b906e93.

Solidity: function getFullVaultTokenInfo(address _vault, address _weth, uint256 _usdgAmount, address[] _tokens) view returns(uint256[])

func (*SyntheticsReaderSession) GetFundingRates

func (_SyntheticsReader *SyntheticsReaderSession) GetFundingRates(_vault common.Address, _weth common.Address, _tokens []common.Address) ([]*big.Int, error)

GetFundingRates is a free data retrieval call binding the contract method 0x95a7535a.

Solidity: function getFundingRates(address _vault, address _weth, address[] _tokens) view returns(uint256[])

func (*SyntheticsReaderSession) GetMaxAmountIn

func (_SyntheticsReader *SyntheticsReaderSession) GetMaxAmountIn(_vault common.Address, _tokenIn common.Address, _tokenOut common.Address) (*big.Int, error)

GetMaxAmountIn is a free data retrieval call binding the contract method 0xf3535e6c.

Solidity: function getMaxAmountIn(address _vault, address _tokenIn, address _tokenOut) view returns(uint256)

func (*SyntheticsReaderSession) GetPairInfo

func (_SyntheticsReader *SyntheticsReaderSession) GetPairInfo(_factory common.Address, _tokens []common.Address) ([]*big.Int, error)

GetPairInfo is a free data retrieval call binding the contract method 0xa4543ead.

Solidity: function getPairInfo(address _factory, address[] _tokens) view returns(uint256[])

func (*SyntheticsReaderSession) GetPositions

func (_SyntheticsReader *SyntheticsReaderSession) GetPositions(_vault common.Address, _account common.Address, _collateralTokens []common.Address, _indexTokens []common.Address, _isLong []bool) ([]*big.Int, error)

GetPositions is a free data retrieval call binding the contract method 0xdc383cab.

Solidity: function getPositions(address _vault, address _account, address[] _collateralTokens, address[] _indexTokens, bool[] _isLong) view returns(uint256[])

func (*SyntheticsReaderSession) GetPrices

func (_SyntheticsReader *SyntheticsReaderSession) GetPrices(_priceFeed common.Address, _tokens []common.Address) ([]*big.Int, error)

GetPrices is a free data retrieval call binding the contract method 0x3613d527.

Solidity: function getPrices(address _priceFeed, address[] _tokens) view returns(uint256[])

func (*SyntheticsReaderSession) GetStakingInfo

func (_SyntheticsReader *SyntheticsReaderSession) GetStakingInfo(_account common.Address, _yieldTrackers []common.Address) ([]*big.Int, error)

GetStakingInfo is a free data retrieval call binding the contract method 0x937a0be8.

Solidity: function getStakingInfo(address _account, address[] _yieldTrackers) view returns(uint256[])

func (*SyntheticsReaderSession) GetTokenBalances

func (_SyntheticsReader *SyntheticsReaderSession) GetTokenBalances(_account common.Address, _tokens []common.Address) ([]*big.Int, error)

GetTokenBalances is a free data retrieval call binding the contract method 0xd802178e.

Solidity: function getTokenBalances(address _account, address[] _tokens) view returns(uint256[])

func (*SyntheticsReaderSession) GetTokenBalancesWithSupplies

func (_SyntheticsReader *SyntheticsReaderSession) GetTokenBalancesWithSupplies(_account common.Address, _tokens []common.Address) ([]*big.Int, error)

GetTokenBalancesWithSupplies is a free data retrieval call binding the contract method 0x2e3e3342.

Solidity: function getTokenBalancesWithSupplies(address _account, address[] _tokens) view returns(uint256[])

func (*SyntheticsReaderSession) GetTokenSupply

func (_SyntheticsReader *SyntheticsReaderSession) GetTokenSupply(_token common.Address, _excludedAccounts []common.Address) (*big.Int, error)

GetTokenSupply is a free data retrieval call binding the contract method 0x2ac0184c.

Solidity: function getTokenSupply(address _token, address[] _excludedAccounts) view returns(uint256)

func (*SyntheticsReaderSession) GetTotalBalance

func (_SyntheticsReader *SyntheticsReaderSession) GetTotalBalance(_token common.Address, _accounts []common.Address) (*big.Int, error)

GetTotalBalance is a free data retrieval call binding the contract method 0xfbdb05ca.

Solidity: function getTotalBalance(address _token, address[] _accounts) view returns(uint256)

func (*SyntheticsReaderSession) GetTotalStaked

func (_SyntheticsReader *SyntheticsReaderSession) GetTotalStaked(_yieldTokens []common.Address) ([]*big.Int, error)

GetTotalStaked is a free data retrieval call binding the contract method 0x2413c8c1.

Solidity: function getTotalStaked(address[] _yieldTokens) view returns(uint256[])

func (*SyntheticsReaderSession) GetVaultTokenInfo

func (_SyntheticsReader *SyntheticsReaderSession) GetVaultTokenInfo(_vault common.Address, _weth common.Address, _usdgAmount *big.Int, _tokens []common.Address) ([]*big.Int, error)

GetVaultTokenInfo is a free data retrieval call binding the contract method 0x20542568.

Solidity: function getVaultTokenInfo(address _vault, address _weth, uint256 _usdgAmount, address[] _tokens) view returns(uint256[])

func (*SyntheticsReaderSession) GetVaultTokenInfoV2

func (_SyntheticsReader *SyntheticsReaderSession) GetVaultTokenInfoV2(_vault common.Address, _weth common.Address, _usdgAmount *big.Int, _tokens []common.Address) ([]*big.Int, error)

GetVaultTokenInfoV2 is a free data retrieval call binding the contract method 0x8e83ca32.

Solidity: function getVaultTokenInfoV2(address _vault, address _weth, uint256 _usdgAmount, address[] _tokens) view returns(uint256[])

func (*SyntheticsReaderSession) GetVestingInfo

func (_SyntheticsReader *SyntheticsReaderSession) GetVestingInfo(_account common.Address, _vesters []common.Address) ([]*big.Int, error)

GetVestingInfo is a free data retrieval call binding the contract method 0x48211934.

Solidity: function getVestingInfo(address _account, address[] _vesters) view returns(uint256[])

func (*SyntheticsReaderSession) Gov

func (_SyntheticsReader *SyntheticsReaderSession) Gov() (common.Address, error)

Gov is a free data retrieval call binding the contract method 0x12d43a51.

Solidity: function gov() view returns(address)

func (*SyntheticsReaderSession) HasMaxGlobalShortSizes

func (_SyntheticsReader *SyntheticsReaderSession) HasMaxGlobalShortSizes() (bool, error)

HasMaxGlobalShortSizes is a free data retrieval call binding the contract method 0xc6f1d676.

Solidity: function hasMaxGlobalShortSizes() view returns(bool)

func (*SyntheticsReaderSession) POSITIONPROPSLENGTH

func (_SyntheticsReader *SyntheticsReaderSession) POSITIONPROPSLENGTH() (*big.Int, error)

POSITIONPROPSLENGTH is a free data retrieval call binding the contract method 0xad7e5497.

Solidity: function POSITION_PROPS_LENGTH() view returns(uint256)

func (*SyntheticsReaderSession) PRICEPRECISION

func (_SyntheticsReader *SyntheticsReaderSession) PRICEPRECISION() (*big.Int, error)

PRICEPRECISION is a free data retrieval call binding the contract method 0x95082d25.

Solidity: function PRICE_PRECISION() view returns(uint256)

func (*SyntheticsReaderSession) SetConfig

func (_SyntheticsReader *SyntheticsReaderSession) SetConfig(_hasMaxGlobalShortSizes bool) (*types.Transaction, error)

SetConfig is a paid mutator transaction binding the contract method 0x9b0183c3.

Solidity: function setConfig(bool _hasMaxGlobalShortSizes) returns()

func (*SyntheticsReaderSession) SetGov

func (_SyntheticsReader *SyntheticsReaderSession) SetGov(_gov common.Address) (*types.Transaction, error)

SetGov is a paid mutator transaction binding the contract method 0xcfad57a2.

Solidity: function setGov(address _gov) returns()

func (*SyntheticsReaderSession) USDGDECIMALS

func (_SyntheticsReader *SyntheticsReaderSession) USDGDECIMALS() (*big.Int, error)

USDGDECIMALS is a free data retrieval call binding the contract method 0x870d917c.

Solidity: function USDG_DECIMALS() view returns(uint256)

type SyntheticsReaderTransactor

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

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

func NewSyntheticsReaderTransactor

func NewSyntheticsReaderTransactor(address common.Address, transactor bind.ContractTransactor) (*SyntheticsReaderTransactor, error)

NewSyntheticsReaderTransactor creates a new write-only instance of SyntheticsReader, bound to a specific deployed contract.

func (*SyntheticsReaderTransactor) SetConfig

func (_SyntheticsReader *SyntheticsReaderTransactor) SetConfig(opts *bind.TransactOpts, _hasMaxGlobalShortSizes bool) (*types.Transaction, error)

SetConfig is a paid mutator transaction binding the contract method 0x9b0183c3.

Solidity: function setConfig(bool _hasMaxGlobalShortSizes) returns()

func (*SyntheticsReaderTransactor) SetGov

func (_SyntheticsReader *SyntheticsReaderTransactor) SetGov(opts *bind.TransactOpts, _gov common.Address) (*types.Transaction, error)

SetGov is a paid mutator transaction binding the contract method 0xcfad57a2.

Solidity: function setGov(address _gov) returns()

type SyntheticsReaderTransactorRaw

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

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

func (*SyntheticsReaderTransactorRaw) Transact

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

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

func (*SyntheticsReaderTransactorRaw) Transfer

func (_SyntheticsReader *SyntheticsReaderTransactorRaw) 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 SyntheticsReaderTransactorSession

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

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

func (*SyntheticsReaderTransactorSession) SetConfig

func (_SyntheticsReader *SyntheticsReaderTransactorSession) SetConfig(_hasMaxGlobalShortSizes bool) (*types.Transaction, error)

SetConfig is a paid mutator transaction binding the contract method 0x9b0183c3.

Solidity: function setConfig(bool _hasMaxGlobalShortSizes) returns()

func (*SyntheticsReaderTransactorSession) SetGov

func (_SyntheticsReader *SyntheticsReaderTransactorSession) SetGov(_gov common.Address) (*types.Transaction, error)

SetGov is a paid mutator transaction binding the contract method 0xcfad57a2.

Solidity: function setGov(address _gov) returns()

Jump to

Keyboard shortcuts

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