Skip to content

Commit

Permalink
feat: merge erc20 from develop to main
Browse files Browse the repository at this point in the history
  • Loading branch information
phamphong9981 committed Jul 31, 2024
1 parent 12611fa commit 8e90a76
Show file tree
Hide file tree
Showing 7 changed files with 1,011 additions and 385 deletions.
4 changes: 3 additions & 1 deletion ci/config.json.ci
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"consensusPrefixAddress": "valcons",
"validatorPrefixAddress": "valoper",
"networkDenom": "utaura",
"evmOnly": false,
"jobRetryAttempt": 5,
"jobRetryBackoff": 1000,
"crawlValidator": {
Expand Down Expand Up @@ -371,7 +372,8 @@
"key": "erc20",
"blocksPerCall": 100,
"millisecondRepeatJob": 5000,
"chunkSizeInsert": 1000
"chunkSizeInsert": 1000,
"wrapExtensionContract": []
},
"erc721": {
"key": "erc721",
Expand Down
4 changes: 3 additions & 1 deletion config.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"networkPrefixAddress": "aura",
"consensusPrefixAddress": "valcons",
"validatorPrefixAddress": "valoper",
"evmOnly": false,
"networkDenom": "utaura",
"jobRetryAttempt": 5,
"jobRetryBackoff": 1000,
Expand Down Expand Up @@ -375,7 +376,8 @@
"key": "erc20",
"blocksPerCall": 100,
"millisecondRepeatJob": 2000,
"chunkSizeInsert": 1000
"chunkSizeInsert": 1000,
"wrapExtensionContract": [""]
},
"erc721": {
"key": "erc721",
Expand Down
2 changes: 2 additions & 0 deletions src/models/event.ts
Original file line number Diff line number Diff line change
Expand Up @@ -111,5 +111,7 @@ export class Event extends BaseModel {
CHANNEL_CLOSE_CONFIRM: 'channel_close_confirm',
CHANNEL_CLOSE: 'channel_close',
BLOCK_BLOOM: 'block_bloom',
CONVERT_COIN: 'convert_coin',
CONVERT_ERC20: 'convert_erc20',
};
}
1 change: 1 addition & 0 deletions src/models/event_attribute.ts
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@ export class EventAttribute extends BaseModel {
REFUND_AMOUNT: 'refund_amount',
MEMO: 'memo',
BLOOM: 'bloom',
ERC20_TOKEN: 'erc20_token',
};

static ATTRIBUTE_COMPOSITE_KEY = {
Expand Down
Loading

0 comments on commit 8e90a76

Please sign in to comment.