diff --git a/eth-bridge/contracts/README.md b/eth-bridge/contracts/README.md index b640f18d2..0491b7f55 100644 --- a/eth-bridge/contracts/README.md +++ b/eth-bridge/contracts/README.md @@ -71,7 +71,7 @@ LDN Bridge (proxy): 0xC8af0C3E0e4FC787D9e657b2A68ce6ED9cedB5DA LKN ERC-20 token: 0x7134B5DF53D7A276849a1A64a76f6D8972508747 LKN Bridge (proxy): 0x7E1E09c0B41b22EB1fA04145cdf21cea01560c99 -Common bridge implementation: 0x3dF5907e08f803c5e2eEAa5e8cb83Aa6CD61f002 +Common bridge implementation: 0x6BA58104312334ff71c4e4D6D34A1FD6cf02FC1d ``` All contracts are verified on [sourcify.eth](https://sourcify.dev/) and [Etherscan](https://sepolia.etherscan.io/). diff --git a/eth-bridge/contracts/broadcast/Upgrade.s.sol/11155111/run-1690447016.json b/eth-bridge/contracts/broadcast/Upgrade.s.sol/11155111/run-1690447016.json new file mode 100644 index 000000000..ce4ec892d --- /dev/null +++ b/eth-bridge/contracts/broadcast/Upgrade.s.sol/11155111/run-1690447016.json @@ -0,0 +1,164 @@ +{ + "transactions": [ + { + "hash": "0x6cad82c4eabf884c899165b8b4c2649f5d823fb5760195139472b8b5fab503de", + "transactionType": "CREATE", + "contractName": "Bridge", + "contractAddress": "0x6BA58104312334ff71c4e4D6D34A1FD6cf02FC1d", + "function": null, + "arguments": null, + "transaction": { + "type": "0x02", + "from": "0x7638462f3a5f2cdb49609bf4947ae396f9088949", + "gas": "0x2e58ee", + "value": "0x0", + "data": "0x60a0604052306080523480156200001557600080fd5b506200002062000026565b620000e8565b600054610100900460ff1615620000935760405162461bcd60e51b815260206004820152602760248201527f496e697469616c697a61626c653a20636f6e747261637420697320696e697469604482015266616c697a696e6760c81b606482015260840160405180910390fd5b60005460ff9081161015620000e6576000805460ff191660ff9081179091556040519081527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b565b6080516128d96200012060003960008181610d3f01528181610d7f01528181610e1e01528181610e5e0152610eed01526128d96000f3fe6080604052600436106102505760003560e01c806363a599a411610139578063b53f5227116100b6578063d9a755721161007a578063d9a7557214610772578063ddca3f4314610792578063ead93c8f146107a8578063f1ba83a1146107c2578063f72c0d8b146107e4578063fc0c546a1461080657600080fd5b8063b53f5227146106dd578063b88a802f146106fd578063bcf64e0514610712578063d547741f14610732578063d6987b8c1461075257600080fd5b80639f8ee31c116100fd5780639f8ee31c146105e5578063a217fddf1461067e578063a4f35b6514610693578063acec338a146106aa578063adf2cead146106ca57600080fd5b806363a599a41461054e57806369fe0e2d1461056357806375b238fc1461058357806391d14854146105a557806397d159e7146105c557600080fd5b806331d7a262116101d25780634460bdd6116101965780634460bdd61461049557806346aa52ce146104b75780634f1ef286146104e957806352d1902d146104fc57806361e08e7214610511578063633433de1461052e57600080fd5b806331d7a262146103f157806334636e8e1461041f578063361fab251461043557806336568abe146104555780633659cfe61461047557600080fd5b80630e0a999e116102195780630e0a999e1461034b57806319d1997a1461036b57806321e6b53d14610381578063248a9ca3146103a15780632f2ff15d146103d157600080fd5b80624f94071461025557806301ffc9a71461027757806304421823146102ac5780630847a4fb146102dc5780630c2891b714610314575b600080fd5b34801561026157600080fd5b50610275610270366004612280565b610826565b005b34801561028357600080fd5b50610297610292366004612299565b610844565b60405190151581526020015b60405180910390f35b3480156102b857600080fd5b506102ce6000805160206127bd83398151915281565b6040519081526020016102a3565b3480156102e857600080fd5b506102fc6102f73660046122c3565b61087b565b6040516001600160a01b0390911681526020016102a3565b34801561032057600080fd5b5060fb5461033690610100900463ffffffff1681565b60405163ffffffff90911681526020016102a3565b34801561035757600080fd5b506102756103663660046122fa565b6108b4565b34801561037757600080fd5b506102ce60fe5481565b34801561038d57600080fd5b5061027561039c366004612351565b610b01565b3480156103ad57600080fd5b506102ce6103bc366004612280565b60009081526065602052604090206001015490565b3480156103dd57600080fd5b506102756103ec36600461236e565b610b9e565b3480156103fd57600080fd5b506102ce61040c366004612351565b6101026020526000908152604090205481565b34801561042b57600080fd5b506102ce60fd5481565b34801561044157600080fd5b50610275610450366004612280565b610c94565b34801561046157600080fd5b5061027561047036600461236e565b610cb2565b34801561048157600080fd5b50610275610490366004612351565b610d35565b3480156104a157600080fd5b506102ce60008051602061283d83398151915281565b3480156104c357600080fd5b5061010354610104546104d4919082565b604080519283526020830191909152016102a3565b6102756104f73660046123b4565b610e14565b34801561050857600080fd5b506102ce610ee0565b34801561051d57600080fd5b5061010554610106546104d4919082565b34801561053a57600080fd5b50610275610549366004612491565b610f93565b34801561055a57600080fd5b50610275610ff5565b34801561056f57600080fd5b5061027561057e366004612280565b611040565b34801561058f57600080fd5b506102ce60008051602061288483398151915281565b3480156105b157600080fd5b506102976105c036600461236e565b61105e565b3480156105d157600080fd5b506102756105e0366004612280565b611089565b3480156105f157600080fd5b50610643610600366004612280565b61010060205260009081526040902080546001820154600283015460039093015467ffffffffffffffff831693600160401b9093046001600160a01b0316929085565b6040805167ffffffffffffffff90961686526001600160a01b039094166020860152928401919091526060830152608082015260a0016102a3565b34801561068a57600080fd5b506102ce600081565b34801561069f57600080fd5b506102ce6101075481565b3480156106b657600080fd5b506102756106c53660046124ba565b6110a8565b6102756106d8366004612280565b6110c9565b3480156106e957600080fd5b506102756106f83660046122c3565b6112ec565b34801561070957600080fd5b50610275611312565b34801561071e57600080fd5b5061027561072d3660046122c3565b61138f565b34801561073e57600080fd5b5061027561074d36600461236e565b611444565b34801561075e57600080fd5b5061027561076d3660046124d7565b611535565b34801561077e57600080fd5b5061029761078d36600461236e565b6116c4565b34801561079e57600080fd5b506102ce60fc5481565b3480156107b457600080fd5b5060fb546102979060ff1681565b3480156107ce57600080fd5b506102ce6000805160206127fd83398151915281565b3480156107f057600080fd5b506102ce6000805160206127dd83398151915281565b34801561081257600080fd5b5060ff546102fc906001600160a01b031681565b60008051602061283d83398151915261083e816116e4565b5060fd55565b60006001600160e01b03198216637965db0b60e01b148061087557506301ffc9a760e01b6001600160e01b03198316145b92915050565b610101602052816000526040600020818154811061089857600080fd5b6000918252602090912001546001600160a01b03169150829050565b6000805160206127bd8339815191526108cc816116e4565b60fb5460ff166108ef576040516343e5c67f60e11b815260040160405180910390fd5b8367ffffffffffffffff1660000361091a5760405163a9cb9e0d60e01b815260040160405180910390fd5b600085815261010060205260409020600301541561094b57604051632bf773b360e11b815260040160405180910390fd5b6000858152610100602052604090205467ffffffffffffffff161561098e57610976858584866116ee565b610989576109846000611764565b610afa565b6109d1565b60008581526101006020526040902080546001600160a01b038416600160401b026001600160e01b031990911667ffffffffffffffff8716171781556001018390555b6109db85336116c4565b156109f957604051637c9a1cf960e01b815260040160405180910390fd5b60008581526101016020908152604080832080546001810182559084528284200180546001600160a01b03191633179055878352610100909152902060020154158015610a63575060fb546000868152610101602052604090205461010090910463ffffffff1611155b15610aa65760008581526101006020526040808220436002909101555186917f6fb7fd1eda743aa3eb32c69f3b8cf14a5aeadf26db51057a7c5c78ba10eac8a491a25b6000858152610100602090815260409182902054915167ffffffffffffffff9092168252339187917f35736f19ec5960edd1e2dbf347b5682b955d14cfaec893ec96d43ec699d742c3910160405180910390a35b5050505050565b60008051602061283d833981519152610b19816116e4565b60ff80546001600160a01b031981169091556001600160a01b0316610b3e6000611764565b60405163f2fde38b60e01b81526001600160a01b03848116600483015282169063f2fde38b90602401600060405180830381600087803b158015610b8157600080fd5b505af1158015610b95573d6000803e3d6000fd5b50505050505050565b600060008051602061283d833981519152831480610bc957506000805160206127bd83398151915283145b80610be157506000805160206127dd83398151915283145b15610c0157610bfe60008051602061283d8339815191523361105e565b90505b600080516020612884833981519152831480610c2a57506000805160206127fd83398151915283145b15610c6857610c4760008051602061283d8339815191523361105e565b80610c655750610c656000805160206128848339815191523361105e565b90505b80610c85576040516282b42960e81b815260040160405180910390fd5b610c8f838361192d565b505050565b60008051602061283d833981519152610cac816116e4565b5060fe55565b6001600160a01b0381163314610d275760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b60648201526084015b60405180910390fd5b610d3182826119b3565b5050565b6001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000163003610d7d5760405162461bcd60e51b8152600401610d1e90612540565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316610dc660008051602061281d833981519152546001600160a01b031690565b6001600160a01b031614610dec5760405162461bcd60e51b8152600401610d1e9061258c565b610df581611a1a565b60408051600080825260208201909252610e1191839190611a32565b50565b6001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000163003610e5c5760405162461bcd60e51b8152600401610d1e90612540565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316610ea560008051602061281d833981519152546001600160a01b031690565b6001600160a01b031614610ecb5760405162461bcd60e51b8152600401610d1e9061258c565b610ed482611a1a565b610d3182826001611a32565b6000306001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001614610f805760405162461bcd60e51b815260206004820152603860248201527f555550535570677261646561626c653a206d757374206e6f742062652063616c60448201527f6c6564207468726f7567682064656c656761746563616c6c00000000000000006064820152608401610d1e565b5060008051602061281d83398151915290565b60008051602061283d833981519152610fab816116e4565b8163ffffffff16600003610fd25760405163a9cb9e0d60e01b815260040160405180910390fd5b5060fb805463ffffffff9092166101000264ffffffff0019909216919091179055565b6000805160206127fd83398151915261100d816116e4565b6040517f4e97bcfc80ae353daee1a1990d5b388eef167d3e197ebf5243cc4d43b4125c0990600090a1610e116000611764565b600080516020612884833981519152611058816116e4565b5060fc55565b60009182526065602090815260408084206001600160a01b0393909316845291905290205460ff1690565b6000805160206128848339815191526110a1816116e4565b5061010755565b6000805160206128848339815191526110c0816116e4565b610d3182611764565b60fb5460ff166110ec576040516343e5c67f60e11b815260040160405180910390fd5b60008181526101006020526040812060028101549091036111205760405163c19f17a960e01b815260040160405180910390fd5b60038101541561114357604051632bf773b360e11b815260040160405180910390fd5b60fd54816002015461115591906125ee565b43101561117557604051636fed7d8560e01b815260040160405180910390fd5b60fe54816001015460ff60009054906101000a90046001600160a01b03166001600160a01b03166318160ddd6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156111d0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111f49190612601565b6111fe91906125ee565b111561121d576040516395bfe45760e01b815260040160405180910390fd5b60008281526101016020526040902061123590611b9d565b6112428160010154611ce7565b60405182907f533f7dadbc941d74aaeaeccf2e8b5c0c607281e9050f147d7606feed36c4306c90600090a243600382015560ff54815460018301546040516340c10f1960e01b81526001600160a01b03600160401b9093048316600482015260248101919091529116906340c10f19906044015b600060405180830381600087803b1580156112d057600080fd5b505af11580156112e4573d6000803e3d6000fd5b505050505050565b60008051602061283d833981519152611304816116e4565b506101059190915561010655565b3360008181526101026020526040808220805490839055905190929083908381818185875af1925050503d8060008114611368576040519150601f19603f3d011682016040523d82523d6000602084013e61136d565b606091505b5050905080610d3157604051630db2c7f160e31b815260040160405180910390fd5b60fb5460ff166113b2576040516343e5c67f60e11b815260040160405180910390fd5b610107548210156113d6576040516322313ae960e01b815260040160405180910390fd5b604051828152819033907fdc2326ce9005f56c5df82c47c1219524e289753a3d5de92038d1e956bb565e419060200160405180910390a360ff54604051632770a7eb60e21b8152336004820152602481018490526001600160a01b0390911690639dc29fac906044016112b6565b600060008051602061283d83398151915283148061146f57506000805160206127fd83398151915283145b8061148757506000805160206127dd83398151915283145b156114a7576114a460008051602061283d8339815191523361105e565b90505b6000805160206128848339815191528314806114d057506000805160206127bd83398151915283145b1561150e576114ed60008051602061283d8339815191523361105e565b8061150b575061150b6000805160206128848339815191523361105e565b90505b8061152b576040516282b42960e81b815260040160405180910390fd5b610c8f83836119b3565b600054610100900460ff16158080156115555750600054600160ff909116105b8061156f5750303b15801561156f575060005460ff166001145b6115d25760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b6064820152608401610d1e565b6000805460ff1916600117905580156115f5576000805461ff0019166101001790555b6115fd611d70565b611605611d70565b60ff80546001600160a01b0319166001600160a01b038b1617905561010585905561010684905560fb805464ffffffff00191661010063ffffffff8b160217905560fc86905560fd87905560fe83905561010782905561167360008051602061283d8339815191523361192d565b80156116b9576000805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b505050505050505050565b6000828152610101602052604081206116dd9083611ddd565b9392505050565b610e118133611e40565b600084815261010060205260408120805467ffffffffffffffff86811691161461171c57600091505061175c565b80546001600160a01b03858116600160401b909204161461174157600091505061175c565b8281600101541461175657600091505061175c565b60019150505b949350505050565b80801561177a575060ff546001600160a01b0316155b156117985760405163c52a9bd360e01b815260040160405180910390fd5b60fb5460ff161515811515146117de5760405181151581527ff74fbb47e96130656a063aecd12cec7b7599ed09cfe357c4d850ae7f2cb19b5a9060200160405180910390a15b60fb805460ff191682151517905560ff546001600160a01b031615610e115760ff5460408051635c975abb60e01b815290516000926001600160a01b031691635c975abb9160048083019260209291908290030181865afa158015611847573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061186b919061261a565b90508180156118775750805b156118cc5760ff60009054906101000a90046001600160a01b03166001600160a01b0316633f4ba83a6040518163ffffffff1660e01b8152600401600060405180830381600087803b1580156112d057600080fd5b811580156118d8575080155b15610d315760ff60009054906101000a90046001600160a01b03166001600160a01b0316638456cb596040518163ffffffff1660e01b8152600401600060405180830381600087803b1580156112d057600080fd5b611937828261105e565b610d315760008281526065602090815260408083206001600160a01b03851684529091529020805460ff1916600117905561196f3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6119bd828261105e565b15610d315760008281526065602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b6000805160206127dd833981519152610d31816116e4565b7f4910fdfa16fed3260ed0e7147f7cc6da11a60208b5b9406d12a635614ffd91435460ff1615611a6557610c8f83611e99565b826001600160a01b03166352d1902d6040518163ffffffff1660e01b8152600401602060405180830381865afa925050508015611abf575060408051601f3d908101601f19168201909252611abc91810190612601565b60015b611b225760405162461bcd60e51b815260206004820152602e60248201527f45524331393637557067726164653a206e657720696d706c656d656e7461746960448201526d6f6e206973206e6f74205555505360901b6064820152608401610d1e565b60008051602061281d8339815191528114611b915760405162461bcd60e51b815260206004820152602960248201527f45524331393637557067726164653a20756e737570706f727465642070726f786044820152681a58589b195555525160ba1b6064820152608401610d1e565b50610c8f838383611f35565b60fc54341015611bc057604051631c0b171360e31b815260040160405180910390fd5b80546008600260036000611bd48286612637565b611bde84866125ee565b611be891906125ee565b90506000611bf6823461264e565b90506000611c048383612637565b611c0e9034612670565b905060005b878110156116b957846000829003611c3257611c2f88826125ee565b90505b60fb54611c4c90600190610100900463ffffffff16612683565b63ffffffff168203611c6557611c6287826125ee565b90505b6000611c718286612637565b905082600003611c8857611c8584826125ee565b90505b8061010260008d8681548110611ca057611ca06126a7565b60009182526020808320909101546001600160a01b0316835282019290925260400181208054909190611cd49084906125ee565b909155505060019092019150611c139050565b61010454600090611cf89043612670565b905060008161010560010154611d0e9190612637565b9050600081610103600001541115611d2d575061010354819003611d31565b5060005b611d3b84826125ee565b61010554909150811115611d62576040516307ef6f4d60e31b815260040160405180910390fd5b610103555050436101045550565b600054610100900460ff16611ddb5760405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201526a6e697469616c697a696e6760a81b6064820152608401610d1e565b565b8154600090815b81811015611e3557836001600160a01b0316858281548110611e0857611e086126a7565b6000918252602090912001546001600160a01b031603611e2d57600192505050610875565b600101611de4565b506000949350505050565b611e4a828261105e565b610d3157611e5781611f60565b611e62836020611f72565b604051602001611e739291906126e1565b60408051601f198184030181529082905262461bcd60e51b8252610d1e91600401612756565b6001600160a01b0381163b611f065760405162461bcd60e51b815260206004820152602d60248201527f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60448201526c1bdd08184818dbdb9d1c9858dd609a1b6064820152608401610d1e565b60008051602061281d83398151915280546001600160a01b0319166001600160a01b0392909216919091179055565b611f3e8361210e565b600082511180611f4b5750805b15610c8f57611f5a838361214e565b50505050565b60606108756001600160a01b03831660145b60606000611f81836002612637565b611f8c9060026125ee565b67ffffffffffffffff811115611fa457611fa461239e565b6040519080825280601f01601f191660200182016040528015611fce576020820181803683370190505b509050600360fc1b81600081518110611fe957611fe96126a7565b60200101906001600160f81b031916908160001a905350600f60fb1b81600181518110612018576120186126a7565b60200101906001600160f81b031916908160001a905350600061203c846002612637565b6120479060016125ee565b90505b60018111156120bf576f181899199a1a9b1b9c1cb0b131b232b360811b85600f166010811061207b5761207b6126a7565b1a60f81b828281518110612091576120916126a7565b60200101906001600160f81b031916908160001a90535060049490941c936120b881612789565b905061204a565b5083156116dd5760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152606401610d1e565b61211781611e99565b6040516001600160a01b038216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b60606001600160a01b0383163b6121b65760405162461bcd60e51b815260206004820152602660248201527f416464726573733a2064656c65676174652063616c6c20746f206e6f6e2d636f6044820152651b9d1c9858dd60d21b6064820152608401610d1e565b600080846001600160a01b0316846040516121d191906127a0565b600060405180830381855af49150503d806000811461220c576040519150601f19603f3d011682016040523d82523d6000602084013e612211565b606091505b5091509150612239828260405180606001604052806027815260200161285d60279139612242565b95945050505050565b606083156122515750816116dd565b6116dd83838151156122665781518083602001fd5b8060405162461bcd60e51b8152600401610d1e9190612756565b60006020828403121561229257600080fd5b5035919050565b6000602082840312156122ab57600080fd5b81356001600160e01b0319811681146116dd57600080fd5b600080604083850312156122d657600080fd5b50508035926020909101359150565b6001600160a01b0381168114610e1157600080fd5b6000806000806080858703121561231057600080fd5b84359350602085013567ffffffffffffffff8116811461232f57600080fd5b9250604085013591506060850135612346816122e5565b939692955090935050565b60006020828403121561236357600080fd5b81356116dd816122e5565b6000806040838503121561238157600080fd5b823591506020830135612393816122e5565b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b600080604083850312156123c757600080fd5b82356123d2816122e5565b9150602083013567ffffffffffffffff808211156123ef57600080fd5b818501915085601f83011261240357600080fd5b8135818111156124155761241561239e565b604051601f8201601f19908116603f0116810190838211818310171561243d5761243d61239e565b8160405282815288602084870101111561245657600080fd5b8260208601602083013760006020848301015280955050505050509250929050565b803563ffffffff8116811461248c57600080fd5b919050565b6000602082840312156124a357600080fd5b6116dd82612478565b8015158114610e1157600080fd5b6000602082840312156124cc57600080fd5b81356116dd816124ac565b600080600080600080600080610100898b0312156124f457600080fd5b88356124ff816122e5565b975061250d60208a01612478565b979a9799505050506040860135956060810135956080820135955060a0820135945060c0820135935060e0909101359150565b6020808252602c908201527f46756e6374696f6e206d7573742062652063616c6c6564207468726f7567682060408201526b19195b1959d85d1958d85b1b60a21b606082015260800190565b6020808252602c908201527f46756e6374696f6e206d7573742062652063616c6c6564207468726f7567682060408201526b6163746976652070726f787960a01b606082015260800190565b634e487b7160e01b600052601160045260246000fd5b80820180821115610875576108756125d8565b60006020828403121561261357600080fd5b5051919050565b60006020828403121561262c57600080fd5b81516116dd816124ac565b8082028115828204841417610875576108756125d8565b60008261266b57634e487b7160e01b600052601260045260246000fd5b500490565b81810381811115610875576108756125d8565b63ffffffff8281168282160390808211156126a0576126a06125d8565b5092915050565b634e487b7160e01b600052603260045260246000fd5b60005b838110156126d85781810151838201526020016126c0565b50506000910152565b7f416363657373436f6e74726f6c3a206163636f756e74200000000000000000008152600083516127198160178501602088016126bd565b7001034b99036b4b9b9b4b733903937b6329607d1b601791840191820152835161274a8160288401602088016126bd565b01602801949350505050565b60208152600082518060208401526127758160408501602087016126bd565b601f01601f19169190910160400192915050565b600081612798576127986125d8565b506000190190565b600082516127b28184602087016126bd565b919091019291505056fe077a1d526a4ce8a773632ab13b4fbbf1fcc954c3dab26cd27ea0e2a6750da5d7189ab7a9244df0848122154315af71fe140f3db0fe014031783b0946b8c9d2e32125d1e225cadc5c8296e2cc1f96ee607770bf4a4a16131e62f6819937437c89360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc7613a25ecc738585a232ad50a301178f12b3ba8887d13e138b523c4269c47689416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564a49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c21775a26469706673582212202896391e1337e3e492af02727a049b7625d78cf19401664379e9027b5441604264736f6c63430008120033", + "nonce": "0x52", + "accessList": [] + }, + "additionalContracts": [], + "isFixedGasLimit": false + }, + { + "hash": "0x42caf843474b1602d7e1f5548595f527b9088c8913e129f4096dbd0dddc49495", + "transactionType": "CALL", + "contractName": "ERC1967Proxy", + "contractAddress": "0xC8af0C3E0e4FC787D9e657b2A68ce6ED9cedB5DA", + "function": null, + "arguments": null, + "transaction": { + "type": "0x02", + "from": "0x7638462f3a5f2cdb49609bf4947ae396f9088949", + "to": "0xc8af0c3e0e4fc787d9e657b2a68ce6ed9cedb5da", + "gas": "0xd4ed", + "value": "0x0", + "data": "0x3659cfe60000000000000000000000006ba58104312334ff71c4e4d6d34a1fd6cf02fc1d", + "nonce": "0x53", + "accessList": [] + }, + "additionalContracts": [], + "isFixedGasLimit": false + }, + { + "hash": "0xfbe541d8d2b6897159b54ad07e8b3a02624fe4f38f405326ff6b2c9a6252d82e", + "transactionType": "CALL", + "contractName": "ERC1967Proxy", + "contractAddress": "0x7E1E09c0B41b22EB1fA04145cdf21cea01560c99", + "function": null, + "arguments": null, + "transaction": { + "type": "0x02", + "from": "0x7638462f3a5f2cdb49609bf4947ae396f9088949", + "to": "0x7e1e09c0b41b22eb1fa04145cdf21cea01560c99", + "gas": "0xd4ed", + "value": "0x0", + "data": "0x3659cfe60000000000000000000000006ba58104312334ff71c4e4d6d34a1fd6cf02fc1d", + "nonce": "0x54", + "accessList": [] + }, + "additionalContracts": [], + "isFixedGasLimit": false + } + ], + "receipts": [ + { + "transactionHash": "0x6cad82c4eabf884c899165b8b4c2649f5d823fb5760195139472b8b5fab503de", + "transactionIndex": "0x9", + "blockHash": "0xa752adc3eda02916f9ab3fc18b7eb6acb6bd62d140d6636b0d11977091cdb68c", + "blockNumber": "0x3ca07c", + "from": "0x7638462F3a5F2cDb49609bF4947ae396f9088949", + "to": null, + "cumulativeGasUsed": "0x844fda", + "gasUsed": "0x23a97f", + "contractAddress": "0x6BA58104312334ff71c4e4D6D34A1FD6cf02FC1d", + "logs": [ + { + "address": "0x6BA58104312334ff71c4e4D6D34A1FD6cf02FC1d", + "topics": [ + "0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498" + ], + "data": "0x00000000000000000000000000000000000000000000000000000000000000ff", + "blockHash": "0xa752adc3eda02916f9ab3fc18b7eb6acb6bd62d140d6636b0d11977091cdb68c", + "blockNumber": "0x3ca07c", + "transactionHash": "0x6cad82c4eabf884c899165b8b4c2649f5d823fb5760195139472b8b5fab503de", + "transactionIndex": "0x9", + "logIndex": "0x1b", + "removed": false + } + ], + "status": "0x1", + "logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000040000000000000001000000004000000000000000000000000000000000000000000000000000000000000000000000000000", + "type": "0x2", + "effectiveGasPrice": "0xb2d05e1e" + }, + { + "transactionHash": "0x42caf843474b1602d7e1f5548595f527b9088c8913e129f4096dbd0dddc49495", + "transactionIndex": "0xa", + "blockHash": "0xa752adc3eda02916f9ab3fc18b7eb6acb6bd62d140d6636b0d11977091cdb68c", + "blockNumber": "0x3ca07c", + "from": "0x7638462F3a5F2cDb49609bF4947ae396f9088949", + "to": "0xC8af0C3E0e4FC787D9e657b2A68ce6ED9cedB5DA", + "cumulativeGasUsed": "0x84ea02", + "gasUsed": "0x9a28", + "contractAddress": null, + "logs": [ + { + "address": "0xC8af0C3E0e4FC787D9e657b2A68ce6ED9cedB5DA", + "topics": [ + "0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b", + "0x0000000000000000000000006ba58104312334ff71c4e4d6d34a1fd6cf02fc1d" + ], + "data": "0x", + "blockHash": "0xa752adc3eda02916f9ab3fc18b7eb6acb6bd62d140d6636b0d11977091cdb68c", + "blockNumber": "0x3ca07c", + "transactionHash": "0x42caf843474b1602d7e1f5548595f527b9088c8913e129f4096dbd0dddc49495", + "transactionIndex": "0xa", + "logIndex": "0x1c", + "removed": false + } + ], + "status": "0x1", + "logsBloom": "0x00000000000000000010000000000000400000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000004000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000", + "type": "0x2", + "effectiveGasPrice": "0xb2d05e1e" + }, + { + "transactionHash": "0xfbe541d8d2b6897159b54ad07e8b3a02624fe4f38f405326ff6b2c9a6252d82e", + "transactionIndex": "0xb", + "blockHash": "0xa752adc3eda02916f9ab3fc18b7eb6acb6bd62d140d6636b0d11977091cdb68c", + "blockNumber": "0x3ca07c", + "from": "0x7638462F3a5F2cDb49609bF4947ae396f9088949", + "to": "0x7E1E09c0B41b22EB1fA04145cdf21cea01560c99", + "cumulativeGasUsed": "0x85842a", + "gasUsed": "0x9a28", + "contractAddress": null, + "logs": [ + { + "address": "0x7E1E09c0B41b22EB1fA04145cdf21cea01560c99", + "topics": [ + "0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b", + "0x0000000000000000000000006ba58104312334ff71c4e4d6d34a1fd6cf02fc1d" + ], + "data": "0x", + "blockHash": "0xa752adc3eda02916f9ab3fc18b7eb6acb6bd62d140d6636b0d11977091cdb68c", + "blockNumber": "0x3ca07c", + "transactionHash": "0xfbe541d8d2b6897159b54ad07e8b3a02624fe4f38f405326ff6b2c9a6252d82e", + "transactionIndex": "0xb", + "logIndex": "0x1d", + "removed": false + } + ], + "status": "0x1", + "logsBloom": "0x00000000000000000000000000000000400000000000000000000000400000000000002000000000000000000000080000000010000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000", + "type": "0x2", + "effectiveGasPrice": "0xb2d05e1e" + } + ], + "libraries": [], + "pending": [], + "returns": {}, + "timestamp": 1690447016, + "chain": 11155111, + "multi": false, + "commit": "e42a9b08d9" +} \ No newline at end of file diff --git a/eth-bridge/contracts/script/Upgrade.s.sol b/eth-bridge/contracts/script/Upgrade.s.sol index 520319e23..61cf72456 100644 --- a/eth-bridge/contracts/script/Upgrade.s.sol +++ b/eth-bridge/contracts/script/Upgrade.s.sol @@ -4,7 +4,7 @@ pragma solidity ^0.8.18; import "forge-std/Script.sol"; import "../src/Bridge.sol"; -contract Deploy is Script { +contract Upgrade is Script { function run() external { vm.startBroadcast(); Bridge lldProxy = Bridge(vm.envAddress("LLDProxy"));