Skip to content

Commit

Permalink
Merge pull request #1 from OverGamesDev/main
Browse files Browse the repository at this point in the history
new app design
  • Loading branch information
sven-hash authored Jan 4, 2025
2 parents 2d58532 + c649215 commit d1804a5
Show file tree
Hide file tree
Showing 48 changed files with 33,193 additions and 0 deletions.
3 changes: 3 additions & 0 deletions appv2/.eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"extends": "next/core-web-vitals"
}
35 changes: 35 additions & 0 deletions appv2/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.

# dependencies
/node_modules
/.pnp
.pnp.js

# testing
/coverage

# next.js
/.next/
/out/

# production
/build

# misc
.DS_Store
*.pem

# debug
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# local env files
.env*.local

# vercel
.vercel

# typescript
*.tsbuildinfo
next-env.d.ts
15 changes: 15 additions & 0 deletions appv2/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
## Getting Started

First, run the development server:

```bash
npm run dev
# or
yarn dev
# or
pnpm dev
```

Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.

Additionally you will need a backend server.
54 changes: 54 additions & 0 deletions appv2/artifacts/BurnerNFT.ral.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
{
"version": "v3.8.5",
"name": "BurnerNFT",
"bytecode": "050240db40e6010000000115144025646174613a6170706c69636174696f6e2f6a736f6e2c7b226e616d65223a20224275726e20ce01894414403b222c202261747472696275746573223a205b7b2274726169745f74797065223a2022416d6f756e74206275726e6564222c202276616c7565223a2044ce0389441440287d2c207b2274726169745f74797065223a202254696d657374616d70222c202276616c7565223a20445689441440287d2c207b2274726169745f74797065223a2022546f6b656e204964222c202276616c7565223a202244ce02441404227d5d7d4402010000000203ce00ce0102",
"codeHash": "de86ba673a50975a76b894d00590f4c907220136a3c32573024885245e6f5b75",
"fieldsSig": {
"names": [
"collectionId",
"nftIndex",
"tokenIdBurned",
"amountBurned",
"__stdInterfaceId"
],
"types": [
"ByteVec",
"U256",
"ByteVec",
"U256",
"ByteVec"
],
"isMutable": [
false,
false,
false,
false,
false
]
},
"eventsSig": [],
"functions": [
{
"name": "getTokenUri",
"paramNames": [],
"paramTypes": [],
"paramIsMutable": [],
"returnTypes": [
"ByteVec"
]
},
{
"name": "getCollectionIndex",
"paramNames": [],
"paramTypes": [],
"paramIsMutable": [],
"returnTypes": [
"ByteVec",
"U256"
]
}
],
"constants": [],
"enums": [],
"stdInterfaceId": "0003"
}
180 changes: 180 additions & 0 deletions appv2/artifacts/TokenFurnace.ral.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,180 @@
{
"version": "v3.8.5",
"name": "TokenFurnace",
"bytecode": "04060912402d4040408040bb010000000102ce0102010000000102a0000201000102010f16000001310c7b160040cb17011601c50d7b16010201000203000816010002170216001602410e7b01030304004024d30221c731b417031600cd42107b16010c33117b1602041a4c081603d1a21600160116030005180516031600160116025673160316001601bd00030306011db1a000160016011406414c50480003130564130064170417031602d1a2a00040ce00160316040d1602c91705a0000d2aa100160502",
"codeHash": "50ccbe01cffce5726f4970af1bd140ad734c437e114593f7ef66b28bc13fedac",
"fieldsSig": {
"names": [
"nftTemplateId",
"collectionUri",
"totalSupply",
"__stdInterfaceId"
],
"types": [
"ByteVec",
"ByteVec",
"U256",
"ByteVec"
],
"isMutable": [
false,
false,
true,
false
]
},
"eventsSig": [
{
"name": "Burned",
"fieldNames": [
"caller",
"tokenBurned",
"amount",
"nft",
"timestamp"
],
"fieldTypes": [
"Address",
"ByteVec",
"U256",
"Bool",
"U256"
]
}
],
"functions": [
{
"name": "getCollectionUri",
"paramNames": [],
"paramTypes": [],
"paramIsMutable": [],
"returnTypes": [
"ByteVec"
]
},
{
"name": "totalSupply",
"paramNames": [],
"paramTypes": [],
"paramIsMutable": [],
"returnTypes": [
"U256"
]
},
{
"name": "nftByIndex",
"paramNames": [
"index"
],
"paramTypes": [
"U256"
],
"paramIsMutable": [
false
],
"returnTypes": [
"INFT"
]
},
{
"name": "validateNFT",
"paramNames": [
"nftId",
"nftIndex"
],
"paramTypes": [
"ByteVec",
"U256"
],
"paramIsMutable": [
false,
false
],
"returnTypes": []
},
{
"name": "burn",
"paramNames": [
"tokenIdToBurn",
"amountToBurn",
"withNft"
],
"paramTypes": [
"ByteVec",
"U256",
"Bool"
],
"paramIsMutable": [
false,
false,
false
],
"returnTypes": []
},
{
"name": "mint",
"paramNames": [
"tokenIdBurned",
"amountBurned",
"burnerCaller"
],
"paramTypes": [
"ByteVec",
"U256",
"Address"
],
"paramIsMutable": [
false,
false,
false
],
"returnTypes": [
"ByteVec"
]
}
],
"constants": [],
"enums": [
{
"name": "ErrorCodes",
"fields": [
{
"name": "IncorrectTokenIndex",
"value": {
"type": "U256",
"value": "0"
}
},
{
"name": "NFTNotFound",
"value": {
"type": "U256",
"value": "1"
}
},
{
"name": "NFTNotPartOfCollection",
"value": {
"type": "U256",
"value": "2"
}
},
{
"name": "TokenIdNotAccepted",
"value": {
"type": "U256",
"value": "4"
}
},
{
"name": "CannotBurnZero",
"value": {
"type": "U256",
"value": "5"
}
}
]
}
],
"stdInterfaceId": "0002"
}
Loading

0 comments on commit d1804a5

Please sign in to comment.