Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: transaction details #1565

Merged
merged 1 commit into from
Feb 5, 2024

Conversation

rabbitz
Copy link
Collaborator

@rabbitz rabbitz commented Jan 12, 2024

  • normal nft transfers

https://pudge.explorer.nervos.org/transaction/0xf5a466d0fcdc637c21a3be9341120a3f0fbe3c01f878285378f108da3830faeb

{
    "data": [
        {
            "address": "ckt1qpth5hjexr3wehtzqpm97dzzucgemjv7sl05wnez7y72hqvuszeyyq25rmcdw50zg8ppxudd6k7f0229q2jn4sqlcdx0k",
            "transfers": [
                {
                    "capacity": "-2188.0",
                    "cell_type": "m_nft_token",
                    "token_id": "2",
                    "name": "1test",
                    "count": "0"
                },
                {
                    "capacity": "-2275.0",
                    "cell_type": "m_nft_token",
                    "token_id": "2",
                    "name": "2test",
                    "count": "0"
                },
                {
                    "capacity": "-2362.0",
                    "cell_type": "m_nft_token",
                    "token_id": "4",
                    "name": "3test",
                    "count": "0"
                },
                {
                    "capacity": "-2449.0",
                    "cell_type": "m_nft_token",
                    "token_id": "2",
                    "name": "4test",
                    "count": "0"
                },
                {
                    "capacity": "-2536.0",
                    "cell_type": "m_nft_token",
                    "token_id": "2",
                    "name": "5test",
                    "count": "0"
                }
            ]
        }
    ]
}
  • udt transfers

https://pudge.explorer.nervos.org/transaction/0xf0c70d84edeb508a4e30bab427a35d2576ab887cfc59e67afea8ad9309fca33a

{
    "data": [
        {
            "address": "ckt1qzda0cr08m85hc8jlnfp3zer7xulejywt49kt2rr0vthywaa50xwsqdyxxydsw5nm3yey8a563zexa0uynrn7qsadvk9u",
            "transfers": [
                {
                    "capacity": "-100000.0",
                    "cell_type": "normal"
                }
            ]
        },
        {
            "address": "ckt1qp7zkccvg3cjv8356s6afxpgtwjmwpz4d92dmnhysdh54u4te46acqdpc9wlh7uwrzptflrqmgg4z3lgcrdxws75cgx7fuzg76arrpt0hyg4c22fcyuxtxa8wfa7e7lzfhhspksuxnnmveudeay7gwv6x6kvyrt5gfc",
            "transfers": [
                {
                    "capacity": "0.0",
                    "cell_type": "normal"
                },
                {
                    "capacity": "-10546875000.0",
                    "cell_type": "udt",
                    "udt_info": {
                        "symbol": "ckETH-Test",
                        "decimal": "18",
                        "display_name": "",
                        "type_hash": "0x79fe7015d47099cf999212df09f3daf4b9b600886d078d1a6d36cfe9f9e32bd1",
                        "uan": "",
                        "amount": "-2.536846570729112e+16"
                    }
                }
            ]
        },
        {
            "address": "ckt1qpvvtay34wndv9nckl8hah6fzzcltcqwcrx79apwp2a5lkd07fdxxqtu4nr6akfv09vxx2y54c59taqjgd0n78qecw94e",
            "transfers": [
                {
                    "capacity": "19846875000.0",
                    "cell_type": "normal"
                },
                {
                    "capacity": "14200000000.0",
                    "cell_type": "udt",
                    "udt_info": {
                        "symbol": "ckETH-Test",
                        "decimal": "18",
                        "display_name": "",
                        "type_hash": "0x79fe7015d47099cf999212df09f3daf4b9b600886d078d1a6d36cfe9f9e32bd1",
                        "uan": "",
                        "amount": "2.536846570729112e+16"
                    }
                }
            ]
        },
        {
            "address": "ckt1qp6tlmpp8xx6rxgzshtsm72rkq0ggwvmuxmv7x0fzmmj7njyhkez2qg3ts55nsfcvkd6wunmana7yn00qrdpcd88kencmn6fusue5d4vcfsznxpcu5200yhv2gekpaksxngzkyu52a4cmayy7qj3fa0keypfsqtf0s9kk8adtyqqqqqqqqqqqqqq6rs87ugzqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqnxk3ky",
            "transfers": [
                {
                    "capacity": "-23500000000.0",
                    "cell_type": "udt",
                    "udt_info": {
                        "symbol": "",
                        "decimal": "",
                        "display_name": "",
                        "type_hash": "0x5ccb53051800ed4ee280a8be8bf8b0c83c5383963998b0d93ff43e4b0a49836b",
                        "uan": "",
                        "amount": "-16339845413263.0"
                    }
                }
            ]
        }
    ]
}
  • cota transfers

