Skip to content

Commit

Permalink
chore: added place + rotation
Browse files Browse the repository at this point in the history
  • Loading branch information
0xhermit committed Jan 22, 2024
1 parent 8469ba6 commit c3e6a48
Show file tree
Hide file tree
Showing 5 changed files with 157 additions and 140 deletions.
2 changes: 1 addition & 1 deletion apps/web/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "lucid-origins",
"name": "lucid-origins-web",
"version": "0.0.0",
"description": "description of your project here",
"main": "index.js",
Expand Down
256 changes: 128 additions & 128 deletions apps/web/src/config/abis/LucidOrigins.ts
Original file line number Diff line number Diff line change
@@ -1,211 +1,211 @@
export default [
{ inputs: [], stateMutability: 'nonpayable', type: 'constructor' },
{ inputs: [], name: 'ApprovalCallerNotOwnerNorApproved', type: 'error' },
{ inputs: [], name: 'ApprovalQueryForNonexistentToken', type: 'error' },
{ inputs: [], name: 'BalanceQueryForZeroAddress', type: 'error' },
{ inputs: [], name: 'MintERC2309QuantityExceedsLimit', type: 'error' },
{ inputs: [], name: 'MintToZeroAddress', type: 'error' },
{ inputs: [], name: 'MintZeroQuantity', type: 'error' },
{ inputs: [], name: 'OwnerQueryForNonexistentToken', type: 'error' },
{ inputs: [], name: 'OwnershipNotInitializedForExtraData', type: 'error' },
{ inputs: [], name: 'TransferCallerNotOwnerNorApproved', type: 'error' },
{ inputs: [], name: 'TransferFromIncorrectOwner', type: 'error' },
{ inputs: [], name: 'TransferToNonERC721ReceiverImplementer', type: 'error' },
{ inputs: [], name: 'TransferToZeroAddress', type: 'error' },
{ inputs: [], name: 'URIQueryForNonexistentToken', type: 'error' },
{
anonymous: false,
inputs: [
{ indexed: true, internalType: 'address', name: 'owner', type: 'address' },
{ indexed: true, internalType: 'address', name: 'approved', type: 'address' },
{ indexed: true, internalType: 'uint256', name: 'tokenId', type: 'uint256' },
],
name: 'Approval',
type: 'event',
},
{
anonymous: false,
inputs: [
{ indexed: true, internalType: 'address', name: 'owner', type: 'address' },
{ indexed: true, internalType: 'address', name: 'operator', type: 'address' },
{ indexed: false, internalType: 'bool', name: 'approved', type: 'bool' },
],
name: 'ApprovalForAll',
type: 'event',
},
{
anonymous: false,
inputs: [
{ indexed: true, internalType: 'uint256', name: 'fromTokenId', type: 'uint256' },
{ indexed: false, internalType: 'uint256', name: 'toTokenId', type: 'uint256' },
{ indexed: true, internalType: 'address', name: 'from', type: 'address' },
{ indexed: true, internalType: 'address', name: 'to', type: 'address' },
],
name: 'ConsecutiveTransfer',
type: 'event',
},
{
anonymous: false,
inputs: [
{ indexed: true, internalType: 'address', name: 'user', type: 'address' },
{ indexed: true, internalType: 'address', name: 'newOwner', type: 'address' },
],
name: 'OwnershipTransferred',
type: 'event',
},
{
anonymous: false,
inputs: [
{ indexed: true, internalType: 'address', name: 'from', type: 'address' },
{ indexed: true, internalType: 'address', name: 'to', type: 'address' },
{ indexed: true, internalType: 'uint256', name: 'tokenId', type: 'uint256' },
],
name: 'Transfer',
type: 'event',
},
{ type: 'constructor', inputs: [], stateMutability: 'nonpayable' },
{
type: 'function',
name: 'approve',
inputs: [
{ internalType: 'address', name: 'to', type: 'address' },
{ internalType: 'uint256', name: 'tokenId', type: 'uint256' },
{ name: 'to', type: 'address', internalType: 'address' },
{ name: 'tokenId', type: 'uint256', internalType: 'uint256' },
],
name: 'approve',
outputs: [],
stateMutability: 'payable',
type: 'function',
},
{
inputs: [{ internalType: 'address', name: 'owner', type: 'address' }],
type: 'function',
name: 'balanceOf',
outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
inputs: [{ name: 'owner', type: 'address', internalType: 'address' }],
outputs: [{ name: '', type: 'uint256', internalType: 'uint256' }],
stateMutability: 'view',
type: 'function',
},
{
inputs: [{ internalType: 'uint256', name: 'tokenId', type: 'uint256' }],
type: 'function',
name: 'getApproved',
outputs: [{ internalType: 'address', name: '', type: 'address' }],
inputs: [{ name: 'tokenId', type: 'uint256', internalType: 'uint256' }],
outputs: [{ name: '', type: 'address', internalType: 'address' }],
stateMutability: 'view',
type: 'function',
},
{
type: 'function',
name: 'isApprovedForAll',
inputs: [
{ internalType: 'address', name: 'owner', type: 'address' },
{ internalType: 'address', name: 'operator', type: 'address' },
{ name: 'owner', type: 'address', internalType: 'address' },
{ name: 'operator', type: 'address', internalType: 'address' },
],
name: 'isApprovedForAll',
outputs: [{ internalType: 'bool', name: '', type: 'bool' }],
outputs: [{ name: '', type: 'bool', internalType: 'bool' }],
stateMutability: 'view',
type: 'function',
},
{
type: 'function',
name: 'isColorDark',
inputs: [
{ internalType: 'uint256', name: 'r', type: 'uint256' },
{ internalType: 'uint256', name: 'g', type: 'uint256' },
{ internalType: 'uint256', name: 'b', type: 'uint256' },
{ name: 'r', type: 'uint256', internalType: 'uint256' },
{ name: 'g', type: 'uint256', internalType: 'uint256' },
{ name: 'b', type: 'uint256', internalType: 'uint256' },
],
name: 'isColorDark',
outputs: [{ internalType: 'bool', name: '', type: 'bool' }],
outputs: [{ name: '', type: 'bool', internalType: 'bool' }],
stateMutability: 'pure',
type: 'function',
},
{
inputs: [],
type: 'function',
name: 'name',
outputs: [{ internalType: 'string', name: '', type: 'string' }],
inputs: [],
outputs: [{ name: '', type: 'string', internalType: 'string' }],
stateMutability: 'view',
type: 'function',
},
{
inputs: [],
type: 'function',
name: 'owner',
outputs: [{ internalType: 'address', name: '', type: 'address' }],
inputs: [],
outputs: [{ name: '', type: 'address', internalType: 'address' }],
stateMutability: 'view',
type: 'function',
},
{
inputs: [{ internalType: 'uint256', name: 'tokenId', type: 'uint256' }],
type: 'function',
name: 'ownerOf',
outputs: [{ internalType: 'address', name: '', type: 'address' }],
inputs: [{ name: 'tokenId', type: 'uint256', internalType: 'uint256' }],
outputs: [{ name: '', type: 'address', internalType: 'address' }],
stateMutability: 'view',
type: 'function',
},
{
type: 'function',
name: 'safeTransferFrom',
inputs: [
{ internalType: 'address', name: 'from', type: 'address' },
{ internalType: 'address', name: 'to', type: 'address' },
{ internalType: 'uint256', name: 'tokenId', type: 'uint256' },
{ name: 'from', type: 'address', internalType: 'address' },
{ name: 'to', type: 'address', internalType: 'address' },
{ name: 'tokenId', type: 'uint256', internalType: 'uint256' },
],
name: 'safeTransferFrom',
outputs: [],
stateMutability: 'payable',
type: 'function',
},
{
type: 'function',
name: 'safeTransferFrom',
inputs: [
{ internalType: 'address', name: 'from', type: 'address' },
{ internalType: 'address', name: 'to', type: 'address' },
{ internalType: 'uint256', name: 'tokenId', type: 'uint256' },
{ internalType: 'bytes', name: '_data', type: 'bytes' },
{ name: 'from', type: 'address', internalType: 'address' },
{ name: 'to', type: 'address', internalType: 'address' },
{ name: 'tokenId', type: 'uint256', internalType: 'uint256' },
{ name: '_data', type: 'bytes', internalType: 'bytes' },
],
name: 'safeTransferFrom',
outputs: [],
stateMutability: 'payable',
type: 'function',
},
{
type: 'function',
name: 'setApprovalForAll',
inputs: [
{ internalType: 'address', name: 'operator', type: 'address' },
{ internalType: 'bool', name: 'approved', type: 'bool' },
{ name: 'operator', type: 'address', internalType: 'address' },
{ name: 'approved', type: 'bool', internalType: 'bool' },
],
name: 'setApprovalForAll',
outputs: [],
stateMutability: 'nonpayable',
type: 'function',
},
{
inputs: [{ internalType: 'bytes4', name: 'interfaceId', type: 'bytes4' }],
type: 'function',
name: 'supportsInterface',
outputs: [{ internalType: 'bool', name: '', type: 'bool' }],
inputs: [{ name: 'interfaceId', type: 'bytes4', internalType: 'bytes4' }],
outputs: [{ name: '', type: 'bool', internalType: 'bool' }],
stateMutability: 'view',
type: 'function',
},
{
inputs: [],
type: 'function',
name: 'symbol',
outputs: [{ internalType: 'string', name: '', type: 'string' }],
inputs: [],
outputs: [{ name: '', type: 'string', internalType: 'string' }],
stateMutability: 'view',
type: 'function',
},
{
inputs: [{ internalType: 'uint256', name: 'tokenId', type: 'uint256' }],
type: 'function',
name: 'tokenURI',
outputs: [{ internalType: 'string', name: '', type: 'string' }],
inputs: [{ name: 'tokenId', type: 'uint256', internalType: 'uint256' }],
outputs: [{ name: '', type: 'string', internalType: 'string' }],
stateMutability: 'view',
type: 'function',
},
{
inputs: [],
type: 'function',
name: 'totalSupply',
outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
inputs: [],
outputs: [{ name: '', type: 'uint256', internalType: 'uint256' }],
stateMutability: 'view',
type: 'function',
},
{
type: 'function',
name: 'transferFrom',
inputs: [
{ internalType: 'address', name: 'from', type: 'address' },
{ internalType: 'address', name: 'to', type: 'address' },
{ internalType: 'uint256', name: 'tokenId', type: 'uint256' },
{ name: 'from', type: 'address', internalType: 'address' },
{ name: 'to', type: 'address', internalType: 'address' },
{ name: 'tokenId', type: 'uint256', internalType: 'uint256' },
],
name: 'transferFrom',
outputs: [],
stateMutability: 'payable',
type: 'function',
},
{
inputs: [{ internalType: 'address', name: 'newOwner', type: 'address' }],
type: 'function',
name: 'transferOwnership',
inputs: [{ name: 'newOwner', type: 'address', internalType: 'address' }],
outputs: [],
stateMutability: 'nonpayable',
type: 'function',
},
{
type: 'event',
name: 'Approval',
inputs: [
{ name: 'owner', type: 'address', indexed: true, internalType: 'address' },
{ name: 'approved', type: 'address', indexed: true, internalType: 'address' },
{ name: 'tokenId', type: 'uint256', indexed: true, internalType: 'uint256' },
],
anonymous: false,
},
{
type: 'event',
name: 'ApprovalForAll',
inputs: [
{ name: 'owner', type: 'address', indexed: true, internalType: 'address' },
{ name: 'operator', type: 'address', indexed: true, internalType: 'address' },
{ name: 'approved', type: 'bool', indexed: false, internalType: 'bool' },
],
anonymous: false,
},
{
type: 'event',
name: 'ConsecutiveTransfer',
inputs: [
{ name: 'fromTokenId', type: 'uint256', indexed: true, internalType: 'uint256' },
{ name: 'toTokenId', type: 'uint256', indexed: false, internalType: 'uint256' },
{ name: 'from', type: 'address', indexed: true, internalType: 'address' },
{ name: 'to', type: 'address', indexed: true, internalType: 'address' },
],
anonymous: false,
},
{
type: 'event',
name: 'OwnershipTransferred',
inputs: [
{ name: 'user', type: 'address', indexed: true, internalType: 'address' },
{ name: 'newOwner', type: 'address', indexed: true, internalType: 'address' },
],
anonymous: false,
},
{
type: 'event',
name: 'Transfer',
inputs: [
{ name: 'from', type: 'address', indexed: true, internalType: 'address' },
{ name: 'to', type: 'address', indexed: true, internalType: 'address' },
{ name: 'tokenId', type: 'uint256', indexed: true, internalType: 'uint256' },
],
anonymous: false,
},
{ type: 'error', name: 'ApprovalCallerNotOwnerNorApproved', inputs: [] },
{ type: 'error', name: 'ApprovalQueryForNonexistentToken', inputs: [] },
{ type: 'error', name: 'BalanceQueryForZeroAddress', inputs: [] },
{ type: 'error', name: 'MintERC2309QuantityExceedsLimit', inputs: [] },
{ type: 'error', name: 'MintToZeroAddress', inputs: [] },
{ type: 'error', name: 'MintZeroQuantity', inputs: [] },
{ type: 'error', name: 'OwnerQueryForNonexistentToken', inputs: [] },
{ type: 'error', name: 'OwnershipNotInitializedForExtraData', inputs: [] },
{ type: 'error', name: 'TransferCallerNotOwnerNorApproved', inputs: [] },
{ type: 'error', name: 'TransferFromIncorrectOwner', inputs: [] },
{ type: 'error', name: 'TransferToNonERC721ReceiverImplementer', inputs: [] },
{ type: 'error', name: 'TransferToZeroAddress', inputs: [] },
{ type: 'error', name: 'URIQueryForNonexistentToken', inputs: [] },
] as const
Loading

0 comments on commit c3e6a48

Please sign in to comment.