Skip to content

Commit

Permalink
update eosio.evm readme
Browse files Browse the repository at this point in the history
  • Loading branch information
DenisCarriere committed May 26, 2023
1 parent d5e2a47 commit a44d2eb
Showing 1 changed file with 15 additions and 59 deletions.
74 changes: 15 additions & 59 deletions eosio.evm/README.md
Original file line number Diff line number Diff line change
@@ -1,95 +1,51 @@
# Antelope `eosio.token` Substream
# Antelope `eosio.evm` Substream

> Antelope `eosio.token` token transfers with params
> Antelope `eosio.evm` contract events
### [Latest Releases](https://github.com/pinax-network/substreams/releases)


### Params
Params allow to filter messages and can be supplied to modules in the form of URL query, i.e. `to=swap.defi&contract=eosio.token` - filter EOS transfers to `swap.defi` account
- `map_transfers` - filter transfers
- `to` - receiver
- `from` - sender
- `symcode` - symbol code
- `contract` - token contract
- `to_or_from` - either receiver or sender
- `map_accounts` - filter account balance changes
- `account` - account
- `symcode` - symbol code
- `contract` - token contract
- `map_stat` - filter token stats
- `symcode` - symbol code
- `contract` - token contract

### Quickstart

```bash
$ make
$ make gui # all transfers
$ make param # swap.defi transfers
$ make gui # all pushtx
```

### Mermaid graph

```mermaid
graph TD;
map_transfers[map: map_transfers];
map_transfers:params[params] --> map_transfers;
sf.antelope.type.v1.Block[source: sf.antelope.type.v1.Block] --> map_transfers;
map_accounts[map: map_accounts];
sf.antelope.type.v1.Block[source: sf.antelope.type.v1.Block] --> map_accounts;
map_stat[map: map_stat];
sf.antelope.type.v1.Block[source: sf.antelope.type.v1.Block] --> map_stat;
map_pushtx[map: map_pushtx];
sf.antelope.type.v1.Block[source: sf.antelope.type.v1.Block] --> map_pushtx;
graph_out[map: graph_out];
map_transfers --> graph_out;
sf.antelope.type.v1.Block[source: sf.antelope.type.v1.Block] --> graph_out;
kv_out[map: kv_out];
map_accounts --> kv_out;
map_stat --> kv_out;
db_out[map: db_out];
map_transfers --> db_out;
sf.antelope.type.v1.Block[source: sf.antelope.type.v1.Block] --> kv_out;
```

### Modules

```yaml
Package name: eosio_token
Version: v0.11.0
Doc: Antelope `eosio.token` based action traces & database operations.
Package name: eosio_evm
Version: v0.0.1
Doc: Antelope `eosio.evm` contract.
Modules:
----
Name: map_transfers
Initial block: 0
Kind: map
Output Type: proto:antelope.eosio.token.v1.TransferEvents
Hash: 0a39637b4c8c5fb2300e3bbb0655a27de5ef78a0

Name: map_accounts
Name: map_pushtx
Initial block: 0
Kind: map
Output Type: proto:antelope.eosio.token.v1.Accounts
Hash: 3a648fbb9db0b4f330c9b97d096d1e63744ff32c

Name: map_stat
Initial block: 0
Kind: map
Output Type: proto:antelope.eosio.token.v1.Stats
Hash: 1f06ed9106b5e7990d4e413005721852d2360e68
Output Type: proto:antelope.eosio.evm.v1.Pushtxs
Hash: b785f9b233b1959d2b3861ec7a7dd0cb0366e010

Name: graph_out
Initial block: 0
Kind: map
Output Type: proto:substreams.entity.v1.EntityChanges
Hash: bb6878235c0ee77321f286e5b2369d0696af4e87
Hash: cb09d798e8d66e53de474b5989bdc9ffb3a08310

Name: kv_out
Initial block: 0
Kind: map
Output Type: proto:sf.substreams.sink.kv.v1.KVOperations
Hash: 38fb1424d9f845367babb424f3fab910f1fecbe4

Name: db_out
Initial block: 0
Kind: map
Output Type: proto:sf.substreams.sink.database.v1.DatabaseChanges
Hash: 1ba842ba4d4b861dbdbf973729e08852a2e73c61
Hash: b37ca6afa6fef5cbbc73e42885ff561d0f32c3df
```

0 comments on commit a44d2eb

Please sign in to comment.