https://pudge.explorer.nervos.org/transaction/0xc162b1a5c19de8b2f717bb53be00bfc1f5518584c26a34d836d2db809c2bcbf4

https://pudge.explorer.nervos.org/nft-collections/0x1e3a3fd2f8fd510d3ef57e039cfb3d31cbcec20f

{
    "data": [
        {
            "address": "ckt1qzda0cr08m85hc8jlnfp3zer7xulejywt49kt2rr0vthywaa50xwsqt7pshwqe34urexg7409ldz8wltuxs624smdl825",
            "transfers": [
                {
                    "capacity": "-1581.0",
                    "cell_type": "cota_regular",
                    "cota_info": [
                        {
                            "name": "test",
                            "count": "-1",
                            "token_id": "6"
                        },
                        {
                            "name": "test",
                            "count": "-1",
                            "token_id": "7"
                        }
                    ]
                }
            ]
        }
    ]
}
  • nft class

https://pudge.explorer.nervos.org/transaction/0xde663dce1b6d3a305e358a683bf83fdc272521a6a76ad7c9a2b9898fc4171d75

{
    "data": [
        {
            "address": "ckt1qzda0cr08m85hc8jlnfp3zer7xulejywt49kt2rr0vthywaa50xwsqwzkxjqa49qm6cye9jak2upf07nzmm05zqv5h6ux",
            "transfers": [
                {
                    "capacity": "-13400001119.0",
                    "cell_type": "normal"
                }
            ]
        },
        {
            "address": "ckt1qpth5hjexr3wehtzqpm97dzzucgemjv7sl05wnez7y72hqvuszeyyqvtylrmmcgngljrkswww5las3jcr3ck44ceevvk5",
            "transfers": [
                {
                    "capacity": "13400000000.0",
                    "cell_type": "m_nft_token",
                    "token_id": "0",
                    "name": "2.8-视频",
                    "count": "1"
                }
            ]
        },
        {
            "address": "ckt1qzda0cr08m85hc8jlnfp3zer7xulejywt49kt2rr0vthywaa50xwsqwx6mvqhngud8mysnpnlw9gkvsqjvznn5gvcvssh",
            "transfers": [
                {
                    "capacity": "0.0",
                    "cell_type": "m_nft_class",
                    "count": "0",
                    "name": "2.8-视频"
                }
            ]
        }
    ]
}

@codecov-commenter
Copy link

codecov-commenter commented Jan 12, 2024

Codecov Report

Attention: 297 lines in your changes are missing coverage. Please review.

Comparison is base (f373f6b) 67.56% compared to head (e3e9fd0) 65.94%.
Report is 21 commits behind head on develop.

❗ Current head e3e9fd0 differs from pull request most recent head f612341. Consider uploading reports for the commit f612341 to get more accurate results

Files Patch % Lines
app/services/portfolios/udt_accounts_statistic.rb 0.00% 83 Missing ⚠️
app/interactions/users/ckb_transactions.rb 0.00% 53 Missing ⚠️
app/controllers/validations/portfolio_signature.rb 0.00% 51 Missing ⚠️
...rs/api/v2/portfolio/ckb_transactions_controller.rb 0.00% 27 Missing ⚠️
app/controllers/concerns/cell_data_comparator.rb 73.11% 25 Missing ⚠️
...ollers/api/v2/portfolio/udt_accounts_controller.rb 0.00% 19 Missing ⚠️
app/workers/generate_cell_dependencies_worker.rb 30.76% 9 Missing ⚠️
app/workers/token_transfer_detect_worker.rb 30.00% 7 Missing ⚠️
app/serializers/cell_output_serializer.rb 76.19% 5 Missing ⚠️
app/controllers/api/v2/base_controller.rb 83.33% 3 Missing ⚠️
... and 8 more
Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #1565      +/-   ##
===========================================
- Coverage    67.56%   65.94%   -1.62%     
===========================================
  Files          289      310      +21     
  Lines         7944     8484     +540     
