Skip to content

Commit

Permalink
fix nft collection
Browse files Browse the repository at this point in the history
  • Loading branch information
sven-hash committed Jan 5, 2025
1 parent 69a847b commit d72580f
Show file tree
Hide file tree
Showing 8 changed files with 158 additions and 154 deletions.
9 changes: 6 additions & 3 deletions appv2/artifacts/BurnerNFT.ral.json
Original file line number Diff line number Diff line change
@@ -1,28 +1,31 @@
{
"version": "v3.8.5",
"version": "v3.10.0",
"name": "BurnerNFT",
"bytecode": "050240db40e6010000000115144025646174613a6170706c69636174696f6e2f6a736f6e2c7b226e616d65223a20224275726e20ce01894414403b222c202261747472696275746573223a205b7b2274726169745f74797065223a2022416d6f756e74206275726e6564222c202276616c7565223a2044ce0389441440287d2c207b2274726169745f74797065223a202254696d657374616d70222c202276616c7565223a20445689441440287d2c207b2274726169745f74797065223a2022546f6b656e204964222c202276616c7565223a202244ce02441404227d5d7d4402010000000203ce00ce0102",
"codeHash": "de86ba673a50975a76b894d00590f4c907220136a3c32573024885245e6f5b75",
"bytecode": "0602410a4115010000000119144025646174613a6170706c69636174696f6e2f6a736f6e2c7b226e616d65223a20224275726e20ce01894414403b222c202261747472696275746573223a205b7b2274726169745f74797065223a2022416d6f756e74206275726e6564222c202276616c7565223a2044ce0389441440287d2c207b2274726169745f74797065223a202254696d657374616d70222c202276616c7565223a20445689441440287d2c207b2274726169745f74797065223a2022546f6b656e204964222c202276616c7565223a202244ce0244144028227d2c20207b2274726169745f74797065223a20224275726e6572222c202276616c7565223a202244ce04441404227d5d7d4402010000000203ce00ce0102",
"codeHash": "80d0fff0dd5aba768a1fa0b2d16bad836f1eccef91704ede23970fea92a49a26",
"fieldsSig": {
"names": [
"collectionId",
"nftIndex",
"tokenIdBurned",
"amountBurned",
"burnedBy",
"__stdInterfaceId"
],
"types": [
"ByteVec",
"U256",
"ByteVec",
"U256",
"ByteVec",
"ByteVec"
],
"isMutable": [
false,
false,
false,
false,
false,
false
]
},
Expand Down
6 changes: 3 additions & 3 deletions appv2/artifacts/TokenFurnace.ral.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"version": "v3.10.0",
"name": "TokenFurnace",
"bytecode": "04070912402d4040408440bf416c010000000102ce0102010000000102a0000201000102010f16000001310c7b160040cb17011601c50d7b16010201000203000816010002170216001602410e7b01030305004025d30221c731b417031600cd42107b16010c33117b16000006170416024c081603d1a21604160116030005180516031604160116025673160316001601bd00030306011db1a000160016011406414c50480003130564130064170417031602d1a2a00040ce00160316040d1602c91705a0000d2aa100160502000001160140581401301401311401321401331401341401351401361401371401381401391401611401621401631401641401651401661710170f170e170d170c170b170a170917081707170617051704170317021701140017110c17121612160043314c402d1600161216120d2a626c1340ff3817131613103c130f3817141613130f381715161116147a1310314d0d2a784416157a1310314d0d2a7844171116120d2a17124a7fce161102",
"codeHash": "d0e8cba96b5dfdb2fd41df2553d98529bacd65e3ec91d424aea8e07292c2b3e3",
"bytecode": "0407408b409440af40c24106414741f401000000010c14403b646174613a6170706c69636174696f6e2f6a736f6e2c7b226e616d65223a2022546f6b656e204275726e65722050726f6f66202d2047726f757020b28c8944144036222c20226465736372697074696f6e223a202250726f766520796f757220746f6b656e73206275726e2e222c22696d616765223a202244ce01441402227d4402010000000102a0000201000102010f16000001310c7b160040cb17011601c50d7b16010201000203000816010002170216001602410e7b01030305004025d30221c731b417031600cd42107b16010c33117b16000006170416024c081603d1a21604160116030005180516031604160116025673160316001601bd00030306014020b1a0001600160116024700061406414c50480003130664130064170417031602d1a2a00040ce00160316040d1602c91705a0000d2aa100160502000001160140581401301401311401321401331401341401351401361401371401381401391401611401621401631401641401651401661710170f170e170d170c170b170a170917081707170617051704170317021701140017110c17121612160043314c402d1600161216120d2a626c1340ff3817131613103c130f3817141613130f381715161116147a1310314d0d2a784416157a1310314d0d2a7844171116120d2a17124a7fce161102",
"codeHash": "b1fc1809498587ee52f79c339c41533972a701865f38a1e9e05ab1dcf31b64e2",
"fieldsSig": {
"names": [
"nftTemplateId",
"collectionUri",
"collectionImageUri",
"totalSupply",
"__stdInterfaceId"
],
Expand Down
3 changes: 2 additions & 1 deletion appv2/artifacts/ts/BurnerNFT.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ export namespace BurnerNFTTypes {
nftIndex: bigint;
tokenIdBurned: HexString;
amountBurned: bigint;
burnedBy: HexString;
};

export type State = ContractState<Fields>;
Expand Down Expand Up @@ -143,7 +144,7 @@ export const BurnerNFT = new Factory(
Contract.fromJson(
BurnerNFTContractJson,
"",
"de86ba673a50975a76b894d00590f4c907220136a3c32573024885245e6f5b75",
"80d0fff0dd5aba768a1fa0b2d16bad836f1eccef91704ede23970fea92a49a26",
[]
)
);
Expand Down
4 changes: 2 additions & 2 deletions appv2/artifacts/ts/TokenFurnace.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ import { getContractByCodeHash, registerContract } from "./contracts";
export namespace TokenFurnaceTypes {
export type Fields = {
nftTemplateId: HexString;
collectionUri: HexString;
collectionImageUri: HexString;
totalSupply: bigint;
};

Expand Down Expand Up @@ -264,7 +264,7 @@ export const TokenFurnace = new Factory(
Contract.fromJson(
TokenFurnaceContractJson,
"",
"d0e8cba96b5dfdb2fd41df2553d98529bacd65e3ec91d424aea8e07292c2b3e3",
"b1fc1809498587ee52f79c339c41533972a701865f38a1e9e05ab1dcf31b64e2",
[]
)
);
Expand Down
Loading

0 comments on commit d72580f

Please sign in to comment.