Contract con_test_t


Contract Code

1 wp = ForeignHash(foreign_contract='con_uwarriors_lst001', foreign_name='balances')
2 S = ForeignHash(foreign_contract='con_uw_nft_characters', foreign_name='S')
3
4
5
6
7 @export
8 def check(uid: str):
9 character = S[uid, 'name']
10 return {'C': character, 'a': S[uid]}

Byte Code

e30000000000000000000000000600000040000000733a0000006500640064016402640364048d045a016500640564066402640664048d045a02650364028301650464079c0164086409840483015a05640a5300290bda14636f6e5f7577617272696f72735f6c7374303031da0862616c616e636573da0a636f6e5f746573745f74da0277702904da10666f726569676e5f636f6e7472616374da0c666f726569676e5f6e616d65da08636f6e7472616374da046e616d65da15636f6e5f75775f6e66745f63686172616374657273da01532901da03756964630100000000000000020000000300000043000000731a00000074007c006401660219007d017c0174007c00190064029c02530029034e72080000002902da0143da01612901da035f5f532902720b000000da09636861726163746572a9007210000000da00da05636865636b07000000730400000000020c0172120000004e2906da0b466f726569676e48617368da045f5f7770720e000000da085f5f6578706f7274da0373747272120000007210000000721000000072100000007211000000da083c6d6f64756c653e01000000730a00000004010c0104010c030601