===========================================
+ Hits          5367     5595     +228     
- Misses        2577     2889     +312     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@rabbitz rabbitz force-pushed the feat/transaction_details branch 2 times, most recently from c5bcfe8 to 58c97c3 Compare January 15, 2024 03:17
@rabbitz rabbitz force-pushed the feat/transaction_details branch from 58c97c3 to f612341 Compare February 5, 2024 05:09
@rabbitz rabbitz added this pull request to the merge queue Feb 5, 2024
Merged via the queue into nervosnetwork:develop with commit 529b107 Feb 5, 2024
1 check passed
@rabbitz rabbitz deleted the feat/transaction_details branch February 5, 2024 05:37
@Keith-CY
Copy link
Collaborator

Keith-CY commented Feb 5, 2024

Examples of m nft issuer, spore_cell, spore_cluster, cota_registry, nervos_dao_deposit, nervos_dao_widthdrawing, nrc_721_token, nrc_721_factory should be added for demonstration.

@rabbitz
Copy link
Collaborator Author

rabbitz commented Feb 5, 2024

  • spore_cell and spore_cluster

https://pudge.explorer.nervos.org/transaction/0x0f3dda176ded288a2696e550cc18523b5085d928bd8bd6a5a571e7dcb9bcbe3f

{
  "data": [
    {
      "address": "ckt1qrejnmlar3r452tcg57gvq8patctcgy8acync0hxfnyka35ywafvkqgpkdpyq6lgqxmfqy4zp0atf9m3mgkukjysqqrkywh2",
      "transfers": [
        {
          "capacity": "-530500006319.0",
          "cell_type": "normal"
        },
        {
          "capacity": "530500000000.0",
          "cell_type": "spore_cell",
          "count": "1",
          "toekn_id": "60556134625672965723757841296768269066108736946020026814588689150721858201610",
          "name": "Meme Collection"
        }
      ]
    },
    {
      "address": "ckt1qrejnmlar3r452tcg57gvq8patctcgy8acync0hxfnyka35ywafvkqgq65r7ndm3cw9qeupse99phtvztdcn5pz2qgqqqqnrllg",
      "transfers": [
        {
          "capacity": "1.0",
          "cell_type": "spore_cluster",
          "count": "0",
          "name": "Meme Collection"
        }
      ]
    }
  ]
}
  • m_nft_issuer

https://pudge.explorer.nervos.org/transaction/0xa089b99880878054101611ef755e890d90b033dacfad1930493a271ebc3b5be7

{
  "data": [
    {
      "address": "ckt1qzda0cr08m85hc8jlnfp3zer7xulejywt49kt2rr0vthywaa50xwsqfdggp6kh269f3hhl5w8uu7yj6s4hq2lvqv98w8w",
      "transfers": [
        {
          "capacity": "-300000010000.0",
          "cell_type": "normal"
        },
        {
          "capacity": "0.0",
          "cell_type": "m_nft_issuer",
          "count": "0",
          "name": ""
        },
        {
          "capacity": "30000000000.0",
          "cell_type": "m_nft_class",
          "count": "1",
          "name": "First NFT"
        },
        {
          "capacity": "30000000000.0",
          "cell_type": "m_nft_class",
          "count": "1",
          "name": "First NFT"
        },
        {
          "capacity": "30000000000.0",
          "cell_type": "m_nft_class",
          "count": "1",
          "name": "First NFT"
        },
        {
          "capacity": "30000000000.0",
          "cell_type": "m_nft_class",
          "count": "1",
          "name": "First NFT"
        },
        {
          "capacity": "30000000000.0",
          "cell_type": "m_nft_class",
          "count": "1",
          "name": "First NFT"
        },
        {
          "capacity": "30000000000.0",
          "cell_type": "m_nft_class",
          "count": "1",
          "name": "First NFT"
        },
        {
          "capacity": "30000000000.0",
          "cell_type": "m_nft_class",
          "count": "1",
          "name": "First NFT"
        },
        {
          "capacity": "30000000000.0",
          "cell_type": "m_nft_class",
          "count": "1",
          "name": "First NFT"
        },
        {
          "capacity": "30000000000.0",
          "cell_type": "m_nft_class",
          "count": "1",
          "name": "First NFT"
        },
        {
          "capacity": "30000000000.0",
          "cell_type": "m_nft_class",
          "count": "1",
          "name": "First NFT"
        }
      ]
    }
  ]
}
  • cota_registry

