Skip to content

Instantly share code, notes, and snippets.

View yuma300's full-sized avatar

びっとぶりっと yuma300

View GitHub Profile
工場見学に行く集団があり、4人欠席し、予定されていた人数の95%で行くことになりました。予定されていた人数は何人ですか。
りんごを、1日目で仕入れたりんごの6割5分が売れ、2日目は残りの7割5分の
525個が売れました。りんごは全部で何個仕入れましたか。
ある物質は液体から固体になると体積が2/13増えます。この物質が固体から液体になると体積はどれだけ減りますか。
@yuma300
yuma300 / mutisend.json
Created October 6, 2021 09:03
mutisend.json
{
"header": {
"id": 6073340,
"chain_id": "cosmoshub-4",
"block_id": 11304509,
"timestamp": "2021-10-05T18:28:17Z"
},
"data": {
"height": "7902497",
"txhash": "6F2229256988F03D8E2C9591C4A4EA2EC535DB4C68675E3095E0F233DBD41EE9",
{
"jsonrpc": "2.0",
"id": -1,
"result": {
"height": "7818197",
"txs_results": [
{
"code": 0,
"data": "CgYKBHNlbmQ=",
"log": "[{\"events\":[{\"type\":\"message\",\"attributes\":[{\"key\":\"action\",\"value\":\"send\"},{\"key\":\"sender\",\"value\":\"cosmos1xxkueklal9vejv9unqu80w9vptyepfa95pd53u\"},{\"key\":\"module\",\"value\":\"bank\"}]},{\"type\":\"transfer\",\"attributes\":[{\"key\":\"recipient\",\"value\":\"cosmos1pm3emmx6dn6dnraqvc0urs0djgnpv0gmrltvkw\"},{\"key\":\"sender\",\"value\":\"cosmos1xxkueklal9vejv9unqu80w9vptyepfa95pd53u\"},{\"key\":\"amount\",\"value\":\"494500uatom\"}]}]}]",
@yuma300
yuma300 / swap_within_batch_v4.json
Created September 30, 2021 04:45
swap_within_batch_v4.json
{
"header": {
"id": 5902499,
"chain_id": "cosmoshub-4",
"block_id": 11220208,
"timestamp": "2021-09-28T06:47:05Z"
},
"data": {
"height": "7818197",
"txhash": "D398E33A9351DE54846366DA39F90C2D46A2F5C1AC92BBF32033A84F6699E50A",
@yuma300
yuma300 / cosmos_sample_transaction.json
Created September 22, 2021 13:37
cosmos_sample_transaction
{
"header": {
"id": 5755050,
"chain_id": "cosmoshub-4",
"block_id": 11153513,
"timestamp": "2021-09-22T09:59:30Z"
},
"data": {
"height": "7751504",
"txhash": "5D1179B77E16EA9945F12C27BF8EE2CDA90337451B78939FDD8AC189CA0036E5",
@yuma300
yuma300 / caaj_balance_1.md
Created September 17, 2021 07:54
caaj_balance_1
# title token debit amount credit amount debit balance credit balance
1 FEE ETH 0.0577044677 0 0.0577044677 0
2 LIQUIDITY 0xc36442b4a4522e871399cd717abdd847ab11fe88_90705 52378675445275965720393 52378675445275965720393 0 0
3 LIQUIDITY 0xc36442b4a4522e871399cd717abdd847ab11fe88_90773 8431439711306403912302 8431439711306403912302 0 0
4 LIQUIDITY 0xc36442b4a4522e871399cd717abdd847ab11fe88_95899 235136540779661112737970 0 235136540779661112737970 0
5 SPOT ETH 2.260273002972902499 2.1577044677 0.102568535272902499 0
6 SPOT BPLC(0x426fc8be95573230f6e6bc4af91873f0c67b21b4) 209563207.674123768029459729 209560317.999999999999998332 2889.674123768029461397 0
7 SPOT USDC(0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48) 2324.930491 0 2324.930491 0
8 SPOT JPY 0 5439007.95 0 5439007.95
@yuma300
yuma300 / caaj_balance_0.md
Last active September 21, 2021 07:31
検証用CAAJ
# time platform transaction_id debit_title debit_amount debit_from debit_to credit_title credit_amount credit_from credit_to comment
1 2021-07-20 15:20:22 binance 1 SPOT {'0x426fc8be95573230f6e6bc4af91873f0c67b21b4’: ‘69857978’} SPOT {‘JPY’: ‘3492898.9’} binance trade
2 2021-07-20 15:24:28 binance 2 SPOT {‘ETH’: ‘1.16’} SPOT {‘JPY’: ‘200000’} binance trade
3 2021-07-20 15:35:56 ethereum_uniswap 0x5f680be9a325c920d4036620b057962e880350e4015967d859fb5623bd9bf97c FEE {'ETH': '0.0017763328'} 0x0000000000000000000000000000000000000000 0xf6bca8257c8ed721269761c092858022fc73ce50 SPOT {'ETH': '0.0017763328'} 0xf6bca8257c8ed721269761c092858022fc73ce50 0x0000000000000000000000000000000000000000 approve transaction fee
4 2021-07-20 15:38:43 ethereum_uniswap 0x1d20d03bdec84d0335b59b32794602eb2ef14851fb3f3d1a094502df1a0a89c0 LIQUIDITY {'0xc36442b4a4522e871399cd717abdd847ab11fe88_90705': '34921385802871597257492'} 0xc36
@yuma300
yuma300 / uniswap_to_caaj_3.md
Last active September 21, 2021 09:51
uniswap_to_caaj_3
Timestamp Action Source Base Volume Price Counter Fee FeeCcy Comment
2021-07-21 00:20:22 BUY binance ETH 1.16 172413.793103448 JPY 0 JPY dummy data
2021-07-21 00:24:28 BUY binance BPLC 69857978 0.05 JPY 0 JPY dummy data
2021-07-21 00:35:56 SENDFEE ethereum_uniswap ETH 0.0017763328 JPY 0 ETH approve transaction fee 0x5f680be9a325c920d4036620b057962e880350e4015967d859fb5623bd9bf97c
2021-07-21 00:38:43 SENDFEE ethereum_uniswap ETH 0.0125902997 JPY 0 ETH uniswap transaction fee 0x1d20d03bdec84d0335b59b32794602eb2ef14851fb3f3d1a094502df1a0a89c0
2021-07-21 01:25:31 BUY binance BPLC 34922181 0.05 JPY 0 JPY dummy data
2021-07-21 01:35:13 SENDFEE ethereum_uniswap ETH 0.00124916 JPY 0 ETH approve transaction fee 0x53730f4ca73b6f29640b623a3ec8862dbae147d23457e6ed673ace36c4af3d00
2021-07-21 01:36:04 SENDFEE ethereum_uniswap ETH 0.0047555178 JPY 0 ETH uniswap transaction fee 0x75f8efd50b2ba0f9db3bcbeab04a181e831b5e74b6aa01a8ec0fc61ddd5703
@yuma300
yuma300 / uniswap_to_caaj_2.md
Created September 15, 2021 11:49
uniswap_to_caaj_2
# time platform transaction_id debit_title debit_amount debit_from debit_to credit_title credit_amount credit_from credit_to comment
2 2021-07-20 15:38:43 ethereum_uniswap 0x1d20d03bdec84d0335b59b32794602eb2ef14851fb3f3d1a094502df1a0a89c0 LIQUIDITY {'0xc36442b4a4522e871399cd717abdd847ab11fe88_90705': '34921385802871597257492'} 0xc36442b4a4522e871399cd717abdd847ab11fe88 0xf6bca8257c8ed721269761c092858022fc73ce50 SPOT {'0x426fc8be95573230f6e6bc4af91873f0c67b21b4': '69857977.999999999999999078'} 0xf6bca8257c8ed721269761c092858022fc73ce50 0xc36442b4a4522e871399cd717abdd847ab11fe88 uniswap add liquidity
3 2021-07-20 15:38:43 ethereum_uniswap 0x1d20d03bdec84d0335b59b32794602eb2ef14851fb3f3d1a094502df1a0a89c0 FEE {'ETH': '0.0125902997'} 0x0000000000000000000000000000000000000000 0xf6bca8257c8ed721269761c092858022fc73ce50 SPOT {'ETH': '0.0125902997'} 0xf6bca8257c8ed721269761c092858022fc73ce50 0x000000000000000000000000000000000000000