Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add deployments #48

Merged
merged 1 commit into from
Jan 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,11 @@ lcov.info
yarn-debug.log*
yarn-error.log*

# broadcasts
!/broadcast
/broadcast/*
/broadcast/*/31337/
# Keep the latest deployment only
broadcast/*
!broadcast/**/
broadcast/**/*.json
!broadcast/**/run-latest.json

node_modules
.env
Expand Down
51 changes: 51 additions & 0 deletions broadcast/DeployLockboxAdapter.s.sol/1/run-latest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
{
"transactions": [
{
"hash": "0xb76153356a3e1903e43e04697ffb421807abde67aaec9347cde4f3e27dbed133",
"transactionType": "CREATE",
"contractName": "LockboxAdapter",
"contractAddress": "0x45BF3c737e57B059a5855280CA1ADb8e9606AC68",
"function": null,
"arguments": [
"0x8898B472C54c31894e3B9bb83cEA802a5d0e63C6",
"0xBf29A2D67eFb6766E44c163B19C6F4118b164702"
],
"transaction": {
"type": "0x02",
"from": "0xade09131c6f43fe22c2cbabb759636c43cfc181e",
"gas": "0x106c6d",
"value": "0x0",
"data": "0x60c03461009557601f610ebe38819003918201601f19168301916001600160401b0383118484101761009a57808492604094855283398101031261009557610052602061004b836100b0565b92016100b0565b9060805260a052604051610df990816100c5823960805181818160e7015281816104ab015261059a015260a051818181610376015281816103d301526108b90152f35b600080fd5b634e487b7160e01b600052604160045260246000fd5b51906001600160a01b03821682036100955756fe608080604052600436101561001d575b50361561001b57600080fd5b005b600090813560e01c908163479d955714610867575080638aac16ba146102c45763fd614f410361000f57346102c15760c03660031901126102c157602490813590610066610b15565b61006e610b2b565b5060843563ffffffff8116036102bc5760a43567ffffffffffffffff918282116102b857366023830112156102b8578160040135946100ac86610b77565b926100ba6040519485610b55565b86845260209687850191368a83830101116102b4578188928b8b93018537860101526001600160a01b03937f00000000000000000000000000000000000000000000000000000000000000008516330361029d57808891518101031261029957519280841680940361029957303b15610299579086916040519363479d955760e01b85528260048601521692838982015284604482015286808260648183305af1918261027e575b5050610275576101ac92610174610c0a565b60405163a9059cbb60e01b81526001600160a01b03909616600487015260248601929092529093928391908290889082906044820190565b03925af1801561026a57916101f5917fc800e8ca4bda8128731e0444109da53d19286048d068614656da8edcfc0f1d489361023d575b5060405191829187835287830190610b93565b0390a15b604051938385019182118583101761022957506040528252610225604051928284938452830190610b93565b0390f35b634e487b7160e01b60009081526041600452fd5b61025c90873d8911610263575b6102548183610b55565b810190610bf2565b50386101e2565b503d61024a565b6040513d86823e3d90fd5b505050506101f9565b61028b9192939450610b41565b610299579086918638610162565b8580fd5b60405163241314cd60e01b81523360048201528990fd5b8780fd5b8380fd5b600080fd5b80fd5b5060e03660031901126102c15760043563ffffffff811681036102bc576102e9610aff565b6102f1610b15565b916102fa610b2b565b9267ffffffffffffffff60c435116108635736602360c4350112156108635767ffffffffffffffff60c43560040135116108635736602460c4356004013560c43501011161086357608435156108515760405163476a536360e11b81526001600160a01b038281166004830152909490602090869060249082907f0000000000000000000000000000000000000000000000000000000000000000165afa948515610846578695610825575b5060405163eec9567960e01b81526001600160a01b038681166004830152909290602090849060249082907f0000000000000000000000000000000000000000000000000000000000000000165afa92831561063f5787936107f4575b506040516323ce9cbb60e11b81526020816004816001600160a01b0388165afa9081156107e95788916107ca575b50156106925750608435341061067257608435340334811161065e579186906001600160a01b0381163b1561060b57604051636db5a92360e11b815290829082906004908290608435906001600160a01b03165af180156106175761064a575b50505b60405163095ea7b360e01b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000166004820152608435602482015294602086806044810103818a6001600160a01b0386165af194851561063f5763ffffffff96602096610622575b506040519687956345560b5d60e11b875216600486015260018060a01b0316602485015260018060a01b0316604484015260018060a01b03166064830152608435608483015260a43560a483015260e060c483015260c4356004013560e48301528161010460c43560040135602460c4350182840137600460c43501358281018201889052601f01601f1916820182900301917f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03165af19081156106175782916105dd575b602082604051908152f35b90506020813d60201161060f575b816105f860209383610b55565b8101031261060b576020915051386105d2565b5080fd5b3d91506105eb565b6040513d84823e3d90fd5b61063890873d8911610263576102548183610b55565b5038610505565b6040513d89823e3d90fd5b61065390610b41565b610299578538610491565b634e487b7160e01b87526011600452602487fd5b604051635bc10dc760e01b81523460048201526084356024820152604490fd5b6040516323b872dd60e01b60208201523360248201523060448201526084356064820152606481528060a081011067ffffffffffffffff60a0830111176107b45760a081016040526106ed906001600160a01b038316610c3a565b60405163095ea7b360e01b81526001600160a01b03848116600483015260843560248301529091602091839160449183918c91165af1801561063f57610795575b50349186906001600160a01b0381163b1561060b5760405163b6b55f2560e01b815260843560048201529082908290602490829084906001600160a01b03165af1801561061757610781575b5050610494565b61078a90610b41565b61029957853861077a565b6107ad9060203d602011610263576102548183610b55565b503861072e565b634e487b7160e01b600052604160045260246000fd5b6107e3915060203d602011610263576102548183610b55565b38610431565b6040513d8a823e3d90fd5b61081791935060203d60201161081e575b61080f8183610b55565b810190610bd3565b9138610403565b503d610805565b61083f91955060203d60201161081e5761080f8183610b55565b93386103a6565b6040513d88823e3d90fd5b60405163820bf1e560e01b8152600490fd5b8480fd5b82346102c15760603660031901126102c157600435610884610aff565b61088c610b15565b303303610aea5760405163eec9567960e01b81526001600160a01b039283166004820181905294955085947f00000000000000000000000000000000000000000000000000000000000000008416916020918282602481875afa9182156107e95760249484918a94610acb575b5060405195868092634e0dc55760e01b82528560048301525afa9384156107e9578894610aac575b506040516323ce9cbb60e11b815290828716908483600481855afa928315610aa15785918a918c95610a7e575b5060405163095ea7b360e01b81526001600160a01b0390961660048701526024860191909152929391928290818c81604481015b03925af18015610a7357610a56575b50803b156102b45787906024604051809b8193632e1a7d4d60e01b83528b60048401525af1801561063f57610a42575b8697506000146109f9575050839283928392165af16109de610c0a565b50156109e75780f35b60405163250c731360e11b8152600490fd5b60405163a9059cbb60e01b918101919091526001600160a01b03929092166024830152604480830194909452928152610a3f935091610a39606484610b55565b16610c3a565b80f35b959096610a4e90610b41565b9486906109c1565b610a6c90843d8611610263576102548183610b55565b5089610991565b6040513d8b823e3d90fd5b610982949550610a9a90843d8611610263576102548183610b55565b949361094e565b6040513d8c823e3d90fd5b610ac4919450833d851161081e5761080f8183610b55565b9289610921565b610ae3919450823d841161081e5761080f8183610b55565b928b6108f9565b630173cb6760e51b8552336004860152602485fd5b602435906001600160a01b03821682036102bc57565b604435906001600160a01b03821682036102bc57565b606435906001600160a01b03821682036102bc57565b67ffffffffffffffff81116107b457604052565b90601f8019910116810190811067ffffffffffffffff8211176107b457604052565b67ffffffffffffffff81116107b457601f01601f191660200190565b919082519283825260005b848110610bbf575050826000602080949584010152601f8019910116010190565b602081830181015184830182015201610b9e565b908160209103126102bc57516001600160a01b03811681036102bc5790565b908160209103126102bc575180151581036102bc5790565b3d15610c35573d90610c1b82610b77565b91610c296040519384610b55565b82523d6000602084013e565b606090565b60408051908101916001600160a01b031667ffffffffffffffff8311828410176107b457610caa926040526000806020958685527f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c656487860152868151910182855af1610ca4610c0a565b91610d26565b80519081610cb757505050565b8280610cc7938301019101610bf2565b15610ccf5750565b6084906040519062461bcd60e51b82526004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152fd5b91929015610d885750815115610d3a575090565b3b15610d435790565b60405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606490fd5b825190915015610d9b5750805190602001fd5b60405162461bcd60e51b815260206004820152908190610dbf906024830190610b93565b0390fdfea26469706673582212202b1b9516411eb8de83068e58191f07b143e93f75a5cb7ff9fb5c87c7b34fcad864736f6c634300081400330000000000000000000000008898b472c54c31894e3b9bb83cea802a5d0e63c6000000000000000000000000bf29a2d67efb6766e44c163b19c6f4118b164702",
"nonce": "0x5f5",
"accessList": []
},
"additionalContracts": [],
"isFixedGasLimit": false
}
],
"receipts": [
{
"transactionHash": "0xb76153356a3e1903e43e04697ffb421807abde67aaec9347cde4f3e27dbed133",
"transactionIndex": "0x0",
"blockHash": "0xe1edbbee005b71b207501063a60e230a4676c5216b54702b5b3ce7dd92be15f6",
"blockNumber": "0x1094e01",
"from": "0xe74133A5C86dE660d81C47fFc114f7aD19908f83",
"to": "0x83eF3D446Bd1220C8261251f83AC5cc51311d600",
"cumulativeGasUsed": "0x82f1",
"gasUsed": "0x82f1",
"contractAddress": null,
"logs": [],
"status": "0x1",
"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
"type": "0x2",
"effectiveGasPrice": "0x46c7cfe000"
}
],
"libraries": [],
"pending": [],
"returns": {},
"timestamp": 1702615495,
"chain": 1,
"multi": false,
"commit": "c427219"
}
51 changes: 51 additions & 0 deletions broadcast/DeployLockboxAdapter.s.sol/420/run-latest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
{
"transactions": [
{
"hash": "0x88716221dbdfec97319c9968e6e5f6dfb2d9b59fbffc482679f5b4e35531e7ba",
"transactionType": "CREATE",
"contractName": "LockboxAdapter",
"contractAddress": "0x55Fc076b9B0618A657f8986c83a97BD06E8a80F2",
"function": null,
"arguments": [
"0x5Ea1bb242326044699C3d81341c5f535d5Af1504",
"0xaB591adE0D0e08F117086c2b3159e50e2746AcA6"
],
"transaction": {
"type": "0x02",
"from": "0xa2ee8dcd2a8a3a54cf37f6590e5108bbe502b006",
"gas": "0x106c6d",
"value": "0x0",
"data": "0x60c03461009557601f610ebe38819003918201601f19168301916001600160401b0383118484101761009a57808492604094855283398101031261009557610052602061004b836100b0565b92016100b0565b9060805260a052604051610df990816100c5823960805181818160e7015281816104ab015261059a015260a051818181610376015281816103d301526108b90152f35b600080fd5b634e487b7160e01b600052604160045260246000fd5b51906001600160a01b03821682036100955756fe608080604052600436101561001d575b50361561001b57600080fd5b005b600090813560e01c908163479d955714610867575080638aac16ba146102c45763fd614f410361000f57346102c15760c03660031901126102c157602490813590610066610b15565b61006e610b2b565b5060843563ffffffff8116036102bc5760a43567ffffffffffffffff918282116102b857366023830112156102b8578160040135946100ac86610b77565b926100ba6040519485610b55565b86845260209687850191368a83830101116102b4578188928b8b93018537860101526001600160a01b03937f00000000000000000000000000000000000000000000000000000000000000008516330361029d57808891518101031261029957519280841680940361029957303b15610299579086916040519363479d955760e01b85528260048601521692838982015284604482015286808260648183305af1918261027e575b5050610275576101ac92610174610c0a565b60405163a9059cbb60e01b81526001600160a01b03909616600487015260248601929092529093928391908290889082906044820190565b03925af1801561026a57916101f5917fc800e8ca4bda8128731e0444109da53d19286048d068614656da8edcfc0f1d489361023d575b5060405191829187835287830190610b93565b0390a15b604051938385019182118583101761022957506040528252610225604051928284938452830190610b93565b0390f35b634e487b7160e01b60009081526041600452fd5b61025c90873d8911610263575b6102548183610b55565b810190610bf2565b50386101e2565b503d61024a565b6040513d86823e3d90fd5b505050506101f9565b61028b9192939450610b41565b610299579086918638610162565b8580fd5b60405163241314cd60e01b81523360048201528990fd5b8780fd5b8380fd5b600080fd5b80fd5b5060e03660031901126102c15760043563ffffffff811681036102bc576102e9610aff565b6102f1610b15565b916102fa610b2b565b9267ffffffffffffffff60c435116108635736602360c4350112156108635767ffffffffffffffff60c43560040135116108635736602460c4356004013560c43501011161086357608435156108515760405163476a536360e11b81526001600160a01b038281166004830152909490602090869060249082907f0000000000000000000000000000000000000000000000000000000000000000165afa948515610846578695610825575b5060405163eec9567960e01b81526001600160a01b038681166004830152909290602090849060249082907f0000000000000000000000000000000000000000000000000000000000000000165afa92831561063f5787936107f4575b506040516323ce9cbb60e11b81526020816004816001600160a01b0388165afa9081156107e95788916107ca575b50156106925750608435341061067257608435340334811161065e579186906001600160a01b0381163b1561060b57604051636db5a92360e11b815290829082906004908290608435906001600160a01b03165af180156106175761064a575b50505b60405163095ea7b360e01b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000166004820152608435602482015294602086806044810103818a6001600160a01b0386165af194851561063f5763ffffffff96602096610622575b506040519687956345560b5d60e11b875216600486015260018060a01b0316602485015260018060a01b0316604484015260018060a01b03166064830152608435608483015260a43560a483015260e060c483015260c4356004013560e48301528161010460c43560040135602460c4350182840137600460c43501358281018201889052601f01601f1916820182900301917f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03165af19081156106175782916105dd575b602082604051908152f35b90506020813d60201161060f575b816105f860209383610b55565b8101031261060b576020915051386105d2565b5080fd5b3d91506105eb565b6040513d84823e3d90fd5b61063890873d8911610263576102548183610b55565b5038610505565b6040513d89823e3d90fd5b61065390610b41565b610299578538610491565b634e487b7160e01b87526011600452602487fd5b604051635bc10dc760e01b81523460048201526084356024820152604490fd5b6040516323b872dd60e01b60208201523360248201523060448201526084356064820152606481528060a081011067ffffffffffffffff60a0830111176107b45760a081016040526106ed906001600160a01b038316610c3a565b60405163095ea7b360e01b81526001600160a01b03848116600483015260843560248301529091602091839160449183918c91165af1801561063f57610795575b50349186906001600160a01b0381163b1561060b5760405163b6b55f2560e01b815260843560048201529082908290602490829084906001600160a01b03165af1801561061757610781575b5050610494565b61078a90610b41565b61029957853861077a565b6107ad9060203d602011610263576102548183610b55565b503861072e565b634e487b7160e01b600052604160045260246000fd5b6107e3915060203d602011610263576102548183610b55565b38610431565b6040513d8a823e3d90fd5b61081791935060203d60201161081e575b61080f8183610b55565b810190610bd3565b9138610403565b503d610805565b61083f91955060203d60201161081e5761080f8183610b55565b93386103a6565b6040513d88823e3d90fd5b60405163820bf1e560e01b8152600490fd5b8480fd5b82346102c15760603660031901126102c157600435610884610aff565b61088c610b15565b303303610aea5760405163eec9567960e01b81526001600160a01b039283166004820181905294955085947f00000000000000000000000000000000000000000000000000000000000000008416916020918282602481875afa9182156107e95760249484918a94610acb575b5060405195868092634e0dc55760e01b82528560048301525afa9384156107e9578894610aac575b506040516323ce9cbb60e11b815290828716908483600481855afa928315610aa15785918a918c95610a7e575b5060405163095ea7b360e01b81526001600160a01b0390961660048701526024860191909152929391928290818c81604481015b03925af18015610a7357610a56575b50803b156102b45787906024604051809b8193632e1a7d4d60e01b83528b60048401525af1801561063f57610a42575b8697506000146109f9575050839283928392165af16109de610c0a565b50156109e75780f35b60405163250c731360e11b8152600490fd5b60405163a9059cbb60e01b918101919091526001600160a01b03929092166024830152604480830194909452928152610a3f935091610a39606484610b55565b16610c3a565b80f35b959096610a4e90610b41565b9486906109c1565b610a6c90843d8611610263576102548183610b55565b5089610991565b6040513d8b823e3d90fd5b610982949550610a9a90843d8611610263576102548183610b55565b949361094e565b6040513d8c823e3d90fd5b610ac4919450833d851161081e5761080f8183610b55565b9289610921565b610ae3919450823d841161081e5761080f8183610b55565b928b6108f9565b630173cb6760e51b8552336004860152602485fd5b602435906001600160a01b03821682036102bc57565b604435906001600160a01b03821682036102bc57565b606435906001600160a01b03821682036102bc57565b67ffffffffffffffff81116107b457604052565b90601f8019910116810190811067ffffffffffffffff8211176107b457604052565b67ffffffffffffffff81116107b457601f01601f191660200190565b919082519283825260005b848110610bbf575050826000602080949584010152601f8019910116010190565b602081830181015184830182015201610b9e565b908160209103126102bc57516001600160a01b03811681036102bc5790565b908160209103126102bc575180151581036102bc5790565b3d15610c35573d90610c1b82610b77565b91610c296040519384610b55565b82523d6000602084013e565b606090565b60408051908101916001600160a01b031667ffffffffffffffff8311828410176107b457610caa926040526000806020958685527f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c656487860152868151910182855af1610ca4610c0a565b91610d26565b80519081610cb757505050565b8280610cc7938301019101610bf2565b15610ccf5750565b6084906040519062461bcd60e51b82526004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152fd5b91929015610d885750815115610d3a575090565b3b15610d435790565b60405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606490fd5b825190915015610d9b5750805190602001fd5b60405162461bcd60e51b815260206004820152908190610dbf906024830190610b93565b0390fdfea26469706673582212202b1b9516411eb8de83068e58191f07b143e93f75a5cb7ff9fb5c87c7b34fcad864736f6c634300081400330000000000000000000000005ea1bb242326044699c3d81341c5f535d5af1504000000000000000000000000ab591ade0d0e08f117086c2b3159e50e2746aca6",
"nonce": "0x330",
"accessList": []
},
"additionalContracts": [],
"isFixedGasLimit": false
}
],
"receipts": [
{
"transactionHash": "0x88716221dbdfec97319c9968e6e5f6dfb2d9b59fbffc482679f5b4e35531e7ba",
"transactionIndex": "0x1",
"blockHash": "0xfef768bdf67e2814c9805f703f91bd258a6c3e4af800bcedf44fefd1bbaec33d",
"blockNumber": "0x1369caa",
"from": "0xa2Ee8DCd2A8A3A54Cf37F6590E5108BbE502B006",
"to": null,
"cumulativeGasUsed": "0xd5a2e",
"gasUsed": "0xca31d",
"contractAddress": "0x55Fc076b9B0618A657f8986c83a97BD06E8a80F2",
"logs": [],
"status": "0x1",
"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
"type": "0x2",
"effectiveGasPrice": "0xb2d05efc"
}
],
"libraries": [],
"pending": [],
"returns": {},
"timestamp": 1706140622,
"chain": 420,
"multi": false,
"commit": "88b39a6"
}
Loading
Loading