new_contracts
This commit is contained in:
parent
4bb2d8cf1d
commit
7baac11834
|
|
@ -182,7 +182,7 @@ async def s_api_v1_blockchain_send_purchase_content_message(request):
|
||||||
# 'resale': 3
|
# 'resale': 3
|
||||||
# }[request.json['license_type']], 8)
|
# }[request.json['license_type']], 8)
|
||||||
.store_uint(0, 256)
|
.store_uint(0, 256)
|
||||||
.store_coins(str(int(licenses_cost['resale']['price'])))
|
.store_uint(0, 2)
|
||||||
.end_cell()
|
.end_cell()
|
||||||
).to_boc(False)).decode()
|
).to_boc(False)).decode()
|
||||||
})
|
})
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
|
|
@ -3,8 +3,8 @@ from tonsdk.contract import Contract
|
||||||
|
|
||||||
|
|
||||||
class Platform(Contract):
|
class Platform(Contract):
|
||||||
code = 'b5ee9c724102180100039f000114ff00f4a413f4bcf2c80b01020120030200a2f28308d71831d33f01f823bbf264d31f30810e7fba8e39f8007082f0be521f12758263c40b0dc6bdd1f5a26dbc8c7b7c349068647f749da5a716aea521748010c8cb05cb02cb07cbffcb6ac98306fb00e00201480f0402012008050201200706004bbac877382f06949f6f27c3c5650394e5f9b14a79bc4d647b8fe4870c0014ece6b05cb2bd74780057b905bed44d0fa4001f861d3ff01f862d401f863f843d0d431d430f864d401f865d1f845d0f84201d430f84180201200c090201200b0a00a1b4f47da89a1f48003f0c3a7fe03f0c5a803f0c7f087a1a863a861f0c9a803f0cba3f089f050e0079197ff92826190a0079e2d960f9992e04191960227e801e801960193f200e0e9919605940f97ff93a10000fb5daee0419193a100201200e0d0059b6a9bda89a1f48003f0c3a7fe03f0c5a803f0c7f087a1a863a861f0c9a803f0cba2e1f051f085f087f089f08b00051b56ba63da89a1f48003f0c3a7fe03f0c5a803f0c7f087a1a863a861f0c9a803f0cba2e391960f999300202c711100007a0dd7c120201cf131200113e910c30003cb8536002f30cf434c0c05c6c2497c0f83e90087c007e900c7e800c5c75c87e800c7e800c1cea6d0008f5d27048245c2540f4c7d411388830002497c1783b51343e90007e1874ffc07e18b5007e18fe10f4350c750c3e1935007e1974482084091ea7aeaea497c178082084152474232ea3a14c104c36cf380c4cbe1071c160161401c4f2e19120820833cc77ba9730d4d30730fb00e0208210b99cd03bba9701fa4001f86101de208210d81c632fba9601d401f86501de208210b5de5f9ebae30282102fa30f96ba98d401fb04d430ed54e030f845f843f842c8f841cf16cbffccccc9ed5415008a30fa40fa00306d6d71708010c8cb055006cf165004fa0214cb68216e947032cb019bc858cf17c97158cb00f400e2226e95327058cb0099c85003cf17c958f400e2c901fb0001e4821005f5e10001a013bef2e20801d3ffd4d430f844f82870f842c8cbffc9c85003cf16cb07ccc97020c8cb0113f400f400cb00c920f9007074c8cb02ca07cbffc9d0f843d070c804d014cf16f843f842c8cbfff828cf16c903d430c8cc13ccc9c8cc17cbff5007cf1614cc15cccc433080401700a6708010c8cb055006cf165004fa0214cb68216e947032cb019bc858cf17c97158cb00f400e2226e95327058cb0099c85003cf17c958f400e2c901fb00f842a4f862f845f843f842c8f841cf16cbffccccc9ed54f7fbeaf8'
|
code = 'b5ee9c72410214010002dc000114ff00f4a413f4bcf2c80b010201620b0202012006030201200504004bbac877282f037625a5e1bf4a9bb4e8e57adf780d02781ee2c2b80129dc6a90f23b01657f9d980057b905bed44d0fa4001f861d3ff01f862d401f863f843d0d431d430f864d401f865d1f845d0f84201d430f84180201200a07020120090800a1b4f47da89a1f48003f0c3a7fe03f0c5a803f0c7f087a1a863a861f0c9a803f0cba3f089f050e0079197ff92826190a0079e2d960f9992e04191960227e801e801960193f200e0e9919605940f97ff93a10000fb5daeeb00c9f05100051b8b5d31ed44d0fa4001f861d3ff01f862d401f863f843d0d431d430f864d401f865d171c8cb07ccc980202c70d0c0007a0dd7c120201cf0f0e00113e910c30003cb8536002f30cf434c0c05c6c2497c0f83e90087c007e900c7e800c5c75c87e800c7e800c1cea6d0008f5d27048245c2540f4c7d411388830002497c1783b51343e90007e1874ffc07e18b5007e18fe10f4350c750c3e1935007e1974482084091ea7aeaea497c178082084152474232ea3a14c104c36cf380c4cbe1071c160111001dcf2e19120820833cc77ba9730d4d30730fb00e0208210b99cd03bba9701fa4001f86101de208210d81c632fba9601d401f86501de208210b5de5f9eba8e8b30fa40fa00306d6d71db3ce082102fa30f96ba98d401fb04d430ed54e030f845f843f842c8f841cf16cbffccccc9ed541302f082084c4b4001a013bef2e20801d3ffd4d430f844f82870f842c8cbffc9c85003cf16cb07ccc97020c8cb0113f400f400cb00c920f9007074c8cb02ca07cbffc9d0f843d070c804d014cf16f843f842c8cbfff828cf16c903d430c8cc13ccc9c8cc17cbff5007cf1614cc15cccc43308040db3cf842a4f86213120024f845f843f842c8f841cf16cbffccccc9ed540078708010c8cb055006cf165004fa0214cb68216e947032cb019bc858cf17c97158cb00f400e2226e95327058cb0099c85003cf17c958f400e2c901fb0097eae47a'
|
||||||
codebase_version = 3
|
codebase_version = 5
|
||||||
|
|
||||||
def __init__(self, **kwargs):
|
def __init__(self, **kwargs):
|
||||||
kwargs['code'] = Cell.one_from_boc(self.code)
|
kwargs['code'] = Cell.one_from_boc(self.code)
|
||||||
|
|
|
||||||
|
|
@ -13,7 +13,7 @@ if int(os.getenv('INIT_DEPLOY_PLATFORM_CONTRACT', 0)) == 0:
|
||||||
kwargs['address'] = Address(MY_PLATFORM_CONTRACT)
|
kwargs['address'] = Address(MY_PLATFORM_CONTRACT)
|
||||||
|
|
||||||
platform = Platform(
|
platform = Platform(
|
||||||
admin_address=service_wallet.address,
|
admin_address=Address('UQAjz4Kdqoo4_Obg-UrUmuhoUB2W00vngZoX0MnAAnetZuAk'),
|
||||||
blank_code=Cell.one_from_boc(Blank.code),
|
blank_code=Cell.one_from_boc(Blank.code),
|
||||||
cop_code=Cell.one_from_boc(COP_NFT.code),
|
cop_code=Cell.one_from_boc(COP_NFT.code),
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue