diff --git a/broadcast/145-upgrade_access_protocol.s.sol/1/run-1731605143.json b/broadcast/145-upgrade_access_protocol.s.sol/1/run-1731605143.json new file mode 100644 index 00000000..eb56abf7 --- /dev/null +++ b/broadcast/145-upgrade_access_protocol.s.sol/1/run-1731605143.json @@ -0,0 +1,100 @@ +{ + "transactions": [ + { + "hash": "0x40694cf9a7ffc3aa814c773a38d4670d3ba927b3a16073b8bf19d7ec24604962", + "transactionType": "CREATE", + "contractName": "AaveWithdrawWorkflow", + "contractAddress": "0x4dbe021eba4275e149b268a9e6efcd6528531aab", + "function": null, + "arguments": [ + "0x2f39d218133AFaB8F2B819B1066c7E434Ad94E9e", + "0xA000000eaA652c7023530b603844471294B811c4" + ], + "transaction": { + "from": "0x660ad4b5a74130a4796b4d54bc6750ae93c86e6c", + "gas": "0xebdf2", + "value": "0x0", + "input": "0x60c060405234801561001057600080fd5b50604051610d48380380610d4883398101604081905261002f91610062565b6001600160a01b039182166080521660a052610095565b80516001600160a01b038116811461005d57600080fd5b919050565b6000806040838503121561007557600080fd5b61007e83610046565b915061008c60208401610046565b90509250929050565b60805160a051610c746100d460003960008181605601528181610135015281816101c0015261020b01526000818160a7015261029a0152610c746000f3fe60806040526004361061003f5760003560e01c80634d47fc85146100445780636268461614610095578063dbb4e148146100c9578063f3fef3a3146100ea575b600080fd5b34801561005057600080fd5b506100787f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020015b60405180910390f35b3480156100a157600080fd5b506100787f000000000000000000000000000000000000000000000000000000000000000081565b6100dc6100d7366004610793565b61010c565b60405190815260200161008c565b3480156100f657600080fd5b5061010a610105366004610804565b610296565b005b60006101188585610296565b604051636eb1769f60e11b81523060048201526001600160a01b037f00000000000000000000000000000000000000000000000000000000000000008116602483015285919087169063dd62ed3e90604401602060405180830381865afa158015610187573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101ab9190610830565b10156101e7576101e76001600160a01b0386167f0000000000000000000000000000000000000000000000000000000000000000600019610480565b6040805160208101825260008152905163e48e2d8f60e01b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169163e48e2d8f9161024a91899189918991849184918b906004016108e3565b6020604051808303816000875af1158015610269573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061028d9190610830565b95945050505050565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663026b1d5f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156102f6573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061031a91906109f1565b90506000198203610401576040516335ea6a7560e01b81526001600160a01b0384811660048301528216906335ea6a75906024016101e060405180830381865afa15801561036c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103909190610add565b61010001516040516370a0823160e01b81523060048201526001600160a01b03909116906370a0823190602401602060405180830381865afa1580156103da573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103fe9190610830565b91505b604051631a4ca37b60e21b81526001600160a01b038481166004830152602482018490523060448301528216906369328dec906064016020604051808303816000875af1158015610456573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061047a9190610830565b50505050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663095ea7b360e01b1790526104d18482610534565b61047a57604080516001600160a01b038516602482015260006044808301919091528251808303909101815260649091019091526020810180516001600160e01b031663095ea7b360e01b17905261052a9085906105d7565b61047a84826105d7565b6000806000846001600160a01b0316846040516105519190610c00565b6000604051808303816000865af19150503d806000811461058e576040519150601f19603f3d011682016040523d82523d6000602084013e610593565b606091505b50915091508180156105bd5750805115806105bd5750808060200190518101906105bd9190610c1c565b801561028d5750505050506001600160a01b03163b151590565b60006105ec6001600160a01b03841683610644565b9050805160001415801561061157508080602001905181019061060f9190610c1c565b155b1561063f57604051635274afe760e01b81526001600160a01b03841660048201526024015b60405180910390fd5b505050565b606061065283836000610659565b9392505050565b60608147101561067e5760405163cd78605960e01b8152306004820152602401610636565b600080856001600160a01b0316848660405161069a9190610c00565b60006040518083038185875af1925050503d80600081146106d7576040519150601f19603f3d011682016040523d82523d6000602084013e6106dc565b606091505b50915091506106ec8683836106f6565b9695505050505050565b60608261070b5761070682610752565b610652565b815115801561072257506001600160a01b0384163b155b1561074b57604051639996b31560e01b81526001600160a01b0385166004820152602401610636565b5080610652565b8051156107625780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b50565b6001600160a01b038116811461077b57600080fd5b600080600080608085870312156107a957600080fd5b84356107b48161077e565b93506020850135925060408501356107cb8161077e565b9150606085013567ffffffffffffffff8111156107e757600080fd5b850160c081880312156107f957600080fd5b939692955090935050565b6000806040838503121561081757600080fd5b82356108228161077e565b946020939093013593505050565b60006020828403121561084257600080fd5b5051919050565b60005b8381101561086457818101518382015260200161084c565b50506000910152565b6000808335601e1984360301811261088457600080fd5b830160208101925035905067ffffffffffffffff8111156108a457600080fd5b8036038213156108b357600080fd5b9250929050565b81835281816020850137506000828201602090810191909152601f909101601f19169091010190565b600060018060a01b03808a1683528860208401528088166040840152808716606084015285608084015260e060a084015284518060e085015261010061092f8282870160208a01610849565b601f19601f83011685019150808583030160c086015285356109508161077e565b83169082015260208501356101208201526040850135610140820152606085013561097a8161077e565b821661016082015261098f608086018661086d565b925060c06101808301526109a86101c0830184836108ba565b9250506109b860a086018661086d565b82840360ff19016101a08401526109d08482846108ba565b9d9c50505050505050505050505050565b80516109ec8161077e565b919050565b600060208284031215610a0357600080fd5b81516106528161077e565b6040516101e0810167ffffffffffffffff81118282101715610a4057634e487b7160e01b600052604160045260246000fd5b60405290565b600060208284031215610a5857600080fd5b6040516020810181811067ffffffffffffffff82111715610a8957634e487b7160e01b600052604160045260246000fd5b6040529151825250919050565b80516fffffffffffffffffffffffffffffffff811681146109ec57600080fd5b805164ffffffffff811681146109ec57600080fd5b805161ffff811681146109ec57600080fd5b60006101e08284031215610af057600080fd5b610af8610a0e565b610b028484610a46565b8152610b1060208401610a96565b6020820152610b2160408401610a96565b6040820152610b3260608401610a96565b6060820152610b4360808401610a96565b6080820152610b5460a08401610a96565b60a0820152610b6560c08401610ab6565b60c0820152610b7660e08401610acb565b60e0820152610100610b898185016109e1565b90820152610120610b9b8482016109e1565b90820152610140610bad8482016109e1565b90820152610160610bbf8482016109e1565b90820152610180610bd1848201610a96565b908201526101a0610be3848201610a96565b908201526101c0610bf5848201610a96565b908201529392505050565b60008251610c12818460208701610849565b9190910192915050565b600060208284031215610c2e57600080fd5b8151801515811461065257600080fdfea2646970667358221220d5ae2937a849a1bb129d49d213f210b198cf5930255eb59a7f30fe1c91351db764736f6c634300081800330000000000000000000000002f39d218133afab8f2b819b1066c7e434ad94e9e000000000000000000000000a000000eaa652c7023530b603844471294b811c4", + "nonce": "0x304", + "chainId": "0x1" + }, + "additionalContracts": [], + "isFixedGasLimit": false + }, + { + "hash": "0xcfe087f898b9b75b3b8fa61339a5bd5e4c32126a3bf9ec5b6951fc14428793c1", + "transactionType": "CALL", + "contractName": "UUPSProxy", + "contractAddress": "0xa000000eaa652c7023530b603844471294b811c4", + "function": null, + "arguments": null, + "transaction": { + "from": "0x660ad4b5a74130a4796b4d54bc6750ae93c86e6c", + "to": "0xa000000eaa652c7023530b603844471294b811c4", + "gas": "0x11cf1", + "value": "0x0", + "input": "0x0bf919fc0000000000000000000000004dbe021eba4275e149b268a9e6efcd6528531aab", + "nonce": "0x305", + "chainId": "0x1" + }, + "additionalContracts": [], + "isFixedGasLimit": false + } + ], + "receipts": [ + { + "status": "0x1", + "cumulativeGasUsed": "0xaba75d", + "logs": [], + "logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "type": "0x2", + "transactionHash": "0x40694cf9a7ffc3aa814c773a38d4670d3ba927b3a16073b8bf19d7ec24604962", + "transactionIndex": "0x56", + "blockHash": "0x13c5d1872984446ff1933b7a09008ab1cb4cb605a6d645a0afe913f8b7b25bda", + "blockNumber": "0x1434b50", + "gasUsed": "0xb57e3", + "effectiveGasPrice": "0x61779829a", + "from": "0x660ad4b5a74130a4796b4d54bc6750ae93c86e6c", + "to": null, + "contractAddress": "0x4dbe021eba4275e149b268a9e6efcd6528531aab" + }, + { + "status": "0x1", + "cumulativeGasUsed": "0xe412d7", + "logs": [ + { + "address": "0xa000000eaa652c7023530b603844471294b811c4", + "topics": [ + "0x4330c9a27379ee1ae26d7ba186fb3420ab2fde5cb4f1937298b69228b4787058", + "0x0000000000000000000000004dbe021eba4275e149b268a9e6efcd6528531aab", + "0x0000000000000000000000000000000000000000000000000000000000000001" + ], + "data": "0x", + "blockHash": "0x2ee822b900e007d50a895720b3c5103daeb4c7f54d71ea629d0c46a325a39f80", + "blockNumber": "0x1434b51", + "transactionHash": "0xcfe087f898b9b75b3b8fa61339a5bd5e4c32126a3bf9ec5b6951fc14428793c1", + "transactionIndex": "0x9c", + "logIndex": "0x1ad", + "removed": false + } + ], + "logsBloom": "0x00000000000000000001000000000000000000000000400000000000000000000000000000000000000000000000000000000000000000000000000000040000040001000000000000000000000000000000000000040000040000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000020000000200000000000000000000000000000000000000000000040000000000001000000000000000000000000000000000000000000000000000000", + "type": "0x2", + "transactionHash": "0xcfe087f898b9b75b3b8fa61339a5bd5e4c32126a3bf9ec5b6951fc14428793c1", + "transactionIndex": "0x9c", + "blockHash": "0x2ee822b900e007d50a895720b3c5103daeb4c7f54d71ea629d0c46a325a39f80", + "blockNumber": "0x1434b51", + "gasUsed": "0xce4c", + "effectiveGasPrice": "0x60acc1f95", + "from": "0x660ad4b5a74130a4796b4d54bc6750ae93c86e6c", + "to": "0xa000000eaa652c7023530b603844471294b811c4", + "contractAddress": null + } + ], + "libraries": [], + "pending": [], + "returns": {}, + "timestamp": 1731605143, + "chain": 1, + "commit": "2d94fe4" +} \ No newline at end of file diff --git a/broadcast/145-upgrade_access_protocol.s.sol/1/run-latest.json b/broadcast/145-upgrade_access_protocol.s.sol/1/run-latest.json index d17d239f..eb56abf7 100644 --- a/broadcast/145-upgrade_access_protocol.s.sol/1/run-latest.json +++ b/broadcast/145-upgrade_access_protocol.s.sol/1/run-latest.json @@ -1,144 +1,28 @@ { "transactions": [ { - "hash": "0x4b076f1f98d6e67551a0e5ea9095764c3dfed70a16917fac3655398b771a153f", - "transactionType": "CREATE", - "contractName": "AaveLendWorkflow", - "contractAddress": "0x30592a2e419db1338a6759279c547a9fdf2cd1df", - "function": null, - "arguments": [ - "0x2f39d218133AFaB8F2B819B1066c7E434Ad94E9e" - ], - "transaction": { - "from": "0x660ad4b5a74130a4796b4d54bc6750ae93c86e6c", - "gas": "0x84eef", - "value": "0x0", - "input": "0x60a060405234801561001057600080fd5b5060405161072738038061072783398101604081905261002f91610040565b6001600160a01b0316608052610070565b60006020828403121561005257600080fd5b81516001600160a01b038116811461006957600080fd5b9392505050565b608051610696610091600039600081816040015261010a01526106966000f3fe6080604052600436106100295760003560e01c8063626846161461002e578063a2fb342d1461007e575b600080fd5b34801561003a57600080fd5b506100627f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b03909116815260200160405180910390f35b61009161008c3660046105ad565b610093565b005b80600003610106576040516370a0823160e01b81523060048201526001600160a01b038316906370a0823190602401602060405180830381865afa1580156100df573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061010391906105d9565b90505b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663026b1d5f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610166573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061018a91906105f2565b604051636eb1769f60e11b81523060048201526001600160a01b038083166024830152919250839185169063dd62ed3e90604401602060405180830381865afa1580156101db573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101ff91906105d9565b101561021b5761021b6001600160a01b0384168260001961028f565b60405163617ba03760e01b81526001600160a01b038481166004830152602482018490523060448301526000606483015282169063617ba03790608401600060405180830381600087803b15801561027257600080fd5b505af1158015610286573d6000803e3d6000fd5b50505050505050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663095ea7b360e01b1790526102e08482610349565b61034357604080516001600160a01b038516602482015260006044808301919091528251808303909101815260649091019091526020810180516001600160e01b031663095ea7b360e01b1790526103399085906103f1565b61034384826103f1565b50505050565b6000806000846001600160a01b031684604051610366919061060f565b6000604051808303816000865af19150503d80600081146103a3576040519150601f19603f3d011682016040523d82523d6000602084013e6103a8565b606091505b50915091508180156103d25750805115806103d25750808060200190518101906103d2919061063e565b80156103e857506000856001600160a01b03163b115b95945050505050565b60006104066001600160a01b0384168361045e565b9050805160001415801561042b575080806020019051810190610429919061063e565b155b1561045957604051635274afe760e01b81526001600160a01b03841660048201526024015b60405180910390fd5b505050565b606061046c83836000610473565b9392505050565b6060814710156104985760405163cd78605960e01b8152306004820152602401610450565b600080856001600160a01b031684866040516104b4919061060f565b60006040518083038185875af1925050503d80600081146104f1576040519150601f19603f3d011682016040523d82523d6000602084013e6104f6565b606091505b5091509150610506868383610510565b9695505050505050565b606082610525576105208261056c565b61046c565b815115801561053c57506001600160a01b0384163b155b1561056557604051639996b31560e01b81526001600160a01b0385166004820152602401610450565b508061046c565b80511561057c5780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b50565b6001600160a01b038116811461059557600080fd5b600080604083850312156105c057600080fd5b82356105cb81610598565b946020939093013593505050565b6000602082840312156105eb57600080fd5b5051919050565b60006020828403121561060457600080fd5b815161046c81610598565b6000825160005b818110156106305760208186018101518583015201610616565b506000920191825250919050565b60006020828403121561065057600080fd5b8151801515811461046c57600080fdfea26469706673582212203ec41b0606f5bc5487e1eee558a9ea7e5b1e142a9de8ebb39404ab6e56911c9264736f6c634300081800330000000000000000000000002f39d218133afab8f2b819b1066c7e434ad94e9e", - "nonce": "0x2f8", - "chainId": "0x1" - }, - "additionalContracts": [], - "isFixedGasLimit": false - }, - { - "hash": "0xe36813562b39fabe1c9fd86dbf1d6707933f675e65445900c185317c57f37850", - "transactionType": "CALL", - "contractName": "UUPSProxy", - "contractAddress": "0xa000000eaa652c7023530b603844471294b811c4", - "function": null, - "arguments": null, - "transaction": { - "from": "0x660ad4b5a74130a4796b4d54bc6750ae93c86e6c", - "to": "0xa000000eaa652c7023530b603844471294b811c4", - "gas": "0x11cf1", - "value": "0x0", - "input": "0x0bf919fc00000000000000000000000030592a2e419db1338a6759279c547a9fdf2cd1df", - "nonce": "0x2f9", - "chainId": "0x1" - }, - "additionalContracts": [], - "isFixedGasLimit": false - }, - { - "hash": "0xc64895034dcd40d29c348a1d8892324da3df3bc64ef9cdea7f23f7a69520adae", - "transactionType": "CREATE", - "contractName": "AaveRepayWorkflow", - "contractAddress": "0x5e4cb8f8e70fbe315ea76323f16410b40151fe3b", - "function": null, - "arguments": [ - "0x2f39d218133AFaB8F2B819B1066c7E434Ad94E9e" - ], - "transaction": { - "from": "0x660ad4b5a74130a4796b4d54bc6750ae93c86e6c", - "gas": "0xb100c", - "value": "0x0", - "input": "0x60a060405234801561001057600080fd5b506040516109a93803806109a983398101604081905261002f91610040565b6001600160a01b0316608052610070565b60006020828403121561005257600080fd5b81516001600160a01b038116811461006957600080fd5b9392505050565b608051610919610090600039600081816066015260a501526109196000f3fe608060405234801561001057600080fd5b50600436106100365760003560e01c80635ceae9c41461003b5780636268461614610061575b600080fd5b61004e610049366004610618565b6100a0565b6040519081526020015b60405180910390f35b6100887f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b039091168152602001610058565b6000807f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663026b1d5f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610101573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610125919061066a565b9050600019840361020e576040516335ea6a7560e01b81526001600160a01b0386811660048301528216906335ea6a75906024016101e060405180830381865afa158015610177573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061019b9190610756565b61014001516040516370a0823160e01b81526001600160a01b038581166004830152909116906370a0823190602401602060405180830381865afa1580156101e7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061020b9190610879565b93505b604051636eb1769f60e11b81523060048201526001600160a01b03828116602483015285919087169063dd62ed3e90604401602060405180830381865afa15801561025d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102819190610879565b101561029d5761029d6001600160a01b0386168260001961032a565b60405163573ade8160e01b81526001600160a01b0386811660048301526024820186905260026044830152848116606483015282169063573ade81906084016020604051808303816000875af11580156102fb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061031f9190610879565b9150505b9392505050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663095ea7b360e01b17905261037b84826103e4565b6103de57604080516001600160a01b038516602482015260006044808301919091528251808303909101815260649091019091526020810180516001600160e01b031663095ea7b360e01b1790526103d490859061048c565b6103de848261048c565b50505050565b6000806000846001600160a01b0316846040516104019190610892565b6000604051808303816000865af19150503d806000811461043e576040519150601f19603f3d011682016040523d82523d6000602084013e610443565b606091505b509150915081801561046d57508051158061046d57508080602001905181019061046d91906108c1565b801561048357506000856001600160a01b03163b115b95945050505050565b60006104a16001600160a01b038416836104f9565b905080516000141580156104c65750808060200190518101906104c491906108c1565b155b156104f457604051635274afe760e01b81526001600160a01b03841660048201526024015b60405180910390fd5b505050565b60606103238383600084600080856001600160a01b0316848660405161051f9190610892565b60006040518083038185875af1925050503d806000811461055c576040519150601f19603f3d011682016040523d82523d6000602084013e610561565b606091505b509150915061057186838361057b565b9695505050505050565b6060826105905761058b826105d7565b610323565b81511580156105a757506001600160a01b0384163b155b156105d057604051639996b31560e01b81526001600160a01b03851660048201526024016104eb565b5080610323565b8051156105e75780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b50565b6001600160a01b038116811461060057600080fd5b60008060006060848603121561062d57600080fd5b833561063881610603565b925060208401359150604084013561064f81610603565b809150509250925092565b805161066581610603565b919050565b60006020828403121561067c57600080fd5b815161032381610603565b6040516101e0810167ffffffffffffffff811182821017156106b957634e487b7160e01b600052604160045260246000fd5b60405290565b6000602082840312156106d157600080fd5b6040516020810181811067ffffffffffffffff8211171561070257634e487b7160e01b600052604160045260246000fd5b6040529151825250919050565b80516fffffffffffffffffffffffffffffffff8116811461066557600080fd5b805164ffffffffff8116811461066557600080fd5b805161ffff8116811461066557600080fd5b60006101e0828403121561076957600080fd5b610771610687565b61077b84846106bf565b81526107896020840161070f565b602082015261079a6040840161070f565b60408201526107ab6060840161070f565b60608201526107bc6080840161070f565b60808201526107cd60a0840161070f565b60a08201526107de60c0840161072f565b60c08201526107ef60e08401610744565b60e082015261010061080281850161065a565b9082015261012061081484820161065a565b9082015261014061082684820161065a565b9082015261016061083884820161065a565b9082015261018061084a84820161070f565b908201526101a061085c84820161070f565b908201526101c061086e84820161070f565b908201529392505050565b60006020828403121561088b57600080fd5b5051919050565b6000825160005b818110156108b35760208186018101518583015201610899565b506000920191825250919050565b6000602082840312156108d357600080fd5b8151801515811461032357600080fdfea2646970667358221220537c54a6891fab3ee4f97eb4386b66cf2c1625a2e3dd14bcee421a6d9f4d039b64736f6c634300081800330000000000000000000000002f39d218133afab8f2b819b1066c7e434ad94e9e", - "nonce": "0x2fa", - "chainId": "0x1" - }, - "additionalContracts": [], - "isFixedGasLimit": false - }, - { - "hash": "0xf21980fab6c7fc1b7515b68b40a5247699a5afe09c02f3be082c06f43daeb328", - "transactionType": "CALL", - "contractName": "UUPSProxy", - "contractAddress": "0xa000000eaa652c7023530b603844471294b811c4", - "function": null, - "arguments": null, - "transaction": { - "from": "0x660ad4b5a74130a4796b4d54bc6750ae93c86e6c", - "to": "0xa000000eaa652c7023530b603844471294b811c4", - "gas": "0x11cf1", - "value": "0x0", - "input": "0x0bf919fc0000000000000000000000005e4cb8f8e70fbe315ea76323f16410b40151fe3b", - "nonce": "0x2fb", - "chainId": "0x1" - }, - "additionalContracts": [], - "isFixedGasLimit": false - }, - { - "hash": "0xc8a86e88580d395e4182c6ee32843b39febb5a253064d8cea8dfcb09ac8f9b4f", + "hash": "0x40694cf9a7ffc3aa814c773a38d4670d3ba927b3a16073b8bf19d7ec24604962", "transactionType": "CREATE", "contractName": "AaveWithdrawWorkflow", - "contractAddress": "0x646ea55b919e1d7a0ecb85fd3020a67a63538c6e", - "function": null, - "arguments": [ - "0x2f39d218133AFaB8F2B819B1066c7E434Ad94E9e" - ], - "transaction": { - "from": "0x660ad4b5a74130a4796b4d54bc6750ae93c86e6c", - "gas": "0x6e869", - "value": "0x0", - "input": "0x60a060405234801561001057600080fd5b506040516105df3803806105df83398101604081905261002f91610040565b6001600160a01b0316608052610070565b60006020828403121561005257600080fd5b81516001600160a01b038116811461006957600080fd5b9392505050565b60805161054f61009060003960008181604001526097015261054f6000f3fe608060405234801561001057600080fd5b50600436106100365760003560e01c8063626846161461003b57806369328dec1461007e575b600080fd5b6100627f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b03909116815260200160405180910390f35b61009161008c366004610298565b610093565b005b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663026b1d5f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156100f3573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061011791906102ea565b905060001983036101fe576040516335ea6a7560e01b81526001600160a01b0385811660048301528216906335ea6a75906024016101e060405180830381865afa158015610169573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061018d91906103dd565b61010001516040516370a0823160e01b81523060048201526001600160a01b03909116906370a0823190602401602060405180830381865afa1580156101d7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101fb9190610500565b92505b604051631a4ca37b60e21b81526001600160a01b0385811660048301526024820185905283811660448301528216906369328dec906064016020604051808303816000875af1158015610255573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102799190610500565b5050505050565b6001600160a01b038116811461029557600080fd5b50565b6000806000606084860312156102ad57600080fd5b83356102b881610280565b92506020840135915060408401356102cf81610280565b809150509250925092565b80516102e581610280565b919050565b6000602082840312156102fc57600080fd5b815161030781610280565b9392505050565b6040516101e0810167ffffffffffffffff8111828210171561034057634e487b7160e01b600052604160045260246000fd5b60405290565b60006020828403121561035857600080fd5b6040516020810181811067ffffffffffffffff8211171561038957634e487b7160e01b600052604160045260246000fd5b6040529151825250919050565b80516fffffffffffffffffffffffffffffffff811681146102e557600080fd5b805164ffffffffff811681146102e557600080fd5b805161ffff811681146102e557600080fd5b60006101e082840312156103f057600080fd5b6103f861030e565b6104028484610346565b815261041060208401610396565b602082015261042160408401610396565b604082015261043260608401610396565b606082015261044360808401610396565b608082015261045460a08401610396565b60a082015261046560c084016103b6565b60c082015261047660e084016103cb565b60e08201526101006104898185016102da565b9082015261012061049b8482016102da565b908201526101406104ad8482016102da565b908201526101606104bf8482016102da565b908201526101806104d1848201610396565b908201526101a06104e3848201610396565b908201526101c06104f5848201610396565b908201529392505050565b60006020828403121561051257600080fd5b505191905056fea26469706673582212205c0f094dc66aa193b869b8a0071cc90ababc0ffc09351eb05acca0e63965d5a764736f6c634300081800330000000000000000000000002f39d218133afab8f2b819b1066c7e434ad94e9e", - "nonce": "0x2fc", - "chainId": "0x1" - }, - "additionalContracts": [], - "isFixedGasLimit": false - }, - { - "hash": "0x59a583cb775427e49e5fe16918fe7e3c532f12b73e8c8b67b0adab4087403bf8", - "transactionType": "CALL", - "contractName": "UUPSProxy", - "contractAddress": "0xa000000eaa652c7023530b603844471294b811c4", - "function": null, - "arguments": null, - "transaction": { - "from": "0x660ad4b5a74130a4796b4d54bc6750ae93c86e6c", - "to": "0xa000000eaa652c7023530b603844471294b811c4", - "gas": "0x11cf1", - "value": "0x0", - "input": "0x0bf919fc000000000000000000000000646ea55b919e1d7a0ecb85fd3020a67a63538c6e", - "nonce": "0x2fd", - "chainId": "0x1" - }, - "additionalContracts": [], - "isFixedGasLimit": false - }, - { - "hash": "0xf533927c27756f201fc2a2315fb1f33a2e47a2f0b664bb5bd9ffefa7f2908c18", - "transactionType": "CREATE", - "contractName": "AaveBorrowWorkflow", - "contractAddress": "0x5bca84441bfa911b1637a1b2344198dfacbdcaa1", + "contractAddress": "0x4dbe021eba4275e149b268a9e6efcd6528531aab", "function": null, "arguments": [ - "0x2f39d218133AFaB8F2B819B1066c7E434Ad94E9e" + "0x2f39d218133AFaB8F2B819B1066c7E434Ad94E9e", + "0xA000000eaA652c7023530b603844471294B811c4" ], "transaction": { "from": "0x660ad4b5a74130a4796b4d54bc6750ae93c86e6c", - "gas": "0x37b6a", + "gas": "0xebdf2", "value": "0x0", - "input": "0x60a060405234801561001057600080fd5b506040516102bf3803806102bf83398101604081905261002f91610040565b6001600160a01b0316608052610070565b60006020828403121561005257600080fd5b81516001600160a01b038116811461006957600080fd5b9392505050565b60805161022f61009060003960008181605501526095015261022f6000f3fe608060405234801561001057600080fd5b50600436106100365760003560e01c80634b8a35291461003b5780636268461614610050575b600080fd5b61004e6100493660046101a9565b610093565b005b6100777f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b03909116815260200160405180910390f35b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663026b1d5f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156100f1573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061011591906101d5565b60405163a415bcad60e01b81526001600160a01b038481166004830152602482018490526002604483015260006064830152306084830152919091169063a415bcad9060a401600060405180830381600087803b15801561017557600080fd5b505af1158015610189573d6000803e3d6000fd5b505050505050565b6001600160a01b03811681146101a657600080fd5b50565b600080604083850312156101bc57600080fd5b82356101c781610191565b946020939093013593505050565b6000602082840312156101e757600080fd5b81516101f281610191565b939250505056fea2646970667358221220772ae8f6123c8cfdd570d3f8118de6751fe78ce312cdcb8c42e39e2e391baa5364736f6c634300081800330000000000000000000000002f39d218133afab8f2b819b1066c7e434ad94e9e", - "nonce": "0x2fe", + "input": "0x60c060405234801561001057600080fd5b50604051610d48380380610d4883398101604081905261002f91610062565b6001600160a01b039182166080521660a052610095565b80516001600160a01b038116811461005d57600080fd5b919050565b6000806040838503121561007557600080fd5b61007e83610046565b915061008c60208401610046565b90509250929050565b60805160a051610c746100d460003960008181605601528181610135015281816101c0015261020b01526000818160a7015261029a0152610c746000f3fe60806040526004361061003f5760003560e01c80634d47fc85146100445780636268461614610095578063dbb4e148146100c9578063f3fef3a3146100ea575b600080fd5b34801561005057600080fd5b506100787f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020015b60405180910390f35b3480156100a157600080fd5b506100787f000000000000000000000000000000000000000000000000000000000000000081565b6100dc6100d7366004610793565b61010c565b60405190815260200161008c565b3480156100f657600080fd5b5061010a610105366004610804565b610296565b005b60006101188585610296565b604051636eb1769f60e11b81523060048201526001600160a01b037f00000000000000000000000000000000000000000000000000000000000000008116602483015285919087169063dd62ed3e90604401602060405180830381865afa158015610187573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101ab9190610830565b10156101e7576101e76001600160a01b0386167f0000000000000000000000000000000000000000000000000000000000000000600019610480565b6040805160208101825260008152905163e48e2d8f60e01b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169163e48e2d8f9161024a91899189918991849184918b906004016108e3565b6020604051808303816000875af1158015610269573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061028d9190610830565b95945050505050565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663026b1d5f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156102f6573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061031a91906109f1565b90506000198203610401576040516335ea6a7560e01b81526001600160a01b0384811660048301528216906335ea6a75906024016101e060405180830381865afa15801561036c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103909190610add565b61010001516040516370a0823160e01b81523060048201526001600160a01b03909116906370a0823190602401602060405180830381865afa1580156103da573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103fe9190610830565b91505b604051631a4ca37b60e21b81526001600160a01b038481166004830152602482018490523060448301528216906369328dec906064016020604051808303816000875af1158015610456573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061047a9190610830565b50505050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663095ea7b360e01b1790526104d18482610534565b61047a57604080516001600160a01b038516602482015260006044808301919091528251808303909101815260649091019091526020810180516001600160e01b031663095ea7b360e01b17905261052a9085906105d7565b61047a84826105d7565b6000806000846001600160a01b0316846040516105519190610c00565b6000604051808303816000865af19150503d806000811461058e576040519150601f19603f3d011682016040523d82523d6000602084013e610593565b606091505b50915091508180156105bd5750805115806105bd5750808060200190518101906105bd9190610c1c565b801561028d5750505050506001600160a01b03163b151590565b60006105ec6001600160a01b03841683610644565b9050805160001415801561061157508080602001905181019061060f9190610c1c565b155b1561063f57604051635274afe760e01b81526001600160a01b03841660048201526024015b60405180910390fd5b505050565b606061065283836000610659565b9392505050565b60608147101561067e5760405163cd78605960e01b8152306004820152602401610636565b600080856001600160a01b0316848660405161069a9190610c00565b60006040518083038185875af1925050503d80600081146106d7576040519150601f19603f3d011682016040523d82523d6000602084013e6106dc565b606091505b50915091506106ec8683836106f6565b9695505050505050565b60608261070b5761070682610752565b610652565b815115801561072257506001600160a01b0384163b155b1561074b57604051639996b31560e01b81526001600160a01b0385166004820152602401610636565b5080610652565b8051156107625780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b50565b6001600160a01b038116811461077b57600080fd5b600080600080608085870312156107a957600080fd5b84356107b48161077e565b93506020850135925060408501356107cb8161077e565b9150606085013567ffffffffffffffff8111156107e757600080fd5b850160c081880312156107f957600080fd5b939692955090935050565b6000806040838503121561081757600080fd5b82356108228161077e565b946020939093013593505050565b60006020828403121561084257600080fd5b5051919050565b60005b8381101561086457818101518382015260200161084c565b50506000910152565b6000808335601e1984360301811261088457600080fd5b830160208101925035905067ffffffffffffffff8111156108a457600080fd5b8036038213156108b357600080fd5b9250929050565b81835281816020850137506000828201602090810191909152601f909101601f19169091010190565b600060018060a01b03808a1683528860208401528088166040840152808716606084015285608084015260e060a084015284518060e085015261010061092f8282870160208a01610849565b601f19601f83011685019150808583030160c086015285356109508161077e565b83169082015260208501356101208201526040850135610140820152606085013561097a8161077e565b821661016082015261098f608086018661086d565b925060c06101808301526109a86101c0830184836108ba565b9250506109b860a086018661086d565b82840360ff19016101a08401526109d08482846108ba565b9d9c50505050505050505050505050565b80516109ec8161077e565b919050565b600060208284031215610a0357600080fd5b81516106528161077e565b6040516101e0810167ffffffffffffffff81118282101715610a4057634e487b7160e01b600052604160045260246000fd5b60405290565b600060208284031215610a5857600080fd5b6040516020810181811067ffffffffffffffff82111715610a8957634e487b7160e01b600052604160045260246000fd5b6040529151825250919050565b80516fffffffffffffffffffffffffffffffff811681146109ec57600080fd5b805164ffffffffff811681146109ec57600080fd5b805161ffff811681146109ec57600080fd5b60006101e08284031215610af057600080fd5b610af8610a0e565b610b028484610a46565b8152610b1060208401610a96565b6020820152610b2160408401610a96565b6040820152610b3260608401610a96565b6060820152610b4360808401610a96565b6080820152610b5460a08401610a96565b60a0820152610b6560c08401610ab6565b60c0820152610b7660e08401610acb565b60e0820152610100610b898185016109e1565b90820152610120610b9b8482016109e1565b90820152610140610bad8482016109e1565b90820152610160610bbf8482016109e1565b90820152610180610bd1848201610a96565b908201526101a0610be3848201610a96565b908201526101c0610bf5848201610a96565b908201529392505050565b60008251610c12818460208701610849565b9190910192915050565b600060208284031215610c2e57600080fd5b8151801515811461065257600080fdfea2646970667358221220d5ae2937a849a1bb129d49d213f210b198cf5930255eb59a7f30fe1c91351db764736f6c634300081800330000000000000000000000002f39d218133afab8f2b819b1066c7e434ad94e9e000000000000000000000000a000000eaa652c7023530b603844471294b811c4", + "nonce": "0x304", "chainId": "0x1" }, "additionalContracts": [], "isFixedGasLimit": false }, { - "hash": "0x86bb9baea61924f5b53a035e62bb7055fb7acb040a58061000a5dbc1db50e764", + "hash": "0xcfe087f898b9b75b3b8fa61339a5bd5e4c32126a3bf9ec5b6951fc14428793c1", "transactionType": "CALL", "contractName": "UUPSProxy", "contractAddress": "0xa000000eaa652c7023530b603844471294b811c4", @@ -149,8 +33,8 @@ "to": "0xa000000eaa652c7023530b603844471294b811c4", "gas": "0x11cf1", "value": "0x0", - "input": "0x0bf919fc0000000000000000000000005bca84441bfa911b1637a1b2344198dfacbdcaa1", - "nonce": "0x2ff", + "input": "0x0bf919fc0000000000000000000000004dbe021eba4275e149b268a9e6efcd6528531aab", + "nonce": "0x305", "chainId": "0x1" }, "additionalContracts": [], @@ -160,192 +44,48 @@ "receipts": [ { "status": "0x1", - "cumulativeGasUsed": "0xafabb9", - "logs": [], - "logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", - "type": "0x2", - "transactionHash": "0x4b076f1f98d6e67551a0e5ea9095764c3dfed70a16917fac3655398b771a153f", - "transactionIndex": "0x92", - "blockHash": "0x28a12c55dead172aa3c2d316ae215aeefbb35b684f91d183a02c1e6b0cb203cd", - "blockNumber": "0x14335b4", - "gasUsed": "0x66491", - "effectiveGasPrice": "0x72d75ac00", - "from": "0x660ad4b5a74130a4796b4d54bc6750ae93c86e6c", - "to": null, - "contractAddress": "0x30592a2e419db1338a6759279c547a9fdf2cd1df" - }, - { - "status": "0x1", - "cumulativeGasUsed": "0x7d886b", - "logs": [ - { - "address": "0xa000000eaa652c7023530b603844471294b811c4", - "topics": [ - "0x4330c9a27379ee1ae26d7ba186fb3420ab2fde5cb4f1937298b69228b4787058", - "0x00000000000000000000000030592a2e419db1338a6759279c547a9fdf2cd1df", - "0x0000000000000000000000000000000000000000000000000000000000000001" - ], - "data": "0x", - "blockHash": "0xf6d79b8b7798406b27beb99a16792374e4bf1a754ed2a0d47bf0ec5316d54ea7", - "blockNumber": "0x14335b5", - "transactionHash": "0xe36813562b39fabe1c9fd86dbf1d6707933f675e65445900c185317c57f37850", - "transactionIndex": "0x73", - "logIndex": "0xca", - "removed": false - } - ], - "logsBloom": "0x00000000000000000001008000000000000000000000400400000000000000000000000000000000000000000000000000000000000200000000000000040000040001000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000000000", - "type": "0x2", - "transactionHash": "0xe36813562b39fabe1c9fd86dbf1d6707933f675e65445900c185317c57f37850", - "transactionIndex": "0x73", - "blockHash": "0xf6d79b8b7798406b27beb99a16792374e4bf1a754ed2a0d47bf0ec5316d54ea7", - "blockNumber": "0x14335b5", - "gasUsed": "0xce4c", - "effectiveGasPrice": "0x71e2c23da", - "from": "0x660ad4b5a74130a4796b4d54bc6750ae93c86e6c", - "to": "0xa000000eaa652c7023530b603844471294b811c4", - "contractAddress": null - }, - { - "status": "0x1", - "cumulativeGasUsed": "0xcad9b4", - "logs": [], - "logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", - "type": "0x2", - "transactionHash": "0xc64895034dcd40d29c348a1d8892324da3df3bc64ef9cdea7f23f7a69520adae", - "transactionIndex": "0x94", - "blockHash": "0xdf2c028cdb05dc7e20450099cc75ba87aa27cb904ccf02eeeb774afe3d331029", - "blockNumber": "0x14335b6", - "gasUsed": "0x8831e", - "effectiveGasPrice": "0x6fa26b43b", - "from": "0x660ad4b5a74130a4796b4d54bc6750ae93c86e6c", - "to": null, - "contractAddress": "0x5e4cb8f8e70fbe315ea76323f16410b40151fe3b" - }, - { - "status": "0x1", - "cumulativeGasUsed": "0xc08c92", - "logs": [ - { - "address": "0xa000000eaa652c7023530b603844471294b811c4", - "topics": [ - "0x4330c9a27379ee1ae26d7ba186fb3420ab2fde5cb4f1937298b69228b4787058", - "0x0000000000000000000000005e4cb8f8e70fbe315ea76323f16410b40151fe3b", - "0x0000000000000000000000000000000000000000000000000000000000000001" - ], - "data": "0x", - "blockHash": "0xf0fb770fb912fb5c609f95f2c75050add8fb6030cbb9f30cc89ee9e0c875dd46", - "blockNumber": "0x14335b7", - "transactionHash": "0xf21980fab6c7fc1b7515b68b40a5247699a5afe09c02f3be082c06f43daeb328", - "transactionIndex": "0x79", - "logIndex": "0x16a", - "removed": false - } - ], - "logsBloom": "0x00000000000000000001000000000000000000000000400000000000000000000000004000000000000000000000000000000000000000000000000000040000040001000000000000000000000000000000000000040000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000002000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000000000", - "type": "0x2", - "transactionHash": "0xf21980fab6c7fc1b7515b68b40a5247699a5afe09c02f3be082c06f43daeb328", - "transactionIndex": "0x79", - "blockHash": "0xf0fb770fb912fb5c609f95f2c75050add8fb6030cbb9f30cc89ee9e0c875dd46", - "blockNumber": "0x14335b7", - "gasUsed": "0xce4c", - "effectiveGasPrice": "0x70da66e54", - "from": "0x660ad4b5a74130a4796b4d54bc6750ae93c86e6c", - "to": "0xa000000eaa652c7023530b603844471294b811c4", - "contractAddress": null - }, - { - "status": "0x1", - "cumulativeGasUsed": "0x6aefd2", - "logs": [], - "logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", - "type": "0x2", - "transactionHash": "0xc8a86e88580d395e4182c6ee32843b39febb5a253064d8cea8dfcb09ac8f9b4f", - "transactionIndex": "0x3c", - "blockHash": "0x9820129265f23e6b1f384a72ef9a7c37904b023c96766e6d2a45353a3d6fb5ac", - "blockNumber": "0x14335b8", - "gasUsed": "0x550b1", - "effectiveGasPrice": "0x71a3fe6a7", - "from": "0x660ad4b5a74130a4796b4d54bc6750ae93c86e6c", - "to": null, - "contractAddress": "0x646ea55b919e1d7a0ecb85fd3020a67a63538c6e" - }, - { - "status": "0x1", - "cumulativeGasUsed": "0x136534f", - "logs": [ - { - "address": "0xa000000eaa652c7023530b603844471294b811c4", - "topics": [ - "0x4330c9a27379ee1ae26d7ba186fb3420ab2fde5cb4f1937298b69228b4787058", - "0x000000000000000000000000646ea55b919e1d7a0ecb85fd3020a67a63538c6e", - "0x0000000000000000000000000000000000000000000000000000000000000001" - ], - "data": "0x", - "blockHash": "0xda5ed4f0cd7847e19c7503dc79dcfc2fc305ff428ec43276e16befd0d4971772", - "blockNumber": "0x14335b9", - "transactionHash": "0x59a583cb775427e49e5fe16918fe7e3c532f12b73e8c8b67b0adab4087403bf8", - "transactionIndex": "0xf0", - "logIndex": "0x282", - "removed": false - } - ], - "logsBloom": "0x00000000000000000001000000000000000000000000400000000000000000000000000000000000000000000000000000000000000000000000000800040000040001000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000200010000000000000080000000000000000000000000040000000000000000000000000000000000000000000000000000000000000000000", - "type": "0x2", - "transactionHash": "0x59a583cb775427e49e5fe16918fe7e3c532f12b73e8c8b67b0adab4087403bf8", - "transactionIndex": "0xf0", - "blockHash": "0xda5ed4f0cd7847e19c7503dc79dcfc2fc305ff428ec43276e16befd0d4971772", - "blockNumber": "0x14335b9", - "gasUsed": "0xce4c", - "effectiveGasPrice": "0x6b56aa2ea", - "from": "0x660ad4b5a74130a4796b4d54bc6750ae93c86e6c", - "to": "0xa000000eaa652c7023530b603844471294b811c4", - "contractAddress": null - }, - { - "status": "0x1", - "cumulativeGasUsed": "0xa37711", + "cumulativeGasUsed": "0xaba75d", "logs": [], "logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", "type": "0x2", - "transactionHash": "0xf533927c27756f201fc2a2315fb1f33a2e47a2f0b664bb5bd9ffefa7f2908c18", - "transactionIndex": "0x6d", - "blockHash": "0x0519fd0d27c4b56a71aaaa8872fa27dfd7103a261ccbe3e02a1f217202abf91c", - "blockNumber": "0x14335ba", - "gasUsed": "0x2ade2", - "effectiveGasPrice": "0x732d91727", + "transactionHash": "0x40694cf9a7ffc3aa814c773a38d4670d3ba927b3a16073b8bf19d7ec24604962", + "transactionIndex": "0x56", + "blockHash": "0x13c5d1872984446ff1933b7a09008ab1cb4cb605a6d645a0afe913f8b7b25bda", + "blockNumber": "0x1434b50", + "gasUsed": "0xb57e3", + "effectiveGasPrice": "0x61779829a", "from": "0x660ad4b5a74130a4796b4d54bc6750ae93c86e6c", "to": null, - "contractAddress": "0x5bca84441bfa911b1637a1b2344198dfacbdcaa1" + "contractAddress": "0x4dbe021eba4275e149b268a9e6efcd6528531aab" }, { "status": "0x1", - "cumulativeGasUsed": "0xb9308d", + "cumulativeGasUsed": "0xe412d7", "logs": [ { "address": "0xa000000eaa652c7023530b603844471294b811c4", "topics": [ "0x4330c9a27379ee1ae26d7ba186fb3420ab2fde5cb4f1937298b69228b4787058", - "0x0000000000000000000000005bca84441bfa911b1637a1b2344198dfacbdcaa1", + "0x0000000000000000000000004dbe021eba4275e149b268a9e6efcd6528531aab", "0x0000000000000000000000000000000000000000000000000000000000000001" ], "data": "0x", - "blockHash": "0x9e6ea611706a76de64d991f90d1bb7045e7f8f21a3dc8c5269641058f2c2b4a1", - "blockNumber": "0x14335bb", - "transactionHash": "0x86bb9baea61924f5b53a035e62bb7055fb7acb040a58061000a5dbc1db50e764", - "transactionIndex": "0x88", - "logIndex": "0x12e", + "blockHash": "0x2ee822b900e007d50a895720b3c5103daeb4c7f54d71ea629d0c46a325a39f80", + "blockNumber": "0x1434b51", + "transactionHash": "0xcfe087f898b9b75b3b8fa61339a5bd5e4c32126a3bf9ec5b6951fc14428793c1", + "transactionIndex": "0x9c", + "logIndex": "0x1ad", "removed": false } ], - "logsBloom": "0x00000000000000010001000000000000000000000000400000000000000000000000000000000000000000000000000000000000000000000000000000040000040001000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000400000000000000000000000000000000000000000000000000000000000200000000400000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000000000", + "logsBloom": "0x00000000000000000001000000000000000000000000400000000000000000000000000000000000000000000000000000000000000000000000000000040000040001000000000000000000000000000000000000040000040000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000020000000200000000000000000000000000000000000000000000040000000000001000000000000000000000000000000000000000000000000000000", "type": "0x2", - "transactionHash": "0x86bb9baea61924f5b53a035e62bb7055fb7acb040a58061000a5dbc1db50e764", - "transactionIndex": "0x88", - "blockHash": "0x9e6ea611706a76de64d991f90d1bb7045e7f8f21a3dc8c5269641058f2c2b4a1", - "blockNumber": "0x14335bb", + "transactionHash": "0xcfe087f898b9b75b3b8fa61339a5bd5e4c32126a3bf9ec5b6951fc14428793c1", + "transactionIndex": "0x9c", + "blockHash": "0x2ee822b900e007d50a895720b3c5103daeb4c7f54d71ea629d0c46a325a39f80", + "blockNumber": "0x1434b51", "gasUsed": "0xce4c", - "effectiveGasPrice": "0x70b82cfff", + "effectiveGasPrice": "0x60acc1f95", "from": "0x660ad4b5a74130a4796b4d54bc6750ae93c86e6c", "to": "0xa000000eaa652c7023530b603844471294b811c4", "contractAddress": null @@ -354,7 +94,7 @@ "libraries": [], "pending": [], "returns": {}, - "timestamp": 1731538495, + "timestamp": 1731605143, "chain": 1, - "commit": "538c910" + "commit": "2d94fe4" } \ No newline at end of file diff --git a/broadcast/145-upgrade_access_protocol.s.sol/42161/run-1731605226.json b/broadcast/145-upgrade_access_protocol.s.sol/42161/run-1731605226.json new file mode 100644 index 00000000..22c61fb1 --- /dev/null +++ b/broadcast/145-upgrade_access_protocol.s.sol/42161/run-1731605226.json @@ -0,0 +1,104 @@ +{ + "transactions": [ + { + "hash": "0x548a9866825aa70aeb29bc88a68dabee4e4630a9264581bf2b4747695a4359eb", + "transactionType": "CREATE", + "contractName": "AaveWithdrawWorkflow", + "contractAddress": "0x0fe5f529029198ab35e1014e6c8c2e058cfea4f5", + "function": null, + "arguments": [ + "0xa97684ead0e402dC232d5A977953DF7ECBaB3CDb", + "0xA000000eaA652c7023530b603844471294B811c4" + ], + "transaction": { + "from": "0x660ad4b5a74130a4796b4d54bc6750ae93c86e6c", + "gas": "0x451e0a", + "value": "0x0", + "input": "0x60c060405234801561001057600080fd5b50604051610d48380380610d4883398101604081905261002f91610062565b6001600160a01b039182166080521660a052610095565b80516001600160a01b038116811461005d57600080fd5b919050565b6000806040838503121561007557600080fd5b61007e83610046565b915061008c60208401610046565b90509250929050565b60805160a051610c746100d460003960008181605601528181610135015281816101c0015261020b01526000818160a7015261029a0152610c746000f3fe60806040526004361061003f5760003560e01c80634d47fc85146100445780636268461614610095578063dbb4e148146100c9578063f3fef3a3146100ea575b600080fd5b34801561005057600080fd5b506100787f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020015b60405180910390f35b3480156100a157600080fd5b506100787f000000000000000000000000000000000000000000000000000000000000000081565b6100dc6100d7366004610793565b61010c565b60405190815260200161008c565b3480156100f657600080fd5b5061010a610105366004610804565b610296565b005b60006101188585610296565b604051636eb1769f60e11b81523060048201526001600160a01b037f00000000000000000000000000000000000000000000000000000000000000008116602483015285919087169063dd62ed3e90604401602060405180830381865afa158015610187573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101ab9190610830565b10156101e7576101e76001600160a01b0386167f0000000000000000000000000000000000000000000000000000000000000000600019610480565b6040805160208101825260008152905163e48e2d8f60e01b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169163e48e2d8f9161024a91899189918991849184918b906004016108e3565b6020604051808303816000875af1158015610269573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061028d9190610830565b95945050505050565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663026b1d5f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156102f6573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061031a91906109f1565b90506000198203610401576040516335ea6a7560e01b81526001600160a01b0384811660048301528216906335ea6a75906024016101e060405180830381865afa15801561036c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103909190610add565b61010001516040516370a0823160e01b81523060048201526001600160a01b03909116906370a0823190602401602060405180830381865afa1580156103da573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103fe9190610830565b91505b604051631a4ca37b60e21b81526001600160a01b038481166004830152602482018490523060448301528216906369328dec906064016020604051808303816000875af1158015610456573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061047a9190610830565b50505050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663095ea7b360e01b1790526104d18482610534565b61047a57604080516001600160a01b038516602482015260006044808301919091528251808303909101815260649091019091526020810180516001600160e01b031663095ea7b360e01b17905261052a9085906105d7565b61047a84826105d7565b6000806000846001600160a01b0316846040516105519190610c00565b6000604051808303816000865af19150503d806000811461058e576040519150601f19603f3d011682016040523d82523d6000602084013e610593565b606091505b50915091508180156105bd5750805115806105bd5750808060200190518101906105bd9190610c1c565b801561028d5750505050506001600160a01b03163b151590565b60006105ec6001600160a01b03841683610644565b9050805160001415801561061157508080602001905181019061060f9190610c1c565b155b1561063f57604051635274afe760e01b81526001600160a01b03841660048201526024015b60405180910390fd5b505050565b606061065283836000610659565b9392505050565b60608147101561067e5760405163cd78605960e01b8152306004820152602401610636565b600080856001600160a01b0316848660405161069a9190610c00565b60006040518083038185875af1925050503d80600081146106d7576040519150601f19603f3d011682016040523d82523d6000602084013e6106dc565b606091505b50915091506106ec8683836106f6565b9695505050505050565b60608261070b5761070682610752565b610652565b815115801561072257506001600160a01b0384163b155b1561074b57604051639996b31560e01b81526001600160a01b0385166004820152602401610636565b5080610652565b8051156107625780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b50565b6001600160a01b038116811461077b57600080fd5b600080600080608085870312156107a957600080fd5b84356107b48161077e565b93506020850135925060408501356107cb8161077e565b9150606085013567ffffffffffffffff8111156107e757600080fd5b850160c081880312156107f957600080fd5b939692955090935050565b6000806040838503121561081757600080fd5b82356108228161077e565b946020939093013593505050565b60006020828403121561084257600080fd5b5051919050565b60005b8381101561086457818101518382015260200161084c565b50506000910152565b6000808335601e1984360301811261088457600080fd5b830160208101925035905067ffffffffffffffff8111156108a457600080fd5b8036038213156108b357600080fd5b9250929050565b81835281816020850137506000828201602090810191909152601f909101601f19169091010190565b600060018060a01b03808a1683528860208401528088166040840152808716606084015285608084015260e060a084015284518060e085015261010061092f8282870160208a01610849565b601f19601f83011685019150808583030160c086015285356109508161077e565b83169082015260208501356101208201526040850135610140820152606085013561097a8161077e565b821661016082015261098f608086018661086d565b925060c06101808301526109a86101c0830184836108ba565b9250506109b860a086018661086d565b82840360ff19016101a08401526109d08482846108ba565b9d9c50505050505050505050505050565b80516109ec8161077e565b919050565b600060208284031215610a0357600080fd5b81516106528161077e565b6040516101e0810167ffffffffffffffff81118282101715610a4057634e487b7160e01b600052604160045260246000fd5b60405290565b600060208284031215610a5857600080fd5b6040516020810181811067ffffffffffffffff82111715610a8957634e487b7160e01b600052604160045260246000fd5b6040529151825250919050565b80516fffffffffffffffffffffffffffffffff811681146109ec57600080fd5b805164ffffffffff811681146109ec57600080fd5b805161ffff811681146109ec57600080fd5b60006101e08284031215610af057600080fd5b610af8610a0e565b610b028484610a46565b8152610b1060208401610a96565b6020820152610b2160408401610a96565b6040820152610b3260608401610a96565b6060820152610b4360808401610a96565b6080820152610b5460a08401610a96565b60a0820152610b6560c08401610ab6565b60c0820152610b7660e08401610acb565b60e0820152610100610b898185016109e1565b90820152610120610b9b8482016109e1565b90820152610140610bad8482016109e1565b90820152610160610bbf8482016109e1565b90820152610180610bd1848201610a96565b908201526101a0610be3848201610a96565b908201526101c0610bf5848201610a96565b908201529392505050565b60008251610c12818460208701610849565b9190910192915050565b600060208284031215610c2e57600080fd5b8151801515811461065257600080fdfea2646970667358221220d5ae2937a849a1bb129d49d213f210b198cf5930255eb59a7f30fe1c91351db764736f6c63430008180033000000000000000000000000a97684ead0e402dc232d5a977953df7ecbab3cdb000000000000000000000000a000000eaa652c7023530b603844471294b811c4", + "nonce": "0x28d", + "chainId": "0xa4b1" + }, + "additionalContracts": [], + "isFixedGasLimit": false + }, + { + "hash": "0x8a5416a986cb8f98dcca975d90c38a6a6f9f26acbb4e38b057bd27e141522082", + "transactionType": "CALL", + "contractName": "UUPSProxy", + "contractAddress": "0xa000000eaa652c7023530b603844471294b811c4", + "function": null, + "arguments": null, + "transaction": { + "from": "0x660ad4b5a74130a4796b4d54bc6750ae93c86e6c", + "to": "0xa000000eaa652c7023530b603844471294b811c4", + "gas": "0x5b42a", + "value": "0x0", + "input": "0x0bf919fc0000000000000000000000000fe5f529029198ab35e1014e6c8c2e058cfea4f5", + "nonce": "0x28e", + "chainId": "0xa4b1" + }, + "additionalContracts": [], + "isFixedGasLimit": false + } + ], + "receipts": [ + { + "status": "0x1", + "cumulativeGasUsed": "0x7f5d91", + "logs": [], + "logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "type": "0x2", + "transactionHash": "0x548a9866825aa70aeb29bc88a68dabee4e4630a9264581bf2b4747695a4359eb", + "transactionIndex": "0xb", + "blockHash": "0x9d42e283a0192242b53c264c856a8e01042388e2f7e0054fd372a562af9bf8ae", + "blockNumber": "0x105bc4bb", + "gasUsed": "0x300200", + "effectiveGasPrice": "0x989680", + "from": "0x660ad4b5a74130a4796b4d54bc6750ae93c86e6c", + "to": null, + "contractAddress": "0x0fe5f529029198ab35e1014e6c8c2e058cfea4f5", + "gasUsedForL1": "0x24aa1d", + "l1BlockNumber": "0x1434b56" + }, + { + "status": "0x1", + "cumulativeGasUsed": "0x37bbf", + "logs": [ + { + "address": "0xa000000eaa652c7023530b603844471294b811c4", + "topics": [ + "0x4330c9a27379ee1ae26d7ba186fb3420ab2fde5cb4f1937298b69228b4787058", + "0x0000000000000000000000000fe5f529029198ab35e1014e6c8c2e058cfea4f5", + "0x0000000000000000000000000000000000000000000000000000000000000001" + ], + "data": "0x", + "blockHash": "0x2e373c61c94dcc14aa8663428b4635d226646dfaca5d94be8cc5d677fb9a97c8", + "blockNumber": "0x105bc4c0", + "transactionHash": "0x8a5416a986cb8f98dcca975d90c38a6a6f9f26acbb4e38b057bd27e141522082", + "transactionIndex": "0x1", + "logIndex": "0x0", + "removed": false + } + ], + "logsBloom": "0x00000000000000000001000000000000000000000000400000000000000000000000000000000000000000000000000000000000000000000000000000040004040001000000000000000000000000000000000000040000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000000000000000000000040000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000000000", + "type": "0x2", + "transactionHash": "0x8a5416a986cb8f98dcca975d90c38a6a6f9f26acbb4e38b057bd27e141522082", + "transactionIndex": "0x1", + "blockHash": "0x2e373c61c94dcc14aa8663428b4635d226646dfaca5d94be8cc5d677fb9a97c8", + "blockNumber": "0x105bc4c0", + "gasUsed": "0x37bbf", + "effectiveGasPrice": "0x989680", + "from": "0x660ad4b5a74130a4796b4d54bc6750ae93c86e6c", + "to": "0xa000000eaa652c7023530b603844471294b811c4", + "contractAddress": null, + "gasUsedForL1": "0x2ad73", + "l1BlockNumber": "0x1434b56" + } + ], + "libraries": [], + "pending": [], + "returns": {}, + "timestamp": 1731605226, + "chain": 42161, + "commit": "2d94fe4" +} \ No newline at end of file diff --git a/broadcast/145-upgrade_access_protocol.s.sol/42161/run-latest.json b/broadcast/145-upgrade_access_protocol.s.sol/42161/run-latest.json index 3bd653ed..22c61fb1 100644 --- a/broadcast/145-upgrade_access_protocol.s.sol/42161/run-latest.json +++ b/broadcast/145-upgrade_access_protocol.s.sol/42161/run-latest.json @@ -1,144 +1,28 @@ { "transactions": [ { - "hash": "0x02c7bf7168089034ab9534a8d669efaeabe4c74e6cf622c98f9995465517c359", - "transactionType": "CREATE", - "contractName": "AaveLendWorkflow", - "contractAddress": "0xb47ed636c8296729e81463109febf833ceea71fb", - "function": null, - "arguments": [ - "0xa97684ead0e402dC232d5A977953DF7ECBaB3CDb" - ], - "transaction": { - "from": "0x660ad4b5a74130a4796b4d54bc6750ae93c86e6c", - "gas": "0xe2ce4", - "value": "0x0", - "input": "0x60a060405234801561001057600080fd5b5060405161072738038061072783398101604081905261002f91610040565b6001600160a01b0316608052610070565b60006020828403121561005257600080fd5b81516001600160a01b038116811461006957600080fd5b9392505050565b608051610696610091600039600081816040015261010a01526106966000f3fe6080604052600436106100295760003560e01c8063626846161461002e578063a2fb342d1461007e575b600080fd5b34801561003a57600080fd5b506100627f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b03909116815260200160405180910390f35b61009161008c3660046105ad565b610093565b005b80600003610106576040516370a0823160e01b81523060048201526001600160a01b038316906370a0823190602401602060405180830381865afa1580156100df573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061010391906105d9565b90505b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663026b1d5f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610166573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061018a91906105f2565b604051636eb1769f60e11b81523060048201526001600160a01b038083166024830152919250839185169063dd62ed3e90604401602060405180830381865afa1580156101db573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101ff91906105d9565b101561021b5761021b6001600160a01b0384168260001961028f565b60405163617ba03760e01b81526001600160a01b038481166004830152602482018490523060448301526000606483015282169063617ba03790608401600060405180830381600087803b15801561027257600080fd5b505af1158015610286573d6000803e3d6000fd5b50505050505050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663095ea7b360e01b1790526102e08482610349565b61034357604080516001600160a01b038516602482015260006044808301919091528251808303909101815260649091019091526020810180516001600160e01b031663095ea7b360e01b1790526103399085906103f1565b61034384826103f1565b50505050565b6000806000846001600160a01b031684604051610366919061060f565b6000604051808303816000865af19150503d80600081146103a3576040519150601f19603f3d011682016040523d82523d6000602084013e6103a8565b606091505b50915091508180156103d25750805115806103d25750808060200190518101906103d2919061063e565b80156103e857506000856001600160a01b03163b115b95945050505050565b60006104066001600160a01b0384168361045e565b9050805160001415801561042b575080806020019051810190610429919061063e565b155b1561045957604051635274afe760e01b81526001600160a01b03841660048201526024015b60405180910390fd5b505050565b606061046c83836000610473565b9392505050565b6060814710156104985760405163cd78605960e01b8152306004820152602401610450565b600080856001600160a01b031684866040516104b4919061060f565b60006040518083038185875af1925050503d80600081146104f1576040519150601f19603f3d011682016040523d82523d6000602084013e6104f6565b606091505b5091509150610506868383610510565b9695505050505050565b606082610525576105208261056c565b61046c565b815115801561053c57506001600160a01b0384163b155b1561056557604051639996b31560e01b81526001600160a01b0385166004820152602401610450565b508061046c565b80511561057c5780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b50565b6001600160a01b038116811461059557600080fd5b600080604083850312156105c057600080fd5b82356105cb81610598565b946020939093013593505050565b6000602082840312156105eb57600080fd5b5051919050565b60006020828403121561060457600080fd5b815161046c81610598565b6000825160005b818110156106305760208186018101518583015201610616565b506000920191825250919050565b60006020828403121561065057600080fd5b8151801515811461046c57600080fdfea26469706673582212203ec41b0606f5bc5487e1eee558a9ea7e5b1e142a9de8ebb39404ab6e56911c9264736f6c63430008180033000000000000000000000000a97684ead0e402dc232d5a977953df7ecbab3cdb", - "nonce": "0x282", - "chainId": "0xa4b1" - }, - "additionalContracts": [], - "isFixedGasLimit": false - }, - { - "hash": "0x10e18e6648c8fd1b18775d6784751d051d3aa3d56465521cd8f1587e08c99195", - "transactionType": "CALL", - "contractName": "UUPSProxy", - "contractAddress": "0xa000000eaa652c7023530b603844471294b811c4", - "function": null, - "arguments": null, - "transaction": { - "from": "0x660ad4b5a74130a4796b4d54bc6750ae93c86e6c", - "to": "0xa000000eaa652c7023530b603844471294b811c4", - "gas": "0x1daee", - "value": "0x0", - "input": "0x0bf919fc000000000000000000000000b47ed636c8296729e81463109febf833ceea71fb", - "nonce": "0x283", - "chainId": "0xa4b1" - }, - "additionalContracts": [], - "isFixedGasLimit": false - }, - { - "hash": "0x21b6347a3ab4b613a06b76b12ec9ba9d945612a0a8e500a9d3ce086a54f2c1cb", - "transactionType": "CREATE", - "contractName": "AaveRepayWorkflow", - "contractAddress": "0x5cc25cc25be29d18472e76b2a19975aa1a37bd5c", - "function": null, - "arguments": [ - "0xa97684ead0e402dC232d5A977953DF7ECBaB3CDb" - ], - "transaction": { - "from": "0x660ad4b5a74130a4796b4d54bc6750ae93c86e6c", - "gas": "0x122660", - "value": "0x0", - "input": "0x60a060405234801561001057600080fd5b506040516109a93803806109a983398101604081905261002f91610040565b6001600160a01b0316608052610070565b60006020828403121561005257600080fd5b81516001600160a01b038116811461006957600080fd5b9392505050565b608051610919610090600039600081816066015260a501526109196000f3fe608060405234801561001057600080fd5b50600436106100365760003560e01c80635ceae9c41461003b5780636268461614610061575b600080fd5b61004e610049366004610618565b6100a0565b6040519081526020015b60405180910390f35b6100887f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b039091168152602001610058565b6000807f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663026b1d5f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610101573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610125919061066a565b9050600019840361020e576040516335ea6a7560e01b81526001600160a01b0386811660048301528216906335ea6a75906024016101e060405180830381865afa158015610177573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061019b9190610756565b61014001516040516370a0823160e01b81526001600160a01b038581166004830152909116906370a0823190602401602060405180830381865afa1580156101e7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061020b9190610879565b93505b604051636eb1769f60e11b81523060048201526001600160a01b03828116602483015285919087169063dd62ed3e90604401602060405180830381865afa15801561025d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102819190610879565b101561029d5761029d6001600160a01b0386168260001961032a565b60405163573ade8160e01b81526001600160a01b0386811660048301526024820186905260026044830152848116606483015282169063573ade81906084016020604051808303816000875af11580156102fb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061031f9190610879565b9150505b9392505050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663095ea7b360e01b17905261037b84826103e4565b6103de57604080516001600160a01b038516602482015260006044808301919091528251808303909101815260649091019091526020810180516001600160e01b031663095ea7b360e01b1790526103d490859061048c565b6103de848261048c565b50505050565b6000806000846001600160a01b0316846040516104019190610892565b6000604051808303816000865af19150503d806000811461043e576040519150601f19603f3d011682016040523d82523d6000602084013e610443565b606091505b509150915081801561046d57508051158061046d57508080602001905181019061046d91906108c1565b801561048357506000856001600160a01b03163b115b95945050505050565b60006104a16001600160a01b038416836104f9565b905080516000141580156104c65750808060200190518101906104c491906108c1565b155b156104f457604051635274afe760e01b81526001600160a01b03841660048201526024015b60405180910390fd5b505050565b60606103238383600084600080856001600160a01b0316848660405161051f9190610892565b60006040518083038185875af1925050503d806000811461055c576040519150601f19603f3d011682016040523d82523d6000602084013e610561565b606091505b509150915061057186838361057b565b9695505050505050565b6060826105905761058b826105d7565b610323565b81511580156105a757506001600160a01b0384163b155b156105d057604051639996b31560e01b81526001600160a01b03851660048201526024016104eb565b5080610323565b8051156105e75780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b50565b6001600160a01b038116811461060057600080fd5b60008060006060848603121561062d57600080fd5b833561063881610603565b925060208401359150604084013561064f81610603565b809150509250925092565b805161066581610603565b919050565b60006020828403121561067c57600080fd5b815161032381610603565b6040516101e0810167ffffffffffffffff811182821017156106b957634e487b7160e01b600052604160045260246000fd5b60405290565b6000602082840312156106d157600080fd5b6040516020810181811067ffffffffffffffff8211171561070257634e487b7160e01b600052604160045260246000fd5b6040529151825250919050565b80516fffffffffffffffffffffffffffffffff8116811461066557600080fd5b805164ffffffffff8116811461066557600080fd5b805161ffff8116811461066557600080fd5b60006101e0828403121561076957600080fd5b610771610687565b61077b84846106bf565b81526107896020840161070f565b602082015261079a6040840161070f565b60408201526107ab6060840161070f565b60608201526107bc6080840161070f565b60808201526107cd60a0840161070f565b60a08201526107de60c0840161072f565b60c08201526107ef60e08401610744565b60e082015261010061080281850161065a565b9082015261012061081484820161065a565b9082015261014061082684820161065a565b9082015261016061083884820161065a565b9082015261018061084a84820161070f565b908201526101a061085c84820161070f565b908201526101c061086e84820161070f565b908201529392505050565b60006020828403121561088b57600080fd5b5051919050565b6000825160005b818110156108b35760208186018101518583015201610899565b506000920191825250919050565b6000602082840312156108d357600080fd5b8151801515811461032357600080fdfea2646970667358221220537c54a6891fab3ee4f97eb4386b66cf2c1625a2e3dd14bcee421a6d9f4d039b64736f6c63430008180033000000000000000000000000a97684ead0e402dc232d5a977953df7ecbab3cdb", - "nonce": "0x284", - "chainId": "0xa4b1" - }, - "additionalContracts": [], - "isFixedGasLimit": false - }, - { - "hash": "0xecc6ccbee1b671be6ea5d7c6bcfe683ddbe653eef71dd19d213954de32017346", - "transactionType": "CALL", - "contractName": "UUPSProxy", - "contractAddress": "0xa000000eaa652c7023530b603844471294b811c4", - "function": null, - "arguments": null, - "transaction": { - "from": "0x660ad4b5a74130a4796b4d54bc6750ae93c86e6c", - "to": "0xa000000eaa652c7023530b603844471294b811c4", - "gas": "0x1da87", - "value": "0x0", - "input": "0x0bf919fc0000000000000000000000005cc25cc25be29d18472e76b2a19975aa1a37bd5c", - "nonce": "0x285", - "chainId": "0xa4b1" - }, - "additionalContracts": [], - "isFixedGasLimit": false - }, - { - "hash": "0xf6ae399fe2857b68a732f453fcc36dd73b97adf9ec5e4029a5a82e4b3d82d5e7", + "hash": "0x548a9866825aa70aeb29bc88a68dabee4e4630a9264581bf2b4747695a4359eb", "transactionType": "CREATE", "contractName": "AaveWithdrawWorkflow", - "contractAddress": "0x10ed00fdb26ec6be0183e6f14d8275d5898b0721", - "function": null, - "arguments": [ - "0xa97684ead0e402dC232d5A977953DF7ECBaB3CDb" - ], - "transaction": { - "from": "0x660ad4b5a74130a4796b4d54bc6750ae93c86e6c", - "gas": "0xbb339", - "value": "0x0", - "input": "0x60a060405234801561001057600080fd5b506040516105df3803806105df83398101604081905261002f91610040565b6001600160a01b0316608052610070565b60006020828403121561005257600080fd5b81516001600160a01b038116811461006957600080fd5b9392505050565b60805161054f61009060003960008181604001526097015261054f6000f3fe608060405234801561001057600080fd5b50600436106100365760003560e01c8063626846161461003b57806369328dec1461007e575b600080fd5b6100627f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b03909116815260200160405180910390f35b61009161008c366004610298565b610093565b005b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663026b1d5f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156100f3573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061011791906102ea565b905060001983036101fe576040516335ea6a7560e01b81526001600160a01b0385811660048301528216906335ea6a75906024016101e060405180830381865afa158015610169573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061018d91906103dd565b61010001516040516370a0823160e01b81523060048201526001600160a01b03909116906370a0823190602401602060405180830381865afa1580156101d7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101fb9190610500565b92505b604051631a4ca37b60e21b81526001600160a01b0385811660048301526024820185905283811660448301528216906369328dec906064016020604051808303816000875af1158015610255573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102799190610500565b5050505050565b6001600160a01b038116811461029557600080fd5b50565b6000806000606084860312156102ad57600080fd5b83356102b881610280565b92506020840135915060408401356102cf81610280565b809150509250925092565b80516102e581610280565b919050565b6000602082840312156102fc57600080fd5b815161030781610280565b9392505050565b6040516101e0810167ffffffffffffffff8111828210171561034057634e487b7160e01b600052604160045260246000fd5b60405290565b60006020828403121561035857600080fd5b6040516020810181811067ffffffffffffffff8211171561038957634e487b7160e01b600052604160045260246000fd5b6040529151825250919050565b80516fffffffffffffffffffffffffffffffff811681146102e557600080fd5b805164ffffffffff811681146102e557600080fd5b805161ffff811681146102e557600080fd5b60006101e082840312156103f057600080fd5b6103f861030e565b6104028484610346565b815261041060208401610396565b602082015261042160408401610396565b604082015261043260608401610396565b606082015261044360808401610396565b608082015261045460a08401610396565b60a082015261046560c084016103b6565b60c082015261047660e084016103cb565b60e08201526101006104898185016102da565b9082015261012061049b8482016102da565b908201526101406104ad8482016102da565b908201526101606104bf8482016102da565b908201526101806104d1848201610396565b908201526101a06104e3848201610396565b908201526101c06104f5848201610396565b908201529392505050565b60006020828403121561051257600080fd5b505191905056fea26469706673582212205c0f094dc66aa193b869b8a0071cc90ababc0ffc09351eb05acca0e63965d5a764736f6c63430008180033000000000000000000000000a97684ead0e402dc232d5a977953df7ecbab3cdb", - "nonce": "0x286", - "chainId": "0xa4b1" - }, - "additionalContracts": [], - "isFixedGasLimit": false - }, - { - "hash": "0xdca3e8021726e00319cb17098201c977a67da5e2f442e2ff218634648b311bb3", - "transactionType": "CALL", - "contractName": "UUPSProxy", - "contractAddress": "0xa000000eaa652c7023530b603844471294b811c4", - "function": null, - "arguments": null, - "transaction": { - "from": "0x660ad4b5a74130a4796b4d54bc6750ae93c86e6c", - "to": "0xa000000eaa652c7023530b603844471294b811c4", - "gas": "0x1da59", - "value": "0x0", - "input": "0x0bf919fc00000000000000000000000010ed00fdb26ec6be0183e6f14d8275d5898b0721", - "nonce": "0x287", - "chainId": "0xa4b1" - }, - "additionalContracts": [], - "isFixedGasLimit": false - }, - { - "hash": "0xca46587b3ebc9f98a35a0d51bbfa9084d9b85d94c26f0b085311b7c89ea75ae4", - "transactionType": "CREATE", - "contractName": "AaveBorrowWorkflow", - "contractAddress": "0xaa6a97b31d38892e4edb183588df6b9b633a71b7", + "contractAddress": "0x0fe5f529029198ab35e1014e6c8c2e058cfea4f5", "function": null, "arguments": [ - "0xa97684ead0e402dC232d5A977953DF7ECBaB3CDb" + "0xa97684ead0e402dC232d5A977953DF7ECBaB3CDb", + "0xA000000eaA652c7023530b603844471294B811c4" ], "transaction": { "from": "0x660ad4b5a74130a4796b4d54bc6750ae93c86e6c", - "gas": "0x6c700", + "gas": "0x451e0a", "value": "0x0", - "input": "0x60a060405234801561001057600080fd5b506040516102bf3803806102bf83398101604081905261002f91610040565b6001600160a01b0316608052610070565b60006020828403121561005257600080fd5b81516001600160a01b038116811461006957600080fd5b9392505050565b60805161022f61009060003960008181605501526095015261022f6000f3fe608060405234801561001057600080fd5b50600436106100365760003560e01c80634b8a35291461003b5780636268461614610050575b600080fd5b61004e6100493660046101a9565b610093565b005b6100777f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b03909116815260200160405180910390f35b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663026b1d5f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156100f1573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061011591906101d5565b60405163a415bcad60e01b81526001600160a01b038481166004830152602482018490526002604483015260006064830152306084830152919091169063a415bcad9060a401600060405180830381600087803b15801561017557600080fd5b505af1158015610189573d6000803e3d6000fd5b505050505050565b6001600160a01b03811681146101a657600080fd5b50565b600080604083850312156101bc57600080fd5b82356101c781610191565b946020939093013593505050565b6000602082840312156101e757600080fd5b81516101f281610191565b939250505056fea2646970667358221220772ae8f6123c8cfdd570d3f8118de6751fe78ce312cdcb8c42e39e2e391baa5364736f6c63430008180033000000000000000000000000a97684ead0e402dc232d5a977953df7ecbab3cdb", - "nonce": "0x288", + "input": "0x60c060405234801561001057600080fd5b50604051610d48380380610d4883398101604081905261002f91610062565b6001600160a01b039182166080521660a052610095565b80516001600160a01b038116811461005d57600080fd5b919050565b6000806040838503121561007557600080fd5b61007e83610046565b915061008c60208401610046565b90509250929050565b60805160a051610c746100d460003960008181605601528181610135015281816101c0015261020b01526000818160a7015261029a0152610c746000f3fe60806040526004361061003f5760003560e01c80634d47fc85146100445780636268461614610095578063dbb4e148146100c9578063f3fef3a3146100ea575b600080fd5b34801561005057600080fd5b506100787f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020015b60405180910390f35b3480156100a157600080fd5b506100787f000000000000000000000000000000000000000000000000000000000000000081565b6100dc6100d7366004610793565b61010c565b60405190815260200161008c565b3480156100f657600080fd5b5061010a610105366004610804565b610296565b005b60006101188585610296565b604051636eb1769f60e11b81523060048201526001600160a01b037f00000000000000000000000000000000000000000000000000000000000000008116602483015285919087169063dd62ed3e90604401602060405180830381865afa158015610187573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101ab9190610830565b10156101e7576101e76001600160a01b0386167f0000000000000000000000000000000000000000000000000000000000000000600019610480565b6040805160208101825260008152905163e48e2d8f60e01b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169163e48e2d8f9161024a91899189918991849184918b906004016108e3565b6020604051808303816000875af1158015610269573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061028d9190610830565b95945050505050565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663026b1d5f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156102f6573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061031a91906109f1565b90506000198203610401576040516335ea6a7560e01b81526001600160a01b0384811660048301528216906335ea6a75906024016101e060405180830381865afa15801561036c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103909190610add565b61010001516040516370a0823160e01b81523060048201526001600160a01b03909116906370a0823190602401602060405180830381865afa1580156103da573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103fe9190610830565b91505b604051631a4ca37b60e21b81526001600160a01b038481166004830152602482018490523060448301528216906369328dec906064016020604051808303816000875af1158015610456573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061047a9190610830565b50505050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663095ea7b360e01b1790526104d18482610534565b61047a57604080516001600160a01b038516602482015260006044808301919091528251808303909101815260649091019091526020810180516001600160e01b031663095ea7b360e01b17905261052a9085906105d7565b61047a84826105d7565b6000806000846001600160a01b0316846040516105519190610c00565b6000604051808303816000865af19150503d806000811461058e576040519150601f19603f3d011682016040523d82523d6000602084013e610593565b606091505b50915091508180156105bd5750805115806105bd5750808060200190518101906105bd9190610c1c565b801561028d5750505050506001600160a01b03163b151590565b60006105ec6001600160a01b03841683610644565b9050805160001415801561061157508080602001905181019061060f9190610c1c565b155b1561063f57604051635274afe760e01b81526001600160a01b03841660048201526024015b60405180910390fd5b505050565b606061065283836000610659565b9392505050565b60608147101561067e5760405163cd78605960e01b8152306004820152602401610636565b600080856001600160a01b0316848660405161069a9190610c00565b60006040518083038185875af1925050503d80600081146106d7576040519150601f19603f3d011682016040523d82523d6000602084013e6106dc565b606091505b50915091506106ec8683836106f6565b9695505050505050565b60608261070b5761070682610752565b610652565b815115801561072257506001600160a01b0384163b155b1561074b57604051639996b31560e01b81526001600160a01b0385166004820152602401610636565b5080610652565b8051156107625780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b50565b6001600160a01b038116811461077b57600080fd5b600080600080608085870312156107a957600080fd5b84356107b48161077e565b93506020850135925060408501356107cb8161077e565b9150606085013567ffffffffffffffff8111156107e757600080fd5b850160c081880312156107f957600080fd5b939692955090935050565b6000806040838503121561081757600080fd5b82356108228161077e565b946020939093013593505050565b60006020828403121561084257600080fd5b5051919050565b60005b8381101561086457818101518382015260200161084c565b50506000910152565b6000808335601e1984360301811261088457600080fd5b830160208101925035905067ffffffffffffffff8111156108a457600080fd5b8036038213156108b357600080fd5b9250929050565b81835281816020850137506000828201602090810191909152601f909101601f19169091010190565b600060018060a01b03808a1683528860208401528088166040840152808716606084015285608084015260e060a084015284518060e085015261010061092f8282870160208a01610849565b601f19601f83011685019150808583030160c086015285356109508161077e565b83169082015260208501356101208201526040850135610140820152606085013561097a8161077e565b821661016082015261098f608086018661086d565b925060c06101808301526109a86101c0830184836108ba565b9250506109b860a086018661086d565b82840360ff19016101a08401526109d08482846108ba565b9d9c50505050505050505050505050565b80516109ec8161077e565b919050565b600060208284031215610a0357600080fd5b81516106528161077e565b6040516101e0810167ffffffffffffffff81118282101715610a4057634e487b7160e01b600052604160045260246000fd5b60405290565b600060208284031215610a5857600080fd5b6040516020810181811067ffffffffffffffff82111715610a8957634e487b7160e01b600052604160045260246000fd5b6040529151825250919050565b80516fffffffffffffffffffffffffffffffff811681146109ec57600080fd5b805164ffffffffff811681146109ec57600080fd5b805161ffff811681146109ec57600080fd5b60006101e08284031215610af057600080fd5b610af8610a0e565b610b028484610a46565b8152610b1060208401610a96565b6020820152610b2160408401610a96565b6040820152610b3260608401610a96565b6060820152610b4360808401610a96565b6080820152610b5460a08401610a96565b60a0820152610b6560c08401610ab6565b60c0820152610b7660e08401610acb565b60e0820152610100610b898185016109e1565b90820152610120610b9b8482016109e1565b90820152610140610bad8482016109e1565b90820152610160610bbf8482016109e1565b90820152610180610bd1848201610a96565b908201526101a0610be3848201610a96565b908201526101c0610bf5848201610a96565b908201529392505050565b60008251610c12818460208701610849565b9190910192915050565b600060208284031215610c2e57600080fd5b8151801515811461065257600080fdfea2646970667358221220d5ae2937a849a1bb129d49d213f210b198cf5930255eb59a7f30fe1c91351db764736f6c63430008180033000000000000000000000000a97684ead0e402dc232d5a977953df7ecbab3cdb000000000000000000000000a000000eaa652c7023530b603844471294b811c4", + "nonce": "0x28d", "chainId": "0xa4b1" }, "additionalContracts": [], "isFixedGasLimit": false }, { - "hash": "0x83c555504a2fef2d67f8d95255c727f24e6d6ca64f58362ed085f2a8561a0379", + "hash": "0x8a5416a986cb8f98dcca975d90c38a6a6f9f26acbb4e38b057bd27e141522082", "transactionType": "CALL", "contractName": "UUPSProxy", "contractAddress": "0xa000000eaa652c7023530b603844471294b811c4", @@ -147,10 +31,10 @@ "transaction": { "from": "0x660ad4b5a74130a4796b4d54bc6750ae93c86e6c", "to": "0xa000000eaa652c7023530b603844471294b811c4", - "gas": "0x1da3d", + "gas": "0x5b42a", "value": "0x0", - "input": "0x0bf919fc000000000000000000000000aa6a97b31d38892e4edb183588df6b9b633a71b7", - "nonce": "0x289", + "input": "0x0bf919fc0000000000000000000000000fe5f529029198ab35e1014e6c8c2e058cfea4f5", + "nonce": "0x28e", "chainId": "0xa4b1" }, "additionalContracts": [], @@ -160,217 +44,61 @@ "receipts": [ { "status": "0x1", - "cumulativeGasUsed": "0x9c4ab", - "logs": [], - "logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", - "type": "0x2", - "transactionHash": "0x02c7bf7168089034ab9534a8d669efaeabe4c74e6cf622c98f9995465517c359", - "transactionIndex": "0x1", - "blockHash": "0xd7386fdcaf2f333044a33c5c6c59c6c75b7ab327ac6e779c680d4339dde7b7d2", - "blockNumber": "0x105724b8", - "gasUsed": "0x9c4ab", - "effectiveGasPrice": "0xc998a48", - "from": "0x660ad4b5a74130a4796b4d54bc6750ae93c86e6c", - "to": null, - "contractAddress": "0xb47ed636c8296729e81463109febf833ceea71fb", - "gasUsedForL1": "0x3601a", - "l1BlockNumber": "0x14332a6" - }, - { - "status": "0x1", - "cumulativeGasUsed": "0xa49d0", - "logs": [ - { - "address": "0xa000000eaa652c7023530b603844471294b811c4", - "topics": [ - "0x4330c9a27379ee1ae26d7ba186fb3420ab2fde5cb4f1937298b69228b4787058", - "0x000000000000000000000000b47ed636c8296729e81463109febf833ceea71fb", - "0x0000000000000000000000000000000000000000000000000000000000000001" - ], - "data": "0x", - "blockHash": "0x6988bb19b0be70e02cd1f6559adde947787573cb8c3f36cbdac60a66e66eb868", - "blockNumber": "0x105724bd", - "transactionHash": "0x10e18e6648c8fd1b18775d6784751d051d3aa3d56465521cd8f1587e08c99195", - "transactionIndex": "0x3", - "logIndex": "0x8", - "removed": false - } - ], - "logsBloom": "0x00000000000000000001000000000000000000000000400000000000000000000000000000000000000000000000000000000100000000000000000000040000040001000000000000000200400000000000000000040000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000000000", - "type": "0x2", - "transactionHash": "0x10e18e6648c8fd1b18775d6784751d051d3aa3d56465521cd8f1587e08c99195", - "transactionIndex": "0x3", - "blockHash": "0x6988bb19b0be70e02cd1f6559adde947787573cb8c3f36cbdac60a66e66eb868", - "blockNumber": "0x105724bd", - "gasUsed": "0x13552", - "effectiveGasPrice": "0xc99ccb0", - "from": "0x660ad4b5a74130a4796b4d54bc6750ae93c86e6c", - "to": "0xa000000eaa652c7023530b603844471294b811c4", - "contractAddress": null, - "gasUsedForL1": "0x6706", - "l1BlockNumber": "0x14332a6" - }, - { - "status": "0x1", - "cumulativeGasUsed": "0x1c1707", - "logs": [], - "logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", - "type": "0x2", - "transactionHash": "0x21b6347a3ab4b613a06b76b12ec9ba9d945612a0a8e500a9d3ce086a54f2c1cb", - "transactionIndex": "0x3", - "blockHash": "0x3f99676697886533746d2e23cd66e7a5197a36477877f0dfbb500b1f13fd3d4c", - "blockNumber": "0x105724c3", - "gasUsed": "0xca700", - "effectiveGasPrice": "0xc7e4da0", - "from": "0x660ad4b5a74130a4796b4d54bc6750ae93c86e6c", - "to": null, - "contractAddress": "0x5cc25cc25be29d18472e76b2a19975aa1a37bd5c", - "gasUsedForL1": "0x423e2", - "l1BlockNumber": "0x14332a6" - }, - { - "status": "0x1", - "cumulativeGasUsed": "0xf9d3b", - "logs": [ - { - "address": "0xa000000eaa652c7023530b603844471294b811c4", - "topics": [ - "0x4330c9a27379ee1ae26d7ba186fb3420ab2fde5cb4f1937298b69228b4787058", - "0x0000000000000000000000005cc25cc25be29d18472e76b2a19975aa1a37bd5c", - "0x0000000000000000000000000000000000000000000000000000000000000001" - ], - "data": "0x", - "blockHash": "0xd857154d0cdb927de55c858134a353dbd8c489fa127c3cac87fafa8385abeeea", - "blockNumber": "0x105724c9", - "transactionHash": "0xecc6ccbee1b671be6ea5d7c6bcfe683ddbe653eef71dd19d213954de32017346", - "transactionIndex": "0x3", - "logIndex": "0x8", - "removed": false - } - ], - "logsBloom": "0x00000008000000000001000000000000000000000000400000000000000000000000000000000000000000000000000000000000000000000000000000040000040001000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000040000000000000000000000000000000400000000000000000000000000000000000", - "type": "0x2", - "transactionHash": "0xecc6ccbee1b671be6ea5d7c6bcfe683ddbe653eef71dd19d213954de32017346", - "transactionIndex": "0x3", - "blockHash": "0xd857154d0cdb927de55c858134a353dbd8c489fa127c3cac87fafa8385abeeea", - "blockNumber": "0x105724c9", - "gasUsed": "0x13674", - "effectiveGasPrice": "0xc76b450", - "from": "0x660ad4b5a74130a4796b4d54bc6750ae93c86e6c", - "to": "0xa000000eaa652c7023530b603844471294b811c4", - "contractAddress": null, - "gasUsedForL1": "0x6828", - "l1BlockNumber": "0x14332a6" - }, - { - "status": "0x1", - "cumulativeGasUsed": "0x25553d", + "cumulativeGasUsed": "0x7f5d91", "logs": [], "logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", "type": "0x2", - "transactionHash": "0xf6ae399fe2857b68a732f453fcc36dd73b97adf9ec5e4029a5a82e4b3d82d5e7", - "transactionIndex": "0xa", - "blockHash": "0xf5235b1df9f4af6a3b12b5ab54cbfe2ebd5ea61bd4b9a034597dec4e8968fa17", - "blockNumber": "0x105724ce", - "gasUsed": "0x821d6", - "effectiveGasPrice": "0xc502d08", + "transactionHash": "0x548a9866825aa70aeb29bc88a68dabee4e4630a9264581bf2b4747695a4359eb", + "transactionIndex": "0xb", + "blockHash": "0x9d42e283a0192242b53c264c856a8e01042388e2f7e0054fd372a562af9bf8ae", + "blockNumber": "0x105bc4bb", + "gasUsed": "0x300200", + "effectiveGasPrice": "0x989680", "from": "0x660ad4b5a74130a4796b4d54bc6750ae93c86e6c", "to": null, - "contractAddress": "0x10ed00fdb26ec6be0183e6f14d8275d5898b0721", - "gasUsedForL1": "0x2d125", - "l1BlockNumber": "0x14332a6" + "contractAddress": "0x0fe5f529029198ab35e1014e6c8c2e058cfea4f5", + "gasUsedForL1": "0x24aa1d", + "l1BlockNumber": "0x1434b56" }, { "status": "0x1", - "cumulativeGasUsed": "0x4119d", + "cumulativeGasUsed": "0x37bbf", "logs": [ { "address": "0xa000000eaa652c7023530b603844471294b811c4", "topics": [ "0x4330c9a27379ee1ae26d7ba186fb3420ab2fde5cb4f1937298b69228b4787058", - "0x00000000000000000000000010ed00fdb26ec6be0183e6f14d8275d5898b0721", + "0x0000000000000000000000000fe5f529029198ab35e1014e6c8c2e058cfea4f5", "0x0000000000000000000000000000000000000000000000000000000000000001" ], "data": "0x", - "blockHash": "0xa85a85dc04a8a4eff7fcd2a3fea910e1e34e2c0d4d09f1f7bdf10a400cf2ff10", - "blockNumber": "0x105724d3", - "transactionHash": "0xdca3e8021726e00319cb17098201c977a67da5e2f442e2ff218634648b311bb3", - "transactionIndex": "0x2", - "logIndex": "0x2", - "removed": false - } - ], - "logsBloom": "0x00000000000000000001000000000000000000000000400000000000000000000000000000000000000000000000000000000000000000000000000000040000040001000000000000000000000000000000000000040000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000200000000000000000000000000000000000000000000000000008000000000000000000000200000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000000000", - "type": "0x2", - "transactionHash": "0xdca3e8021726e00319cb17098201c977a67da5e2f442e2ff218634648b311bb3", - "transactionIndex": "0x2", - "blockHash": "0xa85a85dc04a8a4eff7fcd2a3fea910e1e34e2c0d4d09f1f7bdf10a400cf2ff10", - "blockNumber": "0x105724d3", - "gasUsed": "0x13805", - "effectiveGasPrice": "0xc460760", - "from": "0x660ad4b5a74130a4796b4d54bc6750ae93c86e6c", - "to": "0xa000000eaa652c7023530b603844471294b811c4", - "contractAddress": null, - "gasUsedForL1": "0x69c5", - "l1BlockNumber": "0x14332a6" - }, - { - "status": "0x1", - "cumulativeGasUsed": "0x102225", - "logs": [], - "logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", - "type": "0x2", - "transactionHash": "0xca46587b3ebc9f98a35a0d51bbfa9084d9b85d94c26f0b085311b7c89ea75ae4", - "transactionIndex": "0x4", - "blockHash": "0xfb85fdbbc41fba141cd2e6980db34f15e28bc9176313645736eb0f1f1cc5967c", - "blockNumber": "0x105724d8", - "gasUsed": "0x4997e", - "effectiveGasPrice": "0xc37b368", - "from": "0x660ad4b5a74130a4796b4d54bc6750ae93c86e6c", - "to": null, - "contractAddress": "0xaa6a97b31d38892e4edb183588df6b9b633a71b7", - "gasUsedForL1": "0x1eb9c", - "l1BlockNumber": "0x14332a6" - }, - { - "status": "0x1", - "cumulativeGasUsed": "0x1e053", - "logs": [ - { - "address": "0xa000000eaa652c7023530b603844471294b811c4", - "topics": [ - "0x4330c9a27379ee1ae26d7ba186fb3420ab2fde5cb4f1937298b69228b4787058", - "0x000000000000000000000000aa6a97b31d38892e4edb183588df6b9b633a71b7", - "0x0000000000000000000000000000000000000000000000000000000000000001" - ], - "data": "0x", - "blockHash": "0xeb7f87af5628fd4db44a53341ab727c549882b3fd2b4442921d0d7b20a056bf2", - "blockNumber": "0x105724e9", - "transactionHash": "0x83c555504a2fef2d67f8d95255c727f24e6d6ca64f58362ed085f2a8561a0379", - "transactionIndex": "0x2", + "blockHash": "0x2e373c61c94dcc14aa8663428b4635d226646dfaca5d94be8cc5d677fb9a97c8", + "blockNumber": "0x105bc4c0", + "transactionHash": "0x8a5416a986cb8f98dcca975d90c38a6a6f9f26acbb4e38b057bd27e141522082", + "transactionIndex": "0x1", "logIndex": "0x0", "removed": false } ], - "logsBloom": "0x00000000000000000001000000000000000000000000400000000000000000000000000080000000000000000000000000000000000000000000000000040000040001000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000040000000000000000000000800000000000000000000000000000000000000000000", + "logsBloom": "0x00000000000000000001000000000000000000000000400000000000000000000000000000000000000000000000000000000000000000000000000000040004040001000000000000000000000000000000000000040000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000000000000000000000040000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000000000", "type": "0x2", - "transactionHash": "0x83c555504a2fef2d67f8d95255c727f24e6d6ca64f58362ed085f2a8561a0379", - "transactionIndex": "0x2", - "blockHash": "0xeb7f87af5628fd4db44a53341ab727c549882b3fd2b4442921d0d7b20a056bf2", - "blockNumber": "0x105724e9", - "gasUsed": "0x138f6", - "effectiveGasPrice": "0xc2ba960", + "transactionHash": "0x8a5416a986cb8f98dcca975d90c38a6a6f9f26acbb4e38b057bd27e141522082", + "transactionIndex": "0x1", + "blockHash": "0x2e373c61c94dcc14aa8663428b4635d226646dfaca5d94be8cc5d677fb9a97c8", + "blockNumber": "0x105bc4c0", + "gasUsed": "0x37bbf", + "effectiveGasPrice": "0x989680", "from": "0x660ad4b5a74130a4796b4d54bc6750ae93c86e6c", "to": "0xa000000eaa652c7023530b603844471294b811c4", "contractAddress": null, - "gasUsedForL1": "0x6aaa", - "l1BlockNumber": "0x14332a8" + "gasUsedForL1": "0x2ad73", + "l1BlockNumber": "0x1434b56" } ], "libraries": [], "pending": [], "returns": {}, - "timestamp": 1731529010, + "timestamp": 1731605226, "chain": 42161, - "commit": "ac68093" + "commit": "2d94fe4" } \ No newline at end of file diff --git a/broadcast/145-upgrade_access_protocol.s.sol/8453/run-1731605277.json b/broadcast/145-upgrade_access_protocol.s.sol/8453/run-1731605277.json new file mode 100644 index 00000000..abf671f7 --- /dev/null +++ b/broadcast/145-upgrade_access_protocol.s.sol/8453/run-1731605277.json @@ -0,0 +1,115 @@ +{ + "transactions": [ + { + "hash": "0x443658b254954b953c117f66e6b380534594c84620f90125d8fbb856f61a73a7", + "transactionType": "CREATE", + "contractName": "AaveWithdrawWorkflow", + "contractAddress": "0x1634254b7296cda083a3cdb711cdbd7736410fc5", + "function": null, + "arguments": [ + "0xe20fCBdBfFC4Dd138cE8b2E6FBb6CB49777ad64D", + "0xA000000eaA652c7023530b603844471294B811c4" + ], + "transaction": { + "from": "0x660ad4b5a74130a4796b4d54bc6750ae93c86e6c", + "gas": "0xebdf2", + "value": "0x0", + "input": "0x60c060405234801561001057600080fd5b50604051610d48380380610d4883398101604081905261002f91610062565b6001600160a01b039182166080521660a052610095565b80516001600160a01b038116811461005d57600080fd5b919050565b6000806040838503121561007557600080fd5b61007e83610046565b915061008c60208401610046565b90509250929050565b60805160a051610c746100d460003960008181605601528181610135015281816101c0015261020b01526000818160a7015261029a0152610c746000f3fe60806040526004361061003f5760003560e01c80634d47fc85146100445780636268461614610095578063dbb4e148146100c9578063f3fef3a3146100ea575b600080fd5b34801561005057600080fd5b506100787f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020015b60405180910390f35b3480156100a157600080fd5b506100787f000000000000000000000000000000000000000000000000000000000000000081565b6100dc6100d7366004610793565b61010c565b60405190815260200161008c565b3480156100f657600080fd5b5061010a610105366004610804565b610296565b005b60006101188585610296565b604051636eb1769f60e11b81523060048201526001600160a01b037f00000000000000000000000000000000000000000000000000000000000000008116602483015285919087169063dd62ed3e90604401602060405180830381865afa158015610187573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101ab9190610830565b10156101e7576101e76001600160a01b0386167f0000000000000000000000000000000000000000000000000000000000000000600019610480565b6040805160208101825260008152905163e48e2d8f60e01b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169163e48e2d8f9161024a91899189918991849184918b906004016108e3565b6020604051808303816000875af1158015610269573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061028d9190610830565b95945050505050565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663026b1d5f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156102f6573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061031a91906109f1565b90506000198203610401576040516335ea6a7560e01b81526001600160a01b0384811660048301528216906335ea6a75906024016101e060405180830381865afa15801561036c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103909190610add565b61010001516040516370a0823160e01b81523060048201526001600160a01b03909116906370a0823190602401602060405180830381865afa1580156103da573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103fe9190610830565b91505b604051631a4ca37b60e21b81526001600160a01b038481166004830152602482018490523060448301528216906369328dec906064016020604051808303816000875af1158015610456573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061047a9190610830565b50505050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663095ea7b360e01b1790526104d18482610534565b61047a57604080516001600160a01b038516602482015260006044808301919091528251808303909101815260649091019091526020810180516001600160e01b031663095ea7b360e01b17905261052a9085906105d7565b61047a84826105d7565b6000806000846001600160a01b0316846040516105519190610c00565b6000604051808303816000865af19150503d806000811461058e576040519150601f19603f3d011682016040523d82523d6000602084013e610593565b606091505b50915091508180156105bd5750805115806105bd5750808060200190518101906105bd9190610c1c565b801561028d5750505050506001600160a01b03163b151590565b60006105ec6001600160a01b03841683610644565b9050805160001415801561061157508080602001905181019061060f9190610c1c565b155b1561063f57604051635274afe760e01b81526001600160a01b03841660048201526024015b60405180910390fd5b505050565b606061065283836000610659565b9392505050565b60608147101561067e5760405163cd78605960e01b8152306004820152602401610636565b600080856001600160a01b0316848660405161069a9190610c00565b60006040518083038185875af1925050503d80600081146106d7576040519150601f19603f3d011682016040523d82523d6000602084013e6106dc565b606091505b50915091506106ec8683836106f6565b9695505050505050565b60608261070b5761070682610752565b610652565b815115801561072257506001600160a01b0384163b155b1561074b57604051639996b31560e01b81526001600160a01b0385166004820152602401610636565b5080610652565b8051156107625780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b50565b6001600160a01b038116811461077b57600080fd5b600080600080608085870312156107a957600080fd5b84356107b48161077e565b93506020850135925060408501356107cb8161077e565b9150606085013567ffffffffffffffff8111156107e757600080fd5b850160c081880312156107f957600080fd5b939692955090935050565b6000806040838503121561081757600080fd5b82356108228161077e565b946020939093013593505050565b60006020828403121561084257600080fd5b5051919050565b60005b8381101561086457818101518382015260200161084c565b50506000910152565b6000808335601e1984360301811261088457600080fd5b830160208101925035905067ffffffffffffffff8111156108a457600080fd5b8036038213156108b357600080fd5b9250929050565b81835281816020850137506000828201602090810191909152601f909101601f19169091010190565b600060018060a01b03808a1683528860208401528088166040840152808716606084015285608084015260e060a084015284518060e085015261010061092f8282870160208a01610849565b601f19601f83011685019150808583030160c086015285356109508161077e565b83169082015260208501356101208201526040850135610140820152606085013561097a8161077e565b821661016082015261098f608086018661086d565b925060c06101808301526109a86101c0830184836108ba565b9250506109b860a086018661086d565b82840360ff19016101a08401526109d08482846108ba565b9d9c50505050505050505050505050565b80516109ec8161077e565b919050565b600060208284031215610a0357600080fd5b81516106528161077e565b6040516101e0810167ffffffffffffffff81118282101715610a4057634e487b7160e01b600052604160045260246000fd5b60405290565b600060208284031215610a5857600080fd5b6040516020810181811067ffffffffffffffff82111715610a8957634e487b7160e01b600052604160045260246000fd5b6040529151825250919050565b80516fffffffffffffffffffffffffffffffff811681146109ec57600080fd5b805164ffffffffff811681146109ec57600080fd5b805161ffff811681146109ec57600080fd5b60006101e08284031215610af057600080fd5b610af8610a0e565b610b028484610a46565b8152610b1060208401610a96565b6020820152610b2160408401610a96565b6040820152610b3260608401610a96565b6060820152610b4360808401610a96565b6080820152610b5460a08401610a96565b60a0820152610b6560c08401610ab6565b60c0820152610b7660e08401610acb565b60e0820152610100610b898185016109e1565b90820152610120610b9b8482016109e1565b90820152610140610bad8482016109e1565b90820152610160610bbf8482016109e1565b90820152610180610bd1848201610a96565b908201526101a0610be3848201610a96565b908201526101c0610bf5848201610a96565b908201529392505050565b60008251610c12818460208701610849565b9190910192915050565b600060208284031215610c2e57600080fd5b8151801515811461065257600080fdfea2646970667358221220d5ae2937a849a1bb129d49d213f210b198cf5930255eb59a7f30fe1c91351db764736f6c63430008180033000000000000000000000000e20fcbdbffc4dd138ce8b2e6fbb6cb49777ad64d000000000000000000000000a000000eaa652c7023530b603844471294b811c4", + "nonce": "0x143", + "chainId": "0x2105" + }, + "additionalContracts": [], + "isFixedGasLimit": false + }, + { + "hash": "0x142d93c45b14bef885d51ad736f83ab9024acdf813e9fa2a3635d93d556732fe", + "transactionType": "CALL", + "contractName": "UUPSProxy", + "contractAddress": "0xa000000eaa652c7023530b603844471294b811c4", + "function": null, + "arguments": null, + "transaction": { + "from": "0x660ad4b5a74130a4796b4d54bc6750ae93c86e6c", + "to": "0xa000000eaa652c7023530b603844471294b811c4", + "gas": "0x11cf1", + "value": "0x0", + "input": "0x0bf919fc0000000000000000000000001634254b7296cda083a3cdb711cdbd7736410fc5", + "nonce": "0x144", + "chainId": "0x2105" + }, + "additionalContracts": [], + "isFixedGasLimit": false + } + ], + "receipts": [ + { + "status": "0x1", + "cumulativeGasUsed": "0x256df4d", + "logs": [], + "logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "type": "0x2", + "transactionHash": "0x443658b254954b953c117f66e6b380534594c84620f90125d8fbb856f61a73a7", + "transactionIndex": "0x96", + "blockHash": "0x834b57b768e57a9c115da49630b3a8944143fb654a31d1c22cc316991cdc1a58", + "blockNumber": "0x155eb11", + "gasUsed": "0xb57e3", + "effectiveGasPrice": "0x1834ac6", + "from": "0x660ad4b5a74130a4796b4d54bc6750ae93c86e6c", + "to": null, + "contractAddress": "0x1634254b7296cda083a3cdb711cdbd7736410fc5", + "l1BaseFeeScalar": "0x8dd", + "l1BlobBaseFee": "0xb785", + "l1BlobBaseFeeScalar": "0x101c12", + "l1Fee": "0x2bc920f80c5", + "l1FeeScalar": "0.002269", + "l1GasPrice": "0x5d3b1bae8", + "l1GasUsed": "0xcefc" + }, + { + "status": "0x1", + "cumulativeGasUsed": "0x257ad99", + "logs": [ + { + "address": "0xa000000eaa652c7023530b603844471294b811c4", + "topics": [ + "0x4330c9a27379ee1ae26d7ba186fb3420ab2fde5cb4f1937298b69228b4787058", + "0x0000000000000000000000001634254b7296cda083a3cdb711cdbd7736410fc5", + "0x0000000000000000000000000000000000000000000000000000000000000001" + ], + "data": "0x", + "blockHash": "0x834b57b768e57a9c115da49630b3a8944143fb654a31d1c22cc316991cdc1a58", + "blockNumber": "0x155eb11", + "blockTimestamp": "0x67363305", + "transactionHash": "0x142d93c45b14bef885d51ad736f83ab9024acdf813e9fa2a3635d93d556732fe", + "transactionIndex": "0x97", + "logIndex": "0x388", + "removed": false + } + ], + "logsBloom": "0x00000000000000000001000000000000000800000000400000000000000000000000000000000000000000000000000000000000000000000000000000040000040001000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000040000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000200000400000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000000000", + "type": "0x2", + "transactionHash": "0x142d93c45b14bef885d51ad736f83ab9024acdf813e9fa2a3635d93d556732fe", + "transactionIndex": "0x97", + "blockHash": "0x834b57b768e57a9c115da49630b3a8944143fb654a31d1c22cc316991cdc1a58", + "blockNumber": "0x155eb11", + "gasUsed": "0xce4c", + "effectiveGasPrice": "0x1834ac6", + "from": "0x660ad4b5a74130a4796b4d54bc6750ae93c86e6c", + "to": "0xa000000eaa652c7023530b603844471294b811c4", + "contractAddress": null, + "l1BaseFeeScalar": "0x8dd", + "l1BlobBaseFee": "0xb785", + "l1BlobBaseFeeScalar": "0x101c12", + "l1Fee": "0x1d4c64d46f", + "l1FeeScalar": "0.002269", + "l1GasPrice": "0x5d3b1bae8", + "l1GasUsed": "0x8a8" + } + ], + "libraries": [], + "pending": [], + "returns": {}, + "timestamp": 1731605277, + "chain": 8453, + "commit": "2d94fe4" +} \ No newline at end of file diff --git a/broadcast/145-upgrade_access_protocol.s.sol/8453/run-latest.json b/broadcast/145-upgrade_access_protocol.s.sol/8453/run-latest.json index f01865c3..abf671f7 100644 --- a/broadcast/145-upgrade_access_protocol.s.sol/8453/run-latest.json +++ b/broadcast/145-upgrade_access_protocol.s.sol/8453/run-latest.json @@ -1,105 +1,28 @@ { "transactions": [ { - "hash": "0x9a55875f1be8237a1cf09f3d46ef732055171a9ef4928f87552aa1081eb6b097", - "transactionType": "CREATE", - "contractName": "AaveLendWorkflow", - "contractAddress": "0x720e7bc50c5db2b387463f3f58e51d4eea4513e5", - "function": null, - "arguments": [ - "0xe20fCBdBfFC4Dd138cE8b2E6FBb6CB49777ad64D" - ], - "transaction": { - "from": "0x660ad4b5a74130a4796b4d54bc6750ae93c86e6c", - "gas": "0x84eef", - "value": "0x0", - "input": "0x60a060405234801561001057600080fd5b5060405161072738038061072783398101604081905261002f91610040565b6001600160a01b0316608052610070565b60006020828403121561005257600080fd5b81516001600160a01b038116811461006957600080fd5b9392505050565b608051610696610091600039600081816040015261010a01526106966000f3fe6080604052600436106100295760003560e01c8063626846161461002e578063a2fb342d1461007e575b600080fd5b34801561003a57600080fd5b506100627f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b03909116815260200160405180910390f35b61009161008c3660046105ad565b610093565b005b80600003610106576040516370a0823160e01b81523060048201526001600160a01b038316906370a0823190602401602060405180830381865afa1580156100df573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061010391906105d9565b90505b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663026b1d5f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610166573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061018a91906105f2565b604051636eb1769f60e11b81523060048201526001600160a01b038083166024830152919250839185169063dd62ed3e90604401602060405180830381865afa1580156101db573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101ff91906105d9565b101561021b5761021b6001600160a01b0384168260001961028f565b60405163617ba03760e01b81526001600160a01b038481166004830152602482018490523060448301526000606483015282169063617ba03790608401600060405180830381600087803b15801561027257600080fd5b505af1158015610286573d6000803e3d6000fd5b50505050505050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663095ea7b360e01b1790526102e08482610349565b61034357604080516001600160a01b038516602482015260006044808301919091528251808303909101815260649091019091526020810180516001600160e01b031663095ea7b360e01b1790526103399085906103f1565b61034384826103f1565b50505050565b6000806000846001600160a01b031684604051610366919061060f565b6000604051808303816000865af19150503d80600081146103a3576040519150601f19603f3d011682016040523d82523d6000602084013e6103a8565b606091505b50915091508180156103d25750805115806103d25750808060200190518101906103d2919061063e565b80156103e857506000856001600160a01b03163b115b95945050505050565b60006104066001600160a01b0384168361045e565b9050805160001415801561042b575080806020019051810190610429919061063e565b155b1561045957604051635274afe760e01b81526001600160a01b03841660048201526024015b60405180910390fd5b505050565b606061046c83836000610473565b9392505050565b6060814710156104985760405163cd78605960e01b8152306004820152602401610450565b600080856001600160a01b031684866040516104b4919061060f565b60006040518083038185875af1925050503d80600081146104f1576040519150601f19603f3d011682016040523d82523d6000602084013e6104f6565b606091505b5091509150610506868383610510565b9695505050505050565b606082610525576105208261056c565b61046c565b815115801561053c57506001600160a01b0384163b155b1561056557604051639996b31560e01b81526001600160a01b0385166004820152602401610450565b508061046c565b80511561057c5780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b50565b6001600160a01b038116811461059557600080fd5b600080604083850312156105c057600080fd5b82356105cb81610598565b946020939093013593505050565b6000602082840312156105eb57600080fd5b5051919050565b60006020828403121561060457600080fd5b815161046c81610598565b6000825160005b818110156106305760208186018101518583015201610616565b506000920191825250919050565b60006020828403121561065057600080fd5b8151801515811461046c57600080fdfea26469706673582212203ec41b0606f5bc5487e1eee558a9ea7e5b1e142a9de8ebb39404ab6e56911c9264736f6c63430008180033000000000000000000000000e20fcbdbffc4dd138ce8b2e6fbb6cb49777ad64d", - "nonce": "0x136", - "chainId": "0x2105" - }, - "additionalContracts": [], - "isFixedGasLimit": false - }, - { - "hash": "0x4f8a739d81e7350903b6121eac9980a0eae3dda3e224bb7f642bf86a649642c4", - "transactionType": "CALL", - "contractName": "UUPSProxy", - "contractAddress": "0xa000000eaa652c7023530b603844471294b811c4", - "function": null, - "arguments": null, - "transaction": { - "from": "0x660ad4b5a74130a4796b4d54bc6750ae93c86e6c", - "to": "0xa000000eaa652c7023530b603844471294b811c4", - "gas": "0x11cf1", - "value": "0x0", - "input": "0x0bf919fc000000000000000000000000720e7bc50c5db2b387463f3f58e51d4eea4513e5", - "nonce": "0x137", - "chainId": "0x2105" - }, - "additionalContracts": [], - "isFixedGasLimit": false - }, - { - "hash": "0x8e25cfe744ba1a770c2aaf722598fc341cbffbc33379d9f5231f8ac8f72169ef", - "transactionType": "CREATE", - "contractName": "AaveRepayWorkflow", - "contractAddress": "0xcba916cbcc56e911c422c1091d9035362aa7b0ee", - "function": null, - "arguments": [ - "0xe20fCBdBfFC4Dd138cE8b2E6FBb6CB49777ad64D" - ], - "transaction": { - "from": "0x660ad4b5a74130a4796b4d54bc6750ae93c86e6c", - "gas": "0xb100c", - "value": "0x0", - "input": "0x60a060405234801561001057600080fd5b506040516109a93803806109a983398101604081905261002f91610040565b6001600160a01b0316608052610070565b60006020828403121561005257600080fd5b81516001600160a01b038116811461006957600080fd5b9392505050565b608051610919610090600039600081816066015260a501526109196000f3fe608060405234801561001057600080fd5b50600436106100365760003560e01c80635ceae9c41461003b5780636268461614610061575b600080fd5b61004e610049366004610618565b6100a0565b6040519081526020015b60405180910390f35b6100887f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b039091168152602001610058565b6000807f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663026b1d5f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610101573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610125919061066a565b9050600019840361020e576040516335ea6a7560e01b81526001600160a01b0386811660048301528216906335ea6a75906024016101e060405180830381865afa158015610177573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061019b9190610756565b61014001516040516370a0823160e01b81526001600160a01b038581166004830152909116906370a0823190602401602060405180830381865afa1580156101e7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061020b9190610879565b93505b604051636eb1769f60e11b81523060048201526001600160a01b03828116602483015285919087169063dd62ed3e90604401602060405180830381865afa15801561025d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102819190610879565b101561029d5761029d6001600160a01b0386168260001961032a565b60405163573ade8160e01b81526001600160a01b0386811660048301526024820186905260026044830152848116606483015282169063573ade81906084016020604051808303816000875af11580156102fb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061031f9190610879565b9150505b9392505050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663095ea7b360e01b17905261037b84826103e4565b6103de57604080516001600160a01b038516602482015260006044808301919091528251808303909101815260649091019091526020810180516001600160e01b031663095ea7b360e01b1790526103d490859061048c565b6103de848261048c565b50505050565b6000806000846001600160a01b0316846040516104019190610892565b6000604051808303816000865af19150503d806000811461043e576040519150601f19603f3d011682016040523d82523d6000602084013e610443565b606091505b509150915081801561046d57508051158061046d57508080602001905181019061046d91906108c1565b801561048357506000856001600160a01b03163b115b95945050505050565b60006104a16001600160a01b038416836104f9565b905080516000141580156104c65750808060200190518101906104c491906108c1565b155b156104f457604051635274afe760e01b81526001600160a01b03841660048201526024015b60405180910390fd5b505050565b60606103238383600084600080856001600160a01b0316848660405161051f9190610892565b60006040518083038185875af1925050503d806000811461055c576040519150601f19603f3d011682016040523d82523d6000602084013e610561565b606091505b509150915061057186838361057b565b9695505050505050565b6060826105905761058b826105d7565b610323565b81511580156105a757506001600160a01b0384163b155b156105d057604051639996b31560e01b81526001600160a01b03851660048201526024016104eb565b5080610323565b8051156105e75780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b50565b6001600160a01b038116811461060057600080fd5b60008060006060848603121561062d57600080fd5b833561063881610603565b925060208401359150604084013561064f81610603565b809150509250925092565b805161066581610603565b919050565b60006020828403121561067c57600080fd5b815161032381610603565b6040516101e0810167ffffffffffffffff811182821017156106b957634e487b7160e01b600052604160045260246000fd5b60405290565b6000602082840312156106d157600080fd5b6040516020810181811067ffffffffffffffff8211171561070257634e487b7160e01b600052604160045260246000fd5b6040529151825250919050565b80516fffffffffffffffffffffffffffffffff8116811461066557600080fd5b805164ffffffffff8116811461066557600080fd5b805161ffff8116811461066557600080fd5b60006101e0828403121561076957600080fd5b610771610687565b61077b84846106bf565b81526107896020840161070f565b602082015261079a6040840161070f565b60408201526107ab6060840161070f565b60608201526107bc6080840161070f565b60808201526107cd60a0840161070f565b60a08201526107de60c0840161072f565b60c08201526107ef60e08401610744565b60e082015261010061080281850161065a565b9082015261012061081484820161065a565b9082015261014061082684820161065a565b9082015261016061083884820161065a565b9082015261018061084a84820161070f565b908201526101a061085c84820161070f565b908201526101c061086e84820161070f565b908201529392505050565b60006020828403121561088b57600080fd5b5051919050565b6000825160005b818110156108b35760208186018101518583015201610899565b506000920191825250919050565b6000602082840312156108d357600080fd5b8151801515811461032357600080fdfea2646970667358221220537c54a6891fab3ee4f97eb4386b66cf2c1625a2e3dd14bcee421a6d9f4d039b64736f6c63430008180033000000000000000000000000e20fcbdbffc4dd138ce8b2e6fbb6cb49777ad64d", - "nonce": "0x138", - "chainId": "0x2105" - }, - "additionalContracts": [], - "isFixedGasLimit": false - }, - { - "hash": "0x3cb063d1914b5236895b12221f6ab145f6de42f2deb12f5f7c25a3ebcee20aa5", - "transactionType": "CALL", - "contractName": "UUPSProxy", - "contractAddress": "0xa000000eaa652c7023530b603844471294b811c4", - "function": null, - "arguments": null, - "transaction": { - "from": "0x660ad4b5a74130a4796b4d54bc6750ae93c86e6c", - "to": "0xa000000eaa652c7023530b603844471294b811c4", - "gas": "0x11cf1", - "value": "0x0", - "input": "0x0bf919fc000000000000000000000000cba916cbcc56e911c422c1091d9035362aa7b0ee", - "nonce": "0x139", - "chainId": "0x2105" - }, - "additionalContracts": [], - "isFixedGasLimit": false - }, - { - "hash": "0xb4d8b75bb7f68c3b03f7ec630f9044990b2e2e1bb84e2e3762a0fbbd847796aa", + "hash": "0x443658b254954b953c117f66e6b380534594c84620f90125d8fbb856f61a73a7", "transactionType": "CREATE", "contractName": "AaveWithdrawWorkflow", - "contractAddress": "0x6cffca3ce5285aa7feef445e8dd37f7e4cb24dc9", + "contractAddress": "0x1634254b7296cda083a3cdb711cdbd7736410fc5", "function": null, "arguments": [ - "0xe20fCBdBfFC4Dd138cE8b2E6FBb6CB49777ad64D" + "0xe20fCBdBfFC4Dd138cE8b2E6FBb6CB49777ad64D", + "0xA000000eaA652c7023530b603844471294B811c4" ], "transaction": { "from": "0x660ad4b5a74130a4796b4d54bc6750ae93c86e6c", - "gas": "0x6e869", + "gas": "0xebdf2", "value": "0x0", - "input": "0x60a060405234801561001057600080fd5b506040516105df3803806105df83398101604081905261002f91610040565b6001600160a01b0316608052610070565b60006020828403121561005257600080fd5b81516001600160a01b038116811461006957600080fd5b9392505050565b60805161054f61009060003960008181604001526097015261054f6000f3fe608060405234801561001057600080fd5b50600436106100365760003560e01c8063626846161461003b57806369328dec1461007e575b600080fd5b6100627f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b03909116815260200160405180910390f35b61009161008c366004610298565b610093565b005b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663026b1d5f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156100f3573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061011791906102ea565b905060001983036101fe576040516335ea6a7560e01b81526001600160a01b0385811660048301528216906335ea6a75906024016101e060405180830381865afa158015610169573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061018d91906103dd565b61010001516040516370a0823160e01b81523060048201526001600160a01b03909116906370a0823190602401602060405180830381865afa1580156101d7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101fb9190610500565b92505b604051631a4ca37b60e21b81526001600160a01b0385811660048301526024820185905283811660448301528216906369328dec906064016020604051808303816000875af1158015610255573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102799190610500565b5050505050565b6001600160a01b038116811461029557600080fd5b50565b6000806000606084860312156102ad57600080fd5b83356102b881610280565b92506020840135915060408401356102cf81610280565b809150509250925092565b80516102e581610280565b919050565b6000602082840312156102fc57600080fd5b815161030781610280565b9392505050565b6040516101e0810167ffffffffffffffff8111828210171561034057634e487b7160e01b600052604160045260246000fd5b60405290565b60006020828403121561035857600080fd5b6040516020810181811067ffffffffffffffff8211171561038957634e487b7160e01b600052604160045260246000fd5b6040529151825250919050565b80516fffffffffffffffffffffffffffffffff811681146102e557600080fd5b805164ffffffffff811681146102e557600080fd5b805161ffff811681146102e557600080fd5b60006101e082840312156103f057600080fd5b6103f861030e565b6104028484610346565b815261041060208401610396565b602082015261042160408401610396565b604082015261043260608401610396565b606082015261044360808401610396565b608082015261045460a08401610396565b60a082015261046560c084016103b6565b60c082015261047660e084016103cb565b60e08201526101006104898185016102da565b9082015261012061049b8482016102da565b908201526101406104ad8482016102da565b908201526101606104bf8482016102da565b908201526101806104d1848201610396565b908201526101a06104e3848201610396565b908201526101c06104f5848201610396565b908201529392505050565b60006020828403121561051257600080fd5b505191905056fea26469706673582212205c0f094dc66aa193b869b8a0071cc90ababc0ffc09351eb05acca0e63965d5a764736f6c63430008180033000000000000000000000000e20fcbdbffc4dd138ce8b2e6fbb6cb49777ad64d", - "nonce": "0x13a", + "input": "0x60c060405234801561001057600080fd5b50604051610d48380380610d4883398101604081905261002f91610062565b6001600160a01b039182166080521660a052610095565b80516001600160a01b038116811461005d57600080fd5b919050565b6000806040838503121561007557600080fd5b61007e83610046565b915061008c60208401610046565b90509250929050565b60805160a051610c746100d460003960008181605601528181610135015281816101c0015261020b01526000818160a7015261029a0152610c746000f3fe60806040526004361061003f5760003560e01c80634d47fc85146100445780636268461614610095578063dbb4e148146100c9578063f3fef3a3146100ea575b600080fd5b34801561005057600080fd5b506100787f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020015b60405180910390f35b3480156100a157600080fd5b506100787f000000000000000000000000000000000000000000000000000000000000000081565b6100dc6100d7366004610793565b61010c565b60405190815260200161008c565b3480156100f657600080fd5b5061010a610105366004610804565b610296565b005b60006101188585610296565b604051636eb1769f60e11b81523060048201526001600160a01b037f00000000000000000000000000000000000000000000000000000000000000008116602483015285919087169063dd62ed3e90604401602060405180830381865afa158015610187573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101ab9190610830565b10156101e7576101e76001600160a01b0386167f0000000000000000000000000000000000000000000000000000000000000000600019610480565b6040805160208101825260008152905163e48e2d8f60e01b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169163e48e2d8f9161024a91899189918991849184918b906004016108e3565b6020604051808303816000875af1158015610269573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061028d9190610830565b95945050505050565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663026b1d5f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156102f6573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061031a91906109f1565b90506000198203610401576040516335ea6a7560e01b81526001600160a01b0384811660048301528216906335ea6a75906024016101e060405180830381865afa15801561036c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103909190610add565b61010001516040516370a0823160e01b81523060048201526001600160a01b03909116906370a0823190602401602060405180830381865afa1580156103da573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103fe9190610830565b91505b604051631a4ca37b60e21b81526001600160a01b038481166004830152602482018490523060448301528216906369328dec906064016020604051808303816000875af1158015610456573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061047a9190610830565b50505050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663095ea7b360e01b1790526104d18482610534565b61047a57604080516001600160a01b038516602482015260006044808301919091528251808303909101815260649091019091526020810180516001600160e01b031663095ea7b360e01b17905261052a9085906105d7565b61047a84826105d7565b6000806000846001600160a01b0316846040516105519190610c00565b6000604051808303816000865af19150503d806000811461058e576040519150601f19603f3d011682016040523d82523d6000602084013e610593565b606091505b50915091508180156105bd5750805115806105bd5750808060200190518101906105bd9190610c1c565b801561028d5750505050506001600160a01b03163b151590565b60006105ec6001600160a01b03841683610644565b9050805160001415801561061157508080602001905181019061060f9190610c1c565b155b1561063f57604051635274afe760e01b81526001600160a01b03841660048201526024015b60405180910390fd5b505050565b606061065283836000610659565b9392505050565b60608147101561067e5760405163cd78605960e01b8152306004820152602401610636565b600080856001600160a01b0316848660405161069a9190610c00565b60006040518083038185875af1925050503d80600081146106d7576040519150601f19603f3d011682016040523d82523d6000602084013e6106dc565b606091505b50915091506106ec8683836106f6565b9695505050505050565b60608261070b5761070682610752565b610652565b815115801561072257506001600160a01b0384163b155b1561074b57604051639996b31560e01b81526001600160a01b0385166004820152602401610636565b5080610652565b8051156107625780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b50565b6001600160a01b038116811461077b57600080fd5b600080600080608085870312156107a957600080fd5b84356107b48161077e565b93506020850135925060408501356107cb8161077e565b9150606085013567ffffffffffffffff8111156107e757600080fd5b850160c081880312156107f957600080fd5b939692955090935050565b6000806040838503121561081757600080fd5b82356108228161077e565b946020939093013593505050565b60006020828403121561084257600080fd5b5051919050565b60005b8381101561086457818101518382015260200161084c565b50506000910152565b6000808335601e1984360301811261088457600080fd5b830160208101925035905067ffffffffffffffff8111156108a457600080fd5b8036038213156108b357600080fd5b9250929050565b81835281816020850137506000828201602090810191909152601f909101601f19169091010190565b600060018060a01b03808a1683528860208401528088166040840152808716606084015285608084015260e060a084015284518060e085015261010061092f8282870160208a01610849565b601f19601f83011685019150808583030160c086015285356109508161077e565b83169082015260208501356101208201526040850135610140820152606085013561097a8161077e565b821661016082015261098f608086018661086d565b925060c06101808301526109a86101c0830184836108ba565b9250506109b860a086018661086d565b82840360ff19016101a08401526109d08482846108ba565b9d9c50505050505050505050505050565b80516109ec8161077e565b919050565b600060208284031215610a0357600080fd5b81516106528161077e565b6040516101e0810167ffffffffffffffff81118282101715610a4057634e487b7160e01b600052604160045260246000fd5b60405290565b600060208284031215610a5857600080fd5b6040516020810181811067ffffffffffffffff82111715610a8957634e487b7160e01b600052604160045260246000fd5b6040529151825250919050565b80516fffffffffffffffffffffffffffffffff811681146109ec57600080fd5b805164ffffffffff811681146109ec57600080fd5b805161ffff811681146109ec57600080fd5b60006101e08284031215610af057600080fd5b610af8610a0e565b610b028484610a46565b8152610b1060208401610a96565b6020820152610b2160408401610a96565b6040820152610b3260608401610a96565b6060820152610b4360808401610a96565b6080820152610b5460a08401610a96565b60a0820152610b6560c08401610ab6565b60c0820152610b7660e08401610acb565b60e0820152610100610b898185016109e1565b90820152610120610b9b8482016109e1565b90820152610140610bad8482016109e1565b90820152610160610bbf8482016109e1565b90820152610180610bd1848201610a96565b908201526101a0610be3848201610a96565b908201526101c0610bf5848201610a96565b908201529392505050565b60008251610c12818460208701610849565b9190910192915050565b600060208284031215610c2e57600080fd5b8151801515811461065257600080fdfea2646970667358221220d5ae2937a849a1bb129d49d213f210b198cf5930255eb59a7f30fe1c91351db764736f6c63430008180033000000000000000000000000e20fcbdbffc4dd138ce8b2e6fbb6cb49777ad64d000000000000000000000000a000000eaa652c7023530b603844471294b811c4", + "nonce": "0x143", "chainId": "0x2105" }, "additionalContracts": [], "isFixedGasLimit": false }, { - "hash": "0xc013efd2886aaafcacf7779a36a1e1d019504ba8c6bb1d7ca871a6d29cf46e54", + "hash": "0x142d93c45b14bef885d51ad736f83ab9024acdf813e9fa2a3635d93d556732fe", "transactionType": "CALL", "contractName": "UUPSProxy", "contractAddress": "0xa000000eaa652c7023530b603844471294b811c4", @@ -110,47 +33,8 @@ "to": "0xa000000eaa652c7023530b603844471294b811c4", "gas": "0x11cf1", "value": "0x0", - "input": "0x0bf919fc0000000000000000000000006cffca3ce5285aa7feef445e8dd37f7e4cb24dc9", - "nonce": "0x13b", - "chainId": "0x2105" - }, - "additionalContracts": [], - "isFixedGasLimit": false - }, - { - "hash": "0xc2ab8e431dad8a3c32754078c977929d8cf5a40a7280de0bf05222ae1962b4bd", - "transactionType": "CREATE", - "contractName": "AaveBorrowWorkflow", - "contractAddress": "0x4324fd882507a065fd99e0c6b9332ca2912658a0", - "function": null, - "arguments": [ - "0xe20fCBdBfFC4Dd138cE8b2E6FBb6CB49777ad64D" - ], - "transaction": { - "from": "0x660ad4b5a74130a4796b4d54bc6750ae93c86e6c", - "gas": "0x37b6a", - "value": "0x0", - "input": "0x60a060405234801561001057600080fd5b506040516102bf3803806102bf83398101604081905261002f91610040565b6001600160a01b0316608052610070565b60006020828403121561005257600080fd5b81516001600160a01b038116811461006957600080fd5b9392505050565b60805161022f61009060003960008181605501526095015261022f6000f3fe608060405234801561001057600080fd5b50600436106100365760003560e01c80634b8a35291461003b5780636268461614610050575b600080fd5b61004e6100493660046101a9565b610093565b005b6100777f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b03909116815260200160405180910390f35b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663026b1d5f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156100f1573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061011591906101d5565b60405163a415bcad60e01b81526001600160a01b038481166004830152602482018490526002604483015260006064830152306084830152919091169063a415bcad9060a401600060405180830381600087803b15801561017557600080fd5b505af1158015610189573d6000803e3d6000fd5b505050505050565b6001600160a01b03811681146101a657600080fd5b50565b600080604083850312156101bc57600080fd5b82356101c781610191565b946020939093013593505050565b6000602082840312156101e757600080fd5b81516101f281610191565b939250505056fea2646970667358221220772ae8f6123c8cfdd570d3f8118de6751fe78ce312cdcb8c42e39e2e391baa5364736f6c63430008180033000000000000000000000000e20fcbdbffc4dd138ce8b2e6fbb6cb49777ad64d", - "nonce": "0x13c", - "chainId": "0x2105" - }, - "additionalContracts": [], - "isFixedGasLimit": false - }, - { - "hash": "0xf7b48f3373d625b6291738caf00e1ce70c22203a424d35de36f6cccad214fcf0", - "transactionType": "CALL", - "contractName": "UUPSProxy", - "contractAddress": "0xa000000eaa652c7023530b603844471294b811c4", - "function": null, - "arguments": null, - "transaction": { - "from": "0x660ad4b5a74130a4796b4d54bc6750ae93c86e6c", - "to": "0xa000000eaa652c7023530b603844471294b811c4", - "gas": "0x11cf1", - "value": "0x0", - "input": "0x0bf919fc0000000000000000000000004324fd882507a065fd99e0c6b9332ca2912658a0", - "nonce": "0x13d", + "input": "0x0bf919fc0000000000000000000000001634254b7296cda083a3cdb711cdbd7736410fc5", + "nonce": "0x144", "chainId": "0x2105" }, "additionalContracts": [], @@ -160,249 +44,72 @@ "receipts": [ { "status": "0x1", - "cumulativeGasUsed": "0x1f99e8b", - "logs": [], - "logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", - "type": "0x2", - "transactionHash": "0x9a55875f1be8237a1cf09f3d46ef732055171a9ef4928f87552aa1081eb6b097", - "transactionIndex": "0xb0", - "blockHash": "0xfea10ebfecc39466a4c38e8d321bf48ac6305132ec7aee00c7fb9554a7d44b2d", - "blockNumber": "0x1555b5f", - "gasUsed": "0x66491", - "effectiveGasPrice": "0xbfe6ac", - "from": "0x660ad4b5a74130a4796b4d54bc6750ae93c86e6c", - "to": null, - "contractAddress": "0x720e7bc50c5db2b387463f3f58e51d4eea4513e5", - "l1BaseFeeScalar": "0x8dd", - "l1BlobBaseFee": "0xf3", - "l1BlobBaseFeeScalar": "0x101c12", - "l1Fee": "0x260ef1dc475", - "l1GasPrice": "0xef0cadde4", - "l1GasUsed": "0x462a" - }, - { - "status": "0x1", - "cumulativeGasUsed": "0x1fa6cd7", - "logs": [ - { - "address": "0xa000000eaa652c7023530b603844471294b811c4", - "topics": [ - "0x4330c9a27379ee1ae26d7ba186fb3420ab2fde5cb4f1937298b69228b4787058", - "0x000000000000000000000000720e7bc50c5db2b387463f3f58e51d4eea4513e5", - "0x0000000000000000000000000000000000000000000000000000000000000001" - ], - "data": "0x", - "blockHash": "0xfea10ebfecc39466a4c38e8d321bf48ac6305132ec7aee00c7fb9554a7d44b2d", - "blockNumber": "0x1555b5f", - "transactionHash": "0x4f8a739d81e7350903b6121eac9980a0eae3dda3e224bb7f642bf86a649642c4", - "transactionIndex": "0xb1", - "logIndex": "0x220", - "removed": false - } - ], - "logsBloom": "0x00000000000000000001000000000000000000000000400000000000000000000000000000000000000800000000000000000000000000000000000000040000040001000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000040000000000000000040000000000000000000000000000008000000000000000000", - "type": "0x2", - "transactionHash": "0x4f8a739d81e7350903b6121eac9980a0eae3dda3e224bb7f642bf86a649642c4", - "transactionIndex": "0xb1", - "blockHash": "0xfea10ebfecc39466a4c38e8d321bf48ac6305132ec7aee00c7fb9554a7d44b2d", - "blockNumber": "0x1555b5f", - "gasUsed": "0xce4c", - "effectiveGasPrice": "0xbfe6ac", - "from": "0x660ad4b5a74130a4796b4d54bc6750ae93c86e6c", - "to": "0xa000000eaa652c7023530b603844471294b811c4", - "contractAddress": null, - "l1BaseFeeScalar": "0x8dd", - "l1BlobBaseFee": "0xf3", - "l1BlobBaseFeeScalar": "0x101c12", - "l1Fee": "0x363d872d32", - "l1GasPrice": "0xef0cadde4", - "l1GasUsed": "0x640" - }, - { - "status": "0x1", - "cumulativeGasUsed": "0x202eff5", - "logs": [], - "logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", - "type": "0x2", - "transactionHash": "0x8e25cfe744ba1a770c2aaf722598fc341cbffbc33379d9f5231f8ac8f72169ef", - "transactionIndex": "0xb2", - "blockHash": "0xfea10ebfecc39466a4c38e8d321bf48ac6305132ec7aee00c7fb9554a7d44b2d", - "blockNumber": "0x1555b5f", - "gasUsed": "0x8831e", - "effectiveGasPrice": "0xbfe6ac", - "from": "0x660ad4b5a74130a4796b4d54bc6750ae93c86e6c", - "to": null, - "contractAddress": "0xcba916cbcc56e911c422c1091d9035362aa7b0ee", - "l1BaseFeeScalar": "0x8dd", - "l1BlobBaseFee": "0xf3", - "l1BlobBaseFeeScalar": "0x101c12", - "l1Fee": "0x30445fed274", - "l1GasPrice": "0xef0cadde4", - "l1GasUsed": "0x58fc" - }, - { - "status": "0x1", - "cumulativeGasUsed": "0x203be41", - "logs": [ - { - "address": "0xa000000eaa652c7023530b603844471294b811c4", - "topics": [ - "0x4330c9a27379ee1ae26d7ba186fb3420ab2fde5cb4f1937298b69228b4787058", - "0x000000000000000000000000cba916cbcc56e911c422c1091d9035362aa7b0ee", - "0x0000000000000000000000000000000000000000000000000000000000000001" - ], - "data": "0x", - "blockHash": "0xfea10ebfecc39466a4c38e8d321bf48ac6305132ec7aee00c7fb9554a7d44b2d", - "blockNumber": "0x1555b5f", - "transactionHash": "0x3cb063d1914b5236895b12221f6ab145f6de42f2deb12f5f7c25a3ebcee20aa5", - "transactionIndex": "0xb3", - "logIndex": "0x221", - "removed": false - } - ], - "logsBloom": "0x00000000000000000001000000000000000000000000400000000000000000000000000000000000000000000800000000000000000000000000000000040000040001000000000000000000000001000000000000040000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000040000000000000000000000000000000400000000000000000000000000000000000", - "type": "0x2", - "transactionHash": "0x3cb063d1914b5236895b12221f6ab145f6de42f2deb12f5f7c25a3ebcee20aa5", - "transactionIndex": "0xb3", - "blockHash": "0xfea10ebfecc39466a4c38e8d321bf48ac6305132ec7aee00c7fb9554a7d44b2d", - "blockNumber": "0x1555b5f", - "gasUsed": "0xce4c", - "effectiveGasPrice": "0xbfe6ac", - "from": "0x660ad4b5a74130a4796b4d54bc6750ae93c86e6c", - "to": "0xa000000eaa652c7023530b603844471294b811c4", - "contractAddress": null, - "l1BaseFeeScalar": "0x8dd", - "l1BlobBaseFee": "0xf3", - "l1BlobBaseFeeScalar": "0x101c12", - "l1Fee": "0x363d872d32", - "l1GasPrice": "0xef0cadde4", - "l1GasUsed": "0x640" - }, - { - "status": "0x1", - "cumulativeGasUsed": "0x2090ef2", - "logs": [], - "logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", - "type": "0x2", - "transactionHash": "0xb4d8b75bb7f68c3b03f7ec630f9044990b2e2e1bb84e2e3762a0fbbd847796aa", - "transactionIndex": "0xb4", - "blockHash": "0xfea10ebfecc39466a4c38e8d321bf48ac6305132ec7aee00c7fb9554a7d44b2d", - "blockNumber": "0x1555b5f", - "gasUsed": "0x550b1", - "effectiveGasPrice": "0xbfe6ac", - "from": "0x660ad4b5a74130a4796b4d54bc6750ae93c86e6c", - "to": null, - "contractAddress": "0x6cffca3ce5285aa7feef445e8dd37f7e4cb24dc9", - "l1BaseFeeScalar": "0x8dd", - "l1BlobBaseFee": "0xf3", - "l1BlobBaseFeeScalar": "0x101c12", - "l1Fee": "0x1deb75d8c80", - "l1GasPrice": "0xef0cadde4", - "l1GasUsed": "0x3729" - }, - { - "status": "0x1", - "cumulativeGasUsed": "0x209dd3e", - "logs": [ - { - "address": "0xa000000eaa652c7023530b603844471294b811c4", - "topics": [ - "0x4330c9a27379ee1ae26d7ba186fb3420ab2fde5cb4f1937298b69228b4787058", - "0x0000000000000000000000006cffca3ce5285aa7feef445e8dd37f7e4cb24dc9", - "0x0000000000000000000000000000000000000000000000000000000000000001" - ], - "data": "0x", - "blockHash": "0xfea10ebfecc39466a4c38e8d321bf48ac6305132ec7aee00c7fb9554a7d44b2d", - "blockNumber": "0x1555b5f", - "transactionHash": "0xc013efd2886aaafcacf7779a36a1e1d019504ba8c6bb1d7ca871a6d29cf46e54", - "transactionIndex": "0xb5", - "logIndex": "0x222", - "removed": false - } - ], - "logsBloom": "0x00000000000000000001000000000000000000000000400000000000000000000000000000000000000000000000000000000000000000000000000000040000040001000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000000000200000000000080000000000000000000000000000000000000000000000000000000000000200000000000000000400000000000000000000000000040000000000000000000000000000000000000000000000000000000000000000000", - "type": "0x2", - "transactionHash": "0xc013efd2886aaafcacf7779a36a1e1d019504ba8c6bb1d7ca871a6d29cf46e54", - "transactionIndex": "0xb5", - "blockHash": "0xfea10ebfecc39466a4c38e8d321bf48ac6305132ec7aee00c7fb9554a7d44b2d", - "blockNumber": "0x1555b5f", - "gasUsed": "0xce4c", - "effectiveGasPrice": "0xbfe6ac", - "from": "0x660ad4b5a74130a4796b4d54bc6750ae93c86e6c", - "to": "0xa000000eaa652c7023530b603844471294b811c4", - "contractAddress": null, - "l1BaseFeeScalar": "0x8dd", - "l1BlobBaseFee": "0xf3", - "l1BlobBaseFeeScalar": "0x101c12", - "l1Fee": "0x363d872d32", - "l1GasPrice": "0xef0cadde4", - "l1GasUsed": "0x640" - }, - { - "status": "0x1", - "cumulativeGasUsed": "0x20c8b20", + "cumulativeGasUsed": "0x256df4d", "logs": [], "logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", "type": "0x2", - "transactionHash": "0xc2ab8e431dad8a3c32754078c977929d8cf5a40a7280de0bf05222ae1962b4bd", - "transactionIndex": "0xb6", - "blockHash": "0xfea10ebfecc39466a4c38e8d321bf48ac6305132ec7aee00c7fb9554a7d44b2d", - "blockNumber": "0x1555b5f", - "gasUsed": "0x2ade2", - "effectiveGasPrice": "0xbfe6ac", + "transactionHash": "0x443658b254954b953c117f66e6b380534594c84620f90125d8fbb856f61a73a7", + "transactionIndex": "0x96", + "blockHash": "0x834b57b768e57a9c115da49630b3a8944143fb654a31d1c22cc316991cdc1a58", + "blockNumber": "0x155eb11", + "gasUsed": "0xb57e3", + "effectiveGasPrice": "0x1834ac6", "from": "0x660ad4b5a74130a4796b4d54bc6750ae93c86e6c", "to": null, - "contractAddress": "0x4324fd882507a065fd99e0c6b9332ca2912658a0", + "contractAddress": "0x1634254b7296cda083a3cdb711cdbd7736410fc5", "l1BaseFeeScalar": "0x8dd", - "l1BlobBaseFee": "0xf3", + "l1BlobBaseFee": "0xb785", "l1BlobBaseFeeScalar": "0x101c12", - "l1Fee": "0x1162bfc6e85", - "l1GasPrice": "0xef0cadde4", - "l1GasUsed": "0x200d" + "l1Fee": "0x2bc920f80c5", + "l1FeeScalar": "0.002269", + "l1GasPrice": "0x5d3b1bae8", + "l1GasUsed": "0xcefc" }, { "status": "0x1", - "cumulativeGasUsed": "0x20d596c", + "cumulativeGasUsed": "0x257ad99", "logs": [ { "address": "0xa000000eaa652c7023530b603844471294b811c4", "topics": [ "0x4330c9a27379ee1ae26d7ba186fb3420ab2fde5cb4f1937298b69228b4787058", - "0x0000000000000000000000004324fd882507a065fd99e0c6b9332ca2912658a0", + "0x0000000000000000000000001634254b7296cda083a3cdb711cdbd7736410fc5", "0x0000000000000000000000000000000000000000000000000000000000000001" ], "data": "0x", - "blockHash": "0xfea10ebfecc39466a4c38e8d321bf48ac6305132ec7aee00c7fb9554a7d44b2d", - "blockNumber": "0x1555b5f", - "transactionHash": "0xf7b48f3373d625b6291738caf00e1ce70c22203a424d35de36f6cccad214fcf0", - "transactionIndex": "0xb7", - "logIndex": "0x223", + "blockHash": "0x834b57b768e57a9c115da49630b3a8944143fb654a31d1c22cc316991cdc1a58", + "blockNumber": "0x155eb11", + "blockTimestamp": "0x67363305", + "transactionHash": "0x142d93c45b14bef885d51ad736f83ab9024acdf813e9fa2a3635d93d556732fe", + "transactionIndex": "0x97", + "logIndex": "0x388", "removed": false } ], - "logsBloom": "0x00000000000000000001000000000000000000000000400000000000000000000000000000000000000000000000000000000000000000000000000000040000040001000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000100000000000000000000000000000400000000000000000000000200000000000000000000000000000000000000000000040000000000000000000000000000000000000080000000000000000000000000000", + "logsBloom": "0x00000000000000000001000000000000000800000000400000000000000000000000000000000000000000000000000000000000000000000000000000040000040001000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000040000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000200000400000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000000000", "type": "0x2", - "transactionHash": "0xf7b48f3373d625b6291738caf00e1ce70c22203a424d35de36f6cccad214fcf0", - "transactionIndex": "0xb7", - "blockHash": "0xfea10ebfecc39466a4c38e8d321bf48ac6305132ec7aee00c7fb9554a7d44b2d", - "blockNumber": "0x1555b5f", + "transactionHash": "0x142d93c45b14bef885d51ad736f83ab9024acdf813e9fa2a3635d93d556732fe", + "transactionIndex": "0x97", + "blockHash": "0x834b57b768e57a9c115da49630b3a8944143fb654a31d1c22cc316991cdc1a58", + "blockNumber": "0x155eb11", "gasUsed": "0xce4c", - "effectiveGasPrice": "0xbfe6ac", + "effectiveGasPrice": "0x1834ac6", "from": "0x660ad4b5a74130a4796b4d54bc6750ae93c86e6c", "to": "0xa000000eaa652c7023530b603844471294b811c4", "contractAddress": null, "l1BaseFeeScalar": "0x8dd", - "l1BlobBaseFee": "0xf3", + "l1BlobBaseFee": "0xb785", "l1BlobBaseFeeScalar": "0x101c12", - "l1Fee": "0x363d872d32", - "l1GasPrice": "0xef0cadde4", - "l1GasUsed": "0x640" + "l1Fee": "0x1d4c64d46f", + "l1FeeScalar": "0.002269", + "l1GasPrice": "0x5d3b1bae8", + "l1GasUsed": "0x8a8" } ], "libraries": [], "pending": [], "returns": {}, - "timestamp": 1731531756, + "timestamp": 1731605277, "chain": 8453, - "commit": "04983a0" + "commit": "2d94fe4" } \ No newline at end of file diff --git a/script/migrations/145-upgrade_access_protocol.s.sol b/script/migrations/145-upgrade_access_protocol.s.sol index 19624095..0f43eb62 100644 --- a/script/migrations/145-upgrade_access_protocol.s.sol +++ b/script/migrations/145-upgrade_access_protocol.s.sol @@ -50,7 +50,8 @@ contract DeployScript is Script, MigrationHelper { registry.allowWorkflow(address(aaveRepayWorkflow)); vm.broadcast(deployerPrivateKey); - AaveWithdrawWorkflow aaveWithdrawWorkflow = new AaveWithdrawWorkflow(getAavePoolProvider()); + AaveWithdrawWorkflow aaveWithdrawWorkflow = + new AaveWithdrawWorkflow(getAavePoolProvider(), _getChainDeployment("AccessRegistry")); saveContractAddress("AaveWithdrawWorkflow", address(aaveWithdrawWorkflow)); vm.broadcast(deployerPrivateKey); diff --git a/src/access/workflows/AaveWithdrawWorkflow.sol b/src/access/workflows/AaveWithdrawWorkflow.sol index 35abccf7..6e425c2e 100644 --- a/src/access/workflows/AaveWithdrawWorkflow.sol +++ b/src/access/workflows/AaveWithdrawWorkflow.sol @@ -5,6 +5,7 @@ import {IERC20} from "@openzeppelin-5.0.1/contracts/token/ERC20/IERC20.sol"; import {SafeERC20} from "@openzeppelin-5.0.1/contracts/token/ERC20/utils/SafeERC20.sol"; import {Address} from "@openzeppelin-5.0.1/contracts/utils/Address.sol"; import {IWETH} from "@kinto-core/interfaces/IWETH.sol"; +import {IBridger} from "@kinto-core/interfaces/bridger/IBridger.sol"; import {IAavePool, IPoolAddressesProvider} from "@kinto-core/interfaces/external/IAavePool.sol"; @@ -20,6 +21,8 @@ contract AaveWithdrawWorkflow { /// @notice Address of the PoolAddressesProvider contract IPoolAddressesProvider public immutable poolAddressProvider; + /// @notice Address of the Bridger contract + IBridger public immutable bridger; /* ============ Constructor ============ */ @@ -27,8 +30,9 @@ contract AaveWithdrawWorkflow { * @notice Initializes the contract with Aave's pool address provider * @param poolAddressProvider_ The address of Aave's pool address provider */ - constructor(address poolAddressProvider_) { + constructor(address poolAddressProvider_, address bridger_) { poolAddressProvider = IPoolAddressesProvider(poolAddressProvider_); + bridger = IBridger(bridger_); } /* ============ External Functions ============ */ @@ -37,9 +41,8 @@ contract AaveWithdrawWorkflow { * @notice Withdraws assets from Aave * @param asset The address of the asset to withdraw * @param amount The amount to withdraw (use type(uint256).max for max available) - * @param receiver The address that will receive the withdrawn assets */ - function withdraw(address asset, uint256 amount, address receiver) external { + function withdraw(address asset, uint256 amount) public { address pool = poolAddressProvider.getPool(); // If amount is max uint256, withdraw all available @@ -48,6 +51,22 @@ contract AaveWithdrawWorkflow { } // Withdraw from Aave - IAavePool(pool).withdraw(asset, amount, receiver); + IAavePool(pool).withdraw(asset, amount, address(this)); + } + + function withdrawAndBridge( + address asset, + uint256 amount, + address kintoWallet, + IBridger.BridgeData calldata bridgeData + ) external payable returns (uint256 amountOut) { + withdraw(asset, amount); + + // Approve max allowance to save on gas for future transfers + if (IERC20(asset).allowance(address(this), address(bridger)) < amount) { + IERC20(asset).forceApprove(address(bridger), type(uint256).max); + } + + return bridger.depositERC20(asset, amount, kintoWallet, asset, amount, bytes(""), bridgeData); } } diff --git a/test/artifacts/1/addresses.json b/test/artifacts/1/addresses.json index 0fae9b70..5b6fd28b 100644 --- a/test/artifacts/1/addresses.json +++ b/test/artifacts/1/addresses.json @@ -37,6 +37,6 @@ "WithdrawWorkflow": "0xdC70c1c6c49AC9B3cA50E2F9079843545646524a", "AaveLendWorkflow": "0x30592A2E419Db1338A6759279c547A9fdf2cd1DF", "AaveRepayWorkflow": "0x5e4cB8F8E70FBe315EA76323f16410B40151fe3b", - "AaveWithdrawWorkflow": "0x646eA55B919E1D7a0eCB85fd3020a67A63538C6e", + "AaveWithdrawWorkflow": "0x4dBE021Eba4275E149b268A9E6efCD6528531AAB", "AaveBorrowWorkflow": "0x5bcA84441bfA911b1637A1b2344198dFaCbdCaA1" } \ No newline at end of file diff --git a/test/artifacts/42161/addresses.json b/test/artifacts/42161/addresses.json index 7608de8b..2c45d645 100644 --- a/test/artifacts/42161/addresses.json +++ b/test/artifacts/42161/addresses.json @@ -31,6 +31,6 @@ "WithdrawWorkflow": "0x36e6cA034958B2E0D4dC7Ea9a8151f15Ba0B27D2", "AaveLendWorkflow": "0xB47Ed636c8296729E81463109FEbf833CeEa71fb", "AaveRepayWorkflow": "0x5cC25cc25bE29d18472E76b2a19975aA1a37Bd5C", - "AaveWithdrawWorkflow": "0x10ed00FDb26Ec6BE0183e6f14D8275d5898B0721", + "AaveWithdrawWorkflow": "0x0fe5f529029198ab35e1014e6C8c2E058cFEa4F5", "AaveBorrowWorkflow": "0xAa6a97b31D38892E4Edb183588df6b9b633a71b7" -} +} \ No newline at end of file diff --git a/test/artifacts/8453/addresses.json b/test/artifacts/8453/addresses.json index 61b752ab..75e32c18 100644 --- a/test/artifacts/8453/addresses.json +++ b/test/artifacts/8453/addresses.json @@ -26,6 +26,6 @@ "WithdrawWorkflow": "0xdC70c1c6c49AC9B3cA50E2F9079843545646524a", "AaveLendWorkflow": "0x720E7BC50C5Db2B387463F3f58E51D4eEa4513E5", "AaveRepayWorkflow": "0xCbA916cbcC56E911C422C1091d9035362AA7B0EE", - "AaveWithdrawWorkflow": "0x6cffCa3cE5285Aa7FEef445E8dd37F7E4cb24Dc9", + "AaveWithdrawWorkflow": "0x1634254b7296cDA083a3cDb711CdBD7736410FC5", "AaveBorrowWorkflow": "0x4324Fd882507A065FD99E0C6B9332cA2912658A0" } \ No newline at end of file diff --git a/test/fork/workflows/AaveWithdrawWorkflow.t.sol b/test/fork/workflows/AaveWithdrawWorkflow.t.sol index 2674623b..994ba1bc 100644 --- a/test/fork/workflows/AaveWithdrawWorkflow.t.sol +++ b/test/fork/workflows/AaveWithdrawWorkflow.t.sol @@ -9,6 +9,9 @@ import {IAccessPoint} from "@kinto-core/interfaces/IAccessPoint.sol"; import {AccessRegistry} from "@kinto-core/access/AccessRegistry.sol"; import {AaveWithdrawWorkflow} from "@kinto-core/access/workflows/AaveWithdrawWorkflow.sol"; +import {IBridger} from "@kinto-core/interfaces/bridger/IBridger.sol"; +import {Bridger} from "@kinto-core/bridger/Bridger.sol"; +import {BridgeDataHelper} from "@kinto-core-test/helpers/BridgeDataHelper.sol"; import "@kinto-core-test/fork/const.sol"; import "@kinto-core-test/helpers/UUPSProxy.sol"; @@ -23,9 +26,10 @@ import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "forge-std/console2.sol"; -contract AaveWithdrawWorkflowTest is SignatureHelper, ForkTest, ArtifactsReader, Constants { +contract AaveWithdrawWorkflowTest is SignatureHelper, ForkTest, ArtifactsReader, Constants, BridgeDataHelper { using stdJson for string; + Bridger internal bridger; AccessRegistry internal accessRegistry; IAccessPoint internal accessPoint; AaveWithdrawWorkflow internal aaveWithdrawWorkflow; @@ -34,6 +38,7 @@ contract AaveWithdrawWorkflowTest is SignatureHelper, ForkTest, ArtifactsReader, function setUp() public override { super.setUp(); + bridger = Bridger(payable(_getChainDeployment("Bridger"))); accessRegistry = AccessRegistry(_getChainDeployment("AccessRegistry")); aavePool = IAavePool(IPoolAddressesProvider(ARB_AAVE_POOL_PROVIDER).getPool()); @@ -45,7 +50,7 @@ contract AaveWithdrawWorkflowTest is SignatureHelper, ForkTest, ArtifactsReader, accessPoint = accessRegistry.deployFor(address(alice0)); vm.label(address(accessPoint), "accessPoint"); - aaveWithdrawWorkflow = new AaveWithdrawWorkflow(ARB_AAVE_POOL_PROVIDER); + aaveWithdrawWorkflow = new AaveWithdrawWorkflow(ARB_AAVE_POOL_PROVIDER, address(bridger)); vm.label(address(aaveWithdrawWorkflow), "aaveWithdrawWorkflow"); vm.prank(accessRegistry.owner()); @@ -74,9 +79,8 @@ contract AaveWithdrawWorkflowTest is SignatureHelper, ForkTest, ArtifactsReader, uint256 initialATokenBalance = IERC20(aToken).balanceOf(address(accessPoint)); // Prepare workflow data - bytes memory workflowData = abi.encodeWithSelector( - AaveWithdrawWorkflow.withdraw.selector, assetToWithdraw, amountToWithdraw, address(accessPoint) - ); + bytes memory workflowData = + abi.encodeWithSelector(AaveWithdrawWorkflow.withdraw.selector, assetToWithdraw, amountToWithdraw); // Execute the withdraw workflow vm.prank(alice0); @@ -127,4 +131,52 @@ contract AaveWithdrawWorkflowTest is SignatureHelper, ForkTest, ArtifactsReader, ); assertEq(IERC20(aToken).balanceOf(address(accessPoint)), 0, "Invalid aToken balance"); } + + function testWithdrawAndBridge() public { + address assetToWithdraw = USDC_ARBITRUM; + uint256 amountToWithdraw = 1e6; + address aToken = aavePool.getReserveData(assetToWithdraw).aTokenAddress; + + // Supply first to have something to withdraw + deal(assetToWithdraw, address(accessPoint), amountToWithdraw); + vm.startPrank(address(accessPoint)); + IERC20(assetToWithdraw).approve(address(aavePool), amountToWithdraw); + aavePool.supply(assetToWithdraw, amountToWithdraw, address(accessPoint), 0); + vm.stopPrank(); + + IBridger.BridgeData memory bridgeData = bridgeData[block.chainid][USDC_ARBITRUM]; + + // Get initial balances + uint256 initialAccessPointBalance = IERC20(assetToWithdraw).balanceOf(address(accessPoint)); + uint256 initialATokenBalance = IERC20(aToken).balanceOf(address(accessPoint)); + uint256 initialBridgerBalance = IERC20(assetToWithdraw).balanceOf(address(bridger)); + uint256 initialVaultBalance = IERC20(assetToWithdraw).balanceOf(address(bridgeData.vault)); + + // Prepare workflow data + bytes memory workflowData = abi.encodeWithSelector( + AaveWithdrawWorkflow.withdrawAndBridge.selector, assetToWithdraw, amountToWithdraw, alice0, bridgeData + ); + + // Execute the withdrawAndBridge workflow + vm.prank(alice0); + accessPoint.execute(address(aaveWithdrawWorkflow), workflowData); + + // Assert balances changed correctly + assertEq( + IERC20(assetToWithdraw).balanceOf(address(accessPoint)), + initialAccessPointBalance, + "Invalid access point balance" + ); + assertEq( + IERC20(aToken).balanceOf(address(accessPoint)), + initialATokenBalance - amountToWithdraw, + "Invalid aToken balance" + ); + assertEq(IERC20(assetToWithdraw).balanceOf(address(bridger)), initialBridgerBalance, "Invalid bridger balance"); + assertEq( + IERC20(assetToWithdraw).balanceOf(address(bridgeData.vault)), + initialVaultBalance + amountToWithdraw, + "Invalid vault balance" + ); + } } diff --git a/test/helpers/BridgeDataHelper.sol b/test/helpers/BridgeDataHelper.sol index 10d862f7..5aa725e8 100644 --- a/test/helpers/BridgeDataHelper.sol +++ b/test/helpers/BridgeDataHelper.sol @@ -120,6 +120,15 @@ abstract contract BridgeDataHelper is Constants { options: bytes("") }); + bridgeData[ARBITRUM_CHAINID][USDC_ARBITRUM] = IBridger.BridgeData({ + vault: 0xC88A469B96A62d4DA14Dc5e23BDBC495D2b15C6B, + gasFee: 1e16, + msgGasLimit: 500_000, + connector: 0xD97E3cD27fb8af306b2CD42A61B7cbaAF044D08D, + execPayload: bytes(""), + options: bytes("") + }); + bridgeData[ARBITRUM_CHAINID][DAI_ARBITRUM] = IBridger.BridgeData({ vault: 0x36E2DBe085eE4d028fD60f70670f662365d0E978, gasFee: 1e16,