Files

315 lines
5.5 KiB
TypeScript

// This file is generated by the generate-abis script. Do not modify it manually.
/**
* Generated ABI for the TokenVestingNoStaking contract.
*/
export const TokenVestingNoStakingAbi = [
{
inputs: [
{
internalType: 'address',
name: 'beneficiary_',
type: 'address',
},
{
internalType: 'address',
name: 'revoker_',
type: 'address',
},
{
internalType: 'uint256',
name: 'cliff_',
type: 'uint256',
},
{
internalType: 'uint256',
name: 'end_',
type: 'uint256',
},
{
internalType: 'bool',
name: 'transferableBeneficiary_',
type: 'bool',
},
],
stateMutability: 'nonpayable',
type: 'constructor',
},
{
inputs: [
{
internalType: 'address',
name: 'target',
type: 'address',
},
],
name: 'AddressEmptyCode',
type: 'error',
},
{
inputs: [
{
internalType: 'address',
name: 'account',
type: 'address',
},
],
name: 'AddressInsufficientBalance',
type: 'error',
},
{
inputs: [],
name: 'FailedInnerCall',
type: 'error',
},
{
inputs: [
{
internalType: 'address',
name: 'token',
type: 'address',
},
],
name: 'SafeERC20FailedOperation',
type: 'error',
},
{
anonymous: false,
inputs: [
{
indexed: false,
internalType: 'address',
name: 'oldBeneficiary',
type: 'address',
},
{
indexed: false,
internalType: 'address',
name: 'newBeneficiary',
type: 'address',
},
],
name: 'BeneficiaryTransferred',
type: 'event',
},
{
anonymous: false,
inputs: [
{
indexed: false,
internalType: 'address',
name: 'oldRevoker',
type: 'address',
},
{
indexed: false,
internalType: 'address',
name: 'newRevoker',
type: 'address',
},
],
name: 'RevokerTransferred',
type: 'event',
},
{
anonymous: false,
inputs: [
{
indexed: true,
internalType: 'contract IERC20',
name: 'token',
type: 'address',
},
{
indexed: false,
internalType: 'uint256',
name: 'refund',
type: 'uint256',
},
],
name: 'TokenVestingRevoked',
type: 'event',
},
{
anonymous: false,
inputs: [
{
indexed: true,
internalType: 'contract IERC20',
name: 'token',
type: 'address',
},
{
indexed: false,
internalType: 'uint256',
name: 'amount',
type: 'uint256',
},
],
name: 'TokensReleased',
type: 'event',
},
{
inputs: [],
name: 'CLIFF_DENOMINATOR',
outputs: [
{
internalType: 'uint256',
name: '',
type: 'uint256',
},
],
stateMutability: 'view',
type: 'function',
},
{
inputs: [],
name: 'cliff',
outputs: [
{
internalType: 'uint256',
name: '',
type: 'uint256',
},
],
stateMutability: 'view',
type: 'function',
},
{
inputs: [],
name: 'end',
outputs: [
{
internalType: 'uint256',
name: '',
type: 'uint256',
},
],
stateMutability: 'view',
type: 'function',
},
{
inputs: [],
name: 'getBeneficiary',
outputs: [
{
internalType: 'address',
name: '',
type: 'address',
},
],
stateMutability: 'view',
type: 'function',
},
{
inputs: [],
name: 'getRevoker',
outputs: [
{
internalType: 'address',
name: '',
type: 'address',
},
],
stateMutability: 'view',
type: 'function',
},
{
inputs: [
{
internalType: 'contract IERC20',
name: 'token',
type: 'address',
},
],
name: 'release',
outputs: [],
stateMutability: 'nonpayable',
type: 'function',
},
{
inputs: [
{
internalType: 'contract IERC20',
name: '',
type: 'address',
},
],
name: 'released',
outputs: [
{
internalType: 'uint256',
name: '',
type: 'uint256',
},
],
stateMutability: 'view',
type: 'function',
},
{
inputs: [
{
internalType: 'contract IERC20',
name: 'token',
type: 'address',
},
],
name: 'revoke',
outputs: [],
stateMutability: 'nonpayable',
type: 'function',
},
{
inputs: [],
name: 'revoked',
outputs: [
{
internalType: 'bool',
name: '',
type: 'bool',
},
],
stateMutability: 'view',
type: 'function',
},
{
inputs: [
{
internalType: 'address',
name: 'beneficiary_',
type: 'address',
},
],
name: 'transferBeneficiary',
outputs: [],
stateMutability: 'nonpayable',
type: 'function',
},
{
inputs: [
{
internalType: 'address',
name: 'revoker_',
type: 'address',
},
],
name: 'transferRevoker',
outputs: [],
stateMutability: 'nonpayable',
type: 'function',
},
{
inputs: [],
name: 'transferableBeneficiary',
outputs: [
{
internalType: 'bool',
name: '',
type: 'bool',
},
],
stateMutability: 'view',
type: 'function',
},
] as const;