-
Notifications
You must be signed in to change notification settings - Fork 0
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 #9 from pnetwork-association/chore/add-deploy-scripts
Add deploy scripts
- Loading branch information
Showing
26 changed files
with
1,269 additions
and
20 deletions.
There are no files selected for viewing
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
156 changes: 156 additions & 0 deletions
156
solidity/broadcast/Adapter.s.sol/11155111/swap-latest.json
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,156 @@ | ||
{ | ||
"transactions": [ | ||
{ | ||
"hash": "0x9b3b567ec90fc3a263f1784f57f942ac52ab4e609c23ba794de944fc1b512d34", | ||
"transactionType": "CALL", | ||
"contractName": null, | ||
"contractAddress": "0x87415715056da7a5eb1a30e53c4f4d20b44db71d", | ||
"function": "swap(address,uint256,uint256,string,bytes)", | ||
"arguments": [ | ||
"0xF6652f1dB7a7b48d9A6c515Ad759C0464E16559c", | ||
"100000000000000000", | ||
"56", | ||
"\"0xADA2de876567a06eD79b0B29ae6aB2e142129E51\"", | ||
"0x" | ||
], | ||
"transaction": { | ||
"from": "0xada2de876567a06ed79b0b29ae6ab2e142129e51", | ||
"to": "0x87415715056da7a5eb1a30e53c4f4d20b44db71d", | ||
"gas": "0x44b66", | ||
"value": "0x0", | ||
"input": "0xe4b81541000000000000000000000000f6652f1db7a7b48d9a6c515ad759c0464e16559c000000000000000000000000000000000000000000000000016345785d8a0000000000000000000000000000000000000000000000000000000000000000003800000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000002a307841444132646538373635363761303665443739623042323961653661423265313432313239453531000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", | ||
"nonce": "0x23", | ||
"chainId": "0xaa36a7" | ||
}, | ||
"additionalContracts": [], | ||
"isFixedGasLimit": false | ||
} | ||
], | ||
"receipts": [ | ||
{ | ||
"status": "0x1", | ||
"cumulativeGasUsed": "0x659262", | ||
"logs": [ | ||
{ | ||
"address": "0xf6652f1db7a7b48d9a6c515ad759c0464e16559c", | ||
"topics": [ | ||
"0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef", | ||
"0x000000000000000000000000ada2de876567a06ed79b0b29ae6ab2e142129e51", | ||
"0x00000000000000000000000087415715056da7a5eb1a30e53c4f4d20b44db71d" | ||
], | ||
"data": "0x000000000000000000000000000000000000000000000000016345785d8a0000", | ||
"blockHash": "0x658d5ae6a577714c7507e7b5911d26429280d6a0922a2be3f4502d577985527a", | ||
"blockNumber": "0x610ff6", | ||
"transactionHash": "0x9b3b567ec90fc3a263f1784f57f942ac52ab4e609c23ba794de944fc1b512d34", | ||
"transactionIndex": "0x38", | ||
"logIndex": "0x51", | ||
"removed": false | ||
}, | ||
{ | ||
"address": "0xf6652f1db7a7b48d9a6c515ad759c0464e16559c", | ||
"topics": [ | ||
"0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925", | ||
"0x00000000000000000000000087415715056da7a5eb1a30e53c4f4d20b44db71d", | ||
"0x000000000000000000000000b4888613f7bd5a5f91c190a1d305f23c6317b9d3" | ||
], | ||
"data": "0x000000000000000000000000000000000000000000000000016345785d8a0000", | ||
"blockHash": "0x658d5ae6a577714c7507e7b5911d26429280d6a0922a2be3f4502d577985527a", | ||
"blockNumber": "0x610ff6", | ||
"transactionHash": "0x9b3b567ec90fc3a263f1784f57f942ac52ab4e609c23ba794de944fc1b512d34", | ||
"transactionIndex": "0x38", | ||
"logIndex": "0x52", | ||
"removed": false | ||
}, | ||
{ | ||
"address": "0xf6652f1db7a7b48d9a6c515ad759c0464e16559c", | ||
"topics": [ | ||
"0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef", | ||
"0x00000000000000000000000087415715056da7a5eb1a30e53c4f4d20b44db71d", | ||
"0x000000000000000000000000b4888613f7bd5a5f91c190a1d305f23c6317b9d3" | ||
], | ||
"data": "0x000000000000000000000000000000000000000000000000016345785d8a0000", | ||
"blockHash": "0x658d5ae6a577714c7507e7b5911d26429280d6a0922a2be3f4502d577985527a", | ||
"blockNumber": "0x610ff6", | ||
"transactionHash": "0x9b3b567ec90fc3a263f1784f57f942ac52ab4e609c23ba794de944fc1b512d34", | ||
"transactionIndex": "0x38", | ||
"logIndex": "0x53", | ||
"removed": false | ||
}, | ||
{ | ||
"address": "0xab4142adbf12c4403012d413945be641e12237b5", | ||
"topics": [ | ||
"0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef", | ||
"0x0000000000000000000000000000000000000000000000000000000000000000", | ||
"0x00000000000000000000000087415715056da7a5eb1a30e53c4f4d20b44db71d" | ||
], | ||
"data": "0x000000000000000000000000000000000000000000000000016345785d8a0000", | ||
"blockHash": "0x658d5ae6a577714c7507e7b5911d26429280d6a0922a2be3f4502d577985527a", | ||
"blockNumber": "0x610ff6", | ||
"transactionHash": "0x9b3b567ec90fc3a263f1784f57f942ac52ab4e609c23ba794de944fc1b512d34", | ||
"transactionIndex": "0x38", | ||
"logIndex": "0x54", | ||
"removed": false | ||
}, | ||
{ | ||
"address": "0xb4888613f7bd5a5f91c190a1d305f23c6317b9d3", | ||
"topics": [ | ||
"0xe1fffcc4923d04b559f4d29a8bfc6cda04eb5b0d3c460751c2402c5c5cc9109c" | ||
], | ||
"data": "0x00000000000000000000000087415715056da7a5eb1a30e53c4f4d20b44db71d000000000000000000000000000000000000000000000000016345785d8a0000", | ||
"blockHash": "0x658d5ae6a577714c7507e7b5911d26429280d6a0922a2be3f4502d577985527a", | ||
"blockNumber": "0x610ff6", | ||
"transactionHash": "0x9b3b567ec90fc3a263f1784f57f942ac52ab4e609c23ba794de944fc1b512d34", | ||
"transactionIndex": "0x38", | ||
"logIndex": "0x55", | ||
"removed": false | ||
}, | ||
{ | ||
"address": "0xab4142adbf12c4403012d413945be641e12237b5", | ||
"topics": [ | ||
"0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef", | ||
"0x00000000000000000000000087415715056da7a5eb1a30e53c4f4d20b44db71d", | ||
"0x0000000000000000000000000000000000000000000000000000000000000000" | ||
], | ||
"data": "0x000000000000000000000000000000000000000000000000016345785d8a0000", | ||
"blockHash": "0x658d5ae6a577714c7507e7b5911d26429280d6a0922a2be3f4502d577985527a", | ||
"blockNumber": "0x610ff6", | ||
"transactionHash": "0x9b3b567ec90fc3a263f1784f57f942ac52ab4e609c23ba794de944fc1b512d34", | ||
"transactionIndex": "0x38", | ||
"logIndex": "0x56", | ||
"removed": false | ||
}, | ||
{ | ||
"address": "0x87415715056da7a5eb1a30e53c4f4d20b44db71d", | ||
"topics": [ | ||
"0x9b706941b48091a1c675b439064f40b9d43c577d9c7134cce93179b9b0bf2a52", | ||
"0x0000000000000000000000000000000000000000000000000000000000000000" | ||
], | ||
"data": "0x0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000ea0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000f6652f1db7a7b48d9a6c515ad759c0464e16559c0000000000000000000000000000000000000000000000000000000000000038000000000000000000000000000000000000000000000000016345785d8a0000000000000000000000000000ada2de876567a06ed79b0b29ae6ab2e142129e51000000000000000000000000000000000000000000000000000000000000002a30784144413264653837363536376130366544373962304232396165366142326531343231323945353100000000000000000000000000000000000000000000", | ||
"blockHash": "0x658d5ae6a577714c7507e7b5911d26429280d6a0922a2be3f4502d577985527a", | ||
"blockNumber": "0x610ff6", | ||
"transactionHash": "0x9b3b567ec90fc3a263f1784f57f942ac52ab4e609c23ba794de944fc1b512d34", | ||
"transactionIndex": "0x38", | ||
"logIndex": "0x57", | ||
"removed": false | ||
} | ||
], | ||
"logsBloom": "0x01000000001000000000008000000000000008000000000000000200000000000000000000000000000000000008000000000000000000000000000010224000000000000000000000000008000000000000000000000000000000008000000000000000020000000000000000100800000000000000000000000010002000000000000000003000000000000800000000000001400000000800000000000000020000000000000000400000000000002800000000000000000000000000000200000002000000000000000000000000000000000000000800000000000020002010080000000000000000000800000000000000000000400000000000000000", | ||
"type": "0x2", | ||
"transactionHash": "0x9b3b567ec90fc3a263f1784f57f942ac52ab4e609c23ba794de944fc1b512d34", | ||
"transactionIndex": "0x38", | ||
"blockHash": "0x658d5ae6a577714c7507e7b5911d26429280d6a0922a2be3f4502d577985527a", | ||
"blockNumber": "0x610ff6", | ||
"gasUsed": "0x2efba", | ||
"effectiveGasPrice": "0x5c2382221", | ||
"from": "0xada2de876567a06ed79b0b29ae6ab2e142129e51", | ||
"to": "0x87415715056da7a5eb1a30e53c4f4d20b44db71d", | ||
"contractAddress": null | ||
} | ||
], | ||
"libraries": [], | ||
"pending": [], | ||
"returns": {}, | ||
"timestamp": 1721725469, | ||
"chain": 11155111, | ||
"commit": "459acd0" | ||
} |
Large diffs are not rendered by default.
Oops, something went wrong.
66 changes: 66 additions & 0 deletions
66
solidity/broadcast/ERC20.s.sol/11155111/approve-latest.json
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,66 @@ | ||
{ | ||
"transactions": [ | ||
{ | ||
"hash": "0x453023f4ded25be3fcaa0fe7cfb202ff54adddeb3dad09e678fc1ee37b33a3ba", | ||
"transactionType": "CALL", | ||
"contractName": null, | ||
"contractAddress": "0xf6652f1db7a7b48d9a6c515ad759c0464e16559c", | ||
"function": "approve(address,uint256)", | ||
"arguments": [ | ||
"0x87415715056DA7A5EB1a30E53C4F4d20B44DB71D", | ||
"100000000000000000" | ||
], | ||
"transaction": { | ||
"from": "0xada2de876567a06ed79b0b29ae6ab2e142129e51", | ||
"to": "0xf6652f1db7a7b48d9a6c515ad759c0464e16559c", | ||
"gas": "0xfa2b", | ||
"value": "0x0", | ||
"input": "0x095ea7b300000000000000000000000087415715056da7a5eb1a30e53c4f4d20b44db71d000000000000000000000000000000000000000000000000016345785d8a0000", | ||
"nonce": "0x19", | ||
"chainId": "0xaa36a7" | ||
}, | ||
"additionalContracts": [], | ||
"isFixedGasLimit": false | ||
} | ||
], | ||
"receipts": [ | ||
{ | ||
"status": "0x1", | ||
"cumulativeGasUsed": "0x70debf", | ||
"logs": [ | ||
{ | ||
"address": "0xf6652f1db7a7b48d9a6c515ad759c0464e16559c", | ||
"topics": [ | ||
"0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925", | ||
"0x000000000000000000000000ada2de876567a06ed79b0b29ae6ab2e142129e51", | ||
"0x00000000000000000000000087415715056da7a5eb1a30e53c4f4d20b44db71d" | ||
], | ||
"data": "0x000000000000000000000000000000000000000000000000016345785d8a0000", | ||
"blockHash": "0x240f6911517d6d70c81172a703c3488feea4613439ba908eec7854d90a994191", | ||
"blockNumber": "0x610f22", | ||
"transactionHash": "0x453023f4ded25be3fcaa0fe7cfb202ff54adddeb3dad09e678fc1ee37b33a3ba", | ||
"transactionIndex": "0x3f", | ||
"logIndex": "0x45", | ||
"removed": false | ||
} | ||
], | ||
"logsBloom": "0x01000000000000000000008000000000000008000000000000000000000000000000000000000000000000000008000000000000000000000000000010200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000800000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000002010000000000000000000000000000000000000000000000000000000000000", | ||
"type": "0x2", | ||
"transactionHash": "0x453023f4ded25be3fcaa0fe7cfb202ff54adddeb3dad09e678fc1ee37b33a3ba", | ||
"transactionIndex": "0x3f", | ||
"blockHash": "0x240f6911517d6d70c81172a703c3488feea4613439ba908eec7854d90a994191", | ||
"blockNumber": "0x610f22", | ||
"gasUsed": "0xb51f", | ||
"effectiveGasPrice": "0x74136155c", | ||
"from": "0xada2de876567a06ed79b0b29ae6ab2e142129e51", | ||
"to": "0xf6652f1db7a7b48d9a6c515ad759c0464e16559c", | ||
"contractAddress": null | ||
} | ||
], | ||
"libraries": [], | ||
"pending": [], | ||
"returns": {}, | ||
"timestamp": 1721722363, | ||
"chain": 11155111, | ||
"commit": "459acd0" | ||
} |
67 changes: 67 additions & 0 deletions
67
solidity/broadcast/RegisterXERC20.s.sol/11155111/grantRegistrarRole-latest.json
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,67 @@ | ||
{ | ||
"transactions": [ | ||
{ | ||
"hash": "0x5769cfb828a3a909aa338b3ff62f419c1df773c936c940964b0dd8854d3fb018", | ||
"transactionType": "CALL", | ||
"contractName": null, | ||
"contractAddress": "0x2ebc8a27ece2203c9d413a5c655fac7fb7d83262", | ||
"function": "grantRole(bytes32,address)", | ||
"arguments": [ | ||
"0xd6b769dbdbf190871759edfb79bd17eda0005e1b8c3b6b3f5b480b5604ad5014", | ||
"0xADA2de876567a06eD79b0B29ae6aB2e142129E51" | ||
], | ||
"transaction": { | ||
"from": "0xada2de876567a06ed79b0b29ae6ab2e142129e51", | ||
"to": "0x2ebc8a27ece2203c9d413a5c655fac7fb7d83262", | ||
"gas": "0x1260f", | ||
"value": "0x0", | ||
"input": "0x2f2ff15dd6b769dbdbf190871759edfb79bd17eda0005e1b8c3b6b3f5b480b5604ad5014000000000000000000000000ada2de876567a06ed79b0b29ae6ab2e142129e51", | ||
"nonce": "0x16", | ||
"chainId": "0xaa36a7" | ||
}, | ||
"additionalContracts": [], | ||
"isFixedGasLimit": false | ||
} | ||
], | ||
"receipts": [ | ||
{ | ||
"status": "0x1", | ||
"cumulativeGasUsed": "0xa0acf8", | ||
"logs": [ | ||
{ | ||
"address": "0x2ebc8a27ece2203c9d413a5c655fac7fb7d83262", | ||
"topics": [ | ||
"0x2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d", | ||
"0xd6b769dbdbf190871759edfb79bd17eda0005e1b8c3b6b3f5b480b5604ad5014", | ||
"0x000000000000000000000000ada2de876567a06ed79b0b29ae6ab2e142129e51", | ||
"0x000000000000000000000000ada2de876567a06ed79b0b29ae6ab2e142129e51" | ||
], | ||
"data": "0x", | ||
"blockHash": "0x63c9bbc716d88a1ef1c43b337c41702a76fa2b0e341ebd7823961889a6d17512", | ||
"blockNumber": "0x610e76", | ||
"transactionHash": "0x5769cfb828a3a909aa338b3ff62f419c1df773c936c940964b0dd8854d3fb018", | ||
"transactionIndex": "0x44", | ||
"logIndex": "0x5a", | ||
"removed": false | ||
} | ||
], | ||
"logsBloom": "0x00000004000400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000004000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000800000000000000001000000000000000001000000000100000000000000000000000000000000100000000000000002000000000000000000000000000000000000000000000000000000000000800", | ||
"type": "0x2", | ||
"transactionHash": "0x5769cfb828a3a909aa338b3ff62f419c1df773c936c940964b0dd8854d3fb018", | ||
"transactionIndex": "0x44", | ||
"blockHash": "0x63c9bbc716d88a1ef1c43b337c41702a76fa2b0e341ebd7823961889a6d17512", | ||
"blockNumber": "0x610e76", | ||
"gasUsed": "0xc911", | ||
"effectiveGasPrice": "0x180b9f178", | ||
"from": "0xada2de876567a06ed79b0b29ae6ab2e142129e51", | ||
"to": "0x2ebc8a27ece2203c9d413a5c655fac7fb7d83262", | ||
"contractAddress": null | ||
} | ||
], | ||
"libraries": [], | ||
"pending": [], | ||
"returns": {}, | ||
"timestamp": 1721719768, | ||
"chain": 11155111, | ||
"commit": "459acd0" | ||
} |
64 changes: 64 additions & 0 deletions
64
solidity/broadcast/RegisterXERC20.s.sol/11155111/run-latest.json
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,64 @@ | ||
{ | ||
"transactions": [ | ||
{ | ||
"hash": "0xa83a610bbbc9afedee64106269b8f4465612d7f7d184e006531fd85d88bbc400", | ||
"transactionType": "CALL", | ||
"contractName": null, | ||
"contractAddress": "0x2ebc8a27ece2203c9d413a5c655fac7fb7d83262", | ||
"function": "registerXERC20(bytes32,address)", | ||
"arguments": [ | ||
"0x000000000000000000000000f6652f1db7a7b48d9a6c515ad759c0464e16559c", | ||
"0x06DfA5fc214204452eE23D02644e96Cac43CF67A" | ||
], | ||
"transaction": { | ||
"from": "0xada2de876567a06ed79b0b29ae6ab2e142129e51", | ||
"to": "0x2ebc8a27ece2203c9d413a5c655fac7fb7d83262", | ||
"gas": "0x21159", | ||
"value": "0x0", | ||
"input": "0x0fbc01a1000000000000000000000000f6652f1db7a7b48d9a6c515ad759c0464e16559c00000000000000000000000006dfa5fc214204452ee23d02644e96cac43cf67a", | ||
"nonce": "0x17", | ||
"chainId": "0xaa36a7" | ||
}, | ||
"additionalContracts": [], | ||
"isFixedGasLimit": false | ||
} | ||
], | ||
"receipts": [ | ||
{ | ||
"status": "0x1", | ||
"cumulativeGasUsed": "0xa9044a", | ||
"logs": [ | ||
{ | ||
"address": "0x2ebc8a27ece2203c9d413a5c655fac7fb7d83262", | ||
"topics": [ | ||
"0x9fae3f3d1266a9a49efc7532fecf31796638f514e9204d3e00ca5f45740441a1" | ||
], | ||
"data": "0x000000000000000000000000f6652f1db7a7b48d9a6c515ad759c0464e16559c00000000000000000000000006dfa5fc214204452ee23d02644e96cac43cf67a", | ||
"blockHash": "0xc70b12694f56f0ea907423523af75d2f1cb44b567918b99ef3bf8aa91c46742c", | ||
"blockNumber": "0x610e78", | ||
"transactionHash": "0xa83a610bbbc9afedee64106269b8f4465612d7f7d184e006531fd85d88bbc400", | ||
"transactionIndex": "0x48", | ||
"logIndex": "0x98", | ||
"removed": false | ||
} | ||
], | ||
"logsBloom": "0x00000000000400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", | ||
"type": "0x2", | ||
"transactionHash": "0xa83a610bbbc9afedee64106269b8f4465612d7f7d184e006531fd85d88bbc400", | ||
"transactionIndex": "0x48", | ||
"blockHash": "0xc70b12694f56f0ea907423523af75d2f1cb44b567918b99ef3bf8aa91c46742c", | ||
"blockNumber": "0x610e78", | ||
"gasUsed": "0x169f3", | ||
"effectiveGasPrice": "0x17d947e0d", | ||
"from": "0xada2de876567a06ed79b0b29ae6ab2e142129e51", | ||
"to": "0x2ebc8a27ece2203c9d413a5c655fac7fb7d83262", | ||
"contractAddress": null | ||
} | ||
], | ||
"libraries": [], | ||
"pending": [], | ||
"returns": {}, | ||
"timestamp": 1721719790, | ||
"chain": 11155111, | ||
"commit": "459acd0" | ||
} |
Oops, something went wrong.