Transaction #18167

Hash 2d2568a4ba75bb721d10beb7bd77f628b545b799cc183cab927e052348a4db19
Status Failed
Error Message AssertionError('Name must be lowercase!',)
Timestamp 325 days ago - 6/14/2023, 9:33:52 PM UTC+0
Block 18167
Stamps Used 7
Burned Fee 0.00041420 TAU
From ca53afc76e361f6a2344bb62178bdb3ed04a7347b0a7977ceaa4516ace8b26f4 
Contract Name submission
Function Name submit_contract

Additional Info
Nonce 0
Processor 5b09493df6c18d17cc883ebce54fcb1f5afbd507533417fe32c006009a9c3c4a
Signature 141b4d4cb0f5da91575037df82e0708e513a84c6089328702205dfb6b7b2f123c8d799488ab95ad06b41bdccf7e7bb8d7b1d3c9191477d7985cad331fd4a7a07
Stamps Supplied 845
Stamps per TAU 169

Kwargs

code # LST001 balances = Hash(default_value=0) # LST002 metadata = Hash() @construct def seed(name, symbol): # LST001 - MINT SUPPLY to wallet that submits the contract balances[ctx.caller] = 1_000_000_000 # LST002 metadata['token_name'] = name metadata['token_symbol'] = symbol metadata['operator'] = ctx.caller # LST002 @export def change_metadata(key: str, value: Any): assert ctx.caller == metadata['operator'], 'Only operator can set metadata!' metadata[key] = value # LST001 @export def transfer(amount: float, to: str): assert amount > 0, 'Cannot send negative balances!' assert balances[ctx.caller] >= amount, 'Not enough coins to send!' balances[ctx.caller] -= amount balances[to] += amount # LST001 @export def approve(amount: float, to: str): assert amount > 0, 'Cannot send negative balances!' balances[ctx.caller, to] += amount # LST001 @export def transfer_from(amount: float, to: str, main_account: str): assert amount > 0, 'Cannot send negative balances!' assert balances[main_account, ctx.caller] >= amount, 'Not enough coins approved to send! You have {} and are trying to spend {}'\ .format(balances[main_account, ctx.caller], amount) assert balances[main_account] >= amount, 'Not enough coins to send!' balances[main_account, ctx.caller] -= amount balances[main_account] -= amount balances[to] += amount
constructor_args {"name":"testGT","symbol":"tstg"}
name con_new_guildTokensV1

State Changes

Contract currency
Variable balances
Key ca53afc76e361f6a2344bb62178bdb3ed04a7347b0a7977ceaa4516ace8b26f4
New Value 815806.299278114906568356723060879627