Skip to content

Instantly share code, notes, and snippets.

@thanhlmm
Created June 15, 2023 04:20
Show Gist options
  • Save thanhlmm/8d29c4ce033133cc47f40b4b1d2f5c26 to your computer and use it in GitHub Desktop.
Save thanhlmm/8d29c4ce033133cc47f40b4b1d2f5c26 to your computer and use it in GitHub Desktop.
AI
{
"v": "0x0",
"r": "0x706ba3cb6bbee0bd021d01141d6f867d99127531e7bddfc20833934df63cc70a",
"s": "0x587a88b840459c26819b541cf30fdcda82a36e5ebba8ea4be8542fa7434d600f",
"nonce": "0x1c",
"blockNumber": "0x1047c0a",
"from": "0x8980dbbe60d92b53b08ff95ea1aaaabb7f665bcb",
"to": "0xbebc44782c7db0a1a60cb6fe97d0b483032ff1c7",
"gas": "0x6ce90",
"gasPrice": "0x861c46800",
"input": "0x4515cef3000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004b60960000000000000000000000000000000000000000000000000000000000772cf1000000000000000000000000000000000000000000000000ac83b4122bb5e669",
"transactionIndex": "0x3",
"blockHash": "0xbd0fadd345293ac4d2bef784e2500c003657a8301afbac0e45dc27e2f4900c31",
"value": "0x0",
"type": "0x2",
"cumulativeGasUsed": "0x6e65a",
"gasUsed": "0x36748",
"logs": [
{
"blockchain": "eth",
"address": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
"topics": [
"0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
"0x0000000000000000000000008980dbbe60d92b53b08ff95ea1aaaabb7f665bcb",
"0x000000000000000000000000bebc44782c7db0a1a60cb6fe97d0b483032ff1c7"
],
"data": "0x00000000000000000000000000000000000000000000000000000000004b6096",
"blockNumber": "0x1047c0a",
"transactionHash": "0x17e58e0987bc64f1bcaaac15aadda15772be6e7f40704091681ab5803de01460",
"transactionIndex": "0x3",
"blockHash": "0xbd0fadd345293ac4d2bef784e2500c003657a8301afbac0e45dc27e2f4900c31",
"logIndex": "0x6",
"removed": false,
"event": {
"name": "Transfer",
"inputs": [
{
"name": "from",
"type": "address",
"indexed": true,
"size": 20,
"valueDecoded": "0x8980dbBe60d92b53b08ff95eA1AaaAbb7F665bCB"
},
{
"name": "to",
"type": "address",
"indexed": true,
"size": 20,
"valueDecoded": "0xbEbc44782C7dB0a1A60Cb6fe97d0b483032FF1C7"
},
{
"name": "value",
"type": "uint256",
"indexed": false,
"size": 256,
"valueDecoded": "4939926"
}
],
"anonymous": false,
"string": "event Transfer(address indexed from, address indexed to, uint256 value)",
"signature": "Transfer(address,address,uint256)",
"id": "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
"verified": false
}
},
{
"blockchain": "eth",
"address": "0xdac17f958d2ee523a2206206994597c13d831ec7",
"topics": [
"0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
"0x0000000000000000000000008980dbbe60d92b53b08ff95ea1aaaabb7f665bcb",
"0x000000000000000000000000bebc44782c7db0a1a60cb6fe97d0b483032ff1c7"
],
"data": "0x0000000000000000000000000000000000000000000000000000000000772cf1",
"blockNumber": "0x1047c0a",
"transactionHash": "0x17e58e0987bc64f1bcaaac15aadda15772be6e7f40704091681ab5803de01460",
"transactionIndex": "0x3",
"blockHash": "0xbd0fadd345293ac4d2bef784e2500c003657a8301afbac0e45dc27e2f4900c31",
"logIndex": "0x7",
"removed": false,
"event": {
"name": "Transfer",
"inputs": [
{
"name": "from",
"type": "address",
"indexed": true,
"size": 20,
"valueDecoded": "0x8980dbBe60d92b53b08ff95eA1AaaAbb7F665bCB"
},
{
"name": "to",
"type": "address",
"indexed": true,
"size": 20,
"valueDecoded": "0xbEbc44782C7dB0a1A60Cb6fe97d0b483032FF1C7"
},
{
"name": "value",
"type": "uint256",
"indexed": false,
"size": 256,
"valueDecoded": "7810289"
}
],
"anonymous": false,
"string": "event Transfer(address indexed from, address indexed to, uint256 value)",
"signature": "Transfer(address,address,uint256)",
"id": "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
"verified": false
}
},
{
"blockchain": "eth",
"address": "0x6c3f90f043a72fa612cbac8115ee7e52bde6e490",
"topics": [
"0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
"0x0000000000000000000000000000000000000000000000000000000000000000",
"0x0000000000000000000000008980dbbe60d92b53b08ff95ea1aaaabb7f665bcb"
],
"data": "0x000000000000000000000000000000000000000000000000ac90f48a5f40213d",
"blockNumber": "0x1047c0a",
"transactionHash": "0x17e58e0987bc64f1bcaaac15aadda15772be6e7f40704091681ab5803de01460",
"transactionIndex": "0x3",
"blockHash": "0xbd0fadd345293ac4d2bef784e2500c003657a8301afbac0e45dc27e2f4900c31",
"logIndex": "0x8",
"removed": false,
"event": {
"name": "Transfer",
"inputs": [
{
"name": "from",
"type": "address",
"indexed": true,
"size": 20,
"valueDecoded": "0x0000000000000000000000000000000000000000"
},
{
"name": "to",
"type": "address",
"indexed": true,
"size": 20,
"valueDecoded": "0x8980dbBe60d92b53b08ff95eA1AaaAbb7F665bCB"
},
{
"name": "value",
"type": "uint256",
"indexed": false,
"size": 256,
"valueDecoded": "12434707446310641981"
}
],
"anonymous": false,
"string": "event Transfer(address indexed from, address indexed to, uint256 value)",
"signature": "Transfer(address,address,uint256)",
"id": "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
"verified": false
}
},
{
"blockchain": "eth",
"address": "0xbebc44782c7db0a1a60cb6fe97d0b483032ff1c7",
"topics": [
"0x423f6495a08fc652425cf4ed0d1f9e37e571d9b9529b1c1c23cce780b2e7df0d",
"0x0000000000000000000000008980dbbe60d92b53b08ff95ea1aaaabb7f665bcb"
],
"data": "0x000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004b60960000000000000000000000000000000000000000000000000000000000772cf10000000000000000000000000000000000000000000000000000baa934fa893d000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000ce0000000000000000000000000000000000000000016c2984a23181c9ec4a4a0600000000000000000000000000000000000000000163136c705cd996d5f875aa",
"blockNumber": "0x1047c0a",
"transactionHash": "0x17e58e0987bc64f1bcaaac15aadda15772be6e7f40704091681ab5803de01460",
"transactionIndex": "0x3",
"blockHash": "0xbd0fadd345293ac4d2bef784e2500c003657a8301afbac0e45dc27e2f4900c31",
"logIndex": "0x9",
"removed": false,
"event": {
"name": "",
"inputs": [],
"anonymous": false,
"string": "",
"signature": "",
"id": "",
"verified": false
}
}
],
"hash": "0x17e58e0987bc64f1bcaaac15aadda15772be6e7f40704091681ab5803de01460",
"status": "0x1",
"blockchain": "eth",
"timestamp": "0x643e1793"
}
@thanhlmm
Copy link
Author

In this transaction, 0x8980dbbe60d92b53b08ff95ea1aaaabb7f665bcb added liquidity to the Curve.fi pool that consists of DAI, USDC, and USDT tokens. The user transferred 4.94 USDC and 7.81 USDT from their address to the pool address (0xbebc44782c7db0a1a60cb6fe97d0b483032ff1c7). In return, they received 12.76 3Crv tokens, which represent their share of the liquidity in the pool.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment