Documentation ¶
Index ¶
- func AddAllSupportToken(cfg *config.Config, account *goSdk.Account, sdk *goSdk.OntologySdk)
- func AddSupportTokenAndSend(cfg *config.Config, account *goSdk.Account, genSdk *goSdk.OntologySdk, ...)
- func AddWingMarkets(cfg *config.Config, account *goSdk.Account, genSdk *goSdk.OntologySdk)
- func Add_support_token(cfg *config.Config, account *goSdk.Account, genSdk *goSdk.OntologySdk, ...) *types.MutableTransaction
- func BatchStaking(cfg *config.Config, account *goSdk.Account, genSdk *goSdk.OntologySdk, ...)
- func BatchUnStaking(cfg *config.Config, account *goSdk.Account, genSdk *goSdk.OntologySdk, ...)
- func BigUInt128(cfg *config.Config, account *goSdk.Account, genSdk *goSdk.OntologySdk, ...) *types.MutableTransaction
- func Black_pool(cfg *config.Config, account *goSdk.Account, genSdk *goSdk.OntologySdk) *types.MutableTransaction
- func ComptrollerInit(cfg *config.Config, account *goSdk.Account, genSdk *goSdk.OntologySdk)
- func ContractMigrate(cfg *config.Config, account *goSdk.Account, genSdk *goSdk.OntologySdk, ...) string
- func DeployContractOracle(cfg *config.Config, account *goSdk.Account, genSdk *goSdk.OntologySdk) common.Uint256
- func DeployContractProfit(cfg *config.Config, account *goSdk.Account, genSdk *goSdk.OntologySdk, ...) common.Uint256
- func DeployContractWingToken(cfg *config.Config, account *goSdk.Account, genSdk *goSdk.OntologySdk) common.Uint256
- func DeployContractt(cfg *config.Config, account *goSdk.Account, genSdk *goSdk.OntologySdk, ...) string
- func Deposit(cfg *config.Config, account *goSdk.Account, genSdk *goSdk.OntologySdk) *types.MutableTransaction
- func Destroy(cfg *config.Config, account *goSdk.Account, genSdk *goSdk.OntologySdk) *types.MutableTransaction
- func DestroyProfit(cfg *config.Config, account *goSdk.Account, genSdk *goSdk.OntologySdk) *types.MutableTransaction
- func Dynamic_profit(cfg *config.Config, account *goSdk.Account, genSdk *goSdk.OntologySdk) *types.MutableTransaction
- func FTokenInit(cfg *config.Config, account *goSdk.Account, genSdk *goSdk.OntologySdk)
- func FTokenInsuranceInit(cfg *config.Config, account *goSdk.Account, genSdk *goSdk.OntologySdk)
- func Freeze_pool(cfg *config.Config, account *goSdk.Account, genSdk *goSdk.OntologySdk) *types.MutableTransaction
- func GetAuthorizeStatus(cfg *config.Config, account *goSdk.Account, genSdk *goSdk.OntologySdk) *types.MutableTransaction
- func GetGovAddress(cfg *config.Config, genSdk *goSdk.OntologySdk) *common.PreExecResult
- func GetGovTokenAddres(cfg *config.Config, account *goSdk.Account, genSdk *goSdk.OntologySdk)
- func GetProductPools(cfg *config.Config, account *goSdk.Account, genSdk *goSdk.OntologySdk)
- func GetProfitContract(cfg *config.Config, account *goSdk.Account, genSdk *goSdk.OntologySdk) *common.PreExecResult
- func Get_admin_address(cfg *config.Config, account *goSdk.Account, genSdk *goSdk.OntologySdk)
- func Get_eta(cfg *config.Config, account *goSdk.Account, genSdk *goSdk.OntologySdk) *common.PreExecResult
- func Get_exchange_rate(cfg *config.Config, account *goSdk.Account, genSdk *goSdk.OntologySdk)
- func Get_f_fatcor(cfg *config.Config, account *goSdk.Account, genSdk *goSdk.OntologySdk) *common.PreExecResult
- func Get_gama(cfg *config.Config, account *goSdk.Account, genSdk *goSdk.OntologySdk) *common.PreExecResult
- func Get_global_address(cfg *config.Config, account *goSdk.Account, genSdk *goSdk.OntologySdk)
- func Get_lock_asset(cfg *config.Config, account *goSdk.Account, genSdk *goSdk.OntologySdk) *common.PreExecResult
- func Get_oracle_address(cfg *config.Config, account *goSdk.Account, genSdk *goSdk.OntologySdk)
- func Get_pool_operator(cfg *config.Config, account *goSdk.Account, genSdk *goSdk.OntologySdk) *common.PreExecResult
- func Get_support_token(cfg *config.Config, account *goSdk.Account, genSdk *goSdk.OntologySdk) *common.PreExecResult
- func Get_token_decimals(cfg *config.Config, account *goSdk.Account, genSdk *goSdk.OntologySdk) *common.PreExecResult
- func Get_token_operator(cfg *config.Config, account *goSdk.Account, genSdk *goSdk.OntologySdk) *common.PreExecResult
- func Get_unbound_pool(cfg *config.Config, account *goSdk.Account, genSdk *goSdk.OntologySdk) *common.PreExecResult
- func Get_value(cfg *config.Config, account *goSdk.Account, genSdk *goSdk.OntologySdk) *common.PreExecResult
- func GovTokenBalanceOf(cfg *config.Config, addr string, genSdk *goSdk.OntologySdk) *common.PreExecResult
- func GovTokenBalanceOfToWingGov(cfg *config.Config, account *goSdk.Account, genSdk *goSdk.OntologySdk) *common.PreExecResult
- func GovTokenInit(cfg *config.Config, account *goSdk.Account, genSdk *goSdk.OntologySdk) *types.MutableTransaction
- func InterestRateInit(cfg *config.Config, account *goSdk.Account, genSdk *goSdk.OntologySdk)
- func MigrateComptroller(cfg *config.Config, account *goSdk.Account, sdk *goSdk.OntologySdk, ...)
- func MigrateProfit(cfg *config.Config, account *goSdk.Account, genSdk *goSdk.OntologySdk) *types.MutableTransaction
- func MigrateZeroPool(cfg *config.Config, account *goSdk.Account, sdk *goSdk.OntologySdk, ...) string
- func OracleGetDecimal(cfg *config.Config, account *goSdk.Account, genSdk *goSdk.OntologySdk)
- func OracleGetUnderlyingPrice(cfg *config.Config, account *goSdk.Account, genSdk *goSdk.OntologySdk, ...)
- func OracleInit(cfg *config.Config, account *goSdk.Account, genSdk *goSdk.OntologySdk) *types.MutableTransaction
- func OraclePutUnderlyingPrice(cfg *config.Config, account *goSdk.Account, genSdk *goSdk.OntologySdk)
- func OracleSetDecimal(cfg *config.Config, account *goSdk.Account, genSdk *goSdk.OntologySdk) *types.MutableTransaction
- func QueryPoolByAddress(cfg *config.Config, account *goSdk.Account, genSdk *goSdk.OntologySdk, ...)
- func QueryPoolCount(cfg *config.Config, genSdk *goSdk.OntologySdk) *common.PreExecResult
- func Query_total_pool_bonus(cfg *config.Config, genSdk *goSdk.OntologySdk) *common.PreExecResult
- func Query_unbound_to_pool(cfg *config.Config, genSdk *goSdk.OntologySdk, index int) *common.PreExecResult
- func Query_unbound_to_pool_count(cfg *config.Config, genSdk *goSdk.OntologySdk) *common.PreExecResult
- func RegisterPool(cfg *config.Config, account *goSdk.Account, genSdk *goSdk.OntologySdk, ...) *types.MutableTransaction
- func RegisterPoolToAddress(cfg *config.Config, account *goSdk.Account, genSdk *goSdk.OntologySdk, ...) *types.MutableTransaction
- func RevokeAuth(cfg *config.Config, account *goSdk.Account, genSdk *goSdk.OntologySdk) *types.MutableTransaction
- func SetAuth(cfg *config.Config, account *goSdk.Account, genSdk *goSdk.OntologySdk) *types.MutableTransaction
- func SetCloseFactor(cfg *config.Config, account *goSdk.Account, genSdk *goSdk.OntologySdk)
- func SetCollateralFactor(cfg *config.Config, account *goSdk.Account, genSdk *goSdk.OntologySdk)
- func SetGovTokenAddres(cfg *config.Config, account *goSdk.Account, genSdk *goSdk.OntologySdk) *types.MutableTransaction
- func SetInsuranceAddr(cfg *config.Config, account *goSdk.Account, genSdk *goSdk.OntologySdk)
- func SetInsuranceFactor(cfg *config.Config, account *goSdk.Account, genSdk *goSdk.OntologySdk)
- func SetInsuranceRepayFactor(cfg *config.Config, account *goSdk.Account, genSdk *goSdk.OntologySdk)
- func SetLiquidationIncentive(cfg *config.Config, account *goSdk.Account, genSdk *goSdk.OntologySdk)
- func SetMarketAddr(cfg *config.Config, account *goSdk.Account, genSdk *goSdk.OntologySdk)
- func SetMaxAssets(cfg *config.Config, account *goSdk.Account, genSdk *goSdk.OntologySdk)
- func SetPriceOracle(cfg *config.Config, account *goSdk.Account, genSdk *goSdk.OntologySdk)
- func SetReserveFactor(cfg *config.Config, account *goSdk.Account, genSdk *goSdk.OntologySdk)
- func SetWingAddr(cfg *config.Config, account *goSdk.Account, genSdk *goSdk.OntologySdk)
- func SetWingRate(cfg *config.Config, account *goSdk.Account, genSdk *goSdk.OntologySdk)
- func Set_eta(cfg *config.Config, account *goSdk.Account, genSdk *goSdk.OntologySdk) *types.MutableTransaction
- func Set_exchange_rate(cfg *config.Config, account *goSdk.Account, genSdk *goSdk.OntologySdk) *types.MutableTransaction
- func Set_exchange_rates(cfg *config.Config, account *goSdk.Account, genSdk *goSdk.OntologySdk) *types.MutableTransaction
- func Set_gama(cfg *config.Config, account *goSdk.Account, genSdk *goSdk.OntologySdk) *types.MutableTransaction
- func Set_global_address(cfg *config.Config, account *goSdk.Account, genSdk *goSdk.OntologySdk) *types.MutableTransaction
- func Set_oracle_address(cfg *config.Config, account *goSdk.Account, genSdk *goSdk.OntologySdk)
- func Set_pool_operator(cfg *config.Config, account *goSdk.Account, genSdk *goSdk.OntologySdk) *types.MutableTransaction
- func Set_token_decimals(cfg *config.Config, account *goSdk.Account, genSdk *goSdk.OntologySdk, ...)
- func Set_token_operator(cfg *config.Config, account *goSdk.Account, genSdk *goSdk.OntologySdk) *types.MutableTransaction
- func Set_value(cfg *config.Config, account *goSdk.Account, genSdk *goSdk.OntologySdk) *types.MutableTransaction
- func Static_profit(cfg *config.Config, account *goSdk.Account, genSdk *goSdk.OntologySdk) *types.MutableTransaction
- func SupportMarket(cfg *config.Config, account *goSdk.Account, genSdk *goSdk.OntologySdk)
- func UnboundToPool(cfg *config.Config, account *goSdk.Account, genSdk *goSdk.OntologySdk) *types.MutableTransaction
- func UnboundToPoolSend(cfg *config.Config, account *goSdk.Account, genSdk *goSdk.OntologySdk)
- func UnboundToken(cfg *config.Config, account *goSdk.Account, genSdk *goSdk.OntologySdk) *types.MutableTransaction
- func UnboundTokenSend(cfg *config.Config, account *goSdk.Account, genSdk *goSdk.OntologySdk)
- func UpdateAllSuuportToken(cfg *config.Config, account *goSdk.Account, sdk *goSdk.OntologySdk)
- func UpdatePoolAddress(cfg *config.Config, account *goSdk.Account, genSdk *goSdk.OntologySdk, ...) *types.MutableTransaction
- func UpdatePoolWeight(cfg *config.Config, account *goSdk.Account, genSdk *goSdk.OntologySdk, ...) *types.MutableTransaction
- func UpdateProfitContract(cfg *config.Config, account *goSdk.Account, genSdk *goSdk.OntologySdk) *types.MutableTransaction
- func Update_support_token(cfg *config.Config, account *goSdk.Account, genSdk *goSdk.OntologySdk, ...) *types.MutableTransaction
- func Upgrade_pool(cfg *config.Config, account *goSdk.Account, genSdk *goSdk.OntologySdk) *types.MutableTransaction
- func White_pool(cfg *config.Config, account *goSdk.Account, genSdk *goSdk.OntologySdk) *types.MutableTransaction
- func WingGovInit(cfg *config.Config, account *goSdk.Account, genSdk *goSdk.OntologySdk, ...) *types.MutableTransaction
- func WingGovMigrate(cfg *config.Config, account *goSdk.Account, genSdk *goSdk.OntologySdk, ...) string
- func WingProfitInit(cfg *config.Config, account *goSdk.Account, genSdk *goSdk.OntologySdk) *types.MutableTransaction
- func WingProfitInit2(cfg *config.Config, account *goSdk.Account, genSdk *goSdk.OntologySdk, ...) *types.MutableTransaction
- func WingTokenGetGovAddr(cfg *config.Config, genSdk *goSdk.OntologySdk) *common.PreExecResult
- func WingTokenSetGov(cfg *config.Config, account *goSdk.Account, genSdk *goSdk.OntologySdk, ...) *types.MutableTransaction
- func WingTokenTotalSupply(cfg *config.Config, genSdk *goSdk.OntologySdk) *common.PreExecResult
- func Withdraw(cfg *config.Config, account *goSdk.Account, genSdk *goSdk.OntologySdk) *types.MutableTransaction
- func ZeroPooWithdrawWing(cfg *config.Config, account *goSdk.Account, genSdk *goSdk.OntologySdk)
- func ZeroPoolGetStakingBalance(cfg *config.Config, account *goSdk.Account, genSdk *goSdk.OntologySdk) *common.ResultItem
- func ZeroPoolGetUndlying(cfg *config.Config, account *goSdk.Account, genSdk *goSdk.OntologySdk) *common.ResultItem
- func ZeroPoolInit(cfg *config.Config, account *goSdk.Account, genSdk *goSdk.OntologySdk, ...)
- func ZeroPoolStaking(cfg *config.Config, account *goSdk.Account, genSdk *goSdk.OntologySdk, ...)
- func ZeroPoolStakingByAddr(cfg *config.Config, account *goSdk.Account, genSdk *goSdk.OntologySdk, ...)
- func ZeroPoolUnStaking(cfg *config.Config, account *goSdk.Account, genSdk *goSdk.OntologySdk, ...)
- func ZeroPoolUnStakingByAddr(cfg *config.Config, account *goSdk.Account, genSdk *goSdk.OntologySdk, ...)
- func ZeroPoolWithDraw(cfg *config.Config, account *goSdk.Account, genSdk *goSdk.OntologySdk)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddAllSupportToken ¶
func AddSupportTokenAndSend ¶
func AddSupportTokenAndSend(cfg *config.Config, account *goSdk.Account, genSdk *goSdk.OntologySdk, oTokenName, oToken string)
add_support_token
func AddWingMarkets ¶
func Add_support_token ¶
func Add_support_token(cfg *config.Config, account *goSdk.Account, genSdk *goSdk.OntologySdk, oTokenName, oToken string) *types.MutableTransaction
add_support_token
func BatchStaking ¶
func BatchUnStaking ¶
func BigUInt128 ¶
func BigUInt128(cfg *config.Config, account *goSdk.Account, genSdk *goSdk.OntologySdk, oTokenName, oToken string) *types.MutableTransaction
big int 256
func Black_pool ¶
func Black_pool(cfg *config.Config, account *goSdk.Account, genSdk *goSdk.OntologySdk) *types.MutableTransaction
black_pool
func ComptrollerInit ¶
func ContractMigrate ¶
func ContractMigrate(cfg *config.Config, account *goSdk.Account, genSdk *goSdk.OntologySdk, contractAddr, contractPath string) string
migrate
func DeployContractOracle ¶
func DeployContractProfit ¶
func DeployContractWingToken ¶
func DeployContractt ¶
func Deposit ¶
func Deposit(cfg *config.Config, account *goSdk.Account, genSdk *goSdk.OntologySdk) *types.MutableTransaction
deposit TODO: invoke failed
func Destroy ¶
func Destroy(cfg *config.Config, account *goSdk.Account, genSdk *goSdk.OntologySdk) *types.MutableTransaction
Destroy TODO: not finished
func DestroyProfit ¶
func DestroyProfit(cfg *config.Config, account *goSdk.Account, genSdk *goSdk.OntologySdk) *types.MutableTransaction
dynamic_profit
func Dynamic_profit ¶
func Dynamic_profit(cfg *config.Config, account *goSdk.Account, genSdk *goSdk.OntologySdk) *types.MutableTransaction
dynamic_profit
func FTokenInit ¶
func FTokenInsuranceInit ¶
func Freeze_pool ¶
func Freeze_pool(cfg *config.Config, account *goSdk.Account, genSdk *goSdk.OntologySdk) *types.MutableTransaction
freeze_pool
func GetAuthorizeStatus ¶
func GetAuthorizeStatus(cfg *config.Config, account *goSdk.Account, genSdk *goSdk.OntologySdk) *types.MutableTransaction
get_authorize_status, ToDo : improve pre exe
func GetGovAddress ¶
func GetGovAddress(cfg *config.Config, genSdk *goSdk.OntologySdk) *common.PreExecResult
getGovernanceAddress
func GetGovTokenAddres ¶
GetGovTokenAddres
func GetProductPools ¶
get_product_pools, TODO: need read struct
func GetProfitContract ¶
func GetProfitContract(cfg *config.Config, account *goSdk.Account, genSdk *goSdk.OntologySdk) *common.PreExecResult
query_pool_count
func Get_admin_address ¶
get_oracle_address
func Get_eta ¶
func Get_eta(cfg *config.Config, account *goSdk.Account, genSdk *goSdk.OntologySdk) *common.PreExecResult
get_eta
func Get_exchange_rate ¶
get_exchange_rate
func Get_f_fatcor ¶
func Get_f_fatcor(cfg *config.Config, account *goSdk.Account, genSdk *goSdk.OntologySdk) *common.PreExecResult
Get_f_fatcor
func Get_gama ¶
func Get_gama(cfg *config.Config, account *goSdk.Account, genSdk *goSdk.OntologySdk) *common.PreExecResult
get_gama
func Get_global_address ¶
get_oracle_address
func Get_lock_asset ¶
func Get_lock_asset(cfg *config.Config, account *goSdk.Account, genSdk *goSdk.OntologySdk) *common.PreExecResult
get_lock_asset
func Get_oracle_address ¶
get_oracle_address
func Get_pool_operator ¶
func Get_pool_operator(cfg *config.Config, account *goSdk.Account, genSdk *goSdk.OntologySdk) *common.PreExecResult
get_pool_operator
func Get_support_token ¶
func Get_support_token(cfg *config.Config, account *goSdk.Account, genSdk *goSdk.OntologySdk) *common.PreExecResult
get_support_token
func Get_token_decimals ¶
func Get_token_decimals(cfg *config.Config, account *goSdk.Account, genSdk *goSdk.OntologySdk) *common.PreExecResult
get_lock_asset
func Get_token_operator ¶
func Get_token_operator(cfg *config.Config, account *goSdk.Account, genSdk *goSdk.OntologySdk) *common.PreExecResult
get_token_operator
func Get_unbound_pool ¶
func Get_unbound_pool(cfg *config.Config, account *goSdk.Account, genSdk *goSdk.OntologySdk) *common.PreExecResult
get_unbound_pool
func Get_value ¶
func Get_value(cfg *config.Config, account *goSdk.Account, genSdk *goSdk.OntologySdk) *common.PreExecResult
get_gama
func GovTokenBalanceOf ¶
func GovTokenBalanceOf(cfg *config.Config, addr string, genSdk *goSdk.OntologySdk) *common.PreExecResult
query_pool_count
func GovTokenBalanceOfToWingGov ¶
func GovTokenBalanceOfToWingGov(cfg *config.Config, account *goSdk.Account, genSdk *goSdk.OntologySdk) *common.PreExecResult
query_pool_count
func GovTokenInit ¶
func GovTokenInit(cfg *config.Config, account *goSdk.Account, genSdk *goSdk.OntologySdk) *types.MutableTransaction
wing token init
func InterestRateInit ¶
init
func MigrateComptroller ¶
func MigrateProfit ¶
func MigrateProfit(cfg *config.Config, account *goSdk.Account, genSdk *goSdk.OntologySdk) *types.MutableTransaction
migrate TODO: add param
func MigrateZeroPool ¶
func OracleGetDecimal ¶
SetDecimal
func OracleGetUnderlyingPrice ¶
func OracleGetUnderlyingPrice(cfg *config.Config, account *goSdk.Account, genSdk *goSdk.OntologySdk, tokenName string)
SetDecimal
func OracleInit ¶
func OracleInit(cfg *config.Config, account *goSdk.Account, genSdk *goSdk.OntologySdk) *types.MutableTransaction
init
func OraclePutUnderlyingPrice ¶
func OraclePutUnderlyingPrice(cfg *config.Config, account *goSdk.Account, genSdk *goSdk.OntologySdk)
SetDecimal
func OracleSetDecimal ¶
func OracleSetDecimal(cfg *config.Config, account *goSdk.Account, genSdk *goSdk.OntologySdk) *types.MutableTransaction
SetDecimal
func QueryPoolByAddress ¶
func QueryPoolByAddress(cfg *config.Config, account *goSdk.Account, genSdk *goSdk.OntologySdk, pollAddr string)
query_pool_by_address
func QueryPoolCount ¶
func QueryPoolCount(cfg *config.Config, genSdk *goSdk.OntologySdk) *common.PreExecResult
query_pool_count
func Query_total_pool_bonus ¶
func Query_total_pool_bonus(cfg *config.Config, genSdk *goSdk.OntologySdk) *common.PreExecResult
query_total_pool_bonus(
func Query_unbound_to_pool ¶
func Query_unbound_to_pool(cfg *config.Config, genSdk *goSdk.OntologySdk, index int) *common.PreExecResult
query_unbound_to_pool
func Query_unbound_to_pool_count ¶
func Query_unbound_to_pool_count(cfg *config.Config, genSdk *goSdk.OntologySdk) *common.PreExecResult
query_unbound_to_pool_count ToDO : name ?
func RegisterPool ¶
func RegisterPool(cfg *config.Config, account *goSdk.Account, genSdk *goSdk.OntologySdk, poolAddr string) *types.MutableTransaction
register_pool
func RegisterPoolToAddress ¶
func RegisterPoolToAddress(cfg *config.Config, account *goSdk.Account, genSdk *goSdk.OntologySdk, poolAddr OntCommon.Address) *types.MutableTransaction
register_pool
func RevokeAuth ¶
func RevokeAuth(cfg *config.Config, account *goSdk.Account, genSdk *goSdk.OntologySdk) *types.MutableTransaction
revoke
func SetAuth ¶
func SetAuth(cfg *config.Config, account *goSdk.Account, genSdk *goSdk.OntologySdk) *types.MutableTransaction
authorize management pool
func SetCloseFactor ¶
func SetCollateralFactor ¶
func SetGovTokenAddres ¶
func SetGovTokenAddres(cfg *config.Config, account *goSdk.Account, genSdk *goSdk.OntologySdk) *types.MutableTransaction
func SetInsuranceAddr ¶
func SetInsuranceFactor ¶
func SetInsuranceRepayFactor ¶
func SetLiquidationIncentive ¶
func SetMarketAddr ¶
func SetMaxAssets ¶
func SetPriceOracle ¶
func SetReserveFactor ¶
func SetWingAddr ¶
func SetWingRate ¶
func Set_eta ¶
func Set_eta(cfg *config.Config, account *goSdk.Account, genSdk *goSdk.OntologySdk) *types.MutableTransaction
set_eta
func Set_exchange_rate ¶
func Set_exchange_rate(cfg *config.Config, account *goSdk.Account, genSdk *goSdk.OntologySdk) *types.MutableTransaction
set_exchange_rate
func Set_exchange_rates ¶
func Set_exchange_rates(cfg *config.Config, account *goSdk.Account, genSdk *goSdk.OntologySdk) *types.MutableTransaction
set_exchange_rates batch
func Set_gama ¶
func Set_gama(cfg *config.Config, account *goSdk.Account, genSdk *goSdk.OntologySdk) *types.MutableTransaction
set_gama
func Set_global_address ¶
func Set_global_address(cfg *config.Config, account *goSdk.Account, genSdk *goSdk.OntologySdk) *types.MutableTransaction
func Set_oracle_address ¶
func Set_pool_operator ¶
func Set_pool_operator(cfg *config.Config, account *goSdk.Account, genSdk *goSdk.OntologySdk) *types.MutableTransaction
set_token_operator ToDo: invoke failed
func Set_token_decimals ¶
func Set_token_operator ¶
func Set_token_operator(cfg *config.Config, account *goSdk.Account, genSdk *goSdk.OntologySdk) *types.MutableTransaction
set_token_operator ToDo: invoke failed
func Set_value ¶
func Set_value(cfg *config.Config, account *goSdk.Account, genSdk *goSdk.OntologySdk) *types.MutableTransaction
set_gama
func Static_profit ¶
func Static_profit(cfg *config.Config, account *goSdk.Account, genSdk *goSdk.OntologySdk) *types.MutableTransaction
static_profit
func SupportMarket ¶
func UnboundToPool ¶
func UnboundToPool(cfg *config.Config, account *goSdk.Account, genSdk *goSdk.OntologySdk) *types.MutableTransaction
unbound_token
func UnboundToPoolSend ¶
unbound_token
func UnboundToken ¶
func UnboundToken(cfg *config.Config, account *goSdk.Account, genSdk *goSdk.OntologySdk) *types.MutableTransaction
unbound_token
func UnboundTokenSend ¶
unbound_token
func UpdateAllSuuportToken ¶
func UpdatePoolAddress ¶
func UpdatePoolAddress(cfg *config.Config, account *goSdk.Account, genSdk *goSdk.OntologySdk, newZeroPool, oldZeroPool string) *types.MutableTransaction
update_pool_address,
func UpdatePoolWeight ¶
func UpdatePoolWeight(cfg *config.Config, account *goSdk.Account, genSdk *goSdk.OntologySdk, poolAddr string, Weight int) *types.MutableTransaction
update_pool_weight
func UpdateProfitContract ¶
func UpdateProfitContract(cfg *config.Config, account *goSdk.Account, genSdk *goSdk.OntologySdk) *types.MutableTransaction
update_profit_contract
func Update_support_token ¶
func Update_support_token(cfg *config.Config, account *goSdk.Account, genSdk *goSdk.OntologySdk, oTokenName, oToken string) *types.MutableTransaction
add_support_token
func Upgrade_pool ¶
func Upgrade_pool(cfg *config.Config, account *goSdk.Account, genSdk *goSdk.OntologySdk) *types.MutableTransaction
upgrade_pool
func White_pool ¶
func White_pool(cfg *config.Config, account *goSdk.Account, genSdk *goSdk.OntologySdk) *types.MutableTransaction
white_pool
func WingGovInit ¶
func WingGovInit(cfg *config.Config, account *goSdk.Account, genSdk *goSdk.OntologySdk, wingGovAddr string) *types.MutableTransaction
gov init
func WingGovMigrate ¶
func WingGovMigrate(cfg *config.Config, account *goSdk.Account, genSdk *goSdk.OntologySdk, contract string) string
migrate
func WingProfitInit ¶
func WingProfitInit(cfg *config.Config, account *goSdk.Account, genSdk *goSdk.OntologySdk) *types.MutableTransaction
wing token init
func WingProfitInit2 ¶
func WingProfitInit2(cfg *config.Config, account *goSdk.Account, genSdk *goSdk.OntologySdk, WingProfit string) *types.MutableTransaction
wing token init
func WingTokenGetGovAddr ¶
func WingTokenGetGovAddr(cfg *config.Config, genSdk *goSdk.OntologySdk) *common.PreExecResult
query_pool_count
func WingTokenSetGov ¶
func WingTokenSetGov(cfg *config.Config, account *goSdk.Account, genSdk *goSdk.OntologySdk, newWingGovAddr string) *types.MutableTransaction
func WingTokenTotalSupply ¶
func WingTokenTotalSupply(cfg *config.Config, genSdk *goSdk.OntologySdk) *common.PreExecResult
getGovernanceAddress
func Withdraw ¶
func Withdraw(cfg *config.Config, account *goSdk.Account, genSdk *goSdk.OntologySdk) *types.MutableTransaction
withdraw TODO: invoke failed
func ZeroPooWithdrawWing ¶
func ZeroPoolGetStakingBalance ¶
func ZeroPoolGetStakingBalance(cfg *config.Config, account *goSdk.Account, genSdk *goSdk.OntologySdk) *common.ResultItem
TODO : GetStaking
func ZeroPoolGetUndlying ¶
func ZeroPoolGetUndlying(cfg *config.Config, account *goSdk.Account, genSdk *goSdk.OntologySdk) *common.ResultItem
TODO : check method
func ZeroPoolInit ¶
func ZeroPoolStaking ¶
func ZeroPoolStakingByAddr ¶
func ZeroPoolUnStaking ¶
func ZeroPoolUnStakingByAddr ¶
func ZeroPoolWithDraw ¶
ZeroPoolWithDraw
Types ¶
This section is empty.