| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106 |
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });
- exports.executeOpportunityAbi = void 0;
- exports.executeOpportunityAbi = {
- type: "function",
- name: "executeOpportunity",
- inputs: [
- {
- name: "params",
- type: "tuple",
- internalType: "struct ExecutionParams",
- components: [
- {
- name: "permit",
- type: "tuple",
- internalType: "struct ISignatureTransfer.PermitBatchTransferFrom",
- components: [
- {
- name: "permitted",
- type: "tuple[]",
- internalType: "struct ISignatureTransfer.TokenPermissions[]",
- components: [
- {
- name: "token",
- type: "address",
- internalType: "address",
- },
- {
- name: "amount",
- type: "uint256",
- internalType: "uint256",
- },
- ],
- },
- {
- name: "nonce",
- type: "uint256",
- internalType: "uint256",
- },
- {
- name: "deadline",
- type: "uint256",
- internalType: "uint256",
- },
- ],
- },
- {
- name: "witness",
- type: "tuple",
- internalType: "struct ExecutionWitness",
- components: [
- {
- name: "buyTokens",
- type: "tuple[]",
- internalType: "struct TokenAmount[]",
- components: [
- {
- name: "token",
- type: "address",
- internalType: "address",
- },
- {
- name: "amount",
- type: "uint256",
- internalType: "uint256",
- },
- ],
- },
- {
- name: "executor",
- type: "address",
- internalType: "address",
- },
- {
- name: "targetContract",
- type: "address",
- internalType: "address",
- },
- {
- name: "targetCalldata",
- type: "bytes",
- internalType: "bytes",
- },
- {
- name: "targetCallValue",
- type: "uint256",
- internalType: "uint256",
- },
- {
- name: "bidAmount",
- type: "uint256",
- internalType: "uint256",
- },
- ],
- },
- ],
- },
- {
- name: "signature",
- type: "bytes",
- internalType: "bytes",
- },
- ],
- outputs: [],
- stateMutability: "payable",
- };
|