https://pudge.explorer.nervos.org/transaction/0xc052653c1c6d70defcf0bad9c44b6c46db8e4728f3a3c1fcc467044de9ce8205

{
    "data": [
        {
            "address": "ckt1qzda0cr08m85hc8jlnfp3zer7xulejywt49kt2rr0vthywaa50xwsq0cvve2kfh7tw4gnaag73vvllvduduly4gt2hawf",
            "transfers": [
                {
                    "capacity": "-15000060000.0",
                    "cell_type": "normal"
                }
            ]
        },
        {
            "address": "ckt1qrfrwcdnvssswdwpn3s9v8fp87emat306ctjwsm3nmlkjg8qyza2cqgqq97rxhj3y2l0kqyxjtk23sla7pd099v0aqg4jm9d",
            "transfers": [
                {
                    "capacity": "15000000000.0",
                    "cell_type": "cota_regular",
                    "cota_info": []
                }
            ]
        },
        {
            "address": "ckt1qqg4w3cv480qj8ppcf3t7p65kamlx557zrf89rdc766wqn8u97a47qqrtwh4k",
            "transfers": [
                {
                    "capacity": "0.0",
                    "cell_type": "cota_registry"
                }
            ]
        }
    ]
}
  • nrc_721_token

https://pudge.explorer.nervos.org/transaction/0x654aa01a962fb85115b5d40ab46cefbe027835d98a683d192976766b3147f716

