1 |
|
2 |
|
3 |
@construct |
4 |
def seed(): |
5 |
pass |
6 |
|
7 |
@export |
8 |
def get(): |
9 |
# Get the current execution context |
10 |
ctx = {'_state': {}, '_sender': 'sender_address', '_source': 'source_contract_name', '_now': 1234567890} |
11 |
|
12 |
# Create a Hash object for the contract you want to interact with |
13 |
other_contract_hash = Hash('currency') |
14 |
|
15 |
# Get the driver for the other contract |
16 |
driver = other_contract_hash.driver |
17 |
return driver |
e30000000000000000000000000300000040000000731c0000006400640184005a0065016402830164036404840083015a0264055300290663000000000000000000000000010000004300000073040000006400530029014ea900720100000072010000007201000000da00da045f5f5f5f01000000730200000000017203000000da12636f6e5f6e65775f636f6e747261637464326300000000000000000300000005000000430000007326000000690064016402640364049c047d00740064056406640764088d037d017c016a017d027c02530029094eda0e73656e6465725f61646472657373da14736f757263655f636f6e74726163745f6e616d6569d20296492904da065f7374617465da075f73656e646572da075f736f75726365da045f6e6f77da0863757272656e63797204000000da136f746865725f636f6e74726163745f686173682902da08636f6e7472616374da046e616d652902da0448617368da066472697665722903da03637478da155f5f6f746865725f636f6e74726163745f686173687210000000720100000072010000007202000000da0367657405000000730c000000000204010a0106010801060172130000004e29037203000000da085f5f6578706f727472130000007201000000720100000072010000007202000000da083c6d6f64756c653e0100000073020000000804