Variable positionMigratorAbiConst
positionMigratorAbi: readonly [{
type: "constructor";
inputs: readonly [{
name: "_name";
type: "string";
internalType: "string";
}];
stateMutability: "nonpayable";
}, {
type: "function";
name: "DOMAIN_SEPARATOR";
inputs: readonly [];
outputs: readonly [{
name: "";
type: "bytes32";
internalType: "bytes32";
}];
stateMutability: "view";
}, {
type: "function";
name: "INITIAL_DOMAIN_SEPARATOR";
inputs: readonly [];
outputs: readonly [{
name: "";
type: "bytes32";
internalType: "bytes32";
}];
stateMutability: "view";
}, {
type: "function";
name: "VERSION";
inputs: readonly [];
outputs: readonly [{
name: "";
type: "bytes";
internalType: "bytes";
}];
stateMutability: "view";
}, {
type: "function";
name: "executeOperation";
inputs: readonly [{
name: "assets";
type: "address[]";
internalType: "address[]";
}, {
name: "amounts";
type: "uint256[]";
internalType: "uint256[]";
}, {
name: "premiums";
type: "uint256[]";
internalType: "uint256[]";
}, {
name: "";
type: "address";
internalType: "address";
}, {
name: "params";
type: "bytes";
internalType: "bytes";
}];
outputs: readonly [{
name: "";
type: "bool";
internalType: "bool";
}];
stateMutability: "nonpayable";
}, {
type: "function";
name: "name";
inputs: readonly [];
outputs: readonly [{
name: "";
type: "string";
internalType: "string";
}];
stateMutability: "view";
}, {
type: "function";
name: "smartMigrate";
inputs: readonly [{
name: "args";
type: "tuple";
internalType: "struct IFlashLoanRenegotiation.SmartMigrationArgs";
components: readonly [{
name: "migrationArgs";
type: "tuple";
internalType: "struct IFlashLoanRenegotiation.PositionMigrationArgs";
components: readonly [{
name: "close";
type: "tuple";
internalType: "struct IFlashLoanRenegotiation.Position";
components: readonly [{
name: "contractAddress";
type: "address";
internalType: "address";
}, {
name: "callData";
type: "bytes";
internalType: "bytes";
}, {
name: "value";
type: "uint256";
internalType: "uint256";
}];
}, {
name: "open";
type: "tuple";
internalType: "struct IFlashLoanRenegotiation.Position";
components: readonly [{
name: "contractAddress";
type: "address";
internalType: "address";
}, {
name: "callData";
type: "bytes";
internalType: "bytes";
}, {
name: "value";
type: "uint256";
internalType: "uint256";
}];
}, {
name: "borrowArgs";
type: "tuple";
internalType: "struct IFlashLoanRenegotiation.AaveBorrowArgs";
components: readonly [{
name: "pool";
type: "address";
internalType: "contract IPool";
}, {
name: "recipient";
type: "address";
internalType: "address";
}, {
name: "assets";
type: "address[]";
internalType: "address[]";
}, {
name: "amounts";
type: "uint256[]";
internalType: "uint256[]";
}];
}, {
name: "migrator";
type: "address";
internalType: "address";
}];
}, {
name: "migratorSignature";
type: "bytes";
internalType: "bytes";
}];
}];
outputs: readonly [];
stateMutability: "payable";
}, {
type: "event";
name: "SmartMigration";
inputs: readonly [{
name: "closeContract";
type: "address";
indexed: false;
internalType: "address";
}, {
name: "openContract";
type: "address";
indexed: false;
internalType: "address";
}];
anonymous: false;
}, {
type: "error";
name: "ECDSAInvalidSignature";
inputs: readonly [];
}, {
type: "error";
name: "ECDSAInvalidSignatureLength";
inputs: readonly [{
name: "length";
type: "uint256";
internalType: "uint256";
}];
}, {
type: "error";
name: "ECDSAInvalidSignatureS";
inputs: readonly [{
name: "s";
type: "bytes32";
internalType: "bytes32";
}];
}, {
type: "error";
name: "InvalidSignatureError";
inputs: readonly [];
}, {
type: "error";
name: "TargetContractCallFailed";
inputs: readonly [];
}] = ...