Subscribe to 0xea99 to receive new posts directly to your inbox.
1 min read·
zoink day 6
journal entry nummer roku
jsoncrack screenshot showing there are 2 coinBalance nodes (highlighted in green) for the horse coin when I use the getProfileBalances function of the zoin coins sdk (4 total results for the "horse" keyword search but that's cos the horse coin's name and symbol are both "horse" so you divide the 4 search results for "horse" by 2 - that's 2 coinBalance edges for "horse" iygmd)the two coinBalances for the same horse coin ( edges 9 & 11 ) have both different node.balance amount and node.idthe two coinBalances for the same horse coin ( edges 9 & 11 ) have the exact same values for node.coinbeginning of docs page for the getOnchainCoinDetails function of the zora coins sdk ( https://docs.zora.co/coins/sdk/queries/onchain#getonchaincoindetails )mapping all coinBalances retrieved from getProfileBalances in the zoink ui - i see 2 horsesthe trading modal for the coinBalance that was (probably) created when I bought the horse coin using the zora iOS app - note the zora profile balance and on-chain balance are different. (the Zora Profile Balance means the node.balance amount from the getProfileBalances query and On-chain Balance means the result from getOnchainCoinDetails)the trading modal for the coinBalance that was created when I bought the horse coin using zoink - note the zora profile balance and on-chain balance are the same. (the Zora Profile Balance means the node.balance amount from the getProfileBalances query and On-chain Balance means the result from getOnchainCoinDetails)rabby showing alerts for a sell transaction written by the zora.co website; value diff -100%, slippage tolerance -100%
// Raw ABI params from rabby for the above sell transaction{"func":"sell","params":["0xea990ae72939B8751cB680919C6B64A05B8e1451",2954000000000000000000,652456163950634,0,"0xea990ae72939B8751cB680919C6B64A05B8e1451"]}
// Coin.sol snippet showing sell params/// @notice Executes a sell order/// @param recipient The recipient of the currency/// @param orderSize The amount of coins to sell/// @param minAmountOut The minimum amount of currency to receive/// @param sqrtPriceLimitX96 The price limit for the swap/// @param tradeReferrer The address of the trade referrerfunctionsell(address recipient,
uint256 orderSize,
uint256 minAmountOut,
uint160 sqrtPriceLimitX96,
address tradeReferrer
) publicnonReentrantreturns (uint256, uint256) {
...
}
Paragraph
Commented 2 weeks ago
The latest blog post by @3070.eth dives into coin balance discrepancies for "horse," showing how different interfaces can yield varying home balances despite UX similarities. Key highlights illustrate attributes like ID and balance differences and transactions from Zora vs. Zoink. Insights for traders offered!
The latest blog post by @3070.eth dives into coin balance discrepancies for "horse," showing how different interfaces can yield varying home balances despite UX similarities. Key highlights illustrate attributes like ID and balance differences and transactions from Zora vs. Zoink. Insights for traders offered!