Skip to content
This repository was archived by the owner on Nov 16, 2023. It is now read-only.

Commit 0549cf6

Browse files
committed
modify valid until
1 parent 38eb0e9 commit 0549cf6

File tree

3 files changed

+21
-13
lines changed

3 files changed

+21
-13
lines changed

LoopMintSharp/Services/Minter.cs

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,11 @@ public async Task<MintResponseData> MintLegacyCollection(string loopringApiKey,
124124
string royaltyAddress)
125125
{
126126
#region Get storage id, token address and offchain fee
127+
128+
//Change valid until
129+
long futureUnixTimeSeconds = DateTimeOffset.Now.AddDays(30).ToUnixTimeSeconds();
130+
validUntil = futureUnixTimeSeconds;
131+
127132
//Getting the storage id
128133
var storageId = await loopringMintService.GetNextStorageId(loopringApiKey, accountId, maxFeeTokenId, verboseLogging);
129134
if (verboseLogging)
@@ -328,6 +333,11 @@ public async Task<MintResponseData> MintCollection(string loopringApiKey,
328333
string royaltyAddress)
329334
{
330335
#region Get storage id, token address and offchain fee
336+
337+
//Change valid until
338+
long futureUnixTimeSeconds = DateTimeOffset.Now.AddDays(30).ToUnixTimeSeconds();
339+
validUntil = futureUnixTimeSeconds;
340+
331341
//Getting the storage id
332342
var storageId = await loopringMintService.GetNextStorageId(loopringApiKey, accountId, maxFeeTokenId, verboseLogging);
333343
if (verboseLogging)

LoopMintSharp/cids.txt

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1 @@
1-
bafkreievv2rtzwdgf5pmmpkyktsfrxe5u6si7y5oav5wciitbosn27fu4u
2-
bafkreigvvfo5in33l5a2igcubycxpxzqmnqwzzvrhtjgrwurlfab4hirsi
3-
bafkreifi56ersvxw7c7yzn7tvmz6qhtuuh5regtzkcyizngp2znyqg25cy
4-
bafkreibmdm7u6mk3hx3xzbd4dp435if5r3pfrj4lkxerbwgwkqnau35j6y
5-
bafkreifqxfhl6zpm3l3acau5ickovvmncggrbnrax2prsszsiznk3vm2cq
6-
bafkreigyfit77abp4zek62b6d6xqpbyy3ooktoyisek57j7lzu7ocqctye
7-
bafkreied7b2qphdnbfaefwcxpk5d3vplecqwqqt25wqnsalg7dnobm5vmi
8-
bafkreidebpdza4ocmwsniuao5ngoxotee7cck6nfznbkyrblbsnwfmdrgq
9-
bafkreic2u6tyiukmoq6ctv5spakzp7u6tzzjyfoflurxffzmadnsowj5r4
10-
bafkreifxnfvyqv7ahuubjug5tswrcjlpqssnjyp6jnz3dkjziz7meiyfiq
1+
QmbmoXpeBT5U8TUPCHhBReCuW4BnuCxvYaVpJMEc8515k9

LoopMintSharp/nftData.txt

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1-
0x2156a809c10ced71776f7d868e2e4bf87482722cf491f59ebe2e26ff42867c9e,5,3,2,7,blind
2-
0x2156a809c10ced71776f7d868e2e4bf87482722cf491f59ebe2e26ff42867c9e,2,1,0,7,random
3-
0x2156a809c10ced71776f7d868e2e4bf87482722cf491f59ebe2e26ff42867c9e,3,2,0,7,normal
1+
0x059b1b5ca4e01f0bcb3f7d9e6fcdd70a124bca62065b1e1a418a902d215fde7d,100,1,1,2,blind
2+
0x2bbcf768d1502482c3a90ddcb208881286a3b0f07867584e0cf56639d41e9d38,100,1,1,2,blind
3+
0x01599b940911f72367d9e7d8b0144c8a6019adc5a10fac183592aff3a215fc09,100,1,1,2,blind
4+
0x2637232fb431e2d375a12fd16a60cb815b3c5f068049e49cb59dc2dc16d7559f,100,1,1,2,blind
5+
0x2af76cca694ae2736fb9434f82717235e8876124c70e6059ff3def149bdb7c68,100,1,1,2,blind
6+
0x16df06029cc910eaa647b33da5e0deac20c5adca50142fe06151860f67d6b769,100,1,1,2,blind
7+
0x0d8ddac6a6b6c71b4a43cce92d6c4117f3c74437ec77906938b15fb93cb83faa,100,1,1,2,blind
8+
0x24afcdeed79d197e1b74d8f1ec052b1b435bb72f21e66b3b3fd3da6d4e0ca768,100,1,1,2,blind
9+
0x091a245d50b3af79604a6964bf026f643e445583fb4d85360d1ce04350483655,100,1,1,2,blind
10+
0x2efb254719ecff363e20935931aceb305e09011e854cc54b5c4bc89a588e18eb,100,1,1,2,blind

0 commit comments

Comments
 (0)