{
  "data": [
    {
      "address": "ckt1qzda0cr08m85hc8jlnfp3zer7xulejywt49kt2rr0vthywaa50xwsq2cwwzpnghxcyv4g9mwhaavlqjzljqpegse6uhja",
      "transfers": [
        {
          "capacity": "-993600100000.0",
          "cell_type": "normal"
        }
      ]
    },
    {
      "address": "ckt1qzda0cr08m85hc8jlnfp3zer7xulejywt49kt2rr0vthywaa50xwsqwknckgpmggjw4wcfmn3ll7eepapu8nv2cve4n4k",
      "transfers": [
        {
          "capacity": "0.0",
          "cell_type": "nrc_721_factory",
          "count": "0",
          "name": ""
        }
      ]
    },
    {
      "address": "ckt1qzda0cr08m85hc8jlnfp3zer7xulejywt49kt2rr0vthywaa50xwsqvjnuh8khwxlj2ata033uts3wkhj2tps7qnq0m35",
      "transfers": [
        {
          "capacity": "0.0",
          "cell_type": "nrc_721_factory",
          "count": "0",
          "name": ""
        }
      ]
    },
    {
      "address": "ckt1qpvvtay34wndv9nckl8hah6fzzcltcqwcrx79apwp2a5lkd07fdxxq06zw2l87f5vauxq38hnk6w0nuawat3sdc3krk7j",
      "transfers": [
        {
          "capacity": "20700000000.0",
          "cell_type": "nrc_721_token",
          "count": "1",
          "toekn_id": "19827270724922710889633449339190294128999871361353955167487830088046845136492639",
          "name": ""
        },
        {
          "capacity": "20700000000.0",
          "cell_type": "nrc_721_token",
          "count": "1",
          "toekn_id": "19846426263468621599355521614708631083906984024721673371106590513188921571331656",
          "name": ""
        },
        {
          "capacity": "20700000000.0",
          "cell_type": "nrc_721_token",
          "count": "1",
          "toekn_id": "19896452169710039703696274025979344070056484926382511405545855094586057184581386",
          "name": ""
        },
        {
          "capacity": "20700000000.0",
          "cell_type": "nrc_721_token",
          "count": "1",
          "toekn_id": "19846433659219102804010728690161238517628254935170105821058260121342236989826370",
          "name": ""
        },
        {
          "capacity": "20700000000.0",
          "cell_type": "nrc_721_token",
          "count": "1",
          "toekn_id": "19809533493487599281110392339521404162347612895135824284080374788940264194405807",
          "name": ""
        },
        {
          "capacity": "20700000000.0",
          "cell_type": "nrc_721_token",
          "count": "1",
          "toekn_id": "19824343810673064119707596820502835020946999411608250913774885007375862942808461",
          "name": ""
        },
        {
          "capacity": "20700000000.0",
          "cell_type": "nrc_721_token",
          "count": "1",
          "toekn_id": "19888880986286463664852599163298750100643744302300102629189589671219624269706088",
          "name": ""
        },
        {
          "capacity": "20700000000.0",
          "cell_type": "nrc_721_token",
          "count": "1",
          "toekn_id": "19831395358738570434441747145843095392951771807990662354425339569440659521641547",
          "name": ""
        },
        {
          "capacity": "20700000000.0",
          "cell_type": "nrc_721_token",
          "count": "1",
          "toekn_id": "19886069306271884423320389131501868245526611396959640157119748494852189069575384",
          "name": ""
        },
        {
          "capacity": "20700000000.0",
          "cell_type": "nrc_721_token",
          "count": "1",
          "toekn_id": "16393661978590054024077961105286074643540566853542600885873121047531126096338144",
          "name": ""
        },
        {
          "capacity": "20700000000.0",
          "cell_type": "nrc_721_token",
          "count": "1",
          "toekn_id": "16411290814307492119249518874764334039506883871258297223109977418160544289114425",
          "name": ""
        },
        {
          "capacity": "20700000000.0",
          "cell_type": "nrc_721_token",
          "count": "1",
          "toekn_id": "16336767722942739003743113308566183653981886093823784022238868935903936804479125",
          "name": ""
        },
        {
          "capacity": "20700000000.0",
          "cell_type": "nrc_721_token",
          "count": "1",
          "toekn_id": "16381576938668967941686790330673677552887794394479286479063847326190522304115785",
          "name": ""
        }
      ]
    },
    {
      "address": "ckt1qqlpadldfqym94sx2zlfdfq2h776lvlmjs4hkdlvwuy7vn3v6zncxqvdk26qu0h0ulk3td7env352teld0shsxcx73jpy",
      "transfers": [
        {
          "capacity": "20700000000.0",
          "cell_type": "nrc_721_token",
          "count": "1",
          "toekn_id": "16338820753580608625881984701963446519952124272132204169399431840638733963873539",
          "name": ""
        },
        {
          "capacity": "20700000000.0",
          "cell_type": "nrc_721_token",
          "count": "1",
          "toekn_id": "16397717900932287926679213081967420053270502732679451395658153094305230682494531",
          "name": ""
        },
        {
          "capacity": "20700000000.0",
          "cell_type": "nrc_721_token",
          "count": "1",
          "toekn_id": "16331870116985530394072369020199004351444428630898697213879618815472407141352333",
          "name": ""
        },
        {
          "capacity": "20700000000.0",
          "cell_type": "nrc_721_token",
          "count": "1",
          "toekn_id": "16349860468678716779084429778507495843585638224082728963211087464331742886845401",
          "name": ""
        },
        {
          "capacity": "20700000000.0",
          "cell_type": "nrc_721_token",
          "count": "1",
          "toekn_id": "16399745459341115499731128529865973771772779651763878192056669303077843695819893",
          "name": ""
        },
        {
          "capacity": "20700000000.0",
          "cell_type": "nrc_721_token",
          "count": "1",
          "toekn_id": "16418934010927463393572908556651735162732449252249959846107503215671080848715320",
          "name": ""
        },
        {
          "capacity": "20700000000.0",
          "cell_type": "nrc_721_token",
          "count": "1",
          "toekn_id": "16400150299494516178958533284742394583834453983438219325265587733455721437167237",
          "name": ""
        },
        {
          "capacity": "20700000000.0",
          "cell_type": "nrc_721_token",
          "count": "1",
          "toekn_id": "16436957089944328704746803504191644232449200862743621181199706724192099188044082",
          "name": ""
        },
        {
          "capacity": "20700000000.0",
          "cell_type": "nrc_721_token",
          "count": "1",
          "toekn_id": "16418989697399019683317012543992910693342717410267870968883664863424397208067937",
          "name": ""
        },
        {
          "capacity": "20700000000.0",
          "cell_type": "nrc_721_token",
          "count": "1",
          "toekn_id": "16433494557007291522081149865743528610288806050507684666468711648757408411856716",
          "name": ""
        },
        {
          "capacity": "20700000000.0",
          "cell_type": "nrc_721_token",
          "count": "1",
          "toekn_id": "16380587578974345993978998913926698046921122391423467577527138389450544638369273",
          "name": ""
        },
        {
          "capacity": "20700000000.0",
          "cell_type": "nrc_721_token",
          "count": "1",
          "toekn_id": "16435152864188421671190266908213850499161055970122912731357582058703436755283744",
          "name": ""
        },
        {
          "capacity": "20700000000.0",
          "cell_type": "nrc_721_token",
          "count": "1",
          "toekn_id": "16383722025980786151842139743551860958318625019768436290955899363907656475838268",
          "name": ""
        },
        {
          "capacity": "20700000000.0",
          "cell_type": "nrc_721_token",
          "count": "1",
          "toekn_id": "16384952369108049542165384577773363851796989182994312762405501749581998016231076",
          "name": ""
        },
        {
          "capacity": "20700000000.0",
          "cell_type": "nrc_721_token",
          "count": "1",
          "toekn_id": "16355568722822067113204806196349378303330671028024412371382464283052835956030825",
          "name": ""
        },
        {
          "capacity": "20700000000.0",
          "cell_type": "nrc_721_token",
          "count": "1",
          "toekn_id": "16383651398507051073924058126618038430193924940967875653380817502386075050845761",
          "name": ""
        },
        {
          "capacity": "20700000000.0",
          "cell_type": "nrc_721_token",
          "count": "1",
          "toekn_id": "16407403602615897655459958715869415372681684602793586112497559709390370226270952",
          "name": ""
        },
        {
          "capacity": "20700000000.0",
          "cell_type": "nrc_721_token",
          "count": "1",
          "toekn_id": "16390801023183903051792853809692774314058983272297780544727516996960544553161463",
          "name": ""
        },
        {
          "capacity": "20700000000.0",
          "cell_type": "nrc_721_token",
          "count": "1",
          "toekn_id": "16433524594262886017200007856794391958828772665783699103250338950050464863392267",
          "name": ""
        },
        {
          "capacity": "20700000000.0",
          "cell_type": "nrc_721_token",
          "count": "1",
          "toekn_id": "16388194810952315575869509884530921286377432571396854717406658392334735915907801",
          "name": ""
        },
        {
          "capacity": "20700000000.0",
          "cell_type": "nrc_721_token",
          "count": "1",
          "toekn_id": "16359484441438624899246545762599253442730966151639589782738018331307073611553747",
          "name": ""
        },
        {
          "capacity": "20700000000.0",
          "cell_type": "nrc_721_token",
          "count": "1",
          "toekn_id": "16378293991685152339839931572949089367014610319084693213022728864875216504135696",
          "name": ""
        },
        {
          "capacity": "20700000000.0",
          "cell_type": "nrc_721_token",
          "count": "1",
          "toekn_id": "16430119954771297182870390581609786117853106904511669608545320125177713659821894",
          "name": ""
        },
        {
          "capacity": "20700000000.0",
          "cell_type": "nrc_721_token",
          "count": "1",
          "toekn_id": "16412816250010924620773059383911171320896669789032818598282655809828771159964028",
          "name": ""
        },
        {
          "capacity": "20700000000.0",
          "cell_type": "nrc_721_token",
          "count": "1",
          "toekn_id": "16389118830584443867613275540452428911721299764336834474055069118902471776372759",
          "name": ""
        },
        {
          "capacity": "20700000000.0",
          "cell_type": "nrc_721_token",
          "count": "1",
          "toekn_id": "16375344074292134701120828469289776768942142301628988560629028773458078179512096",
          "name": ""
        },
        {
          "capacity": "20700000000.0",
          "cell_type": "nrc_721_token",
          "count": "1",
          "toekn_id": "16398621324186579734171509454094124258603059951599153996515511513758392851246688",
          "name": ""
        },
        {
          "capacity": "20700000000.0",
          "cell_type": "nrc_721_token",
          "count": "1",
          "toekn_id": "16354178069392425888028849242002387740470731928388358723032967025580034926889958",
          "name": ""
        },
        {
          "capacity": "20700000000.0",
          "cell_type": "nrc_721_token",
          "count": "1",
          "toekn_id": "16393448334283469340775969177064115239531830503243070407992484227936376617953566",
          "name": ""
        },
        {
          "capacity": "20700000000.0",
          "cell_type": "nrc_721_token",
          "count": "1",
          "toekn_id": "16387053157612043956210755996432624207540908073083978321036359497348010778618068",
          "name": ""
        },
        {
          "capacity": "20700000000.0",
          "cell_type": "nrc_721_token",
          "count": "1",
          "toekn_id": "16369922515393798553406181065373892322872041377044510279054450994602276879542535",
          "name": ""
        },
        {
          "capacity": "20700000000.0",
          "cell_type": "nrc_721_token",
          "count": "1",
          "toekn_id": "16427712102898919453267266872649382003657481499813302323496123464422235068441882",
          "name": ""
        },
        {
          "capacity": "20700000000.0",
          "cell_type": "nrc_721_token",
          "count": "1",
          "toekn_id": "16360403240702841861404962984487436844648191526473013770207987583172814718700058",
          "name": ""
        },
        {
          "capacity": "20700000000.0",
          "cell_type": "nrc_721_token",
          "count": "1",
          "toekn_id": "16391798101595244363673942918722642565748630571850106301823693007167514695576828",
          "name": ""
        },
        {
          "capacity": "20700000000.0",
          "cell_type": "nrc_721_token",
          "count": "1",
          "toekn_id": "16384063844489479666057302430175582721700466146420648915351207300864110503836225",
          "name": ""
        }
      ]
    }
  ]
}
  • nrc_721_factory

