|
|
@@ -66,9 +66,8 @@ export const OPPORTUNITY_ADAPTER_CONFIGS: Record<
|
|
|
> = {
|
|
|
op_sepolia: {
|
|
|
chain_id: 11155420,
|
|
|
- opportunity_adapter_factory: "0xfA119693864b2F185742A409c66f04865c787754",
|
|
|
- opportunity_adapter_init_bytecode_hash:
|
|
|
- "0x3d71516d94b96a8fdca4e3a5825a6b41c9268a8e94610367e69a8462cc543533",
|
|
|
+ opportunity_adapter_factory: "TBD",
|
|
|
+ opportunity_adapter_init_bytecode_hash: "TBD",
|
|
|
permit2: "0x000000000022D473030F116dDEE9F6B43aC78BA3",
|
|
|
weth: "0x74A4A85C611679B73F402B36c0F84A7D2CcdFDa3",
|
|
|
},
|
|
|
@@ -360,10 +359,10 @@ export class Client {
|
|
|
],
|
|
|
OpportunityWitness: [
|
|
|
{ name: "buyTokens", type: "TokenAmount[]" },
|
|
|
- { name: "executor", type: "address" },
|
|
|
- { name: "targetContract", type: "address" },
|
|
|
{ name: "targetCalldata", type: "bytes" },
|
|
|
{ name: "targetCallValue", type: "uint256" },
|
|
|
+ { name: "targetContract", type: "address" },
|
|
|
+ { name: "executor", type: "address" },
|
|
|
{ name: "bidAmount", type: "uint256" },
|
|
|
],
|
|
|
TokenAmount: [
|
|
|
@@ -408,10 +407,10 @@ export class Client {
|
|
|
deadline: bidParams.deadline,
|
|
|
witness: {
|
|
|
buyTokens: opportunity.buyTokens,
|
|
|
- executor: account.address,
|
|
|
- targetContract: opportunity.targetContract,
|
|
|
targetCalldata: opportunity.targetCalldata,
|
|
|
targetCallValue: opportunity.targetCallValue,
|
|
|
+ targetContract: opportunity.targetContract,
|
|
|
+ executor: account.address,
|
|
|
bidAmount: bidParams.amount,
|
|
|
},
|
|
|
},
|