Variable boostCoreAbiConst
boostCoreAbi: readonly [{
type: "constructor";
inputs: readonly [{
name: "registry_";
internalType: "contract BoostRegistry";
type: "address";
}, {
name: "protocolFeeReceiver_";
internalType: "address";
type: "address";
}];
stateMutability: "nonpayable";
}, {
type: "error";
inputs: readonly [];
name: "AlreadyInitialized";
}, {
type: "error";
inputs: readonly [{
name: "caller";
internalType: "address";
type: "address";
}, {
name: "data";
internalType: "bytes";
type: "bytes";
}];
name: "ClaimFailed";
}, {
type: "error";
inputs: readonly [{
name: "caller";
internalType: "address";
type: "address";
}, {
name: "data";
internalType: "bytes";
type: "bytes";
}];
name: "ClawbackFailed";
}, {
type: "error";
inputs: readonly [];
name: "InvalidInitialization";
}, {
type: "error";
inputs: readonly [{
name: "expectedInterface";
internalType: "bytes4";
type: "bytes4";
}, {
name: "instance";
internalType: "address";
type: "address";
}];
name: "InvalidInstance";
}, {
type: "error";
inputs: readonly [];
name: "NewOwnerIsZeroAddress";
}, {
type: "error";
inputs: readonly [];
name: "NoHandoverRequest";
}, {
type: "error";
inputs: readonly [];
name: "NotImplemented";
}, {
type: "error";
inputs: readonly [];
name: "Reentrancy";
}, {
type: "error";
inputs: readonly [];
name: "Unauthorized";
}, {
type: "error";
inputs: readonly [];
name: "Unauthorized";
}, {
type: "event";
anonymous: false;
inputs: readonly [{
name: "boostId";
internalType: "uint256";
type: "uint256";
indexed: true;
}, {
name: "incentiveId";
internalType: "uint256";
type: "uint256";
indexed: true;
}, {
name: "claimant";
internalType: "address";
type: "address";
indexed: true;
}, {
name: "referrer";
internalType: "address";
type: "address";
indexed: false;
}, {
name: "data";
internalType: "bytes";
type: "bytes";
indexed: false;
}];
name: "BoostClaimed";
}, {
type: "event";
anonymous: false;
inputs: readonly [{
name: "boostId";
internalType: "uint256";
type: "uint256";
indexed: true;
}, {
name: "owner";
internalType: "address";
type: "address";
indexed: true;
}, {
name: "action";
internalType: "address";
type: "address";
indexed: true;
}, {
name: "incentiveCount";
internalType: "uint256";
type: "uint256";
indexed: false;
}, {
name: "validator";
internalType: "address";
type: "address";
indexed: false;
}, {
name: "allowList";
internalType: "address";
type: "address";
indexed: false;
}, {
name: "budget";
internalType: "address";
type: "address";
indexed: false;
}];
name: "BoostCreated";
}, {
type: "event";
anonymous: false;
inputs: readonly [{
name: "pendingOwner";
internalType: "address";
type: "address";
indexed: true;
}];
name: "OwnershipHandoverCanceled";
}, {
type: "event";
anonymous: false;
inputs: readonly [{
name: "pendingOwner";
internalType: "address";
type: "address";
indexed: true;
}];
name: "OwnershipHandoverRequested";
}, {
type: "event";
anonymous: false;
inputs: readonly [{
name: "oldOwner";
internalType: "address";
type: "address";
indexed: true;
}, {
name: "newOwner";
internalType: "address";
type: "address";
indexed: true;
}];
name: "OwnershipTransferred";
}, {
type: "event";
anonymous: false;
inputs: readonly [{
name: "boostId";
internalType: "uint256";
type: "uint256";
indexed: true;
}, {
name: "incentiveId";
internalType: "uint256";
type: "uint256";
indexed: true;
}, {
name: "amount";
internalType: "uint256";
type: "uint256";
indexed: false;
}, {
name: "recipient";
internalType: "address";
type: "address";
indexed: true;
}];
name: "ProtocolFeesCollected";
}, {
type: "function";
inputs: readonly [];
name: "FEE_DENOMINATOR";
outputs: readonly [{
name: "";
internalType: "uint64";
type: "uint64";
}];
stateMutability: "view";
}, {
type: "function";
inputs: readonly [];
name: "cancelOwnershipHandover";
outputs: readonly [];
stateMutability: "payable";
}, {
type: "function";
inputs: readonly [{
name: "boostId_";
internalType: "uint256";
type: "uint256";
}, {
name: "incentiveId_";
internalType: "uint256";
type: "uint256";
}, {
name: "referrer_";
internalType: "address";
type: "address";
}, {
name: "data_";
internalType: "bytes";
type: "bytes";
}];
name: "claimIncentive";
outputs: readonly [];
stateMutability: "payable";
}, {
type: "function";
inputs: readonly [{
name: "boostId_";
internalType: "uint256";
type: "uint256";
}, {
name: "incentiveId_";
internalType: "uint256";
type: "uint256";
}, {
name: "referrer_";
internalType: "address";
type: "address";
}, {
name: "data_";
internalType: "bytes";
type: "bytes";
}, {
name: "claimant";
internalType: "address";
type: "address";
}];
name: "claimIncentiveFor";
outputs: readonly [];
stateMutability: "payable";
}, {
type: "function";
inputs: readonly [{
name: "data_";
internalType: "bytes";
type: "bytes";
}, {
name: "boostId";
internalType: "uint256";
type: "uint256";
}, {
name: "incentiveId";
internalType: "uint256";
type: "uint256";
}];
name: "clawback";
outputs: readonly [{
name: "";
internalType: "uint256";
type: "uint256";
}, {
name: "";
internalType: "address";
type: "address";
}];
stateMutability: "nonpayable";
}, {
type: "function";
inputs: readonly [{
name: "pendingOwner";
internalType: "address";
type: "address";
}];
name: "completeOwnershipHandover";
outputs: readonly [];
stateMutability: "payable";
}, {
type: "function";
inputs: readonly [{
name: "data_";
internalType: "bytes";
type: "bytes";
}];
name: "createBoost";
outputs: readonly [{
name: "";
internalType: "struct BoostLib.Boost";
type: "tuple";
components: readonly [{
name: "action";
internalType: "contract AAction";
type: "address";
}, {
name: "validator";
internalType: "contract AValidator";
type: "address";
}, {
name: "allowList";
internalType: "contract AAllowList";
type: "address";
}, {
name: "budget";
internalType: "contract ABudget";
type: "address";
}, {
name: "incentives";
internalType: "contract AIncentive[]";
type: "address[]";
}, {
name: "protocolFee";
internalType: "uint64";
type: "uint64";
}, {
name: "maxParticipants";
internalType: "uint256";
type: "uint256";
}, {
name: "owner";
internalType: "address";
type: "address";
}];
}];
stateMutability: "nonpayable";
}, {
type: "function";
inputs: readonly [];
name: "createBoostAuth";
outputs: readonly [{
name: "";
internalType: "contract IAuth";
type: "address";
}];
stateMutability: "view";
}, {
type: "function";
inputs: readonly [{
name: "index";
internalType: "uint256";
type: "uint256";
}];
name: "getBoost";
outputs: readonly [{
name: "";
internalType: "struct BoostLib.Boost";
type: "tuple";
components: readonly [{
name: "action";
internalType: "contract AAction";
type: "address";
}, {
name: "validator";
internalType: "contract AValidator";
type: "address";
}, {
name: "allowList";
internalType: "contract AAllowList";
type: "address";
}, {
name: "budget";
internalType: "contract ABudget";
type: "address";
}, {
name: "incentives";
internalType: "contract AIncentive[]";
type: "address[]";
}, {
name: "protocolFee";
internalType: "uint64";
type: "uint64";
}, {
name: "maxParticipants";
internalType: "uint256";
type: "uint256";
}, {
name: "owner";
internalType: "address";
type: "address";
}];
}];
stateMutability: "view";
}, {
type: "function";
inputs: readonly [];
name: "getBoostCount";
outputs: readonly [{
name: "";
internalType: "uint256";
type: "uint256";
}];
stateMutability: "view";
}, {
type: "function";
inputs: readonly [{
name: "key";
internalType: "bytes32";
type: "bytes32";
}];
name: "getIncentive";
outputs: readonly [{
name: "";
internalType: "struct BoostCore.IncentiveDisbursalInfo";
type: "tuple";
components: readonly [{
name: "assetType";
internalType: "enum ABudget.AssetType";
type: "uint8";
}, {
name: "asset";
internalType: "address";
type: "address";
}, {
name: "protocolFeesRemaining";
internalType: "uint256";
type: "uint256";
}, {
name: "protocolFee";
internalType: "uint256";
type: "uint256";
}, {
name: "tokenId";
internalType: "uint256";
type: "uint256";
}];
}];
stateMutability: "view";
}, {
type: "function";
inputs: readonly [{
name: "";
internalType: "bytes32";
type: "bytes32";
}];
name: "incentives";
outputs: readonly [{
name: "assetType";
internalType: "enum ABudget.AssetType";
type: "uint8";
}, {
name: "asset";
internalType: "address";
type: "address";
}, {
name: "protocolFeesRemaining";
internalType: "uint256";
type: "uint256";
}, {
name: "protocolFee";
internalType: "uint256";
type: "uint256";
}, {
name: "tokenId";
internalType: "uint256";
type: "uint256";
}];
stateMutability: "view";
}, {
type: "function";
inputs: readonly [];
name: "owner";
outputs: readonly [{
name: "result";
internalType: "address";
type: "address";
}];
stateMutability: "view";
}, {
type: "function";
inputs: readonly [{
name: "pendingOwner";
internalType: "address";
type: "address";
}];
name: "ownershipHandoverExpiresAt";
outputs: readonly [{
name: "result";
internalType: "uint256";
type: "uint256";
}];
stateMutability: "view";
}, {
type: "function";
inputs: readonly [];
name: "protocolFee";
outputs: readonly [{
name: "";
internalType: "uint64";
type: "uint64";
}];
stateMutability: "view";
}, {
type: "function";
inputs: readonly [];
name: "protocolFeeReceiver";
outputs: readonly [{
name: "";
internalType: "address";
type: "address";
}];
stateMutability: "view";
}, {
type: "function";
inputs: readonly [];
name: "registry";
outputs: readonly [{
name: "";
internalType: "contract BoostRegistry";
type: "address";
}];
stateMutability: "view";
}, {
type: "function";
inputs: readonly [];
name: "renounceOwnership";
outputs: readonly [];
stateMutability: "payable";
}, {
type: "function";
inputs: readonly [];
name: "requestOwnershipHandover";
outputs: readonly [];
stateMutability: "payable";
}, {
type: "function";
inputs: readonly [{
name: "auth_";
internalType: "address";
type: "address";
}];
name: "setCreateBoostAuth";
outputs: readonly [];
stateMutability: "nonpayable";
}, {
type: "function";
inputs: readonly [{
name: "protocolFee_";
internalType: "uint64";
type: "uint64";
}];
name: "setProtocolFee";
outputs: readonly [];
stateMutability: "nonpayable";
}, {
type: "function";
inputs: readonly [{
name: "protocolFeeReceiver_";
internalType: "address";
type: "address";
}];
name: "setProtocolFeeReceiver";
outputs: readonly [];
stateMutability: "nonpayable";
}, {
type: "function";
inputs: readonly [{
name: "boostId";
internalType: "uint256";
type: "uint256";
}, {
name: "incentiveId";
internalType: "uint256";
type: "uint256";
}];
name: "settleProtocolFees";
outputs: readonly [];
stateMutability: "nonpayable";
}, {
type: "function";
inputs: readonly [{
name: "newOwner";
internalType: "address";
type: "address";
}];
name: "transferOwnership";
outputs: readonly [];
stateMutability: "payable";
}]