Releases: pinax-network/subgraph-contract-creation
v0.2.0
Package name: evm_contract_creation_tracker
Version: v0.2.0
Doc: Tracking contract creation information
Modules
graph TD;
map_contract_creation[map: map_contract_creation];
sf.ethereum.type.v2.Block[source: sf.ethereum.type.v2.Block] --> map_contract_creation;
db_out[map: db_out];
map_contract_creation --> db_out;
graph_out[map: graph_out];
map_contract_creation --> graph_out;
Name: map_contract_creation
Initial block: 0
Kind: map
Input: source: sf.ethereum.type.v2.Block Output Type:
proto:EVMContractCreation.v1.EVMContractCreations`
Hash: 9ddc52c6db2f7c50f5b120621ced8d46f836fc8f
Name: db_out
Initial block: 0
Kind: map
Input: map: map_contract_creation
Output Type: proto:sf.substreams.sink.database.v1.DatabaseChanges
Hash: 48fd36758de82b2d2d296afc4a7763fd7e0a9f79
Name: graph_out
Initial block: 0
Kind: map
Input: map: map_contract_creation
Output Type: proto:sf.substreams.sink.database.v1.EntityChanges
Hash: 5a55c7fa95d9b15053306eb7955a7694e087a979
Protobuf
message ContractCreationInfo {
string block_hash = 1;
uint64 block_number = 2;
uint64 block_timestamp_seconds = 3;
string contract_address = 4;
string creator_address = 5;
string creator_factory = 6;
string creator_tx = 7;
bytes contract_init_bytecode = 8;
bytes contract_bytecode = 9;
}
Full Changelog: v0.1.3...v0.2.0
v0.1.3
Full Changelog: v0.1.2...v0.1.3
v0.1.2
Full Changelog: v0.1.1...v0.1.2
v0.1.1
Tracking EVM contract creation
db_out
{
"@module": "db_out",
"@block": <value>,
"@type": "sf.substreams.sink.database.v1.DatabaseChanges",
"@data": {
"tableChanges": [
{
"table": "contract_creation",
"operation": "OPERATION_CREATE",
"fields": [
{
"name": "block_hash",
"newValue": "<value>"
},
{
"name": "block_number",
"newValue": "<value>"
},
{
"name": "block_timestamp",
"newValue": "<value>"
},
{
"name": "contract_address",
"newValue": "<value>"
},
{
"name": "creator_address",
"newValue": "<value>"
},
{
"name": "creator_tx",
"newValue": "<value>"
},
{
"name": "creation_bytecode",
"newValue": "0x60806040[...]"
}
],
"compositePk": {
"keys": {
"block_hash": "<value>",
"contract_address": "<value>"
}
}
},
]
}
}
Full Changelog: v0.1.0...v0.1.1
v0.1.0
Tracking EVM contract creation
db_out
{
"@module": "db_out",
"@block": <value>,
"@type": "sf.substreams.sink.database.v1.DatabaseChanges",
"@data": {
"tableChanges": [
{
"table": "contract_creation",
"pk": "<value>",
"operation": "OPERATION_CREATE",
"fields": [
{
"name": "block_hash",
"newValue": "<value>"
},
{
"name": "block_number",
"newValue": "<value>"
},
{
"name": "block_timestamp",
"newValue": "<value>"
},
{
"name": "contract_address",
"newValue": "<value>"
},
{
"name": "creator_address",
"newValue": "<value>"
},
{
"name": "creator_tx",
"newValue": "<value>"
},
{
"name": "creation_bytecode",
"newValue": "0x60806040[...]"
}
]
},
]
}
}
graph_out
{
"@module": "graph_out",
"@unknown": "sf.substreams.sink.database.v1.EntityChanges",
"@str": "[...]",
"@bytes": "[...]"
}
Full Changelog: https://github.com/pinax-network/subgraph-contract-creation/commits/v0.1.0