-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #44 from maticnetwork/fxportal-events
Add FxPortal events to subgraph
- Loading branch information
Showing
10 changed files
with
2,526 additions
and
400 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,351 @@ | ||
[ | ||
{ | ||
"inputs":[ | ||
{ | ||
"internalType":"address", | ||
"name":"_checkpointManager", | ||
"type":"address" | ||
}, | ||
{ | ||
"internalType":"address", | ||
"name":"_fxRoot", | ||
"type":"address" | ||
}, | ||
{ | ||
"internalType":"address", | ||
"name":"_fxERC20Token", | ||
"type":"address" | ||
} | ||
], | ||
"stateMutability":"nonpayable", | ||
"type":"constructor" | ||
}, | ||
{ | ||
"anonymous":false, | ||
"inputs":[ | ||
{ | ||
"indexed":true, | ||
"internalType":"address", | ||
"name":"rootToken", | ||
"type":"address" | ||
}, | ||
{ | ||
"indexed":true, | ||
"internalType":"address", | ||
"name":"depositor", | ||
"type":"address" | ||
}, | ||
{ | ||
"indexed":true, | ||
"internalType":"address", | ||
"name":"userAddress", | ||
"type":"address" | ||
}, | ||
{ | ||
"indexed":false, | ||
"internalType":"uint256", | ||
"name":"amount", | ||
"type":"uint256" | ||
} | ||
], | ||
"name":"FxDepositERC20", | ||
"type":"event" | ||
}, | ||
{ | ||
"anonymous":false, | ||
"inputs":[ | ||
{ | ||
"indexed":true, | ||
"internalType":"address", | ||
"name":"rootToken", | ||
"type":"address" | ||
}, | ||
{ | ||
"indexed":true, | ||
"internalType":"address", | ||
"name":"childToken", | ||
"type":"address" | ||
}, | ||
{ | ||
"indexed":true, | ||
"internalType":"address", | ||
"name":"userAddress", | ||
"type":"address" | ||
}, | ||
{ | ||
"indexed":false, | ||
"internalType":"uint256", | ||
"name":"amount", | ||
"type":"uint256" | ||
} | ||
], | ||
"name":"FxWithdrawERC20", | ||
"type":"event" | ||
}, | ||
{ | ||
"anonymous":false, | ||
"inputs":[ | ||
{ | ||
"indexed":true, | ||
"internalType":"address", | ||
"name":"rootToken", | ||
"type":"address" | ||
}, | ||
{ | ||
"indexed":true, | ||
"internalType":"address", | ||
"name":"childToken", | ||
"type":"address" | ||
} | ||
], | ||
"name":"TokenMappedERC20", | ||
"type":"event" | ||
}, | ||
{ | ||
"inputs":[ | ||
|
||
], | ||
"name":"DEPOSIT", | ||
"outputs":[ | ||
{ | ||
"internalType":"bytes32", | ||
"name":"", | ||
"type":"bytes32" | ||
} | ||
], | ||
"stateMutability":"view", | ||
"type":"function" | ||
}, | ||
{ | ||
"inputs":[ | ||
|
||
], | ||
"name":"MAP_TOKEN", | ||
"outputs":[ | ||
{ | ||
"internalType":"bytes32", | ||
"name":"", | ||
"type":"bytes32" | ||
} | ||
], | ||
"stateMutability":"view", | ||
"type":"function" | ||
}, | ||
{ | ||
"inputs":[ | ||
|
||
], | ||
"name":"SEND_MESSAGE_EVENT_SIG", | ||
"outputs":[ | ||
{ | ||
"internalType":"bytes32", | ||
"name":"", | ||
"type":"bytes32" | ||
} | ||
], | ||
"stateMutability":"view", | ||
"type":"function" | ||
}, | ||
{ | ||
"inputs":[ | ||
|
||
], | ||
"name":"checkpointManager", | ||
"outputs":[ | ||
{ | ||
"internalType":"contract ICheckpointManager", | ||
"name":"", | ||
"type":"address" | ||
} | ||
], | ||
"stateMutability":"view", | ||
"type":"function" | ||
}, | ||
{ | ||
"inputs":[ | ||
|
||
], | ||
"name":"childTokenTemplateCodeHash", | ||
"outputs":[ | ||
{ | ||
"internalType":"bytes32", | ||
"name":"", | ||
"type":"bytes32" | ||
} | ||
], | ||
"stateMutability":"view", | ||
"type":"function" | ||
}, | ||
{ | ||
"inputs":[ | ||
{ | ||
"internalType":"bytes32", | ||
"name":"salt", | ||
"type":"bytes32" | ||
}, | ||
{ | ||
"internalType":"bytes32", | ||
"name":"bytecodeHash", | ||
"type":"bytes32" | ||
}, | ||
{ | ||
"internalType":"address", | ||
"name":"deployer", | ||
"type":"address" | ||
} | ||
], | ||
"name":"computedCreate2Address", | ||
"outputs":[ | ||
{ | ||
"internalType":"address", | ||
"name":"", | ||
"type":"address" | ||
} | ||
], | ||
"stateMutability":"pure", | ||
"type":"function" | ||
}, | ||
{ | ||
"inputs":[ | ||
{ | ||
"internalType":"address", | ||
"name":"rootToken", | ||
"type":"address" | ||
}, | ||
{ | ||
"internalType":"address", | ||
"name":"user", | ||
"type":"address" | ||
}, | ||
{ | ||
"internalType":"uint256", | ||
"name":"amount", | ||
"type":"uint256" | ||
}, | ||
{ | ||
"internalType":"bytes", | ||
"name":"data", | ||
"type":"bytes" | ||
} | ||
], | ||
"name":"deposit", | ||
"outputs":[ | ||
|
||
], | ||
"stateMutability":"nonpayable", | ||
"type":"function" | ||
}, | ||
{ | ||
"inputs":[ | ||
|
||
], | ||
"name":"fxChildTunnel", | ||
"outputs":[ | ||
{ | ||
"internalType":"address", | ||
"name":"", | ||
"type":"address" | ||
} | ||
], | ||
"stateMutability":"view", | ||
"type":"function" | ||
}, | ||
{ | ||
"inputs":[ | ||
|
||
], | ||
"name":"fxRoot", | ||
"outputs":[ | ||
{ | ||
"internalType":"contract IFxStateSender", | ||
"name":"", | ||
"type":"address" | ||
} | ||
], | ||
"stateMutability":"view", | ||
"type":"function" | ||
}, | ||
{ | ||
"inputs":[ | ||
{ | ||
"internalType":"address", | ||
"name":"rootToken", | ||
"type":"address" | ||
} | ||
], | ||
"name":"mapToken", | ||
"outputs":[ | ||
|
||
], | ||
"stateMutability":"nonpayable", | ||
"type":"function" | ||
}, | ||
{ | ||
"inputs":[ | ||
{ | ||
"internalType":"bytes32", | ||
"name":"", | ||
"type":"bytes32" | ||
} | ||
], | ||
"name":"processedExits", | ||
"outputs":[ | ||
{ | ||
"internalType":"bool", | ||
"name":"", | ||
"type":"bool" | ||
} | ||
], | ||
"stateMutability":"view", | ||
"type":"function" | ||
}, | ||
{ | ||
"inputs":[ | ||
{ | ||
"internalType":"bytes", | ||
"name":"inputData", | ||
"type":"bytes" | ||
} | ||
], | ||
"name":"receiveMessage", | ||
"outputs":[ | ||
|
||
], | ||
"stateMutability":"nonpayable", | ||
"type":"function" | ||
}, | ||
{ | ||
"inputs":[ | ||
{ | ||
"internalType":"address", | ||
"name":"", | ||
"type":"address" | ||
} | ||
], | ||
"name":"rootToChildTokens", | ||
"outputs":[ | ||
{ | ||
"internalType":"address", | ||
"name":"", | ||
"type":"address" | ||
} | ||
], | ||
"stateMutability":"view", | ||
"type":"function" | ||
}, | ||
{ | ||
"inputs":[ | ||
{ | ||
"internalType":"address", | ||
"name":"_fxChildTunnel", | ||
"type":"address" | ||
} | ||
], | ||
"name":"setFxChildTunnel", | ||
"outputs":[ | ||
|
||
], | ||
"stateMutability":"nonpayable", | ||
"type":"function" | ||
} | ||
] |
Oops, something went wrong.