Skip to content

Commit

Permalink
pay contract: worldchain deployments and constants (#1376)
Browse files Browse the repository at this point in the history
* pay contracts: deploy contracts to world and add world constants

* pay contract: deploy batch read utils to worldchain
  • Loading branch information
andrewliu08 authored Jan 4, 2025
1 parent 32b5d41 commit b6a98df
Show file tree
Hide file tree
Showing 14 changed files with 863 additions and 7 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
{
"transactions": [
{
"hash": "0x160e93609b15f9d4e103a88b246536d6d00d649619e29ef179b8cf7ea639473a",
"transactionType": "CREATE2",
"contractName": "CREATE3Factory",
"contractAddress": "0x4ce25be5611b6527ea48f7abf513d48bacb4cc44",
"function": null,
"arguments": null,
"transaction": {
"from": "0x2f321372e8a9755cd2ca6114eb8da32a14f8100b",
"to": "0x4e59b44847b379578588920ca78fbf26c0b4956c",
"gas": "0x7a1a5",
"value": "0x0",
"input": "0xb7b4348bd25e1384f3ea3920200f44516adaaaa36647ca6a75c74e53e700cbbe6080806040523460155761059e908161001b8239f35b600080fdfe608080604052600436101561001357600080fd5b60003560e01c90816350f1c46414610297575063cdcb760a1461003557600080fd5b60407ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126102925760243567ffffffffffffffff811161029257366023820112156102925780600401359061008b826103ca565b91610099604051938461035a565b8083526020830191366024838301011161029257816000926024602093018537840101526040513360601b7fffffffffffffffffffffffffffffffffffffffff000000000000000000000000166020820190815260043560348301529061012b81605481015b037fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0810183528261035a565b51902080610137610404565b6020815191016000f573ffffffffffffffffffffffffffffffffffffffff8116156102345760009261016b8493309061043f565b94519134905af13d1561022f573d610182816103ca565b90610190604051928361035a565b8152600060203d92013e5b80610225575b156101c75760209073ffffffffffffffffffffffffffffffffffffffff60405191168152f35b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601560248201527f494e495449414c495a4154494f4e5f4641494c454400000000000000000000006044820152fd5b50803b15156101a1565b61019b565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601160248201527f4445504c4f594d454e545f4641494c45440000000000000000000000000000006044820152fd5b600080fd5b346102925760407ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc360112610292576004359073ffffffffffffffffffffffffffffffffffffffff821682036102925760609190911b7fffffffffffffffffffffffffffffffffffffffff00000000000000000000000016602082810191825260243560348401529161033c919061033281605481016100ff565b519020309061043f565b73ffffffffffffffffffffffffffffffffffffffff60405191168152f35b90601f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0910116810190811067ffffffffffffffff82111761039b57604052565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b67ffffffffffffffff811161039b57601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01660200190565b6040519061041360408361035a565b601082527f67363d3d37363d34f03d5260086018f3000000000000000000000000000000006020830152565b9073ffffffffffffffffffffffffffffffffffffffff9161045e610404565b60208151910120604051917fffffffffffffffffffffffffffffffffffffffff00000000000000000000000060208401947fff00000000000000000000000000000000000000000000000000000000000000865260601b16602184015260358301526055820152605581526104d460758261035a565b5190206040517fffffffffffffffffffffffffffffffffffffffff00000000000000000000000060208201927fd694000000000000000000000000000000000000000000000000000000000000845260601b1660228201527f010000000000000000000000000000000000000000000000000000000000000060368201526017815261056160378261035a565b519020169056fea26469706673582212205ddc3b62506002605f8e56b354c461c27258994d60a0a456286a18125a7d5aa764736f6c634300081a0033",
"nonce": "0x0",
"chainId": "0x1e0"
},
"additionalContracts": [],
"isFixedGasLimit": false
}
],
"receipts": [
{
"status": "0x1",
"cumulativeGasUsed": "0x4d1505",
"logs": [],
"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
"type": "0x2",
"transactionHash": "0x160e93609b15f9d4e103a88b246536d6d00d649619e29ef179b8cf7ea639473a",
"transactionIndex": "0x9",
"blockHash": "0x11d817aa2381ce030f55a7c4ec72442584f35af99e102deea77b2f42d5228455",
"blockNumber": "0x78139e",
"gasUsed": "0x586c4",
"effectiveGasPrice": "0x186a0",
"from": "0x2f321372e8a9755cd2ca6114eb8da32a14f8100b",
"to": "0x4e59b44847b379578588920ca78fbf26c0b4956c",
"contractAddress": "0x4ce25be5611b6527ea48f7abf513d48bacb4cc44",
"l1BaseFeeScalar": "0x21f9",
"l1BlobBaseFee": "0xed15d41e",
"l1BlobBaseFeeScalar": "0xdd3ef",
"l1Fee": "0x30afe660bec",
"l1GasPrice": "0x133f5f685",
"l1GasUsed": "0x305d"
}
],
"libraries": [],
"pending": [],
"returns": {
"factory": {
"internal_type": "contract CREATE3Factory",
"value": "0x4Ce25bE5611B6527eA48f7Abf513d48BAcb4Cc44"
}
},
"timestamp": 1735074342,
"chain": 480,
"commit": "9057a17b"
}

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
{
"transactions": [
{
"hash": "0xc5dbb704df1ca41b55b9024048ab08a6dcc74c7be241938e1cccf9dba70c7a28",
"transactionType": "CALL",
"contractName": null,
"contractAddress": "0x4518f95bd1ab24b73aeb6aeafd1567e1e04894ea",
"function": "setBridgeRoutes(uint256[],(address,address,uint256,uint256)[])",
"arguments": [
"[59144]",
"[(0x79A02482A880bCE3F13e09Da970dC34db4CD24d1, 0x176211869cA2b568f2A7D4EE941E073a821EE1ff, 690000000000000, 210000)]"
],
"transaction": {
"from": "0x2f321372e8a9755cd2ca6114eb8da32a14f8100b",
"to": "0x4518f95bd1ab24b73aeb6aeafd1567e1e04894ea",
"gas": "0x14b73",
"value": "0x0",
"input": "0x5943e590000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000e708000000000000000000000000000000000000000000000000000000000000000100000000000000000000000079a02482a880bce3f13e09da970dc34db4cd24d1000000000000000000000000176211869ca2b568f2a7d4ee941e073a821ee1ff0000000000000000000000000000000000000000000000000002738d24e520000000000000000000000000000000000000000000000000000000000000033450",
"nonce": "0x2",
"chainId": "0x1e0"
},
"additionalContracts": [],
"isFixedGasLimit": false
}
],
"receipts": [
{
"status": "0x1",
"cumulativeGasUsed": "0x22e37d",
"logs": [
{
"address": "0x4518f95bd1ab24b73aeb6aeafd1567e1e04894ea",
"topics": [
"0xe96aa79026770fec7012b5a3e3cb07618568662b405b5281ac10973d85165afd",
"0x000000000000000000000000000000000000000000000000000000000000e708"
],
"data": "0x00000000000000000000000079a02482a880bce3f13e09da970dc34db4cd24d1000000000000000000000000176211869ca2b568f2a7d4ee941e073a821ee1ff0000000000000000000000000000000000000000000000000002738d24e520000000000000000000000000000000000000000000000000000000000000033450",
"blockHash": "0xa03106e3ce2dec3ab02498f7835a0f154962dea2edde0fda0770d2bca6245ac1",
"blockNumber": "0x781e09",
"transactionHash": "0xc5dbb704df1ca41b55b9024048ab08a6dcc74c7be241938e1cccf9dba70c7a28",
"transactionIndex": "0xb",
"logIndex": "0x36",
"removed": false
}
],
"logsBloom": "0x00100001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000001000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000400000000000001000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
"type": "0x2",
"transactionHash": "0xc5dbb704df1ca41b55b9024048ab08a6dcc74c7be241938e1cccf9dba70c7a28",
"transactionIndex": "0xb",
"blockHash": "0xa03106e3ce2dec3ab02498f7835a0f154962dea2edde0fda0770d2bca6245ac1",
"blockNumber": "0x781e09",
"gasUsed": "0xe2a2",
"effectiveGasPrice": "0x186a0",
"from": "0x2f321372e8a9755cd2ca6114eb8da32a14f8100b",
"to": "0x4518f95bd1ab24b73aeb6aeafd1567e1e04894ea",
"contractAddress": null,
"l1BaseFeeScalar": "0x21f9",
"l1BlobBaseFee": "0x2eb390d",
"l1BlobBaseFeeScalar": "0xdd3ef",
"l1Fee": "0x12fecf419f",
"l1GasPrice": "0xde58dce8",
"l1GasUsed": "0x90c"
}
],
"libraries": [],
"pending": [],
"returns": {},
"timestamp": 1735079659,
"chain": 480,
"commit": "038f3f6d"
}

Large diffs are not rendered by default.

Loading

0 comments on commit b6a98df

Please sign in to comment.