feat: burn tjo nfts

This commit is contained in:
Zitao Xiong
2024-09-12 12:48:23 +08:00
parent 534ac96a2b
commit 3387e0cb77
8 changed files with 4985 additions and 1699 deletions

View File

@@ -11,3 +11,4 @@ SEPOLIA_ETHERSCAN_KEY="V7332TBR1DTRY9MTKK9MATAXXUTEHD7Y32"
ZORA_RPC_URL="https://rpc.zora.energy"
ZORA_SEPOLIA_RPC_URL="https://sepolia.rpc.zora.energy"
API_KEY_SIMPLE_HASH="placeholders_sk_"

View File

@@ -0,0 +1,931 @@
{
"transactions": [
{
"hash": null,
"transactionType": "CALL",
"contractName": null,
"contractAddress": "0x2d37c6bfcb5cdd2cdb5c48c107b56a85b77d62e8",
"function": "transferFrom(address,address,uint256)",
"arguments": [
"0xe335Cf211aA52f3a84257F61dde34C3BDFced560",
"0x000000000000000000000000000000000000dEaD",
"106"
],
"transaction": {
"from": "0xe335cf211aa52f3a84257f61dde34c3bdfced560",
"to": "0x2d37c6bfcb5cdd2cdb5c48c107b56a85b77d62e8",
"gas": "0xf612",
"value": "0x0",
"input": "0x23b872dd000000000000000000000000e335cf211aa52f3a84257f61dde34c3bdfced560000000000000000000000000000000000000000000000000000000000000dead000000000000000000000000000000000000000000000000000000000000006a",
"nonce": "0x38a",
"chainId": "0x2105"
},
"additionalContracts": [],
"isFixedGasLimit": false
},
{
"hash": null,
"transactionType": "CALL",
"contractName": null,
"contractAddress": "0x2d37c6bfcb5cdd2cdb5c48c107b56a85b77d62e8",
"function": "transferFrom(address,address,uint256)",
"arguments": [
"0xe335Cf211aA52f3a84257F61dde34C3BDFced560",
"0x000000000000000000000000000000000000dEaD",
"91"
],
"transaction": {
"from": "0xe335cf211aa52f3a84257f61dde34c3bdfced560",
"to": "0x2d37c6bfcb5cdd2cdb5c48c107b56a85b77d62e8",
"gas": "0xf612",
"value": "0x0",
"input": "0x23b872dd000000000000000000000000e335cf211aa52f3a84257f61dde34c3bdfced560000000000000000000000000000000000000000000000000000000000000dead000000000000000000000000000000000000000000000000000000000000005b",
"nonce": "0x38b",
"chainId": "0x2105"
},
"additionalContracts": [],
"isFixedGasLimit": false
},
{
"hash": null,
"transactionType": "CALL",
"contractName": null,
"contractAddress": "0x2d37c6bfcb5cdd2cdb5c48c107b56a85b77d62e8",
"function": "transferFrom(address,address,uint256)",
"arguments": [
"0xe335Cf211aA52f3a84257F61dde34C3BDFced560",
"0x000000000000000000000000000000000000dEaD",
"90"
],
"transaction": {
"from": "0xe335cf211aa52f3a84257f61dde34c3bdfced560",
"to": "0x2d37c6bfcb5cdd2cdb5c48c107b56a85b77d62e8",
"gas": "0xf612",
"value": "0x0",
"input": "0x23b872dd000000000000000000000000e335cf211aa52f3a84257f61dde34c3bdfced560000000000000000000000000000000000000000000000000000000000000dead000000000000000000000000000000000000000000000000000000000000005a",
"nonce": "0x38c",
"chainId": "0x2105"
},
"additionalContracts": [],
"isFixedGasLimit": false
},
{
"hash": null,
"transactionType": "CALL",
"contractName": null,
"contractAddress": "0x2d37c6bfcb5cdd2cdb5c48c107b56a85b77d62e8",
"function": "transferFrom(address,address,uint256)",
"arguments": [
"0xe335Cf211aA52f3a84257F61dde34C3BDFced560",
"0x000000000000000000000000000000000000dEaD",
"89"
],
"transaction": {
"from": "0xe335cf211aa52f3a84257f61dde34c3bdfced560",
"to": "0x2d37c6bfcb5cdd2cdb5c48c107b56a85b77d62e8",
"gas": "0xf612",
"value": "0x0",
"input": "0x23b872dd000000000000000000000000e335cf211aa52f3a84257f61dde34c3bdfced560000000000000000000000000000000000000000000000000000000000000dead0000000000000000000000000000000000000000000000000000000000000059",
"nonce": "0x38d",
"chainId": "0x2105"
},
"additionalContracts": [],
"isFixedGasLimit": false
},
{
"hash": null,
"transactionType": "CALL",
"contractName": null,
"contractAddress": "0x2d37c6bfcb5cdd2cdb5c48c107b56a85b77d62e8",
"function": "transferFrom(address,address,uint256)",
"arguments": [
"0xe335Cf211aA52f3a84257F61dde34C3BDFced560",
"0x000000000000000000000000000000000000dEaD",
"88"
],
"transaction": {
"from": "0xe335cf211aa52f3a84257f61dde34c3bdfced560",
"to": "0x2d37c6bfcb5cdd2cdb5c48c107b56a85b77d62e8",
"gas": "0xf612",
"value": "0x0",
"input": "0x23b872dd000000000000000000000000e335cf211aa52f3a84257f61dde34c3bdfced560000000000000000000000000000000000000000000000000000000000000dead0000000000000000000000000000000000000000000000000000000000000058",
"nonce": "0x38e",
"chainId": "0x2105"
},
"additionalContracts": [],
"isFixedGasLimit": false
},
{
"hash": null,
"transactionType": "CALL",
"contractName": null,
"contractAddress": "0x2d37c6bfcb5cdd2cdb5c48c107b56a85b77d62e8",
"function": "transferFrom(address,address,uint256)",
"arguments": [
"0xe335Cf211aA52f3a84257F61dde34C3BDFced560",
"0x000000000000000000000000000000000000dEaD",
"87"
],
"transaction": {
"from": "0xe335cf211aa52f3a84257f61dde34c3bdfced560",
"to": "0x2d37c6bfcb5cdd2cdb5c48c107b56a85b77d62e8",
"gas": "0xf612",
"value": "0x0",
"input": "0x23b872dd000000000000000000000000e335cf211aa52f3a84257f61dde34c3bdfced560000000000000000000000000000000000000000000000000000000000000dead0000000000000000000000000000000000000000000000000000000000000057",
"nonce": "0x38f",
"chainId": "0x2105"
},
"additionalContracts": [],
"isFixedGasLimit": false
},
{
"hash": null,
"transactionType": "CALL",
"contractName": null,
"contractAddress": "0x2d37c6bfcb5cdd2cdb5c48c107b56a85b77d62e8",
"function": "transferFrom(address,address,uint256)",
"arguments": [
"0xe335Cf211aA52f3a84257F61dde34C3BDFced560",
"0x000000000000000000000000000000000000dEaD",
"86"
],
"transaction": {
"from": "0xe335cf211aa52f3a84257f61dde34c3bdfced560",
"to": "0x2d37c6bfcb5cdd2cdb5c48c107b56a85b77d62e8",
"gas": "0xf612",
"value": "0x0",
"input": "0x23b872dd000000000000000000000000e335cf211aa52f3a84257f61dde34c3bdfced560000000000000000000000000000000000000000000000000000000000000dead0000000000000000000000000000000000000000000000000000000000000056",
"nonce": "0x390",
"chainId": "0x2105"
},
"additionalContracts": [],
"isFixedGasLimit": false
},
{
"hash": null,
"transactionType": "CALL",
"contractName": null,
"contractAddress": "0x2d37c6bfcb5cdd2cdb5c48c107b56a85b77d62e8",
"function": "transferFrom(address,address,uint256)",
"arguments": [
"0xe335Cf211aA52f3a84257F61dde34C3BDFced560",
"0x000000000000000000000000000000000000dEaD",
"85"
],
"transaction": {
"from": "0xe335cf211aa52f3a84257f61dde34c3bdfced560",
"to": "0x2d37c6bfcb5cdd2cdb5c48c107b56a85b77d62e8",
"gas": "0xf612",
"value": "0x0",
"input": "0x23b872dd000000000000000000000000e335cf211aa52f3a84257f61dde34c3bdfced560000000000000000000000000000000000000000000000000000000000000dead0000000000000000000000000000000000000000000000000000000000000055",
"nonce": "0x391",
"chainId": "0x2105"
},
"additionalContracts": [],
"isFixedGasLimit": false
},
{
"hash": null,
"transactionType": "CALL",
"contractName": null,
"contractAddress": "0x2d37c6bfcb5cdd2cdb5c48c107b56a85b77d62e8",
"function": "transferFrom(address,address,uint256)",
"arguments": [
"0xe335Cf211aA52f3a84257F61dde34C3BDFced560",
"0x000000000000000000000000000000000000dEaD",
"84"
],
"transaction": {
"from": "0xe335cf211aa52f3a84257f61dde34c3bdfced560",
"to": "0x2d37c6bfcb5cdd2cdb5c48c107b56a85b77d62e8",
"gas": "0xf612",
"value": "0x0",
"input": "0x23b872dd000000000000000000000000e335cf211aa52f3a84257f61dde34c3bdfced560000000000000000000000000000000000000000000000000000000000000dead0000000000000000000000000000000000000000000000000000000000000054",
"nonce": "0x392",
"chainId": "0x2105"
},
"additionalContracts": [],
"isFixedGasLimit": false
},
{
"hash": null,
"transactionType": "CALL",
"contractName": null,
"contractAddress": "0x2d37c6bfcb5cdd2cdb5c48c107b56a85b77d62e8",
"function": "transferFrom(address,address,uint256)",
"arguments": [
"0xe335Cf211aA52f3a84257F61dde34C3BDFced560",
"0x000000000000000000000000000000000000dEaD",
"83"
],
"transaction": {
"from": "0xe335cf211aa52f3a84257f61dde34c3bdfced560",
"to": "0x2d37c6bfcb5cdd2cdb5c48c107b56a85b77d62e8",
"gas": "0xf612",
"value": "0x0",
"input": "0x23b872dd000000000000000000000000e335cf211aa52f3a84257f61dde34c3bdfced560000000000000000000000000000000000000000000000000000000000000dead0000000000000000000000000000000000000000000000000000000000000053",
"nonce": "0x393",
"chainId": "0x2105"
},
"additionalContracts": [],
"isFixedGasLimit": false
},
{
"hash": null,
"transactionType": "CALL",
"contractName": null,
"contractAddress": "0x2d37c6bfcb5cdd2cdb5c48c107b56a85b77d62e8",
"function": "transferFrom(address,address,uint256)",
"arguments": [
"0xe335Cf211aA52f3a84257F61dde34C3BDFced560",
"0x000000000000000000000000000000000000dEaD",
"82"
],
"transaction": {
"from": "0xe335cf211aa52f3a84257f61dde34c3bdfced560",
"to": "0x2d37c6bfcb5cdd2cdb5c48c107b56a85b77d62e8",
"gas": "0xf612",
"value": "0x0",
"input": "0x23b872dd000000000000000000000000e335cf211aa52f3a84257f61dde34c3bdfced560000000000000000000000000000000000000000000000000000000000000dead0000000000000000000000000000000000000000000000000000000000000052",
"nonce": "0x394",
"chainId": "0x2105"
},
"additionalContracts": [],
"isFixedGasLimit": false
},
{
"hash": null,
"transactionType": "CALL",
"contractName": null,
"contractAddress": "0x2d37c6bfcb5cdd2cdb5c48c107b56a85b77d62e8",
"function": "transferFrom(address,address,uint256)",
"arguments": [
"0xe335Cf211aA52f3a84257F61dde34C3BDFced560",
"0x000000000000000000000000000000000000dEaD",
"80"
],
"transaction": {
"from": "0xe335cf211aa52f3a84257f61dde34c3bdfced560",
"to": "0x2d37c6bfcb5cdd2cdb5c48c107b56a85b77d62e8",
"gas": "0xf612",
"value": "0x0",
"input": "0x23b872dd000000000000000000000000e335cf211aa52f3a84257f61dde34c3bdfced560000000000000000000000000000000000000000000000000000000000000dead0000000000000000000000000000000000000000000000000000000000000050",
"nonce": "0x395",
"chainId": "0x2105"
},
"additionalContracts": [],
"isFixedGasLimit": false
},
{
"hash": null,
"transactionType": "CALL",
"contractName": null,
"contractAddress": "0x2d37c6bfcb5cdd2cdb5c48c107b56a85b77d62e8",
"function": "transferFrom(address,address,uint256)",
"arguments": [
"0xe335Cf211aA52f3a84257F61dde34C3BDFced560",
"0x000000000000000000000000000000000000dEaD",
"79"
],
"transaction": {
"from": "0xe335cf211aa52f3a84257f61dde34c3bdfced560",
"to": "0x2d37c6bfcb5cdd2cdb5c48c107b56a85b77d62e8",
"gas": "0xf612",
"value": "0x0",
"input": "0x23b872dd000000000000000000000000e335cf211aa52f3a84257f61dde34c3bdfced560000000000000000000000000000000000000000000000000000000000000dead000000000000000000000000000000000000000000000000000000000000004f",
"nonce": "0x396",
"chainId": "0x2105"
},
"additionalContracts": [],
"isFixedGasLimit": false
},
{
"hash": null,
"transactionType": "CALL",
"contractName": null,
"contractAddress": "0x2d37c6bfcb5cdd2cdb5c48c107b56a85b77d62e8",
"function": "transferFrom(address,address,uint256)",
"arguments": [
"0xe335Cf211aA52f3a84257F61dde34C3BDFced560",
"0x000000000000000000000000000000000000dEaD",
"78"
],
"transaction": {
"from": "0xe335cf211aa52f3a84257f61dde34c3bdfced560",
"to": "0x2d37c6bfcb5cdd2cdb5c48c107b56a85b77d62e8",
"gas": "0xf612",
"value": "0x0",
"input": "0x23b872dd000000000000000000000000e335cf211aa52f3a84257f61dde34c3bdfced560000000000000000000000000000000000000000000000000000000000000dead000000000000000000000000000000000000000000000000000000000000004e",
"nonce": "0x397",
"chainId": "0x2105"
},
"additionalContracts": [],
"isFixedGasLimit": false
},
{
"hash": null,
"transactionType": "CALL",
"contractName": null,
"contractAddress": "0x2d37c6bfcb5cdd2cdb5c48c107b56a85b77d62e8",
"function": "transferFrom(address,address,uint256)",
"arguments": [
"0xe335Cf211aA52f3a84257F61dde34C3BDFced560",
"0x000000000000000000000000000000000000dEaD",
"74"
],
"transaction": {
"from": "0xe335cf211aa52f3a84257f61dde34c3bdfced560",
"to": "0x2d37c6bfcb5cdd2cdb5c48c107b56a85b77d62e8",
"gas": "0xf612",
"value": "0x0",
"input": "0x23b872dd000000000000000000000000e335cf211aa52f3a84257f61dde34c3bdfced560000000000000000000000000000000000000000000000000000000000000dead000000000000000000000000000000000000000000000000000000000000004a",
"nonce": "0x398",
"chainId": "0x2105"
},
"additionalContracts": [],
"isFixedGasLimit": false
},
{
"hash": null,
"transactionType": "CALL",
"contractName": null,
"contractAddress": "0x2d37c6bfcb5cdd2cdb5c48c107b56a85b77d62e8",
"function": "transferFrom(address,address,uint256)",
"arguments": [
"0xe335Cf211aA52f3a84257F61dde34C3BDFced560",
"0x000000000000000000000000000000000000dEaD",
"73"
],
"transaction": {
"from": "0xe335cf211aa52f3a84257f61dde34c3bdfced560",
"to": "0x2d37c6bfcb5cdd2cdb5c48c107b56a85b77d62e8",
"gas": "0xf612",
"value": "0x0",
"input": "0x23b872dd000000000000000000000000e335cf211aa52f3a84257f61dde34c3bdfced560000000000000000000000000000000000000000000000000000000000000dead0000000000000000000000000000000000000000000000000000000000000049",
"nonce": "0x399",
"chainId": "0x2105"
},
"additionalContracts": [],
"isFixedGasLimit": false
},
{
"hash": null,
"transactionType": "CALL",
"contractName": null,
"contractAddress": "0x2d37c6bfcb5cdd2cdb5c48c107b56a85b77d62e8",
"function": "transferFrom(address,address,uint256)",
"arguments": [
"0xe335Cf211aA52f3a84257F61dde34C3BDFced560",
"0x000000000000000000000000000000000000dEaD",
"72"
],
"transaction": {
"from": "0xe335cf211aa52f3a84257f61dde34c3bdfced560",
"to": "0x2d37c6bfcb5cdd2cdb5c48c107b56a85b77d62e8",
"gas": "0xf612",
"value": "0x0",
"input": "0x23b872dd000000000000000000000000e335cf211aa52f3a84257f61dde34c3bdfced560000000000000000000000000000000000000000000000000000000000000dead0000000000000000000000000000000000000000000000000000000000000048",
"nonce": "0x39a",
"chainId": "0x2105"
},
"additionalContracts": [],
"isFixedGasLimit": false
},
{
"hash": null,
"transactionType": "CALL",
"contractName": null,
"contractAddress": "0x2d37c6bfcb5cdd2cdb5c48c107b56a85b77d62e8",
"function": "transferFrom(address,address,uint256)",
"arguments": [
"0xe335Cf211aA52f3a84257F61dde34C3BDFced560",
"0x000000000000000000000000000000000000dEaD",
"71"
],
"transaction": {
"from": "0xe335cf211aa52f3a84257f61dde34c3bdfced560",
"to": "0x2d37c6bfcb5cdd2cdb5c48c107b56a85b77d62e8",
"gas": "0xf612",
"value": "0x0",
"input": "0x23b872dd000000000000000000000000e335cf211aa52f3a84257f61dde34c3bdfced560000000000000000000000000000000000000000000000000000000000000dead0000000000000000000000000000000000000000000000000000000000000047",
"nonce": "0x39b",
"chainId": "0x2105"
},
"additionalContracts": [],
"isFixedGasLimit": false
},
{
"hash": null,
"transactionType": "CALL",
"contractName": null,
"contractAddress": "0x2d37c6bfcb5cdd2cdb5c48c107b56a85b77d62e8",
"function": "transferFrom(address,address,uint256)",
"arguments": [
"0xe335Cf211aA52f3a84257F61dde34C3BDFced560",
"0x000000000000000000000000000000000000dEaD",
"69"
],
"transaction": {
"from": "0xe335cf211aa52f3a84257f61dde34c3bdfced560",
"to": "0x2d37c6bfcb5cdd2cdb5c48c107b56a85b77d62e8",
"gas": "0xf612",
"value": "0x0",
"input": "0x23b872dd000000000000000000000000e335cf211aa52f3a84257f61dde34c3bdfced560000000000000000000000000000000000000000000000000000000000000dead0000000000000000000000000000000000000000000000000000000000000045",
"nonce": "0x39c",
"chainId": "0x2105"
},
"additionalContracts": [],
"isFixedGasLimit": false
},
{
"hash": null,
"transactionType": "CALL",
"contractName": null,
"contractAddress": "0x2d37c6bfcb5cdd2cdb5c48c107b56a85b77d62e8",
"function": "transferFrom(address,address,uint256)",
"arguments": [
"0xe335Cf211aA52f3a84257F61dde34C3BDFced560",
"0x000000000000000000000000000000000000dEaD",
"68"
],
"transaction": {
"from": "0xe335cf211aa52f3a84257f61dde34c3bdfced560",
"to": "0x2d37c6bfcb5cdd2cdb5c48c107b56a85b77d62e8",
"gas": "0xf612",
"value": "0x0",
"input": "0x23b872dd000000000000000000000000e335cf211aa52f3a84257f61dde34c3bdfced560000000000000000000000000000000000000000000000000000000000000dead0000000000000000000000000000000000000000000000000000000000000044",
"nonce": "0x39d",
"chainId": "0x2105"
},
"additionalContracts": [],
"isFixedGasLimit": false
},
{
"hash": null,
"transactionType": "CALL",
"contractName": null,
"contractAddress": "0x2d37c6bfcb5cdd2cdb5c48c107b56a85b77d62e8",
"function": "transferFrom(address,address,uint256)",
"arguments": [
"0xe335Cf211aA52f3a84257F61dde34C3BDFced560",
"0x000000000000000000000000000000000000dEaD",
"67"
],
"transaction": {
"from": "0xe335cf211aa52f3a84257f61dde34c3bdfced560",
"to": "0x2d37c6bfcb5cdd2cdb5c48c107b56a85b77d62e8",
"gas": "0xf612",
"value": "0x0",
"input": "0x23b872dd000000000000000000000000e335cf211aa52f3a84257f61dde34c3bdfced560000000000000000000000000000000000000000000000000000000000000dead0000000000000000000000000000000000000000000000000000000000000043",
"nonce": "0x39e",
"chainId": "0x2105"
},
"additionalContracts": [],
"isFixedGasLimit": false
},
{
"hash": null,
"transactionType": "CALL",
"contractName": null,
"contractAddress": "0x2d37c6bfcb5cdd2cdb5c48c107b56a85b77d62e8",
"function": "transferFrom(address,address,uint256)",
"arguments": [
"0xe335Cf211aA52f3a84257F61dde34C3BDFced560",
"0x000000000000000000000000000000000000dEaD",
"66"
],
"transaction": {
"from": "0xe335cf211aa52f3a84257f61dde34c3bdfced560",
"to": "0x2d37c6bfcb5cdd2cdb5c48c107b56a85b77d62e8",
"gas": "0xf612",
"value": "0x0",
"input": "0x23b872dd000000000000000000000000e335cf211aa52f3a84257f61dde34c3bdfced560000000000000000000000000000000000000000000000000000000000000dead0000000000000000000000000000000000000000000000000000000000000042",
"nonce": "0x39f",
"chainId": "0x2105"
},
"additionalContracts": [],
"isFixedGasLimit": false
},
{
"hash": null,
"transactionType": "CALL",
"contractName": null,
"contractAddress": "0x2d37c6bfcb5cdd2cdb5c48c107b56a85b77d62e8",
"function": "transferFrom(address,address,uint256)",
"arguments": [
"0xe335Cf211aA52f3a84257F61dde34C3BDFced560",
"0x000000000000000000000000000000000000dEaD",
"65"
],
"transaction": {
"from": "0xe335cf211aa52f3a84257f61dde34c3bdfced560",
"to": "0x2d37c6bfcb5cdd2cdb5c48c107b56a85b77d62e8",
"gas": "0xf612",
"value": "0x0",
"input": "0x23b872dd000000000000000000000000e335cf211aa52f3a84257f61dde34c3bdfced560000000000000000000000000000000000000000000000000000000000000dead0000000000000000000000000000000000000000000000000000000000000041",
"nonce": "0x3a0",
"chainId": "0x2105"
},
"additionalContracts": [],
"isFixedGasLimit": false
},
{
"hash": null,
"transactionType": "CALL",
"contractName": null,
"contractAddress": "0x2d37c6bfcb5cdd2cdb5c48c107b56a85b77d62e8",
"function": "transferFrom(address,address,uint256)",
"arguments": [
"0xe335Cf211aA52f3a84257F61dde34C3BDFced560",
"0x000000000000000000000000000000000000dEaD",
"64"
],
"transaction": {
"from": "0xe335cf211aa52f3a84257f61dde34c3bdfced560",
"to": "0x2d37c6bfcb5cdd2cdb5c48c107b56a85b77d62e8",
"gas": "0xf612",
"value": "0x0",
"input": "0x23b872dd000000000000000000000000e335cf211aa52f3a84257f61dde34c3bdfced560000000000000000000000000000000000000000000000000000000000000dead0000000000000000000000000000000000000000000000000000000000000040",
"nonce": "0x3a1",
"chainId": "0x2105"
},
"additionalContracts": [],
"isFixedGasLimit": false
},
{
"hash": null,
"transactionType": "CALL",
"contractName": null,
"contractAddress": "0x2d37c6bfcb5cdd2cdb5c48c107b56a85b77d62e8",
"function": "transferFrom(address,address,uint256)",
"arguments": [
"0xe335Cf211aA52f3a84257F61dde34C3BDFced560",
"0x000000000000000000000000000000000000dEaD",
"63"
],
"transaction": {
"from": "0xe335cf211aa52f3a84257f61dde34c3bdfced560",
"to": "0x2d37c6bfcb5cdd2cdb5c48c107b56a85b77d62e8",
"gas": "0xf612",
"value": "0x0",
"input": "0x23b872dd000000000000000000000000e335cf211aa52f3a84257f61dde34c3bdfced560000000000000000000000000000000000000000000000000000000000000dead000000000000000000000000000000000000000000000000000000000000003f",
"nonce": "0x3a2",
"chainId": "0x2105"
},
"additionalContracts": [],
"isFixedGasLimit": false
},
{
"hash": null,
"transactionType": "CALL",
"contractName": null,
"contractAddress": "0x2d37c6bfcb5cdd2cdb5c48c107b56a85b77d62e8",
"function": "transferFrom(address,address,uint256)",
"arguments": [
"0xe335Cf211aA52f3a84257F61dde34C3BDFced560",
"0x000000000000000000000000000000000000dEaD",
"62"
],
"transaction": {
"from": "0xe335cf211aa52f3a84257f61dde34c3bdfced560",
"to": "0x2d37c6bfcb5cdd2cdb5c48c107b56a85b77d62e8",
"gas": "0xf612",
"value": "0x0",
"input": "0x23b872dd000000000000000000000000e335cf211aa52f3a84257f61dde34c3bdfced560000000000000000000000000000000000000000000000000000000000000dead000000000000000000000000000000000000000000000000000000000000003e",
"nonce": "0x3a3",
"chainId": "0x2105"
},
"additionalContracts": [],
"isFixedGasLimit": false
},
{
"hash": null,
"transactionType": "CALL",
"contractName": null,
"contractAddress": "0x2d37c6bfcb5cdd2cdb5c48c107b56a85b77d62e8",
"function": "transferFrom(address,address,uint256)",
"arguments": [
"0xe335Cf211aA52f3a84257F61dde34C3BDFced560",
"0x000000000000000000000000000000000000dEaD",
"61"
],
"transaction": {
"from": "0xe335cf211aa52f3a84257f61dde34c3bdfced560",
"to": "0x2d37c6bfcb5cdd2cdb5c48c107b56a85b77d62e8",
"gas": "0xf612",
"value": "0x0",
"input": "0x23b872dd000000000000000000000000e335cf211aa52f3a84257f61dde34c3bdfced560000000000000000000000000000000000000000000000000000000000000dead000000000000000000000000000000000000000000000000000000000000003d",
"nonce": "0x3a4",
"chainId": "0x2105"
},
"additionalContracts": [],
"isFixedGasLimit": false
},
{
"hash": null,
"transactionType": "CALL",
"contractName": null,
"contractAddress": "0x2d37c6bfcb5cdd2cdb5c48c107b56a85b77d62e8",
"function": "transferFrom(address,address,uint256)",
"arguments": [
"0xe335Cf211aA52f3a84257F61dde34C3BDFced560",
"0x000000000000000000000000000000000000dEaD",
"60"
],
"transaction": {
"from": "0xe335cf211aa52f3a84257f61dde34c3bdfced560",
"to": "0x2d37c6bfcb5cdd2cdb5c48c107b56a85b77d62e8",
"gas": "0xf612",
"value": "0x0",
"input": "0x23b872dd000000000000000000000000e335cf211aa52f3a84257f61dde34c3bdfced560000000000000000000000000000000000000000000000000000000000000dead000000000000000000000000000000000000000000000000000000000000003c",
"nonce": "0x3a5",
"chainId": "0x2105"
},
"additionalContracts": [],
"isFixedGasLimit": false
},
{
"hash": null,
"transactionType": "CALL",
"contractName": null,
"contractAddress": "0x2d37c6bfcb5cdd2cdb5c48c107b56a85b77d62e8",
"function": "transferFrom(address,address,uint256)",
"arguments": [
"0xe335Cf211aA52f3a84257F61dde34C3BDFced560",
"0x000000000000000000000000000000000000dEaD",
"59"
],
"transaction": {
"from": "0xe335cf211aa52f3a84257f61dde34c3bdfced560",
"to": "0x2d37c6bfcb5cdd2cdb5c48c107b56a85b77d62e8",
"gas": "0xf612",
"value": "0x0",
"input": "0x23b872dd000000000000000000000000e335cf211aa52f3a84257f61dde34c3bdfced560000000000000000000000000000000000000000000000000000000000000dead000000000000000000000000000000000000000000000000000000000000003b",
"nonce": "0x3a6",
"chainId": "0x2105"
},
"additionalContracts": [],
"isFixedGasLimit": false
},
{
"hash": null,
"transactionType": "CALL",
"contractName": null,
"contractAddress": "0x2d37c6bfcb5cdd2cdb5c48c107b56a85b77d62e8",
"function": "transferFrom(address,address,uint256)",
"arguments": [
"0xe335Cf211aA52f3a84257F61dde34C3BDFced560",
"0x000000000000000000000000000000000000dEaD",
"58"
],
"transaction": {
"from": "0xe335cf211aa52f3a84257f61dde34c3bdfced560",
"to": "0x2d37c6bfcb5cdd2cdb5c48c107b56a85b77d62e8",
"gas": "0xf612",
"value": "0x0",
"input": "0x23b872dd000000000000000000000000e335cf211aa52f3a84257f61dde34c3bdfced560000000000000000000000000000000000000000000000000000000000000dead000000000000000000000000000000000000000000000000000000000000003a",
"nonce": "0x3a7",
"chainId": "0x2105"
},
"additionalContracts": [],
"isFixedGasLimit": false
},
{
"hash": null,
"transactionType": "CALL",
"contractName": null,
"contractAddress": "0x2d37c6bfcb5cdd2cdb5c48c107b56a85b77d62e8",
"function": "transferFrom(address,address,uint256)",
"arguments": [
"0xe335Cf211aA52f3a84257F61dde34C3BDFced560",
"0x000000000000000000000000000000000000dEaD",
"57"
],
"transaction": {
"from": "0xe335cf211aa52f3a84257f61dde34c3bdfced560",
"to": "0x2d37c6bfcb5cdd2cdb5c48c107b56a85b77d62e8",
"gas": "0xf612",
"value": "0x0",
"input": "0x23b872dd000000000000000000000000e335cf211aa52f3a84257f61dde34c3bdfced560000000000000000000000000000000000000000000000000000000000000dead0000000000000000000000000000000000000000000000000000000000000039",
"nonce": "0x3a8",
"chainId": "0x2105"
},
"additionalContracts": [],
"isFixedGasLimit": false
},
{
"hash": null,
"transactionType": "CALL",
"contractName": null,
"contractAddress": "0x2d37c6bfcb5cdd2cdb5c48c107b56a85b77d62e8",
"function": "transferFrom(address,address,uint256)",
"arguments": [
"0xe335Cf211aA52f3a84257F61dde34C3BDFced560",
"0x000000000000000000000000000000000000dEaD",
"55"
],
"transaction": {
"from": "0xe335cf211aa52f3a84257f61dde34c3bdfced560",
"to": "0x2d37c6bfcb5cdd2cdb5c48c107b56a85b77d62e8",
"gas": "0xf612",
"value": "0x0",
"input": "0x23b872dd000000000000000000000000e335cf211aa52f3a84257f61dde34c3bdfced560000000000000000000000000000000000000000000000000000000000000dead0000000000000000000000000000000000000000000000000000000000000037",
"nonce": "0x3a9",
"chainId": "0x2105"
},
"additionalContracts": [],
"isFixedGasLimit": false
},
{
"hash": null,
"transactionType": "CALL",
"contractName": null,
"contractAddress": "0x2d37c6bfcb5cdd2cdb5c48c107b56a85b77d62e8",
"function": "transferFrom(address,address,uint256)",
"arguments": [
"0xe335Cf211aA52f3a84257F61dde34C3BDFced560",
"0x000000000000000000000000000000000000dEaD",
"54"
],
"transaction": {
"from": "0xe335cf211aa52f3a84257f61dde34c3bdfced560",
"to": "0x2d37c6bfcb5cdd2cdb5c48c107b56a85b77d62e8",
"gas": "0xf612",
"value": "0x0",
"input": "0x23b872dd000000000000000000000000e335cf211aa52f3a84257f61dde34c3bdfced560000000000000000000000000000000000000000000000000000000000000dead0000000000000000000000000000000000000000000000000000000000000036",
"nonce": "0x3aa",
"chainId": "0x2105"
},
"additionalContracts": [],
"isFixedGasLimit": false
},
{
"hash": null,
"transactionType": "CALL",
"contractName": null,
"contractAddress": "0x2d37c6bfcb5cdd2cdb5c48c107b56a85b77d62e8",
"function": "transferFrom(address,address,uint256)",
"arguments": [
"0xe335Cf211aA52f3a84257F61dde34C3BDFced560",
"0x000000000000000000000000000000000000dEaD",
"53"
],
"transaction": {
"from": "0xe335cf211aa52f3a84257f61dde34c3bdfced560",
"to": "0x2d37c6bfcb5cdd2cdb5c48c107b56a85b77d62e8",
"gas": "0xf612",
"value": "0x0",
"input": "0x23b872dd000000000000000000000000e335cf211aa52f3a84257f61dde34c3bdfced560000000000000000000000000000000000000000000000000000000000000dead0000000000000000000000000000000000000000000000000000000000000035",
"nonce": "0x3ab",
"chainId": "0x2105"
},
"additionalContracts": [],
"isFixedGasLimit": false
},
{
"hash": null,
"transactionType": "CALL",
"contractName": null,
"contractAddress": "0x2d37c6bfcb5cdd2cdb5c48c107b56a85b77d62e8",
"function": "transferFrom(address,address,uint256)",
"arguments": [
"0xe335Cf211aA52f3a84257F61dde34C3BDFced560",
"0x000000000000000000000000000000000000dEaD",
"52"
],
"transaction": {
"from": "0xe335cf211aa52f3a84257f61dde34c3bdfced560",
"to": "0x2d37c6bfcb5cdd2cdb5c48c107b56a85b77d62e8",
"gas": "0xf612",
"value": "0x0",
"input": "0x23b872dd000000000000000000000000e335cf211aa52f3a84257f61dde34c3bdfced560000000000000000000000000000000000000000000000000000000000000dead0000000000000000000000000000000000000000000000000000000000000034",
"nonce": "0x3ac",
"chainId": "0x2105"
},
"additionalContracts": [],
"isFixedGasLimit": false
},
{
"hash": null,
"transactionType": "CALL",
"contractName": null,
"contractAddress": "0x2d37c6bfcb5cdd2cdb5c48c107b56a85b77d62e8",
"function": "transferFrom(address,address,uint256)",
"arguments": [
"0xe335Cf211aA52f3a84257F61dde34C3BDFced560",
"0x000000000000000000000000000000000000dEaD",
"51"
],
"transaction": {
"from": "0xe335cf211aa52f3a84257f61dde34c3bdfced560",
"to": "0x2d37c6bfcb5cdd2cdb5c48c107b56a85b77d62e8",
"gas": "0xf612",
"value": "0x0",
"input": "0x23b872dd000000000000000000000000e335cf211aa52f3a84257f61dde34c3bdfced560000000000000000000000000000000000000000000000000000000000000dead0000000000000000000000000000000000000000000000000000000000000033",
"nonce": "0x3ad",
"chainId": "0x2105"
},
"additionalContracts": [],
"isFixedGasLimit": false
},
{
"hash": null,
"transactionType": "CALL",
"contractName": null,
"contractAddress": "0x2d37c6bfcb5cdd2cdb5c48c107b56a85b77d62e8",
"function": "transferFrom(address,address,uint256)",
"arguments": [
"0xe335Cf211aA52f3a84257F61dde34C3BDFced560",
"0x000000000000000000000000000000000000dEaD",
"43"
],
"transaction": {
"from": "0xe335cf211aa52f3a84257f61dde34c3bdfced560",
"to": "0x2d37c6bfcb5cdd2cdb5c48c107b56a85b77d62e8",
"gas": "0xf612",
"value": "0x0",
"input": "0x23b872dd000000000000000000000000e335cf211aa52f3a84257f61dde34c3bdfced560000000000000000000000000000000000000000000000000000000000000dead000000000000000000000000000000000000000000000000000000000000002b",
"nonce": "0x3ae",
"chainId": "0x2105"
},
"additionalContracts": [],
"isFixedGasLimit": false
},
{
"hash": null,
"transactionType": "CALL",
"contractName": null,
"contractAddress": "0x2d37c6bfcb5cdd2cdb5c48c107b56a85b77d62e8",
"function": "transferFrom(address,address,uint256)",
"arguments": [
"0xe335Cf211aA52f3a84257F61dde34C3BDFced560",
"0x000000000000000000000000000000000000dEaD",
"40"
],
"transaction": {
"from": "0xe335cf211aa52f3a84257f61dde34c3bdfced560",
"to": "0x2d37c6bfcb5cdd2cdb5c48c107b56a85b77d62e8",
"gas": "0xf612",
"value": "0x0",
"input": "0x23b872dd000000000000000000000000e335cf211aa52f3a84257f61dde34c3bdfced560000000000000000000000000000000000000000000000000000000000000dead0000000000000000000000000000000000000000000000000000000000000028",
"nonce": "0x3af",
"chainId": "0x2105"
},
"additionalContracts": [],
"isFixedGasLimit": false
},
{
"hash": null,
"transactionType": "CALL",
"contractName": null,
"contractAddress": "0x2d37c6bfcb5cdd2cdb5c48c107b56a85b77d62e8",
"function": "transferFrom(address,address,uint256)",
"arguments": [
"0xe335Cf211aA52f3a84257F61dde34C3BDFced560",
"0x000000000000000000000000000000000000dEaD",
"38"
],
"transaction": {
"from": "0xe335cf211aa52f3a84257f61dde34c3bdfced560",
"to": "0x2d37c6bfcb5cdd2cdb5c48c107b56a85b77d62e8",
"gas": "0xf612",
"value": "0x0",
"input": "0x23b872dd000000000000000000000000e335cf211aa52f3a84257f61dde34c3bdfced560000000000000000000000000000000000000000000000000000000000000dead0000000000000000000000000000000000000000000000000000000000000026",
"nonce": "0x3b0",
"chainId": "0x2105"
},
"additionalContracts": [],
"isFixedGasLimit": false
},
{
"hash": null,
"transactionType": "CALL",
"contractName": null,
"contractAddress": "0x2d37c6bfcb5cdd2cdb5c48c107b56a85b77d62e8",
"function": "transferFrom(address,address,uint256)",
"arguments": [
"0xe335Cf211aA52f3a84257F61dde34C3BDFced560",
"0x000000000000000000000000000000000000dEaD",
"36"
],
"transaction": {
"from": "0xe335cf211aa52f3a84257f61dde34c3bdfced560",
"to": "0x2d37c6bfcb5cdd2cdb5c48c107b56a85b77d62e8",
"gas": "0xdaa6",
"value": "0x0",
"input": "0x23b872dd000000000000000000000000e335cf211aa52f3a84257f61dde34c3bdfced560000000000000000000000000000000000000000000000000000000000000dead0000000000000000000000000000000000000000000000000000000000000024",
"nonce": "0x3b1",
"chainId": "0x2105"
},
"additionalContracts": [],
"isFixedGasLimit": false
}
],
"receipts": [],
"libraries": [],
"pending": [],
"returns": {},
"timestamp": 1726115767,
"chain": 8453,
"commit": "534ac96"
}

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

