@vechain/vebetterdao-contracts
Version:
Open-source repository that houses the smart contracts powering the decentralized VeBetterDAO on the VeChain Thor blockchain.
357 lines (356 loc) • 7.54 kB
JSON
{
"_format": "hh-sol-artifact-1",
"contractName": "Errors",
"sourceName": "contracts/mocks/Stargate/StargateNFT/libraries/Errors.sol",
"abi": [
{
"inputs": [],
"name": "AddressCannotBeZero",
"type": "error"
},
{
"inputs": [],
"name": "ArrayCannotHaveZeroLength",
"type": "error"
},
{
"inputs": [],
"name": "ArraysLengthMismatch",
"type": "error"
},
{
"inputs": [],
"name": "BlockInFuture",
"type": "error"
},
{
"inputs": [],
"name": "CirculatingSupplyGreaterThanCap",
"type": "error"
},
{
"inputs": [
{
"internalType": "address",
"name": "owner",
"type": "address"
},
{
"internalType": "address",
"name": "spender",
"type": "address"
},
{
"internalType": "uint256",
"name": "currentAllowance",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "requiredAmount",
"type": "uint256"
}
],
"name": "InsufficientAllowance",
"type": "error"
},
{
"inputs": [
{
"internalType": "address",
"name": "tokenAddress",
"type": "address"
},
{
"internalType": "address",
"name": "owner",
"type": "address"
},
{
"internalType": "uint256",
"name": "required",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "provided",
"type": "uint256"
}
],
"name": "InsufficientBalance",
"type": "error"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "contractBalance",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "tokenAmount",
"type": "uint256"
}
],
"name": "InsufficientContractBalance",
"type": "error"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "value",
"type": "uint256"
}
],
"name": "InvalidValue",
"type": "error"
},
{
"inputs": [
{
"internalType": "uint8",
"name": "levelId",
"type": "uint8"
}
],
"name": "LevelCapReached",
"type": "error"
},
{
"inputs": [
{
"internalType": "uint8",
"name": "levelId",
"type": "uint8"
}
],
"name": "LevelNotFound",
"type": "error"
},
{
"inputs": [],
"name": "ManagerZeroAddress",
"type": "error"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "tokenId",
"type": "uint256"
}
],
"name": "MaturityPeriodEnded",
"type": "error"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "tokenId",
"type": "uint256"
}
],
"name": "NoBaseVthoRewardsToClaim",
"type": "error"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "tokenId",
"type": "uint256"
}
],
"name": "NoTokenManager",
"type": "error"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "tokenId",
"type": "uint256"
},
{
"internalType": "address",
"name": "caller",
"type": "address"
},
{
"internalType": "address",
"name": "owner",
"type": "address"
}
],
"name": "NotOwner",
"type": "error"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "tokenId",
"type": "uint256"
}
],
"name": "NotStakingVet",
"type": "error"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "tokenId",
"type": "uint256"
}
],
"name": "NotTokenManagerOrOwner",
"type": "error"
},
{
"inputs": [],
"name": "SelfManager",
"type": "error"
},
{
"inputs": [],
"name": "StringCannotBeEmpty",
"type": "error"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "tokenId",
"type": "uint256"
}
],
"name": "TokenDoesNotExist",
"type": "error"
},
{
"inputs": [],
"name": "TokenLocked",
"type": "error"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "tokenId",
"type": "uint256"
}
],
"name": "TokenMigrationFailed",
"type": "error"
},
{
"inputs": [],
"name": "TokenMintingFailed",
"type": "error"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "tokenId",
"type": "uint256"
}
],
"name": "TokenNotEligible",
"type": "error"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "tokenId",
"type": "uint256"
}
],
"name": "TokenNotReadyForMigration",
"type": "error"
},
{
"inputs": [
{
"internalType": "address",
"name": "caller",
"type": "address"
}
],
"name": "UnauthorizedCaller",
"type": "error"
},
{
"inputs": [],
"name": "ValueCannotBeZero",
"type": "error"
},
{
"inputs": [],
"name": "VetAlreadyHeldInProtocol",
"type": "error"
},
{
"inputs": [
{
"internalType": "uint8",
"name": "levelId",
"type": "uint8"
},
{
"internalType": "uint256",
"name": "required",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "provided",
"type": "uint256"
}
],
"name": "VetAmountMismatch",
"type": "error"
},
{
"inputs": [
{
"internalType": "address",
"name": "caller",
"type": "address"
},
{
"internalType": "uint256",
"name": "amount",
"type": "uint256"
}
],
"name": "VetTransferFailed",
"type": "error"
},
{
"inputs": [],
"name": "VthoTransferFailed",
"type": "error"
},
{
"inputs": [
{
"internalType": "address",
"name": "owner",
"type": "address"
}
],
"name": "WhitelistEntryNotFound",
"type": "error"
}
],
"bytecode": "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220471e0885bba8bde4799053f475c65da6cc660d8e4785161f5c1efa76dcda9e2c64736f6c63430008140033",
"deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220471e0885bba8bde4799053f475c65da6cc660d8e4785161f5c1efa76dcda9e2c64736f6c63430008140033",
"linkReferences": {},
"deployedLinkReferences": {}
}