Documentation ¶
Index ¶
Constants ¶
View Source
const ( // TinyManURL is a tiny man web url TinyManURL = "https://tinyman.org" // AlgodTestnetHost is the algorand test net url AlgodTestnetHost = "https://testnet-api.algonode.cloud" // AlgodMainnetHost is the algorand main net url AlgodMainnetHost = "https://mainnet-api.algonode.cloud" // TestnetValidatorAppIdV1_1 is the Tinyman test net validator app id version 1.1 TestnetValidatorAppIdV1_1 uint64 = 62368684 // MainnetValidatorAppIdV1_1 is the Tinyman main net validator app id version 1.1 MainnetValidatorAppIdV1_1 uint64 = 552635992 // TestnetValidatorAppId is an alias for the current Tinyman test net validator app id TestnetValidatorAppId = TestnetValidatorAppIdV1_1 // MainnetValidatorAppId is an alias for the current Tinyman main net validator app id MainnetValidatorAppId = MainnetValidatorAppIdV1_1 // BurnFee is a burn transaction fee BurnFee uint64 = 4000 // MintFee is a mint transaction fee MintFee uint64 = 2000 // RedeemFee is a redeem transaction fee RedeemFee uint64 = 2000 // SwapFee is a swap transaction fee SwapFee uint64 = 2000 )
View Source
const ( TotalLiquidityTokens = 0xFFFFFFFFFFFFFFFF LiquidityTokenDecimals = 6 LiquidityTokenUnitName = "TM1POOL" LiquidityAssetUnitName = "TMPOOL11" MinBalancePerAccount = 100000 MinBalancePerAsset = 100000 MinBalancePerApp = 100000 MinBalancePerAppByteSlice = 50000 MinBalancePerAppUint = 28500 BootstrapTransactionAmountForAlgo = 859000 BootstrapTransactionAmount = 960000 )
View Source
const ( // SwapFixedInput is a fixed-input swap type SwapFixedInput = "fixed-input" // SwapFixedOutput is a fixed-output swap type SwapFixedOutput = "fixed-output" )
View Source
const ( // AlgoTokenName is the algo token name AlgoTokenName = "Algo" // AlgoTokenUnitName is the algo token unit name AlgoTokenUnitName = "ALGO" // AlgoTokenDecimals is the algo token decimals AlgoTokenDecimals = 6 )
View Source
const (
// MaxWaitRound is a maximum waiting round used when waiting for a transaction to be confirmed
MaxWaitRound = 40
)
Variables ¶
View Source
var ( // SwapTypeMapping is a mapping for swap type SwapTypeMapping = map[string]string{ SwapFixedInput: "fi", SwapFixedOutput: "fo", } )
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.