Skip to content

Commit

Permalink
Deploy Umbra batch send contracts
Browse files Browse the repository at this point in the history
  • Loading branch information
apbendi committed Feb 19, 2024
1 parent a21dd9a commit f8c60be
Show file tree
Hide file tree
Showing 6 changed files with 137 additions and 2 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ env:
ARBITRUM_ONE_RPC_URL: ${{ secrets.ARBITRUM_ONE_RPC_URL }}
SEPOLIA_RPC_URL: ${{ secrets.SEPOLIA_RPC_URL }}
GNOSIS_CHAIN_RPC_URL: ${{ secrets.GNOSIS_CHAIN_RPC_URL }}
BASE_RPC_URL: $${{ secrets.BASE_RPC_URL }}
FOUNDRY_PROFILE: ci
INFURA_ID: ${{ secrets.INFURA_ID }}
WALLET_CONNECT_PROJECT_ID: ${{ secrets.WALLET_CONNECT_PROJECT_ID }}
Expand Down
3 changes: 2 additions & 1 deletion contracts-periphery/.env.example
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@ OPTIMISM_RPC_URL=
ARBITRUM_ONE_RPC_URL=
GNOSIS_CHAIN_RPC_URL=
SEPOLIA_RPC_URL=
PRIVATE_KEY=yourPrivateKeyHere
BASE_RPC_URL=
PRIVATE_KEY=yourPrivateKeyHere
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
{
"transactions": [
{
"hash": "0xa7dda2eef662ce6ee3d86943da757508290a3a876bab7955a129e732444115ac",
"transactionType": "CREATE",
"contractName": "UmbraBatchSend",
"contractAddress": "0xDbD0f5EBAdA6632Dde7d47713ea200a7C2ff91EB",
"function": null,
"arguments": [
"0xFb2dc580Eed955B528407b4d36FfaFe3da685401"
],
"transaction": {
"type": "0x02",
"from": "0xb7ee870e2c49b2deee70003519cf056247aac3d4",
"gas": "0x13fbf1",
"value": "0x0",
"data": "0x60a060405234801561001057600080fd5b506040516111e03803806111e083398101604081905261002f91610099565b61003833610049565b6001600160a01b03166080526100c9565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000602082840312156100ab57600080fd5b81516001600160a01b03811681146100c257600080fd5b9392505050565b6080516110e86100f860003960008181607c01528181610349015281816104a601526106c501526110e86000f3fe6080604052600436106100655760003560e01c806380b2edd81161004357806380b2edd8146100f15780638da5cb5b14610111578063f2fde38b1461013c57600080fd5b80632a8fbd3d1461006a578063715018a6146100c75780637d703ead146100de575b600080fd5b34801561007657600080fd5b5061009e7f000000000000000000000000000000000000000000000000000000000000000081565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200160405180910390f35b3480156100d357600080fd5b506100dc61015c565b005b6100dc6100ec366004610e97565b610170565b3480156100fd57600080fd5b506100dc61010c366004610f38565b6106a1565b34801561011d57600080fd5b5060005473ffffffffffffffffffffffffffffffffffffffff1661009e565b34801561014857600080fd5b506100dc610157366004610f38565b61070d565b6101646107c6565b61016e6000610847565b565b47816000805b828210156102e25760008173ffffffffffffffffffffffffffffffffffffffff168787858181106101a9576101a9610f5c565b905060a0020160200160208101906101c19190610f38565b73ffffffffffffffffffffffffffffffffffffffff16101561020f576040517fba50f91100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b86868481811061022157610221610f5c565b905060a0020160200160208101906102399190610f38565b91505b86868481811061024e5761024e610f5c565b905060a0020160400135816102639190610fba565b905060018301925083831080156102ce57508173ffffffffffffffffffffffffffffffffffffffff1687878581811061029e5761029e610f5c565b905060a0020160200160208101906102b69190610f38565b73ffffffffffffffffffffffffffffffffffffffff16145b61023c576102dc82826108bc565b50610176565b60005b8381101561062a5773eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee87878381811061031457610314610f5c565b905060a00201602001602081019061032c9190610f38565b73ffffffffffffffffffffffffffffffffffffffff16036104a4577f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663beb9addf8989898581811061039657610396610f5c565b905060a00201604001356103aa9190610fba565b8989858181106103bc576103bc610f5c565b6103d292602060a0909202019081019150610f38565b8b8b8b878181106103e5576103e5610f5c565b905060a00201606001358c8c8881811061040157610401610f5c565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e08a901b16815273ffffffffffffffffffffffffffffffffffffffff90961660048701526024860194909452506044840191909152608060a090920201013560648201526084016000604051808303818588803b15801561048657600080fd5b505af115801561049a573d6000803e3d6000fd5b5050505050610622565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663b9bfabe1898989858181106104f3576104f3610f5c565b61050992602060a0909202019081019150610f38565b8a8a8681811061051b5761051b610f5c565b905060a0020160200160208101906105339190610f38565b8b8b8781811061054557610545610f5c565b905060a00201604001358c8c8881811061056157610561610f5c565b905060a00201606001358d8d8981811061057d5761057d610f5c565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e08b901b16815273ffffffffffffffffffffffffffffffffffffffff97881660048201529690951660248701525060448501929092526064840152608060a0909202010135608482015260a4016000604051808303818588803b15801561060857600080fd5b505af115801561061c573d6000803e3d6000fd5b50505050505b6001016102e5565b506106353485610fd3565b471461066d576040517f8e96d31f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60405133907f5b4aa4fdb7b6e3ce88c3ccbf2e2c1d9a01b28e4234e107b644111c59de8b7cbe90600090a250505050505050565b6106a96107c6565b61070a73ffffffffffffffffffffffffffffffffffffffff82167f00000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff610913565b50565b6107156107c6565b73ffffffffffffffffffffffffffffffffffffffff81166107bd576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b61070a81610847565b60005473ffffffffffffffffffffffffffffffffffffffff16331461016e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016107b4565b6000805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b73ffffffffffffffffffffffffffffffffffffffff821673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee1461090f5761090f73ffffffffffffffffffffffffffffffffffffffff8316333084610b18565b5050565b8015806109b357506040517fdd62ed3e00000000000000000000000000000000000000000000000000000000815230600482015273ffffffffffffffffffffffffffffffffffffffff838116602483015284169063dd62ed3e90604401602060405180830381865afa15801561098d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109b19190610fe6565b155b610a3f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603660248201527f5361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f60448201527f20746f206e6f6e2d7a65726f20616c6c6f77616e63650000000000000000000060648201526084016107b4565b60405173ffffffffffffffffffffffffffffffffffffffff8316602482015260448101829052610b139084907f095ea7b300000000000000000000000000000000000000000000000000000000906064015b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff0000000000000000000000000000000000000000000000000000000090931692909217909152610b7c565b505050565b60405173ffffffffffffffffffffffffffffffffffffffff80851660248301528316604482015260648101829052610b769085907f23b872dd0000000000000000000000000000000000000000000000000000000090608401610a91565b50505050565b6000610bde826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff16610c889092919063ffffffff16565b805190915015610b135780806020019051810190610bfc9190610fff565b610b13576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e60448201527f6f7420737563636565640000000000000000000000000000000000000000000060648201526084016107b4565b6060610c978484600085610c9f565b949350505050565b606082471015610d31576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f60448201527f722063616c6c000000000000000000000000000000000000000000000000000060648201526084016107b4565b6000808673ffffffffffffffffffffffffffffffffffffffff168587604051610d5a9190611045565b60006040518083038185875af1925050503d8060008114610d97576040519150601f19603f3d011682016040523d82523d6000602084013e610d9c565b606091505b5091509150610dad87838387610db8565b979650505050505050565b60608315610e4e578251600003610e475773ffffffffffffffffffffffffffffffffffffffff85163b610e47576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064016107b4565b5081610c97565b610c978383815115610e635781518083602001fd5b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107b49190611061565b600080600060408486031215610eac57600080fd5b83359250602084013567ffffffffffffffff80821115610ecb57600080fd5b818601915086601f830112610edf57600080fd5b813581811115610eee57600080fd5b87602060a083028501011115610f0357600080fd5b6020830194508093505050509250925092565b73ffffffffffffffffffffffffffffffffffffffff8116811461070a57600080fd5b600060208284031215610f4a57600080fd5b8135610f5581610f16565b9392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b80820180821115610fcd57610fcd610f8b565b92915050565b81810381811115610fcd57610fcd610f8b565b600060208284031215610ff857600080fd5b5051919050565b60006020828403121561101157600080fd5b81518015158114610f5557600080fd5b60005b8381101561103c578181015183820152602001611024565b50506000910152565b60008251611057818460208701611021565b9190910192915050565b6020815260008251806020840152611080816040850160208701611021565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016919091016040019291505056fea26469706673582212202ef655e9c132415d3cd7dd9222cdfa24e8601cebb8dd4e8c99e4c63ce1e1886364736f6c63430008100033000000000000000000000000fb2dc580eed955b528407b4d36ffafe3da685401",
"nonce": "0x0",
"accessList": []
},
"additionalContracts": [],
"isFixedGasLimit": false
}
],
"receipts": [
{
"transactionHash": "0xa7dda2eef662ce6ee3d86943da757508290a3a876bab7955a129e732444115ac",
"transactionIndex": "0x1",
"blockHash": "0x0f6ef68f80645b0ec9f29fc66c22e899b2b0169a27c8183ced0d0982e4cc37e3",
"blockNumber": "0xa43a8a",
"from": "0xB7EE870E2c49B2DEEe70003519cF056247Aac3D4",
"to": null,
"cumulativeGasUsed": "0x1025bc",
"gasUsed": "0xf6077",
"contractAddress": "0xDbD0f5EBAdA6632Dde7d47713ea200a7C2ff91EB",
"logs": [
{
"address": "0xDbD0f5EBAdA6632Dde7d47713ea200a7C2ff91EB",
"topics": [
"0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0",
"0x0000000000000000000000000000000000000000000000000000000000000000",
"0x000000000000000000000000b7ee870e2c49b2deee70003519cf056247aac3d4"
],
"data": "0x",
"blockHash": "0x0f6ef68f80645b0ec9f29fc66c22e899b2b0169a27c8183ced0d0982e4cc37e3",
"blockNumber": "0xa43a8a",
"transactionHash": "0xa7dda2eef662ce6ee3d86943da757508290a3a876bab7955a129e732444115ac",
"transactionIndex": "0x1",
"logIndex": "0x0",
"removed": false
}
],
"status": "0x1",
"logsBloom": "0x00000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000041000000000000000000000000000000000000020000000000000000000800000800000000000000000000000000400001000004000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000008000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000",
"type": "0x2",
"effectiveGasPrice": "0xb2d05f2b"
}
],
"libraries": [],
"pending": [],
"returns": {},
"timestamp": 1708315130,
"chain": 8453,
"multi": false,
"commit": "a21dd9a"
}
Loading

0 comments on commit f8c60be

Please sign in to comment.