3
env/.env.prod-manager vendored Normal file
View File

@@ -0,0 +1,3 @@
ETH_KEYSTORE="keystores/keys/prod-manager"
ETH_PASSWORD="keystores/passwords/prod"
DEPLOY_ENV=prod

View File

@@ -0,0 +1 @@
{"crypto":{"cipher":"aes-128-ctr","cipherparams":{"iv":"e4274c9823fa3b26848358945456563b"},"ciphertext":"c54612a3f48b3c6b9c06f466f23a8d1147316031206bdb29aabdbbd579944c5b","kdf":"scrypt","kdfparams":{"dklen":32,"n":8192,"p":1,"r":8,"salt":"202a19f0bb3998c551c94154ecd44438b90f3c1af88fbf04a5f46d9b34b36db9"},"mac":"5f782dd9a39b657f419500ed84f83caaadc59d883d7e57900797d672785033d5"},"id":"cf97d4a5-694f-490c-9b72-bde9217f2af7","version":3}

View File

@@ -11,47 +11,65 @@ contract Burn is Script {
IERC721 public nftContract;
function run() public {
burnNFT(148, 13);
burnNFT(149, 14);
burnNFT(165, 16);
// burnNFT(542, 47);
burnNFT(543, 48);
burnNFT(544, 49);
burnNFT(545, 50);
burnNFT(548, 77);
burnNFT(551, 96);
burnNFT(563, 99);
burnNFT(565, 101);
burnNFT(568, 102);
burnNFT(570, 104);
burnNFT(572, 105);
burnNFT(575, 107);
burnNFT(580, 109);
burnNFT(582, 110);
// burnNFT(587, 112);
burnNFT(590, 113);
burnNFT(594, 115);
burnNFT(596, 116);
burnNFT(598, 117);
burnNFT(601, 118);
// burnNFT(604, 119);
burnNFT(609, 121);
burnNFT(612, 122);
burnNFT(614, 123);
burnNFT(651, 127);
burnNFT(660, 129);
burnNFT(661, 130);
burnNFT(662, 131);
burnNFT(663, 132);
burnNFT(664, 133);
burnNFT(665, 134);
burnNFT(668, 137);
burnNFT(669, 138);
// burnNFT(670, 139);
burnNFT(671, 140);
burnNFT(673, 98);
// burnNFT(675, 142);
burnNFT(704, 157);
burnNFTs(
[
106,
91,
90,
89,
88,
87,
86,
85,
84,
83,
82,
80,
79,
78,
74,
73,
72,
71,
69,
68,
67,
66,
65,
64,
63,
62,
61,
60,
59,
58,
57,
55,
54,
53,
52,
51,
43,
40,
38,
36
]
);
}
function burnNFTs(uint8[40] memory tokenIds) internal {
vm.startBroadcast(getAddressFromConfig("manager"));
nftContract = IERC721(0x2D37C6bfcb5CDD2cDb5c48C107B56a85B77d62e8);
address owner = getAddressFromConfig("manager");
for (uint256 i = 0; i < tokenIds.length; i++) {
nftContract.transferFrom(
address(owner),
address(0xdead),
uint256(tokenIds[i])
);
}
vm.stopBroadcast();
}
function burnNFT(uint256 giftedBoxTokenId, uint256 tokenId) internal {

View File

@@ -0,0 +1,132 @@
// curl --request GET \
// --url 'https://api.simplehash.com/api/v0/nfts/owners?chains=polygon,ethereum&wallet_addresses=0xfa6E0aDDF68267b8b6fF2dA55Ce01a53Fad6D8e2&limit=50' \
// --header 'X-API-KEY: sh_sk1_Z4jhWXXBE09em' \
// --header 'accept: application/json'
/*
resposne
{
"next_cursor": "ZXZtLXBnLjB4NTM5YjQ2MjVmNWY0NTQ5OGI2ODk2OTYzMjRkNzI0NjM5NWY2MWY5Yy4wMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDE1ODJfMjAyMy0wNy0xNiAxMzo1MTo0NCswMDowMF9fbmV4dA",
"next": "https://api.simplehash.com/api/v0/nfts/owners?chains=polygon%2Cethereum&chains=polygon%2Cethereum&cursor=ZXZtLXBnLjB4NTM5YjQ2MjVmNWY0NTQ5OGI2ODk2OTYzMjRkNzI0NjM5NWY2MWY5Yy4wMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDE1ODJfMjAyMy0wNy0xNiAxMzo1MTo0NCswMDowMF9fbmV4dA&limit=50&wallet_addresses=0xfa6E0aDDF68267b8b6fF2dA55Ce01a53Fad6D8e2&wallet_addresses=0xfa6E0aDDF68267b8b6fF2dA55Ce01a53Fad6D8e2",
"previous": null,
"nfts": [
{
"nft_id": "ethereum.0x5e5038c9f9a225a793a283c50ba8ba3300095561.0",
"chain": "ethereum",
"contract_address": "0x5e5038c9F9a225A793A283C50ba8Ba3300095561",
"token_id": "0",
"name": "Visit get-ens.org to claim rewards",
"description": "Visit get-ens.org to claim rewards",
"previews": {
"image_small_url": "https://lh3.googleusercontent.com/oO1cKTQog3txc7k8bEVPXP1Oi-NWyuY0DSdpXu5en_GKYTIb4DJBgYq-glrkO715QmckQkpoguRgV_8bGUfUWE4tBJsyBdL8uRE=s250",
"image_medium_url": "https://lh3.googleusercontent.com/oO1cKTQog3txc7k8bEVPXP1Oi-NWyuY0DSdpXu5en_GKYTIb4DJBgYq-glrkO715QmckQkpoguRgV_8bGUfUWE4tBJsyBdL8uRE",
"image_large_url": "https://lh3.googleusercontent.com/oO1cKTQog3txc7k8bEVPXP1Oi-NWyuY0DSdpXu5en_GKYTIb4DJBgYq-glrkO715QmckQkpoguRgV_8bGUfUWE4tBJsyBdL8uRE=s1000",
"image_opengraph_url": "https://lh3.googleusercontent.com/oO1cKTQog3txc7k8bEVPXP1Oi-NWyuY0DSdpXu5en_GKYTIb4DJBgYq-glrkO715QmckQkpoguRgV_8bGUfUWE4tBJsyBdL8uRE=k-w1200-s2400-rj",
"blurhash": "Uc9Rq+ohMbbaRhtSkDV?I7W9tTe-t8acj=W?",
"predominant_color": "#3b7cd0"
},
"image_url": "https://cdn.simplehash.com/assets/5c00b8ba2a00e7d40c5aad97be7730c99010cfe6810d78aa1dc73830455aae4f.png",
"image_properties": {
"width": 450,
"height": 450,
"size": 201934,
"mime_type": "image/png",
"exif_orientation": null
},
"video_url": null,
"video_properties": null,
"audio_url": null,
"audio_properties": null,
"model_url": null,
"model_properties": null,
"other_url": null,
"other_properties": null,
"background_color": null,
"external_url": null,
"created_date": "2024-06-11T06:10:59",
"status": "minted",
"token_count": 19976,
"owner_count": 19976,
}
]
}
*/
interface NFT {
nft_id: string;
chain: string;
contract_address: string;
token_id: string;
name: string;
description: string;
image_url: string;
}
interface SimpleHashResponse {
nfts: NFT[];
next_cursor: string;
next: string;
previous: string;
}
async function getNFTsByOwner(
ownerAddress: string,
chains: string[]
): Promise<NFT[]> {
const apiKey = process.env.API_KEY_SIMPLE_HASH!;
const url = "https://api.simplehash.com/api/v0/nfts/owners";
let allNFTs: NFT[] = [];
let nextCursor: string | null = null;
do {
const params = new URLSearchParams({
chains: chains.join(","),
wallet_addresses: ownerAddress,
limit: "50",
});
if (nextCursor) {
params.append("cursor", nextCursor);
}
try {
console.log(`Fetching NFTs... (Total fetched so far: ${allNFTs.length})`);
const response = await fetch(`${url}?${params}`, {
headers: {
"X-API-KEY": apiKey,
accept: "application/json",
},
});
if (!response.ok) {
throw new Error(`HTTP error! status: ${response.status}`);
}
const data: SimpleHashResponse =
(await response.json()) as SimpleHashResponse;
allNFTs = allNFTs.concat(data.nfts);
nextCursor = data.next_cursor;
} catch (error) {
console.error("Error fetching NFTs:", error);
throw error;
}
} while (nextCursor);
console.log(`Finished fetching NFTs. Total fetched: ${allNFTs.length}`);
return allNFTs;
}
getNFTsByOwner("0xe335Cf211aA52f3a84257F61dde34C3BDFced560", ["base"])
.then((nfts) => {
const ids = nfts
.filter(
(nft) =>
nft.contract_address === "0x2D37C6bfcb5CDD2cDb5c48C107B56a85B77d62e8"
)
.map((nft) => Number(nft.token_id));
console.log(ids);
console.log(ids.length);
})
.catch((error) => console.error(error));