https://pudge.explorer.nervos.org/transaction/0x4ee667284a02caa2e731bedf654bcee3ce46b380f77a62885c57fb05698059f8

{
  "data": [
    {
      "address": "ckt1qpvvtay34wndv9nckl8hah6fzzcltcqwcrx79apwp2a5lkd07fdxxq0ecfzek8k40fkpgxfpm3d5qmcntnqvrpqjr90cd",
      "transfers": [
        {
          "capacity": "-20000010000.0",
          "cell_type": "normal"
        }
      ]
    },
    {
      "address": "ckt1qzda0cr08m85hc8jlnfp3zer7xulejywt49kt2rr0vthywaa50xwsqga3q4llnt5k5jacf4a0ejnsj3nsem9k8sq8qy5p",
      "transfers": [
        {
          "capacity": "20000000000.0",
          "cell_type": "nrc_721_factory",
          "count": "1",
          "name": ""
        }
      ]
    }
  ]
}

@rabbitz
Copy link
Collaborator Author

rabbitz commented Feb 5, 2024

nervos_dao_deposit and nervos_dao_withdrawing

https://pudge.explorer.nervos.org/transaction/0xe889d2a7ed4dbb8f45ece7c0d39f4afcc2d985c94125eceffef5fd5d86067e20

{
  "data": [
    {
      "address": "ckt1qq56s9rnufyjfcu54y2g4v6hcfyjlm0k2fqcfzm6safe5ldec02r7qyz366atsthnl87z038a6lcqaqsq3gdkdd43kj5emkwvdd50astp578twzk",
      "transfers": [
        {
          "capacity": "0.0",
          "cell_type": "normal"
        }
      ]
    },
    {
      "address": "ckt1qpvvtay34wndv9nckl8hah6fzzcltcqwcrx79apwp2a5lkd07fdxxqdajvrh3vl4kd44c9zj7z6ht67lvgky5mcrpv7fs",
      "transfers": [
        {
          "capacity": "28390000000.0",
          "cell_type": "normal"
        },
        {
          "capacity": "-28400000000.0",
          "cell_type": "udt",
          "udt_info": {
            "symbol": "",
            "decimal": "",
            "display_name": "",
            "type_hash": "0x526bf9af46da513e9b7021e306790f7f03ae320801f3dc0750b2156fcd3d656c",
            "uan": "",
            "amount": "-900000000000.0"
          }
        },
        {
          "capacity": "900000000000.0",
          "cell_type": "nervos_dao_withdrawing"
        }
      ]
    },
    {
      "address": "ckt1qz965q043w4tpj6clscezdh2fa5xdm2ecv3l499l044h904zr36duqqps28tt4wpw70ulcf7ylhtlqr5zqz9pke4kkx62n8wee34k3lkpvxshjmm3s",
      "transfers": [
        {
          "capacity": "-900000000000.0",
          "cell_type": "nervos_dao_deposit"
        }
      ]
    }
  ]
}

@rabbitz
Copy link
Collaborator Author

rabbitz commented Feb 19, 2024

#1625

@rabbitz
Copy link
Collaborator Author

rabbitz commented Feb 19, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants