diff --git a/.gitignore b/.gitignore index 21904cdf..ce7ec9ce 100644 --- a/.gitignore +++ b/.gitignore @@ -57,3 +57,6 @@ packages/* # generated contract client imports src/contracts/* !src/contracts/util.ts + +# contract unit test test-snapshots +**/test_snapshots diff --git a/contracts/loan_manager/src/contract.rs b/contracts/loan_manager/src/contract.rs index cdb22f56..d0717e1a 100644 --- a/contracts/loan_manager/src/contract.rs +++ b/contracts/loan_manager/src/contract.rs @@ -1,5 +1,5 @@ use crate::positions; -use crate::storage_types::{POSITIONS_BUMP_AMOUNT, POSITIONS_LIFETIME_THRESHOLD}; +use crate::storage_types::{LoansDataKey, POSITIONS_BUMP_AMOUNT, POSITIONS_LIFETIME_THRESHOLD}; use soroban_sdk::{ contract, contractimpl, vec, Address, Env, IntoVal, Map, Symbol, TryFromVal, Val, Vec, @@ -81,13 +81,25 @@ impl LoansTrait for LoansContract { } fn add_interest(e: Env) { - // Get current interest rates of pools. - /* We calculate interest for ledgers_between from a given APY approximation simply by dividing the rate r with ledgers in a year and multiplying it with ledgers_between. This would result in slightly different total yearly interest, e.g. 12% -> 12.7% total. Perfect calculations are impossible in real world time as we must use ledgers as our time and ledger times vary between 5-6s. */ + // TODO: we must store the init ledger for loans as loans started on different times would pay the same amount of interest on the given time. + + let current_ledger = e.ledger().sequence(); + + let key: LoansDataKey = LoansDataKey::LastUpdated; + let previous_ledger_val: Val = e + .storage() + .persistent() + .get(&key) + .unwrap_or(current_ledger.into_val(&e)); // If there is no previous ledger, use current. + let previous_ledger: u32 = + u32::try_from_val(&e, &previous_ledger_val).expect("Failed to convert Val to u32"); + + let _ledgers_since_update: u32 = current_ledger - previous_ledger; // Currently unused but is a placeholder for interest calculations. Now time is handled. // Update current ledger as the new 'last time' @@ -100,23 +112,21 @@ impl LoansTrait for LoansContract { .get(&Symbol::new(&e, "Addresses")) .unwrap(); for user in addresses.iter() { - // Construct the key for each user's loan let key = (Symbol::new(&e, "Loan"), user.clone()); - // get the loan from storage as a Val let loan: Val = e .storage() .persistent() .get::<(Symbol, Address), Val>(&key) .unwrap(); - // Convert the Val to Map + let mut loan_map: Map = Map::try_from_val(&e, &loan).expect("Failed to convert Val to Map"); - // Get the value of "borrowed" as Val, then convert it to i128 + let borrowed: Val = loan_map.get(Symbol::new(&e, "borrowed")).unwrap(); let borrowed_as_int: i128 = i128::try_from_val(&e, &borrowed).expect("Failed to convert Val to i128"); - // Calculate new borrowed + // FIXME: the calculation doesn't work, perhaps because of the change in types. OR it could be that the value is not retrieved properly let interest_rate: i128 = 12000; let interest_amount: i128 = borrowed_as_int * interest_rate; @@ -134,5 +144,7 @@ impl LoansTrait for LoansContract { ); // TODO: this should also invoke the pools and update the amounts lended to liabilities. } + + e.storage().persistent().set(&key, ¤t_ledger); } } diff --git a/contracts/loan_manager/src/storage_types.rs b/contracts/loan_manager/src/storage_types.rs index 302c5f95..f60ee475 100644 --- a/contracts/loan_manager/src/storage_types.rs +++ b/contracts/loan_manager/src/storage_types.rs @@ -15,4 +15,5 @@ pub enum LoansDataKey { // Users positions in the pool Loan(Address), Addresses, + LastUpdated, } diff --git a/contracts/loan_pool/src/contract.rs b/contracts/loan_pool/src/contract.rs index fd0dafe3..eef5939c 100644 --- a/contracts/loan_pool/src/contract.rs +++ b/contracts/loan_pool/src/contract.rs @@ -18,7 +18,7 @@ pub trait LoanPoolTrait { fn initialize(e: Env, token: Address); // Deposits token. Also, mints pool shares for the "user" Identifier. - fn deposit(e: Env, user: Address, amount: i128); + fn deposit(e: Env, user: Address, amount: i128) -> i128; // Transfers share tokens back, burns them and gives corresponding amount of tokens back to user. Returns amount of tokens withdrawn fn withdraw(e: Env, user: Address, share_amount: i128) -> (i128, i128); @@ -46,7 +46,7 @@ impl LoanPoolTrait for LoanPoolContract { pool::write_available_balance(&e, 0); } - fn deposit(e: Env, user: Address, amount: i128) { + fn deposit(e: Env, user: Address, amount: i128) -> i128 { user.require_auth(); // Depositor needs to authorize the deposit assert!(amount > 0, "Amount must be positive!"); @@ -56,9 +56,10 @@ impl LoanPoolTrait for LoanPoolContract { let client = token::Client::new(&e, &pool::read_token(&e)); client.transfer(&user, &e.current_contract_address(), &amount); - // TODO: Increase AvailableBalance - // TODO: Increase TotalShares - // TODO: Increase TotalBalance + // TODO: these need to be replaced with increase rather than write so that it wont overwrite the values. + pool::write_available_balance(&e, amount); + pool::write_total_shares(&e, amount); + pool::write_total_balance(&e, amount); // Increase users position in pool as they deposit // as this is deposit amount is added to receivables and @@ -66,6 +67,8 @@ impl LoanPoolTrait for LoanPoolContract { let liabilities: i128 = 0; // temp test param let collateral: i128 = 0; // temp test param positions::increase_positions(&e, user.clone(), amount, liabilities, collateral); + + amount } fn withdraw(e: Env, user: Address, amount: i128) -> (i128, i128) { @@ -109,7 +112,7 @@ impl LoanPoolTrait for LoanPoolContract { */ let address = String::from_str( &e, - "CCR7ARWZN4WODMEWVTRCMPPJJQKE2MBKUPJBSYWCDEOT3OLBPAPEGLPH", + "CB6MHNR6FJMQHJZDWOKAU4KESR4OARLPZ4RMN57R55P2QUBH4QJENHLY", ); let contract: Address = Address::from_string(&address); contract.require_auth(); @@ -164,3 +167,116 @@ impl LoanPoolTrait for LoanPoolContract { pool::read_total_balance(&e) } } + +#[cfg(test)] +mod tests { + use super::*; // This imports LoanPoolContract and everything else from the parent module + use soroban_sdk::{ + testutils::Address as _, + token::{Client as TokenClient, StellarAssetClient}, + vec, Env, IntoVal, + }; + + #[test] + fn good_deposit() { + let e: Env = Env::default(); + e.mock_all_auths(); + + let admin: Address = Address::generate(&e); + let token_contract_id = e.register_stellar_asset_contract(admin.clone()); + let stellar_asset = StellarAssetClient::new(&e, &token_contract_id); + let token = TokenClient::new(&e, &token_contract_id); + + let user = Address::generate(&e); + stellar_asset.mint(&user, &1000); + assert_eq!(token.balance(&user), 1000); + + let contract_id = e.register_contract(None, LoanPoolContract); + let amount_i: i128 = 100; + let amount: Val = amount_i.into_val(&e); + + let args: soroban_sdk::Vec = vec![&e, user.to_val(), amount]; + let init_args: soroban_sdk::Vec = vec![&e, token_contract_id.to_val()]; + + let _init_result: () = + e.invoke_contract(&contract_id, &Symbol::new(&e, "initialize"), init_args); + + let result: i128 = e.invoke_contract(&contract_id, &Symbol::new(&e, "deposit"), args); + + assert_eq!(result, amount_i); + + // Add assertions to validate expected behavior + } + + #[test] + fn good_withdraw() { + let e: Env = Env::default(); + e.mock_all_auths(); + + let admin: Address = Address::generate(&e); + let token_contract_id = e.register_stellar_asset_contract(admin.clone()); + let stellar_asset = StellarAssetClient::new(&e, &token_contract_id); + let token = TokenClient::new(&e, &token_contract_id); + + let user = Address::generate(&e); + stellar_asset.mint(&user, &1000); + assert_eq!(token.balance(&user), 1000); + + let contract_id = e.register_contract(None, LoanPoolContract); + let amount_i: i128 = 100; + let amount: Val = amount_i.into_val(&e); + + let args: soroban_sdk::Vec = vec![&e, user.to_val(), amount]; + let init_args: soroban_sdk::Vec = vec![&e, token_contract_id.to_val()]; + + let _init_result: () = + e.invoke_contract(&contract_id, &Symbol::new(&e, "initialize"), init_args); + + let result: i128 = e.invoke_contract(&contract_id, &Symbol::new(&e, "deposit"), args); + + assert_eq!(result, amount_i); + + let withdraw_args = vec![&e, user.to_val(), amount]; + let withdraw_result: (i128, i128) = + e.invoke_contract(&contract_id, &Symbol::new(&e, "withdraw"), withdraw_args); + + assert_eq!(withdraw_result, (amount_i, amount_i)); + } + + #[test] + #[should_panic(expected = "Amount can not be greater than receivables!")] + fn withdraw_more_than_balance() { + let e: Env = Env::default(); + e.mock_all_auths(); + + let admin: Address = Address::generate(&e); + let token_contract_id = e.register_stellar_asset_contract(admin.clone()); + let stellar_asset = StellarAssetClient::new(&e, &token_contract_id); + let token = TokenClient::new(&e, &token_contract_id); + + let user = Address::generate(&e); + stellar_asset.mint(&user, &1000); + assert_eq!(token.balance(&user), 1000); + + let contract_id = e.register_contract(None, LoanPoolContract); + let amount_i: i128 = 100; + let amount: Val = amount_i.into_val(&e); + + let args: soroban_sdk::Vec = vec![&e, user.to_val(), amount]; + let init_args: soroban_sdk::Vec = vec![&e, token_contract_id.to_val()]; + + let _init_result: () = + e.invoke_contract(&contract_id, &Symbol::new(&e, "initialize"), init_args); + + let result: i128 = e.invoke_contract(&contract_id, &Symbol::new(&e, "deposit"), args); + + assert_eq!(result, amount_i); + + let amount_i_2: i128 = 200; + let amount_2: Val = amount_i_2.into_val(&e); + + let withdraw_args = vec![&e, user.to_val(), amount_2]; + let _withdraw_result: (i128, i128) = + e.invoke_contract(&contract_id, &Symbol::new(&e, "withdraw"), withdraw_args); + } +} diff --git a/contracts/loan_pool/test_snapshots/test/pool_token_minted_and_deposited.1.json b/contracts/loan_pool/test_snapshots/test/pool_token_minted_and_deposited.1.json deleted file mode 100644 index 25e48522..00000000 --- a/contracts/loan_pool/test_snapshots/test/pool_token_minted_and_deposited.1.json +++ /dev/null @@ -1,1600 +0,0 @@ -{ - "generators": { - "address": 4, - "nonce": 0 - }, - "auth": [ - [ - [ - "GAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEGWF", - { - "function": { - "contract_fn": { - "contract_address": "CBEPDNVYXQGWB5YUBXKJWYJA7OXTZW5LFLNO5JRRGE6Z6C5OSUZPCCEL", - "function_name": "set_admin", - "args": [ - { - "address": "CAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD2KM" - } - ] - } - }, - "sub_invocations": [] - } - ] - ], - [], - [], - [ - [ - "CAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD2KM", - { - "function": { - "contract_fn": { - "contract_address": "CBEPDNVYXQGWB5YUBXKJWYJA7OXTZW5LFLNO5JRRGE6Z6C5OSUZPCCEL", - "function_name": "mint", - "args": [ - { - "address": "CAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHK3M" - }, - { - "i128": { - "hi": 0, - "lo": 1000 - } - } - ] - } - }, - "sub_invocations": [] - } - ] - ], - [], - [ - [ - "CAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHK3M", - { - "function": { - "contract_fn": { - "contract_address": "CAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAITA4", - "function_name": "deposit", - "args": [ - { - "address": "CAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHK3M" - }, - { - "i128": { - "hi": 0, - "lo": 100 - } - } - ] - } - }, - "sub_invocations": [ - { - "function": { - "contract_fn": { - "contract_address": "CBEPDNVYXQGWB5YUBXKJWYJA7OXTZW5LFLNO5JRRGE6Z6C5OSUZPCCEL", - "function_name": "transfer", - "args": [ - { - "address": "CAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHK3M" - }, - { - "address": "CAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAITA4" - }, - { - "i128": { - "hi": 0, - "lo": 100 - } - } - ] - } - }, - "sub_invocations": [] - } - ] - } - ] - ], - [], - [], - [], - [] - ], - "ledger": { - "protocol_version": 20, - "sequence_number": 0, - "timestamp": 0, - "network_id": "0000000000000000000000000000000000000000000000000000000000000000", - "base_reserve": 0, - "min_persistent_entry_ttl": 4096, - "min_temp_entry_ttl": 16, - "max_entry_ttl": 6312000, - "ledger_entries": [ - [ - { - "account": { - "account_id": "GAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEGWF" - } - }, - [ - { - "last_modified_ledger_seq": 0, - "data": { - "account": { - "account_id": "GAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEGWF", - "balance": 0, - "seq_num": 0, - "num_sub_entries": 0, - "inflation_dest": null, - "flags": 0, - "home_domain": "", - "thresholds": "01010101", - "signers": [], - "ext": "v0" - } - }, - "ext": "v0" - }, - null - ] - ], - [ - { - "contract_data": { - "contract": "GAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEGWF", - "key": { - "ledger_key_nonce": { - "nonce": 801925984706572462 - } - }, - "durability": "temporary" - } - }, - [ - { - "last_modified_ledger_seq": 0, - "data": { - "contract_data": { - "ext": "v0", - "contract": "GAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEGWF", - "key": { - "ledger_key_nonce": { - "nonce": 801925984706572462 - } - }, - "durability": "temporary", - "val": "void" - } - }, - "ext": "v0" - }, - 15 - ] - ], - [ - { - "contract_data": { - "contract": "CAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD2KM", - "key": { - "ledger_key_nonce": { - "nonce": 5541220902715666415 - } - }, - "durability": "temporary" - } - }, - [ - { - "last_modified_ledger_seq": 0, - "data": { - "contract_data": { - "ext": "v0", - "contract": "CAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD2KM", - "key": { - "ledger_key_nonce": { - "nonce": 5541220902715666415 - } - }, - "durability": "temporary", - "val": "void" - } - }, - "ext": "v0" - }, - 15 - ] - ], - [ - { - "contract_data": { - "contract": "CAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHK3M", - "key": { - "ledger_key_nonce": { - "nonce": 1033654523790656264 - } - }, - "durability": "temporary" - } - }, - [ - { - "last_modified_ledger_seq": 0, - "data": { - "contract_data": { - "ext": "v0", - "contract": "CAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHK3M", - "key": { - "ledger_key_nonce": { - "nonce": 1033654523790656264 - } - }, - "durability": "temporary", - "val": "void" - } - }, - "ext": "v0" - }, - 15 - ] - ], - [ - { - "contract_data": { - "contract": "CAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAITA4", - "key": "ledger_key_contract_instance", - "durability": "persistent" - } - }, - [ - { - "last_modified_ledger_seq": 0, - "data": { - "contract_data": { - "ext": "v0", - "contract": "CAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAITA4", - "key": "ledger_key_contract_instance", - "durability": "persistent", - "val": { - "contract_instance": { - "executable": { - "wasm": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855" - }, - "storage": [ - { - "key": { - "u32": 0 - }, - "val": { - "address": "CBEPDNVYXQGWB5YUBXKJWYJA7OXTZW5LFLNO5JRRGE6Z6C5OSUZPCCEL" - } - }, - { - "key": { - "u32": 1 - }, - "val": { - "address": "CDPX66UMNNF4BWWDG7W6QGSVHCLMWP3ZOB2SLRWD3LNRZ3B6CEUJ6HZT" - } - }, - { - "key": { - "u32": 3 - }, - "val": { - "i128": { - "hi": 0, - "lo": 100 - } - } - } - ] - } - } - } - }, - "ext": "v0" - }, - 4095 - ] - ], - [ - { - "contract_data": { - "contract": "CBEPDNVYXQGWB5YUBXKJWYJA7OXTZW5LFLNO5JRRGE6Z6C5OSUZPCCEL", - "key": { - "vec": [ - { - "symbol": "Balance" - }, - { - "address": "CAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHK3M" - } - ] - }, - "durability": "persistent" - } - }, - [ - { - "last_modified_ledger_seq": 0, - "data": { - "contract_data": { - "ext": "v0", - "contract": "CBEPDNVYXQGWB5YUBXKJWYJA7OXTZW5LFLNO5JRRGE6Z6C5OSUZPCCEL", - "key": { - "vec": [ - { - "symbol": "Balance" - }, - { - "address": "CAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHK3M" - } - ] - }, - "durability": "persistent", - "val": { - "map": [ - { - "key": { - "symbol": "amount" - }, - "val": { - "i128": { - "hi": 0, - "lo": 900 - } - } - }, - { - "key": { - "symbol": "authorized" - }, - "val": { - "bool": true - } - }, - { - "key": { - "symbol": "clawback" - }, - "val": { - "bool": false - } - } - ] - } - } - }, - "ext": "v0" - }, - 518400 - ] - ], - [ - { - "contract_data": { - "contract": "CBEPDNVYXQGWB5YUBXKJWYJA7OXTZW5LFLNO5JRRGE6Z6C5OSUZPCCEL", - "key": { - "vec": [ - { - "symbol": "Balance" - }, - { - "address": "CAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAITA4" - } - ] - }, - "durability": "persistent" - } - }, - [ - { - "last_modified_ledger_seq": 0, - "data": { - "contract_data": { - "ext": "v0", - "contract": "CBEPDNVYXQGWB5YUBXKJWYJA7OXTZW5LFLNO5JRRGE6Z6C5OSUZPCCEL", - "key": { - "vec": [ - { - "symbol": "Balance" - }, - { - "address": "CAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAITA4" - } - ] - }, - "durability": "persistent", - "val": { - "map": [ - { - "key": { - "symbol": "amount" - }, - "val": { - "i128": { - "hi": 0, - "lo": 100 - } - } - }, - { - "key": { - "symbol": "authorized" - }, - "val": { - "bool": true - } - }, - { - "key": { - "symbol": "clawback" - }, - "val": { - "bool": false - } - } - ] - } - } - }, - "ext": "v0" - }, - 518400 - ] - ], - [ - { - "contract_data": { - "contract": "CBEPDNVYXQGWB5YUBXKJWYJA7OXTZW5LFLNO5JRRGE6Z6C5OSUZPCCEL", - "key": "ledger_key_contract_instance", - "durability": "persistent" - } - }, - [ - { - "last_modified_ledger_seq": 0, - "data": { - "contract_data": { - "ext": "v0", - "contract": "CBEPDNVYXQGWB5YUBXKJWYJA7OXTZW5LFLNO5JRRGE6Z6C5OSUZPCCEL", - "key": "ledger_key_contract_instance", - "durability": "persistent", - "val": { - "contract_instance": { - "executable": "stellar_asset", - "storage": [ - { - "key": { - "symbol": "METADATA" - }, - "val": { - "map": [ - { - "key": { - "symbol": "decimal" - }, - "val": { - "u32": 7 - } - }, - { - "key": { - "symbol": "name" - }, - "val": { - "string": "aaa:GAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEGWF" - } - }, - { - "key": { - "symbol": "symbol" - }, - "val": { - "string": "aaa" - } - } - ] - } - }, - { - "key": { - "vec": [ - { - "symbol": "Admin" - } - ] - }, - "val": { - "address": "CAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD2KM" - } - }, - { - "key": { - "vec": [ - { - "symbol": "AssetInfo" - } - ] - }, - "val": { - "vec": [ - { - "symbol": "AlphaNum4" - }, - { - "map": [ - { - "key": { - "symbol": "asset_code" - }, - "val": { - "string": "aaa\\0" - } - }, - { - "key": { - "symbol": "issuer" - }, - "val": { - "bytes": "0000000000000000000000000000000000000000000000000000000000000002" - } - } - ] - } - ] - } - } - ] - } - } - } - }, - "ext": "v0" - }, - 120960 - ] - ], - [ - { - "contract_data": { - "contract": "CDPX66UMNNF4BWWDG7W6QGSVHCLMWP3ZOB2SLRWD3LNRZ3B6CEUJ6HZT", - "key": { - "vec": [ - { - "symbol": "Balance" - }, - { - "address": "CAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHK3M" - } - ] - }, - "durability": "persistent" - } - }, - [ - { - "last_modified_ledger_seq": 0, - "data": { - "contract_data": { - "ext": "v0", - "contract": "CDPX66UMNNF4BWWDG7W6QGSVHCLMWP3ZOB2SLRWD3LNRZ3B6CEUJ6HZT", - "key": { - "vec": [ - { - "symbol": "Balance" - }, - { - "address": "CAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHK3M" - } - ] - }, - "durability": "persistent", - "val": { - "i128": { - "hi": 0, - "lo": 100 - } - } - } - }, - "ext": "v0" - }, - 518400 - ] - ], - [ - { - "contract_data": { - "contract": "CDPX66UMNNF4BWWDG7W6QGSVHCLMWP3ZOB2SLRWD3LNRZ3B6CEUJ6HZT", - "key": "ledger_key_contract_instance", - "durability": "persistent" - } - }, - [ - { - "last_modified_ledger_seq": 0, - "data": { - "contract_data": { - "ext": "v0", - "contract": "CDPX66UMNNF4BWWDG7W6QGSVHCLMWP3ZOB2SLRWD3LNRZ3B6CEUJ6HZT", - "key": "ledger_key_contract_instance", - "durability": "persistent", - "val": { - "contract_instance": { - "executable": { - "wasm": "b13961ecfa16928c58a7fabc15b4f9980066029041d896e068d9e9c9783433cf" - }, - "storage": [ - { - "key": { - "symbol": "METADATA" - }, - "val": { - "map": [ - { - "key": { - "symbol": "decimal" - }, - "val": { - "u32": 7 - } - }, - { - "key": { - "symbol": "name" - }, - "val": { - "string": "XLM Pool Share Token" - } - }, - { - "key": { - "symbol": "symbol" - }, - "val": { - "string": "pXLM" - } - } - ] - } - }, - { - "key": { - "vec": [ - { - "symbol": "Admin" - } - ] - }, - "val": { - "address": "CAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAITA4" - } - } - ] - } - } - } - }, - "ext": "v0" - }, - 120960 - ] - ], - [ - { - "contract_code": { - "hash": "b13961ecfa16928c58a7fabc15b4f9980066029041d896e068d9e9c9783433cf" - } - }, - [ - { - "last_modified_ledger_seq": 0, - "data": { - "contract_code": { - "ext": "v0", - "hash": "b13961ecfa16928c58a7fabc15b4f9980066029041d896e068d9e9c9783433cf", - "code": "0061736d010000000180011660047e7e7e7e017e60027e7e017e60037e7e7e017e60017e017e6000017e60017f0060047f7e7f7f0060017f017e60027f7f017e60047f7f7f7f017e60027e7e017f60027f7f0060017e0060037f7e7e0060057e7f7f7f7f0060027f7e006000017f60057e7e7e7e7f0060000060047e7e7e7e0060037e7e7e0060027e7e00025b0f016c01370000016c01310001016c015f00020161013000030178013100010176016700010169013800030169013700030169013600010162016a0001016d01390002016d01610000017801330004016c01300001016c01380001032d2c05060708010809040a0b0c0d0e0f1011120d130f14141415000112070301010003021300011402040f04041205030100110619037f01418080c0000b7f00418c82c0000b7f00419082c0000b07b20111066d656d6f727902000a696e697469616c697a650027046d696e740028097365745f61646d696e002b09616c6c6f77616e6365002d07617070726f7665002e0762616c616e6365002f087472616e7366657200300d7472616e736665725f66726f6d0032046275726e0033096275726e5f66726f6d003508646563696d616c730036046e616d6500380673796d626f6c0039015f003a0a5f5f646174615f656e6403010b5f5f686561705f6261736503020ab3282c1400200042014180cb1e4180d21f1090808080000b2500200010918080800020012002ad4220864204842003ad4220864204841080808080001a0bdd0102017f017e23808080800041106b22012480808080000240024002400240024020002802000e0403000102030b41c981c080004107109280808000200029030810938080800021020c030b41d081c080004105109280808000200029030810938080800021020c020b200141d581c0800041051092808080003703002001410110948080800021020c010b41c081c08000410910928080800021022001200041106a290300370308200120002903083703002002418881c0800041022001410210958080800010938080800021020b200141106a24808080800020020bc60102017e047f0240200141094b0d00420021022001210320002104024003402003450d0141012105024020042d0000220641df00460d000240200641506a41ff0171410a490d000240200641bf7f6a41ff0171411a490d002006419f7f6a41ff017141194b0d05200641456a21050c020b2006414b6a21050c010b200641526a21050b20024206862005ad42ff01838421022003417f6a2103200441016a21040c000b0b2002420886420e840f0b2000ad4220864204842001ad4220864204841089808080000b3c01017f23808080800041106b22022480808080002002200137030820022000370300200241021094808080002101200241106a24808080800020010b1a002000ad4220864204842001ad4220864204841085808080000b2f00024020012003460d0000000b2000ad4220864204842002ad4220864204842001ad422086420484108a808080000b7002017f017e23808080800041206b22002480808080002000420337030802400240200041086a10918080800022014202109780808000450d0020014202108180808000220142ff018342cd00510d0100000b418080c08000412b109880808000000b200041206a24808080800020010b0f0020002001108d808080004201510b0900109f80808000000b3d01017f23808080800041206b220124808080800020014203370308200141086a109180808000200042021082808080001a200141206a2480808080000bae0203027f017e017f23808080800041c0006b2203248080808000200341106a20023703002003200137030842002102200342003703000240024002402003109180808000220142001097808080000d0041002104420021010c010b200142001081808080002102410021040240034020044110460d01200341186a20046a4202370300200441086a21040c000b0b200242ff018342cc00520d01200241b081c080004102200341186a4102109b80808000200341286a2003290318109c80808000200329032850450d012003290320220242ff01834204520d01200329033021054200200341386a290300109d808080002002422088a722044b22061b21014200200520061b21020b200020013703082000200237030020002004360210200341c0006a2480808080000f0b00000b3200024020022004460d0000000b20002001ad4220864204842003ad4220864204842002ad422086420484108b808080001a0b830102017f017e0240024002402001a741ff0171220241c500460d0002402002410b470d00200041106a2001423f87370300200020014208873703080c020b200042839080808001370308420121010c020b2001108680808000210320011087808080002101200041106a2003370300200020013703080b420021010b200020013703000b0c00108c80808000422088a70b8f0201027f23808080800041d0006b22052480808080000240200242005220034200552003501b2206450d00109d8080800020044d0d00109f80808000000b200541106a41106a20013703002005200037031820054200370310200541286a41106a20013703002005200037033020054200370328200541286a109180808000210120052002200310a08080800020052004ad42208642048437034820052005290308370340200141b081c080004102200541c0006a410210958080800042001082808080001a02402006450d0002402004109d8080800022064f0d00418080c08000412b109880808000000b200541106a4200200420066b220420041090808080000b200541d0006a2480808080000b040000000b5b000240024020014280808080808080c0007c42ffffffffffffffff00560d0020012001852001423f87200285844200520d002001420886420b8421010c010b2002200110888080800021010b20002001370308200042003703000b920104017f017e017f017e23808080800041206b2204248080808000200441086a20002001109a808080000240200429030822052002542206200441106a290300220720035320072003511b0d000240200242005220034200552003501b450d0020002001200520027d200720037d2006ad7d2004280218109e808080000b200441206a2480808080000f0b109f80808000000b9b0102017f027e23808080800041306b22022480808080002002420137030020022001370308420021014200210302400240200210918080800022044201109780808000450d00200241186a20044201108180808000109c80808000200229031850450d01200241286a2903002103200229032021012002108f808080000b2000200337030820002001370300200241306a2480808080000f0b00000b6501017f23808080800041306b22032480808080002003420137031820032000370320200341186a1091808080002100200341086a2001200210a0808080002000200329031042011082808080001a200341186a108f80808000200341306a2480808080000b7c02017f017e23808080800041106b22032480808080002003200010a2808080000240200341086a2903002204200285427f852004200420027c2003290300220220017c2201200254ad7c220285834200530d0020002001200210a380808000200341106a2480808080000f0b41e080c08000411c109880808000000b950104017f017e017f017e23808080800041106b22032480808080002003200010a28080800002400240200329030022042001542205200341086a290300220620025320062002511b0d0020062002852006200620027d2005ad7d220285834200590d0141b080c080004121109880808000000b109f80808000000b2000200420017d200210a380808000200341106a2480808080000b1400024020014200530d000f0b109f80808000000bd60101017f23808080800041206b220424808080800002400240200042ff018342cd00520d00200142ff01834204520d00200242ff018342c900520d00200342ff018342c900520d0020044203370308200441086a10918080800042021097808080000d0120001099808080002001422088a741124b0d0120042003370318200420023703102004200142808080807083420484370308428e989fe6c3f9c13041f481c080004103200441086a410310958080800042021082808080001a200441206a24808080800042020f0b00000b109f80808000000bc70102017f027e23808080800041306b22022480808080000240200042ff018342cd00520d00200241186a2001109c80808000200229031850450d0020022903202201200241286a290300220310a68080800010968080800022041083808080001a10a98080800020002001200310a48080800020022000370328200220043703202002428ef2b3d70c370318200241186a10aa808080002100200241086a2001200310a080808000200020022903101084808080001a200241306a24808080800042020f0b00000b1b00428480808080a0e50042848080808090f600108e808080001a0ba60102017f017e23808080800041306b220124808080800020012000290310370310200120002903083703082001200029030037030041002100037e024020004118470d00410021000240034020004118460d01200141186a20006a200120006a290300370300200041086a21000c000b0b200141186a41031094808080002102200141306a24808080800020020f0b200141186a20006a4202370300200041086a21000c000b0b4f01017e0240200042ff018342cd00510d0000000b10968080800022011083808080001a10a9808080002000109980808000428ee6aeb9ea8ce4d538200110ac8080800020001084808080001a42020b940101027f23808080800041206b2202248080808000200220013703082002200037030041002103037e024020034110470d00410021030240034020034110460d01200241106a20036a200220036a290300370300200341086a21030c000b0b200241106a41021094808080002101200241206a24808080800020010f0b200241106a20036a4202370300200341086a21030c000b0b7401017f23808080800041306b22022480808080000240200042ff018342cd00520d00200142ff018342cd00520d0010a980808000200241186a20002001109a80808000200241086a2002290318200241206a29030010a08080800020022903102100200241306a24808080800020000f0b00000b950202017f027e23808080800041c0006b22042480808080000240200042ff018342cd00520d00200142ff018342cd00520d00200441186a2002109c80808000200429031850450d00200342ff01834204520d00200441286a29030021022004290320210520001083808080001a2005200210a68080800010a98080800020002001200520022003422088a7109e8080800041da81c0800041071092808080002106200420013703282004200037032020042006370318200441186a10aa808080002100200441086a2005200210a0808080002004200342808080807083420484370338200420042903103703302000200441306a41021094808080001084808080001a200441c0006a24808080800042020f0b00000b6201017f23808080800041206b22012480808080000240200042ff018342cd00510d0000000b10a980808000200141106a200010a28080800020012001290310200141186a29030010a08080800020012903082100200141206a24808080800020000ba80102017f017e23808080800041206b22032480808080000240200042ff018342cd00520d00200142ff018342cd00520d00200341086a2002109c80808000200329030850450d00200341186a29030021022003290310210420001083808080001a2004200210a68080800010a98080800020002004200210a58080800020012004200210a480808000200020012004200210b180808000200341206a24808080800042020f0b00000b6701017f23808080800041306b220424808080800020042001370328200420003703202004428eeeea95beb6def300370318200441186a10aa808080002101200441086a2002200310a080808000200120042903101084808080001a200441306a2480808080000bc20102017f017e23808080800041206b22042480808080000240200042ff018342cd00520d00200142ff018342cd00520d00200242ff018342cd00520d00200441086a2003109c80808000200429030850450d00200441186a29030021032004290310210520001083808080001a2005200310a68080800010a980808000200120002005200310a18080800020012005200310a58080800020022005200310a480808000200120022005200310b180808000200441206a24808080800042020f0b00000b8e0102017f017e23808080800041206b22022480808080000240200042ff018342cd00520d00200241086a2001109c80808000200229030850450d00200241186a29030021012002290310210320001083808080001a2003200110a68080800010a98080800020002003200110a58080800020002003200110b480808000200241206a24808080800042020f0b00000b4a01017f23808080800041106b2203248080808000428ee6b7fd09200010ac80808000210020032001200210a080808000200020032903081084808080001a200341106a2480808080000ba80102017f017e23808080800041206b22032480808080000240200042ff018342cd00520d00200142ff018342cd00520d00200341086a2002109c80808000200329030850450d00200341186a29030021022003290310210420001083808080001a2004200210a68080800010a980808000200120002004200210a18080800020012004200210a58080800020012004200210b480808000200341206a24808080800042020f0b00000b7102017f017e23808080800041206b220024808080800002400240428e989fe6c3f9c1304202109780808000450d002000428e989fe6c3f9c130420210818080800010b7808080002000290300500d010b00000b200041186a3502002101200041206a24808080800020014220864204840bf70102027f027e23808080800041206b2202248080808000410021030240034020034118460d01200241086a20036a4202370300200341086a21030c000b0b0240024002400240200142ff018342cc00520d00200141f481c080004103200241086a4103109b808080002002290308220142ff01834204520d012002290310220442ff018342c900520d0202402002290318220542ff018342c900520d002000200437030820004200370300200041186a2001422088a7360200200041106a20053703000c040b200042013703000c030b200042013703000c020b200042013703000c010b200042013703000b200241206a2480808080000b6802017f017e23808080800041206b220024808080800002400240428e989fe6c3f9c1304202109780808000450d002000428e989fe6c3f9c130420210818080800010b7808080002000290300500d010b00000b20002903082101200041206a24808080800020010b6b02017f017e23808080800041206b220024808080800002400240428e989fe6c3f9c1304202109780808000450d002000428e989fe6c3f9c130420210818080800010b7808080002000290300500d010b00000b200041106a2903002101200041206a24808080800020010b02000b0b96020100418080c0000b8c0263616c6c656420604f7074696f6e3a3a756e77726170282960206f6e206120604e6f6e65602076616c75650000000000617474656d707420746f2073756274726163742077697468206f766572666c6f77000000000000000000000000000000617474656d707420746f206164642077697468206f766572666c6f7766726f6d7370656e646572007c001000040000008000100007000000616d6f756e7465787069726174696f6e5f6c65646765720098001000060000009e00100011000000416c6c6f77616e636542616c616e6365537461746541646d696e617070726f7665646563696d616c6e616d6573796d626f6c0000e100100007000000e800100004000000ec00100006000000009f0a0e636f6e747261637473706563763000000000000000000000000a696e697469616c697a65000000000004000000000000000561646d696e000000000000130000000000000007646563696d616c000000000400000000000000046e616d6500000010000000000000000673796d626f6c000000000010000000000000000000000000000000046d696e74000000020000000000000002746f0000000000130000000000000006616d6f756e7400000000000b000000000000000000000000000000097365745f61646d696e0000000000000100000000000000096e65775f61646d696e0000000000001300000000000000000000000000000009616c6c6f77616e636500000000000002000000000000000466726f6d0000001300000000000000077370656e6465720000000013000000010000000b000000000000000000000007617070726f76650000000004000000000000000466726f6d0000001300000000000000077370656e64657200000000130000000000000006616d6f756e7400000000000b000000000000001165787069726174696f6e5f6c6564676572000000000000040000000000000000000000000000000762616c616e6365000000000100000000000000026964000000000013000000010000000b0000000000000000000000087472616e7366657200000003000000000000000466726f6d000000130000000000000002746f0000000000130000000000000006616d6f756e7400000000000b0000000000000000000000000000000d7472616e736665725f66726f6d0000000000000400000000000000077370656e6465720000000013000000000000000466726f6d000000130000000000000002746f0000000000130000000000000006616d6f756e7400000000000b000000000000000000000000000000046275726e00000002000000000000000466726f6d000000130000000000000006616d6f756e7400000000000b000000000000000000000000000000096275726e5f66726f6d0000000000000300000000000000077370656e6465720000000013000000000000000466726f6d000000130000000000000006616d6f756e7400000000000b00000000000000000000000000000008646563696d616c730000000000000001000000040000000000000000000000046e616d6500000000000000010000001000000000000000000000000673796d626f6c000000000000000000010000001000000001000000000000000000000010416c6c6f77616e6365446174614b657900000002000000000000000466726f6d0000001300000000000000077370656e64657200000000130000000100000000000000000000000e416c6c6f77616e636556616c75650000000000020000000000000006616d6f756e7400000000000b000000000000001165787069726174696f6e5f6c65646765720000000000000400000002000000000000000000000007446174614b65790000000004000000010000000000000009416c6c6f77616e636500000000000001000007d000000010416c6c6f77616e6365446174614b657900000001000000000000000742616c616e63650000000001000000130000000100000000000000055374617465000000000000010000001300000000000000000000000541646d696e0000000000000100000000000000000000000d546f6b656e4d65746164617461000000000000030000000000000007646563696d616c000000000400000000000000046e616d6500000010000000000000000673796d626f6c000000000010001e11636f6e7472616374656e766d6574617630000000000000001400000000006f0e636f6e74726163746d65746176300000000000000005727376657200000000000006312e37362e3000000000000000000008727373646b7665720000002f32302e352e30233965326333303232623433353562323234613761383134653133626135313736316565623134626200" - } - }, - "ext": "v0" - }, - 120960 - ] - ], - [ - { - "contract_code": { - "hash": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855" - } - }, - [ - { - "last_modified_ledger_seq": 0, - "data": { - "contract_code": { - "ext": "v0", - "hash": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", - "code": "" - } - }, - "ext": "v0" - }, - 4095 - ] - ] - ] - }, - "events": [ - { - "event": { - "ext": "v0", - "contract_id": null, - "type_": "diagnostic", - "body": { - "v0": { - "topics": [ - { - "symbol": "fn_call" - }, - { - "bytes": "48f1b6b8bc0d60f7140dd49b6120fbaf3cdbab2adaeea631313d9f0bae9532f1" - }, - { - "symbol": "init_asset" - } - ], - "data": { - "bytes": "0000000161616100000000000000000000000000000000000000000000000000000000000000000000000002" - } - } - } - }, - "failed_call": false - }, - { - "event": { - "ext": "v0", - "contract_id": "48f1b6b8bc0d60f7140dd49b6120fbaf3cdbab2adaeea631313d9f0bae9532f1", - "type_": "diagnostic", - "body": { - "v0": { - "topics": [ - { - "symbol": "fn_return" - }, - { - "symbol": "init_asset" - } - ], - "data": "void" - } - } - }, - "failed_call": false - }, - { - "event": { - "ext": "v0", - "contract_id": null, - "type_": "diagnostic", - "body": { - "v0": { - "topics": [ - { - "symbol": "fn_call" - }, - { - "bytes": "48f1b6b8bc0d60f7140dd49b6120fbaf3cdbab2adaeea631313d9f0bae9532f1" - }, - { - "symbol": "set_admin" - } - ], - "data": { - "address": "CAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD2KM" - } - } - } - }, - "failed_call": false - }, - { - "event": { - "ext": "v0", - "contract_id": "48f1b6b8bc0d60f7140dd49b6120fbaf3cdbab2adaeea631313d9f0bae9532f1", - "type_": "contract", - "body": { - "v0": { - "topics": [ - { - "symbol": "set_admin" - }, - { - "address": "GAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEGWF" - }, - { - "string": "aaa:GAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEGWF" - } - ], - "data": { - "address": "CAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD2KM" - } - } - } - }, - "failed_call": false - }, - { - "event": { - "ext": "v0", - "contract_id": "48f1b6b8bc0d60f7140dd49b6120fbaf3cdbab2adaeea631313d9f0bae9532f1", - "type_": "diagnostic", - "body": { - "v0": { - "topics": [ - { - "symbol": "fn_return" - }, - { - "symbol": "set_admin" - } - ], - "data": "void" - } - } - }, - "failed_call": false - }, - { - "event": { - "ext": "v0", - "contract_id": null, - "type_": "diagnostic", - "body": { - "v0": { - "topics": [ - { - "symbol": "fn_call" - }, - { - "bytes": "0000000000000000000000000000000000000000000000000000000000000004" - }, - { - "symbol": "initialize" - } - ], - "data": { - "vec": [ - { - "bytes": "b13961ecfa16928c58a7fabc15b4f9980066029041d896e068d9e9c9783433cf" - }, - { - "address": "CBEPDNVYXQGWB5YUBXKJWYJA7OXTZW5LFLNO5JRRGE6Z6C5OSUZPCCEL" - } - ] - } - } - } - }, - "failed_call": false - }, - { - "event": { - "ext": "v0", - "contract_id": "0000000000000000000000000000000000000000000000000000000000000004", - "type_": "diagnostic", - "body": { - "v0": { - "topics": [ - { - "symbol": "fn_call" - }, - { - "bytes": "df7f7a8c6b4bc0dac337ede81a553896cb3f79707525c6c3dadb1cec3e11289f" - }, - { - "symbol": "initialize" - } - ], - "data": { - "vec": [ - { - "address": "CAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAITA4" - }, - { - "u32": 7 - }, - { - "string": "XLM Pool Share Token" - }, - { - "string": "pXLM" - } - ] - } - } - } - }, - "failed_call": false - }, - { - "event": { - "ext": "v0", - "contract_id": "df7f7a8c6b4bc0dac337ede81a553896cb3f79707525c6c3dadb1cec3e11289f", - "type_": "diagnostic", - "body": { - "v0": { - "topics": [ - { - "symbol": "fn_return" - }, - { - "symbol": "initialize" - } - ], - "data": "void" - } - } - }, - "failed_call": false - }, - { - "event": { - "ext": "v0", - "contract_id": "0000000000000000000000000000000000000000000000000000000000000004", - "type_": "diagnostic", - "body": { - "v0": { - "topics": [ - { - "symbol": "fn_return" - }, - { - "symbol": "initialize" - } - ], - "data": "void" - } - } - }, - "failed_call": false - }, - { - "event": { - "ext": "v0", - "contract_id": null, - "type_": "diagnostic", - "body": { - "v0": { - "topics": [ - { - "symbol": "fn_call" - }, - { - "bytes": "0000000000000000000000000000000000000000000000000000000000000004" - }, - { - "symbol": "share_id" - } - ], - "data": "void" - } - } - }, - "failed_call": false - }, - { - "event": { - "ext": "v0", - "contract_id": "0000000000000000000000000000000000000000000000000000000000000004", - "type_": "diagnostic", - "body": { - "v0": { - "topics": [ - { - "symbol": "fn_return" - }, - { - "symbol": "share_id" - } - ], - "data": { - "address": "CDPX66UMNNF4BWWDG7W6QGSVHCLMWP3ZOB2SLRWD3LNRZ3B6CEUJ6HZT" - } - } - } - }, - "failed_call": false - }, - { - "event": { - "ext": "v0", - "contract_id": null, - "type_": "diagnostic", - "body": { - "v0": { - "topics": [ - { - "symbol": "fn_call" - }, - { - "bytes": "48f1b6b8bc0d60f7140dd49b6120fbaf3cdbab2adaeea631313d9f0bae9532f1" - }, - { - "symbol": "mint" - } - ], - "data": { - "vec": [ - { - "address": "CAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHK3M" - }, - { - "i128": { - "hi": 0, - "lo": 1000 - } - } - ] - } - } - } - }, - "failed_call": false - }, - { - "event": { - "ext": "v0", - "contract_id": "48f1b6b8bc0d60f7140dd49b6120fbaf3cdbab2adaeea631313d9f0bae9532f1", - "type_": "contract", - "body": { - "v0": { - "topics": [ - { - "symbol": "mint" - }, - { - "address": "CAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD2KM" - }, - { - "address": "CAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHK3M" - }, - { - "string": "aaa:GAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEGWF" - } - ], - "data": { - "i128": { - "hi": 0, - "lo": 1000 - } - } - } - } - }, - "failed_call": false - }, - { - "event": { - "ext": "v0", - "contract_id": "48f1b6b8bc0d60f7140dd49b6120fbaf3cdbab2adaeea631313d9f0bae9532f1", - "type_": "diagnostic", - "body": { - "v0": { - "topics": [ - { - "symbol": "fn_return" - }, - { - "symbol": "mint" - } - ], - "data": "void" - } - } - }, - "failed_call": false - }, - { - "event": { - "ext": "v0", - "contract_id": null, - "type_": "diagnostic", - "body": { - "v0": { - "topics": [ - { - "symbol": "fn_call" - }, - { - "bytes": "48f1b6b8bc0d60f7140dd49b6120fbaf3cdbab2adaeea631313d9f0bae9532f1" - }, - { - "symbol": "balance" - } - ], - "data": { - "address": "CAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHK3M" - } - } - } - }, - "failed_call": false - }, - { - "event": { - "ext": "v0", - "contract_id": "48f1b6b8bc0d60f7140dd49b6120fbaf3cdbab2adaeea631313d9f0bae9532f1", - "type_": "diagnostic", - "body": { - "v0": { - "topics": [ - { - "symbol": "fn_return" - }, - { - "symbol": "balance" - } - ], - "data": { - "i128": { - "hi": 0, - "lo": 1000 - } - } - } - } - }, - "failed_call": false - }, - { - "event": { - "ext": "v0", - "contract_id": null, - "type_": "diagnostic", - "body": { - "v0": { - "topics": [ - { - "symbol": "fn_call" - }, - { - "bytes": "0000000000000000000000000000000000000000000000000000000000000004" - }, - { - "symbol": "deposit" - } - ], - "data": { - "vec": [ - { - "address": "CAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHK3M" - }, - { - "i128": { - "hi": 0, - "lo": 100 - } - } - ] - } - } - } - }, - "failed_call": false - }, - { - "event": { - "ext": "v0", - "contract_id": "0000000000000000000000000000000000000000000000000000000000000004", - "type_": "diagnostic", - "body": { - "v0": { - "topics": [ - { - "symbol": "fn_call" - }, - { - "bytes": "48f1b6b8bc0d60f7140dd49b6120fbaf3cdbab2adaeea631313d9f0bae9532f1" - }, - { - "symbol": "transfer" - } - ], - "data": { - "vec": [ - { - "address": "CAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHK3M" - }, - { - "address": "CAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAITA4" - }, - { - "i128": { - "hi": 0, - "lo": 100 - } - } - ] - } - } - } - }, - "failed_call": false - }, - { - "event": { - "ext": "v0", - "contract_id": "48f1b6b8bc0d60f7140dd49b6120fbaf3cdbab2adaeea631313d9f0bae9532f1", - "type_": "contract", - "body": { - "v0": { - "topics": [ - { - "symbol": "transfer" - }, - { - "address": "CAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHK3M" - }, - { - "address": "CAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAITA4" - }, - { - "string": "aaa:GAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEGWF" - } - ], - "data": { - "i128": { - "hi": 0, - "lo": 100 - } - } - } - } - }, - "failed_call": false - }, - { - "event": { - "ext": "v0", - "contract_id": "48f1b6b8bc0d60f7140dd49b6120fbaf3cdbab2adaeea631313d9f0bae9532f1", - "type_": "diagnostic", - "body": { - "v0": { - "topics": [ - { - "symbol": "fn_return" - }, - { - "symbol": "transfer" - } - ], - "data": "void" - } - } - }, - "failed_call": false - }, - { - "event": { - "ext": "v0", - "contract_id": "0000000000000000000000000000000000000000000000000000000000000004", - "type_": "diagnostic", - "body": { - "v0": { - "topics": [ - { - "symbol": "fn_call" - }, - { - "bytes": "df7f7a8c6b4bc0dac337ede81a553896cb3f79707525c6c3dadb1cec3e11289f" - }, - { - "symbol": "mint" - } - ], - "data": { - "vec": [ - { - "address": "CAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHK3M" - }, - { - "i128": { - "hi": 0, - "lo": 100 - } - } - ] - } - } - } - }, - "failed_call": false - }, - { - "event": { - "ext": "v0", - "contract_id": "df7f7a8c6b4bc0dac337ede81a553896cb3f79707525c6c3dadb1cec3e11289f", - "type_": "contract", - "body": { - "v0": { - "topics": [ - { - "symbol": "mint" - }, - { - "address": "CAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAITA4" - }, - { - "address": "CAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHK3M" - } - ], - "data": { - "i128": { - "hi": 0, - "lo": 100 - } - } - } - } - }, - "failed_call": false - }, - { - "event": { - "ext": "v0", - "contract_id": "df7f7a8c6b4bc0dac337ede81a553896cb3f79707525c6c3dadb1cec3e11289f", - "type_": "diagnostic", - "body": { - "v0": { - "topics": [ - { - "symbol": "fn_return" - }, - { - "symbol": "mint" - } - ], - "data": "void" - } - } - }, - "failed_call": false - }, - { - "event": { - "ext": "v0", - "contract_id": "0000000000000000000000000000000000000000000000000000000000000004", - "type_": "diagnostic", - "body": { - "v0": { - "topics": [ - { - "symbol": "fn_return" - }, - { - "symbol": "deposit" - } - ], - "data": "void" - } - } - }, - "failed_call": false - }, - { - "event": { - "ext": "v0", - "contract_id": null, - "type_": "diagnostic", - "body": { - "v0": { - "topics": [ - { - "symbol": "fn_call" - }, - { - "bytes": "df7f7a8c6b4bc0dac337ede81a553896cb3f79707525c6c3dadb1cec3e11289f" - }, - { - "symbol": "balance" - } - ], - "data": { - "address": "CAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHK3M" - } - } - } - }, - "failed_call": false - }, - { - "event": { - "ext": "v0", - "contract_id": "df7f7a8c6b4bc0dac337ede81a553896cb3f79707525c6c3dadb1cec3e11289f", - "type_": "diagnostic", - "body": { - "v0": { - "topics": [ - { - "symbol": "fn_return" - }, - { - "symbol": "balance" - } - ], - "data": { - "i128": { - "hi": 0, - "lo": 100 - } - } - } - } - }, - "failed_call": false - }, - { - "event": { - "ext": "v0", - "contract_id": null, - "type_": "diagnostic", - "body": { - "v0": { - "topics": [ - { - "symbol": "fn_call" - }, - { - "bytes": "df7f7a8c6b4bc0dac337ede81a553896cb3f79707525c6c3dadb1cec3e11289f" - }, - { - "symbol": "balance" - } - ], - "data": { - "address": "CAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAITA4" - } - } - } - }, - "failed_call": false - }, - { - "event": { - "ext": "v0", - "contract_id": "df7f7a8c6b4bc0dac337ede81a553896cb3f79707525c6c3dadb1cec3e11289f", - "type_": "diagnostic", - "body": { - "v0": { - "topics": [ - { - "symbol": "fn_return" - }, - { - "symbol": "balance" - } - ], - "data": { - "i128": { - "hi": 0, - "lo": 0 - } - } - } - } - }, - "failed_call": false - }, - { - "event": { - "ext": "v0", - "contract_id": null, - "type_": "diagnostic", - "body": { - "v0": { - "topics": [ - { - "symbol": "fn_call" - }, - { - "bytes": "48f1b6b8bc0d60f7140dd49b6120fbaf3cdbab2adaeea631313d9f0bae9532f1" - }, - { - "symbol": "balance" - } - ], - "data": { - "address": "CAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHK3M" - } - } - } - }, - "failed_call": false - }, - { - "event": { - "ext": "v0", - "contract_id": "48f1b6b8bc0d60f7140dd49b6120fbaf3cdbab2adaeea631313d9f0bae9532f1", - "type_": "diagnostic", - "body": { - "v0": { - "topics": [ - { - "symbol": "fn_return" - }, - { - "symbol": "balance" - } - ], - "data": { - "i128": { - "hi": 0, - "lo": 900 - } - } - } - } - }, - "failed_call": false - }, - { - "event": { - "ext": "v0", - "contract_id": null, - "type_": "diagnostic", - "body": { - "v0": { - "topics": [ - { - "symbol": "fn_call" - }, - { - "bytes": "48f1b6b8bc0d60f7140dd49b6120fbaf3cdbab2adaeea631313d9f0bae9532f1" - }, - { - "symbol": "balance" - } - ], - "data": { - "address": "CAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAITA4" - } - } - } - }, - "failed_call": false - }, - { - "event": { - "ext": "v0", - "contract_id": "48f1b6b8bc0d60f7140dd49b6120fbaf3cdbab2adaeea631313d9f0bae9532f1", - "type_": "diagnostic", - "body": { - "v0": { - "topics": [ - { - "symbol": "fn_return" - }, - { - "symbol": "balance" - } - ], - "data": { - "i128": { - "hi": 0, - "lo": 100 - } - } - } - } - }, - "failed_call": false - } - ] -} \ No newline at end of file diff --git a/contracts/loan_pool/test_snapshots/test/test.1.json b/contracts/loan_pool/test_snapshots/test/test.1.json deleted file mode 100644 index a96e10b0..00000000 --- a/contracts/loan_pool/test_snapshots/test/test.1.json +++ /dev/null @@ -1,950 +0,0 @@ -{ - "generators": { - "address": 4, - "nonce": 0 - }, - "auth": [ - [ - [ - "GAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEGWF", - { - "function": { - "contract_fn": { - "contract_address": "CBEPDNVYXQGWB5YUBXKJWYJA7OXTZW5LFLNO5JRRGE6Z6C5OSUZPCCEL", - "function_name": "set_admin", - "args": [ - { - "address": "CAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD2KM" - } - ] - } - }, - "sub_invocations": [] - } - ] - ], - [], - [], - [ - [ - "CAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD2KM", - { - "function": { - "contract_fn": { - "contract_address": "CBEPDNVYXQGWB5YUBXKJWYJA7OXTZW5LFLNO5JRRGE6Z6C5OSUZPCCEL", - "function_name": "mint", - "args": [ - { - "address": "CAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHK3M" - }, - { - "i128": { - "hi": 0, - "lo": 1000 - } - } - ] - } - }, - "sub_invocations": [] - } - ] - ], - [] - ], - "ledger": { - "protocol_version": 20, - "sequence_number": 0, - "timestamp": 0, - "network_id": "0000000000000000000000000000000000000000000000000000000000000000", - "base_reserve": 0, - "min_persistent_entry_ttl": 4096, - "min_temp_entry_ttl": 16, - "max_entry_ttl": 6312000, - "ledger_entries": [ - [ - { - "account": { - "account_id": "GAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEGWF" - } - }, - [ - { - "last_modified_ledger_seq": 0, - "data": { - "account": { - "account_id": "GAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEGWF", - "balance": 0, - "seq_num": 0, - "num_sub_entries": 0, - "inflation_dest": null, - "flags": 0, - "home_domain": "", - "thresholds": "01010101", - "signers": [], - "ext": "v0" - } - }, - "ext": "v0" - }, - null - ] - ], - [ - { - "contract_data": { - "contract": "GAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEGWF", - "key": { - "ledger_key_nonce": { - "nonce": 801925984706572462 - } - }, - "durability": "temporary" - } - }, - [ - { - "last_modified_ledger_seq": 0, - "data": { - "contract_data": { - "ext": "v0", - "contract": "GAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEGWF", - "key": { - "ledger_key_nonce": { - "nonce": 801925984706572462 - } - }, - "durability": "temporary", - "val": "void" - } - }, - "ext": "v0" - }, - 15 - ] - ], - [ - { - "contract_data": { - "contract": "CAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD2KM", - "key": { - "ledger_key_nonce": { - "nonce": 5541220902715666415 - } - }, - "durability": "temporary" - } - }, - [ - { - "last_modified_ledger_seq": 0, - "data": { - "contract_data": { - "ext": "v0", - "contract": "CAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD2KM", - "key": { - "ledger_key_nonce": { - "nonce": 5541220902715666415 - } - }, - "durability": "temporary", - "val": "void" - } - }, - "ext": "v0" - }, - 15 - ] - ], - [ - { - "contract_data": { - "contract": "CAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAITA4", - "key": "ledger_key_contract_instance", - "durability": "persistent" - } - }, - [ - { - "last_modified_ledger_seq": 0, - "data": { - "contract_data": { - "ext": "v0", - "contract": "CAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAITA4", - "key": "ledger_key_contract_instance", - "durability": "persistent", - "val": { - "contract_instance": { - "executable": { - "wasm": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855" - }, - "storage": [ - { - "key": { - "u32": 0 - }, - "val": { - "address": "CBEPDNVYXQGWB5YUBXKJWYJA7OXTZW5LFLNO5JRRGE6Z6C5OSUZPCCEL" - } - }, - { - "key": { - "u32": 1 - }, - "val": { - "address": "CDPX66UMNNF4BWWDG7W6QGSVHCLMWP3ZOB2SLRWD3LNRZ3B6CEUJ6HZT" - } - }, - { - "key": { - "u32": 3 - }, - "val": { - "i128": { - "hi": 0, - "lo": 0 - } - } - } - ] - } - } - } - }, - "ext": "v0" - }, - 4095 - ] - ], - [ - { - "contract_data": { - "contract": "CBEPDNVYXQGWB5YUBXKJWYJA7OXTZW5LFLNO5JRRGE6Z6C5OSUZPCCEL", - "key": { - "vec": [ - { - "symbol": "Balance" - }, - { - "address": "CAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHK3M" - } - ] - }, - "durability": "persistent" - } - }, - [ - { - "last_modified_ledger_seq": 0, - "data": { - "contract_data": { - "ext": "v0", - "contract": "CBEPDNVYXQGWB5YUBXKJWYJA7OXTZW5LFLNO5JRRGE6Z6C5OSUZPCCEL", - "key": { - "vec": [ - { - "symbol": "Balance" - }, - { - "address": "CAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHK3M" - } - ] - }, - "durability": "persistent", - "val": { - "map": [ - { - "key": { - "symbol": "amount" - }, - "val": { - "i128": { - "hi": 0, - "lo": 1000 - } - } - }, - { - "key": { - "symbol": "authorized" - }, - "val": { - "bool": true - } - }, - { - "key": { - "symbol": "clawback" - }, - "val": { - "bool": false - } - } - ] - } - } - }, - "ext": "v0" - }, - 518400 - ] - ], - [ - { - "contract_data": { - "contract": "CBEPDNVYXQGWB5YUBXKJWYJA7OXTZW5LFLNO5JRRGE6Z6C5OSUZPCCEL", - "key": "ledger_key_contract_instance", - "durability": "persistent" - } - }, - [ - { - "last_modified_ledger_seq": 0, - "data": { - "contract_data": { - "ext": "v0", - "contract": "CBEPDNVYXQGWB5YUBXKJWYJA7OXTZW5LFLNO5JRRGE6Z6C5OSUZPCCEL", - "key": "ledger_key_contract_instance", - "durability": "persistent", - "val": { - "contract_instance": { - "executable": "stellar_asset", - "storage": [ - { - "key": { - "symbol": "METADATA" - }, - "val": { - "map": [ - { - "key": { - "symbol": "decimal" - }, - "val": { - "u32": 7 - } - }, - { - "key": { - "symbol": "name" - }, - "val": { - "string": "aaa:GAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEGWF" - } - }, - { - "key": { - "symbol": "symbol" - }, - "val": { - "string": "aaa" - } - } - ] - } - }, - { - "key": { - "vec": [ - { - "symbol": "Admin" - } - ] - }, - "val": { - "address": "CAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD2KM" - } - }, - { - "key": { - "vec": [ - { - "symbol": "AssetInfo" - } - ] - }, - "val": { - "vec": [ - { - "symbol": "AlphaNum4" - }, - { - "map": [ - { - "key": { - "symbol": "asset_code" - }, - "val": { - "string": "aaa\\0" - } - }, - { - "key": { - "symbol": "issuer" - }, - "val": { - "bytes": "0000000000000000000000000000000000000000000000000000000000000002" - } - } - ] - } - ] - } - } - ] - } - } - } - }, - "ext": "v0" - }, - 120960 - ] - ], - [ - { - "contract_data": { - "contract": "CDPX66UMNNF4BWWDG7W6QGSVHCLMWP3ZOB2SLRWD3LNRZ3B6CEUJ6HZT", - "key": "ledger_key_contract_instance", - "durability": "persistent" - } - }, - [ - { - "last_modified_ledger_seq": 0, - "data": { - "contract_data": { - "ext": "v0", - "contract": "CDPX66UMNNF4BWWDG7W6QGSVHCLMWP3ZOB2SLRWD3LNRZ3B6CEUJ6HZT", - "key": "ledger_key_contract_instance", - "durability": "persistent", - "val": { - "contract_instance": { - "executable": { - "wasm": "b13961ecfa16928c58a7fabc15b4f9980066029041d896e068d9e9c9783433cf" - }, - "storage": [ - { - "key": { - "symbol": "METADATA" - }, - "val": { - "map": [ - { - "key": { - "symbol": "decimal" - }, - "val": { - "u32": 7 - } - }, - { - "key": { - "symbol": "name" - }, - "val": { - "string": "XLM Pool Share Token" - } - }, - { - "key": { - "symbol": "symbol" - }, - "val": { - "string": "pXLM" - } - } - ] - } - }, - { - "key": { - "vec": [ - { - "symbol": "Admin" - } - ] - }, - "val": { - "address": "CAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAITA4" - } - } - ] - } - } - } - }, - "ext": "v0" - }, - 4095 - ] - ], - [ - { - "contract_code": { - "hash": "b13961ecfa16928c58a7fabc15b4f9980066029041d896e068d9e9c9783433cf" - } - }, - [ - { - "last_modified_ledger_seq": 0, - "data": { - "contract_code": { - "ext": "v0", - "hash": "b13961ecfa16928c58a7fabc15b4f9980066029041d896e068d9e9c9783433cf", - "code": "0061736d010000000180011660047e7e7e7e017e60027e7e017e60037e7e7e017e60017e017e6000017e60017f0060047f7e7f7f0060017f017e60027f7f017e60047f7f7f7f017e60027e7e017f60027f7f0060017e0060037f7e7e0060057e7f7f7f7f0060027f7e006000017f60057e7e7e7e7f0060000060047e7e7e7e0060037e7e7e0060027e7e00025b0f016c01370000016c01310001016c015f00020161013000030178013100010176016700010169013800030169013700030169013600010162016a0001016d01390002016d01610000017801330004016c01300001016c01380001032d2c05060708010809040a0b0c0d0e0f1011120d130f14141415000112070301010003021300011402040f04041205030100110619037f01418080c0000b7f00418c82c0000b7f00419082c0000b07b20111066d656d6f727902000a696e697469616c697a650027046d696e740028097365745f61646d696e002b09616c6c6f77616e6365002d07617070726f7665002e0762616c616e6365002f087472616e7366657200300d7472616e736665725f66726f6d0032046275726e0033096275726e5f66726f6d003508646563696d616c730036046e616d6500380673796d626f6c0039015f003a0a5f5f646174615f656e6403010b5f5f686561705f6261736503020ab3282c1400200042014180cb1e4180d21f1090808080000b2500200010918080800020012002ad4220864204842003ad4220864204841080808080001a0bdd0102017f017e23808080800041106b22012480808080000240024002400240024020002802000e0403000102030b41c981c080004107109280808000200029030810938080800021020c030b41d081c080004105109280808000200029030810938080800021020c020b200141d581c0800041051092808080003703002001410110948080800021020c010b41c081c08000410910928080800021022001200041106a290300370308200120002903083703002002418881c0800041022001410210958080800010938080800021020b200141106a24808080800020020bc60102017e047f0240200141094b0d00420021022001210320002104024003402003450d0141012105024020042d0000220641df00460d000240200641506a41ff0171410a490d000240200641bf7f6a41ff0171411a490d002006419f7f6a41ff017141194b0d05200641456a21050c020b2006414b6a21050c010b200641526a21050b20024206862005ad42ff01838421022003417f6a2103200441016a21040c000b0b2002420886420e840f0b2000ad4220864204842001ad4220864204841089808080000b3c01017f23808080800041106b22022480808080002002200137030820022000370300200241021094808080002101200241106a24808080800020010b1a002000ad4220864204842001ad4220864204841085808080000b2f00024020012003460d0000000b2000ad4220864204842002ad4220864204842001ad422086420484108a808080000b7002017f017e23808080800041206b22002480808080002000420337030802400240200041086a10918080800022014202109780808000450d0020014202108180808000220142ff018342cd00510d0100000b418080c08000412b109880808000000b200041206a24808080800020010b0f0020002001108d808080004201510b0900109f80808000000b3d01017f23808080800041206b220124808080800020014203370308200141086a109180808000200042021082808080001a200141206a2480808080000bae0203027f017e017f23808080800041c0006b2203248080808000200341106a20023703002003200137030842002102200342003703000240024002402003109180808000220142001097808080000d0041002104420021010c010b200142001081808080002102410021040240034020044110460d01200341186a20046a4202370300200441086a21040c000b0b200242ff018342cc00520d01200241b081c080004102200341186a4102109b80808000200341286a2003290318109c80808000200329032850450d012003290320220242ff01834204520d01200329033021054200200341386a290300109d808080002002422088a722044b22061b21014200200520061b21020b200020013703082000200237030020002004360210200341c0006a2480808080000f0b00000b3200024020022004460d0000000b20002001ad4220864204842003ad4220864204842002ad422086420484108b808080001a0b830102017f017e0240024002402001a741ff0171220241c500460d0002402002410b470d00200041106a2001423f87370300200020014208873703080c020b200042839080808001370308420121010c020b2001108680808000210320011087808080002101200041106a2003370300200020013703080b420021010b200020013703000b0c00108c80808000422088a70b8f0201027f23808080800041d0006b22052480808080000240200242005220034200552003501b2206450d00109d8080800020044d0d00109f80808000000b200541106a41106a20013703002005200037031820054200370310200541286a41106a20013703002005200037033020054200370328200541286a109180808000210120052002200310a08080800020052004ad42208642048437034820052005290308370340200141b081c080004102200541c0006a410210958080800042001082808080001a02402006450d0002402004109d8080800022064f0d00418080c08000412b109880808000000b200541106a4200200420066b220420041090808080000b200541d0006a2480808080000b040000000b5b000240024020014280808080808080c0007c42ffffffffffffffff00560d0020012001852001423f87200285844200520d002001420886420b8421010c010b2002200110888080800021010b20002001370308200042003703000b920104017f017e017f017e23808080800041206b2204248080808000200441086a20002001109a808080000240200429030822052002542206200441106a290300220720035320072003511b0d000240200242005220034200552003501b450d0020002001200520027d200720037d2006ad7d2004280218109e808080000b200441206a2480808080000f0b109f80808000000b9b0102017f027e23808080800041306b22022480808080002002420137030020022001370308420021014200210302400240200210918080800022044201109780808000450d00200241186a20044201108180808000109c80808000200229031850450d01200241286a2903002103200229032021012002108f808080000b2000200337030820002001370300200241306a2480808080000f0b00000b6501017f23808080800041306b22032480808080002003420137031820032000370320200341186a1091808080002100200341086a2001200210a0808080002000200329031042011082808080001a200341186a108f80808000200341306a2480808080000b7c02017f017e23808080800041106b22032480808080002003200010a2808080000240200341086a2903002204200285427f852004200420027c2003290300220220017c2201200254ad7c220285834200530d0020002001200210a380808000200341106a2480808080000f0b41e080c08000411c109880808000000b950104017f017e017f017e23808080800041106b22032480808080002003200010a28080800002400240200329030022042001542205200341086a290300220620025320062002511b0d0020062002852006200620027d2005ad7d220285834200590d0141b080c080004121109880808000000b109f80808000000b2000200420017d200210a380808000200341106a2480808080000b1400024020014200530d000f0b109f80808000000bd60101017f23808080800041206b220424808080800002400240200042ff018342cd00520d00200142ff01834204520d00200242ff018342c900520d00200342ff018342c900520d0020044203370308200441086a10918080800042021097808080000d0120001099808080002001422088a741124b0d0120042003370318200420023703102004200142808080807083420484370308428e989fe6c3f9c13041f481c080004103200441086a410310958080800042021082808080001a200441206a24808080800042020f0b00000b109f80808000000bc70102017f027e23808080800041306b22022480808080000240200042ff018342cd00520d00200241186a2001109c80808000200229031850450d0020022903202201200241286a290300220310a68080800010968080800022041083808080001a10a98080800020002001200310a48080800020022000370328200220043703202002428ef2b3d70c370318200241186a10aa808080002100200241086a2001200310a080808000200020022903101084808080001a200241306a24808080800042020f0b00000b1b00428480808080a0e50042848080808090f600108e808080001a0ba60102017f017e23808080800041306b220124808080800020012000290310370310200120002903083703082001200029030037030041002100037e024020004118470d00410021000240034020004118460d01200141186a20006a200120006a290300370300200041086a21000c000b0b200141186a41031094808080002102200141306a24808080800020020f0b200141186a20006a4202370300200041086a21000c000b0b4f01017e0240200042ff018342cd00510d0000000b10968080800022011083808080001a10a9808080002000109980808000428ee6aeb9ea8ce4d538200110ac8080800020001084808080001a42020b940101027f23808080800041206b2202248080808000200220013703082002200037030041002103037e024020034110470d00410021030240034020034110460d01200241106a20036a200220036a290300370300200341086a21030c000b0b200241106a41021094808080002101200241206a24808080800020010f0b200241106a20036a4202370300200341086a21030c000b0b7401017f23808080800041306b22022480808080000240200042ff018342cd00520d00200142ff018342cd00520d0010a980808000200241186a20002001109a80808000200241086a2002290318200241206a29030010a08080800020022903102100200241306a24808080800020000f0b00000b950202017f027e23808080800041c0006b22042480808080000240200042ff018342cd00520d00200142ff018342cd00520d00200441186a2002109c80808000200429031850450d00200342ff01834204520d00200441286a29030021022004290320210520001083808080001a2005200210a68080800010a98080800020002001200520022003422088a7109e8080800041da81c0800041071092808080002106200420013703282004200037032020042006370318200441186a10aa808080002100200441086a2005200210a0808080002004200342808080807083420484370338200420042903103703302000200441306a41021094808080001084808080001a200441c0006a24808080800042020f0b00000b6201017f23808080800041206b22012480808080000240200042ff018342cd00510d0000000b10a980808000200141106a200010a28080800020012001290310200141186a29030010a08080800020012903082100200141206a24808080800020000ba80102017f017e23808080800041206b22032480808080000240200042ff018342cd00520d00200142ff018342cd00520d00200341086a2002109c80808000200329030850450d00200341186a29030021022003290310210420001083808080001a2004200210a68080800010a98080800020002004200210a58080800020012004200210a480808000200020012004200210b180808000200341206a24808080800042020f0b00000b6701017f23808080800041306b220424808080800020042001370328200420003703202004428eeeea95beb6def300370318200441186a10aa808080002101200441086a2002200310a080808000200120042903101084808080001a200441306a2480808080000bc20102017f017e23808080800041206b22042480808080000240200042ff018342cd00520d00200142ff018342cd00520d00200242ff018342cd00520d00200441086a2003109c80808000200429030850450d00200441186a29030021032004290310210520001083808080001a2005200310a68080800010a980808000200120002005200310a18080800020012005200310a58080800020022005200310a480808000200120022005200310b180808000200441206a24808080800042020f0b00000b8e0102017f017e23808080800041206b22022480808080000240200042ff018342cd00520d00200241086a2001109c80808000200229030850450d00200241186a29030021012002290310210320001083808080001a2003200110a68080800010a98080800020002003200110a58080800020002003200110b480808000200241206a24808080800042020f0b00000b4a01017f23808080800041106b2203248080808000428ee6b7fd09200010ac80808000210020032001200210a080808000200020032903081084808080001a200341106a2480808080000ba80102017f017e23808080800041206b22032480808080000240200042ff018342cd00520d00200142ff018342cd00520d00200341086a2002109c80808000200329030850450d00200341186a29030021022003290310210420001083808080001a2004200210a68080800010a980808000200120002004200210a18080800020012004200210a58080800020012004200210b480808000200341206a24808080800042020f0b00000b7102017f017e23808080800041206b220024808080800002400240428e989fe6c3f9c1304202109780808000450d002000428e989fe6c3f9c130420210818080800010b7808080002000290300500d010b00000b200041186a3502002101200041206a24808080800020014220864204840bf70102027f027e23808080800041206b2202248080808000410021030240034020034118460d01200241086a20036a4202370300200341086a21030c000b0b0240024002400240200142ff018342cc00520d00200141f481c080004103200241086a4103109b808080002002290308220142ff01834204520d012002290310220442ff018342c900520d0202402002290318220542ff018342c900520d002000200437030820004200370300200041186a2001422088a7360200200041106a20053703000c040b200042013703000c030b200042013703000c020b200042013703000c010b200042013703000b200241206a2480808080000b6802017f017e23808080800041206b220024808080800002400240428e989fe6c3f9c1304202109780808000450d002000428e989fe6c3f9c130420210818080800010b7808080002000290300500d010b00000b20002903082101200041206a24808080800020010b6b02017f017e23808080800041206b220024808080800002400240428e989fe6c3f9c1304202109780808000450d002000428e989fe6c3f9c130420210818080800010b7808080002000290300500d010b00000b200041106a2903002101200041206a24808080800020010b02000b0b96020100418080c0000b8c0263616c6c656420604f7074696f6e3a3a756e77726170282960206f6e206120604e6f6e65602076616c75650000000000617474656d707420746f2073756274726163742077697468206f766572666c6f77000000000000000000000000000000617474656d707420746f206164642077697468206f766572666c6f7766726f6d7370656e646572007c001000040000008000100007000000616d6f756e7465787069726174696f6e5f6c65646765720098001000060000009e00100011000000416c6c6f77616e636542616c616e6365537461746541646d696e617070726f7665646563696d616c6e616d6573796d626f6c0000e100100007000000e800100004000000ec00100006000000009f0a0e636f6e747261637473706563763000000000000000000000000a696e697469616c697a65000000000004000000000000000561646d696e000000000000130000000000000007646563696d616c000000000400000000000000046e616d6500000010000000000000000673796d626f6c000000000010000000000000000000000000000000046d696e74000000020000000000000002746f0000000000130000000000000006616d6f756e7400000000000b000000000000000000000000000000097365745f61646d696e0000000000000100000000000000096e65775f61646d696e0000000000001300000000000000000000000000000009616c6c6f77616e636500000000000002000000000000000466726f6d0000001300000000000000077370656e6465720000000013000000010000000b000000000000000000000007617070726f76650000000004000000000000000466726f6d0000001300000000000000077370656e64657200000000130000000000000006616d6f756e7400000000000b000000000000001165787069726174696f6e5f6c6564676572000000000000040000000000000000000000000000000762616c616e6365000000000100000000000000026964000000000013000000010000000b0000000000000000000000087472616e7366657200000003000000000000000466726f6d000000130000000000000002746f0000000000130000000000000006616d6f756e7400000000000b0000000000000000000000000000000d7472616e736665725f66726f6d0000000000000400000000000000077370656e6465720000000013000000000000000466726f6d000000130000000000000002746f0000000000130000000000000006616d6f756e7400000000000b000000000000000000000000000000046275726e00000002000000000000000466726f6d000000130000000000000006616d6f756e7400000000000b000000000000000000000000000000096275726e5f66726f6d0000000000000300000000000000077370656e6465720000000013000000000000000466726f6d000000130000000000000006616d6f756e7400000000000b00000000000000000000000000000008646563696d616c730000000000000001000000040000000000000000000000046e616d6500000000000000010000001000000000000000000000000673796d626f6c000000000000000000010000001000000001000000000000000000000010416c6c6f77616e6365446174614b657900000002000000000000000466726f6d0000001300000000000000077370656e64657200000000130000000100000000000000000000000e416c6c6f77616e636556616c75650000000000020000000000000006616d6f756e7400000000000b000000000000001165787069726174696f6e5f6c65646765720000000000000400000002000000000000000000000007446174614b65790000000004000000010000000000000009416c6c6f77616e636500000000000001000007d000000010416c6c6f77616e6365446174614b657900000001000000000000000742616c616e63650000000001000000130000000100000000000000055374617465000000000000010000001300000000000000000000000541646d696e0000000000000100000000000000000000000d546f6b656e4d65746164617461000000000000030000000000000007646563696d616c000000000400000000000000046e616d6500000010000000000000000673796d626f6c000000000010001e11636f6e7472616374656e766d6574617630000000000000001400000000006f0e636f6e74726163746d65746176300000000000000005727376657200000000000006312e37362e3000000000000000000008727373646b7665720000002f32302e352e30233965326333303232623433353562323234613761383134653133626135313736316565623134626200" - } - }, - "ext": "v0" - }, - 4095 - ] - ], - [ - { - "contract_code": { - "hash": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855" - } - }, - [ - { - "last_modified_ledger_seq": 0, - "data": { - "contract_code": { - "ext": "v0", - "hash": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", - "code": "" - } - }, - "ext": "v0" - }, - 4095 - ] - ] - ] - }, - "events": [ - { - "event": { - "ext": "v0", - "contract_id": null, - "type_": "diagnostic", - "body": { - "v0": { - "topics": [ - { - "symbol": "fn_call" - }, - { - "bytes": "48f1b6b8bc0d60f7140dd49b6120fbaf3cdbab2adaeea631313d9f0bae9532f1" - }, - { - "symbol": "init_asset" - } - ], - "data": { - "bytes": "0000000161616100000000000000000000000000000000000000000000000000000000000000000000000002" - } - } - } - }, - "failed_call": false - }, - { - "event": { - "ext": "v0", - "contract_id": "48f1b6b8bc0d60f7140dd49b6120fbaf3cdbab2adaeea631313d9f0bae9532f1", - "type_": "diagnostic", - "body": { - "v0": { - "topics": [ - { - "symbol": "fn_return" - }, - { - "symbol": "init_asset" - } - ], - "data": "void" - } - } - }, - "failed_call": false - }, - { - "event": { - "ext": "v0", - "contract_id": null, - "type_": "diagnostic", - "body": { - "v0": { - "topics": [ - { - "symbol": "fn_call" - }, - { - "bytes": "48f1b6b8bc0d60f7140dd49b6120fbaf3cdbab2adaeea631313d9f0bae9532f1" - }, - { - "symbol": "set_admin" - } - ], - "data": { - "address": "CAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD2KM" - } - } - } - }, - "failed_call": false - }, - { - "event": { - "ext": "v0", - "contract_id": "48f1b6b8bc0d60f7140dd49b6120fbaf3cdbab2adaeea631313d9f0bae9532f1", - "type_": "contract", - "body": { - "v0": { - "topics": [ - { - "symbol": "set_admin" - }, - { - "address": "GAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEGWF" - }, - { - "string": "aaa:GAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEGWF" - } - ], - "data": { - "address": "CAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD2KM" - } - } - } - }, - "failed_call": false - }, - { - "event": { - "ext": "v0", - "contract_id": "48f1b6b8bc0d60f7140dd49b6120fbaf3cdbab2adaeea631313d9f0bae9532f1", - "type_": "diagnostic", - "body": { - "v0": { - "topics": [ - { - "symbol": "fn_return" - }, - { - "symbol": "set_admin" - } - ], - "data": "void" - } - } - }, - "failed_call": false - }, - { - "event": { - "ext": "v0", - "contract_id": null, - "type_": "diagnostic", - "body": { - "v0": { - "topics": [ - { - "symbol": "fn_call" - }, - { - "bytes": "0000000000000000000000000000000000000000000000000000000000000004" - }, - { - "symbol": "initialize" - } - ], - "data": { - "vec": [ - { - "bytes": "b13961ecfa16928c58a7fabc15b4f9980066029041d896e068d9e9c9783433cf" - }, - { - "address": "CBEPDNVYXQGWB5YUBXKJWYJA7OXTZW5LFLNO5JRRGE6Z6C5OSUZPCCEL" - } - ] - } - } - } - }, - "failed_call": false - }, - { - "event": { - "ext": "v0", - "contract_id": "0000000000000000000000000000000000000000000000000000000000000004", - "type_": "diagnostic", - "body": { - "v0": { - "topics": [ - { - "symbol": "fn_call" - }, - { - "bytes": "df7f7a8c6b4bc0dac337ede81a553896cb3f79707525c6c3dadb1cec3e11289f" - }, - { - "symbol": "initialize" - } - ], - "data": { - "vec": [ - { - "address": "CAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAITA4" - }, - { - "u32": 7 - }, - { - "string": "XLM Pool Share Token" - }, - { - "string": "pXLM" - } - ] - } - } - } - }, - "failed_call": false - }, - { - "event": { - "ext": "v0", - "contract_id": "df7f7a8c6b4bc0dac337ede81a553896cb3f79707525c6c3dadb1cec3e11289f", - "type_": "diagnostic", - "body": { - "v0": { - "topics": [ - { - "symbol": "fn_return" - }, - { - "symbol": "initialize" - } - ], - "data": "void" - } - } - }, - "failed_call": false - }, - { - "event": { - "ext": "v0", - "contract_id": "0000000000000000000000000000000000000000000000000000000000000004", - "type_": "diagnostic", - "body": { - "v0": { - "topics": [ - { - "symbol": "fn_return" - }, - { - "symbol": "initialize" - } - ], - "data": "void" - } - } - }, - "failed_call": false - }, - { - "event": { - "ext": "v0", - "contract_id": null, - "type_": "diagnostic", - "body": { - "v0": { - "topics": [ - { - "symbol": "fn_call" - }, - { - "bytes": "0000000000000000000000000000000000000000000000000000000000000004" - }, - { - "symbol": "share_id" - } - ], - "data": "void" - } - } - }, - "failed_call": false - }, - { - "event": { - "ext": "v0", - "contract_id": "0000000000000000000000000000000000000000000000000000000000000004", - "type_": "diagnostic", - "body": { - "v0": { - "topics": [ - { - "symbol": "fn_return" - }, - { - "symbol": "share_id" - } - ], - "data": { - "address": "CDPX66UMNNF4BWWDG7W6QGSVHCLMWP3ZOB2SLRWD3LNRZ3B6CEUJ6HZT" - } - } - } - }, - "failed_call": false - }, - { - "event": { - "ext": "v0", - "contract_id": null, - "type_": "diagnostic", - "body": { - "v0": { - "topics": [ - { - "symbol": "fn_call" - }, - { - "bytes": "48f1b6b8bc0d60f7140dd49b6120fbaf3cdbab2adaeea631313d9f0bae9532f1" - }, - { - "symbol": "mint" - } - ], - "data": { - "vec": [ - { - "address": "CAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHK3M" - }, - { - "i128": { - "hi": 0, - "lo": 1000 - } - } - ] - } - } - } - }, - "failed_call": false - }, - { - "event": { - "ext": "v0", - "contract_id": "48f1b6b8bc0d60f7140dd49b6120fbaf3cdbab2adaeea631313d9f0bae9532f1", - "type_": "contract", - "body": { - "v0": { - "topics": [ - { - "symbol": "mint" - }, - { - "address": "CAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD2KM" - }, - { - "address": "CAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHK3M" - }, - { - "string": "aaa:GAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEGWF" - } - ], - "data": { - "i128": { - "hi": 0, - "lo": 1000 - } - } - } - } - }, - "failed_call": false - }, - { - "event": { - "ext": "v0", - "contract_id": "48f1b6b8bc0d60f7140dd49b6120fbaf3cdbab2adaeea631313d9f0bae9532f1", - "type_": "diagnostic", - "body": { - "v0": { - "topics": [ - { - "symbol": "fn_return" - }, - { - "symbol": "mint" - } - ], - "data": "void" - } - } - }, - "failed_call": false - }, - { - "event": { - "ext": "v0", - "contract_id": null, - "type_": "diagnostic", - "body": { - "v0": { - "topics": [ - { - "symbol": "fn_call" - }, - { - "bytes": "48f1b6b8bc0d60f7140dd49b6120fbaf3cdbab2adaeea631313d9f0bae9532f1" - }, - { - "symbol": "balance" - } - ], - "data": { - "address": "CAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHK3M" - } - } - } - }, - "failed_call": false - }, - { - "event": { - "ext": "v0", - "contract_id": "48f1b6b8bc0d60f7140dd49b6120fbaf3cdbab2adaeea631313d9f0bae9532f1", - "type_": "diagnostic", - "body": { - "v0": { - "topics": [ - { - "symbol": "fn_return" - }, - { - "symbol": "balance" - } - ], - "data": { - "i128": { - "hi": 0, - "lo": 1000 - } - } - } - } - }, - "failed_call": false - } - ] -} \ No newline at end of file diff --git a/contracts/loan_pool/test_snapshots/test/token_minted.1.json b/contracts/loan_pool/test_snapshots/test/token_minted.1.json deleted file mode 100644 index a96e10b0..00000000 --- a/contracts/loan_pool/test_snapshots/test/token_minted.1.json +++ /dev/null @@ -1,950 +0,0 @@ -{ - "generators": { - "address": 4, - "nonce": 0 - }, - "auth": [ - [ - [ - "GAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEGWF", - { - "function": { - "contract_fn": { - "contract_address": "CBEPDNVYXQGWB5YUBXKJWYJA7OXTZW5LFLNO5JRRGE6Z6C5OSUZPCCEL", - "function_name": "set_admin", - "args": [ - { - "address": "CAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD2KM" - } - ] - } - }, - "sub_invocations": [] - } - ] - ], - [], - [], - [ - [ - "CAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD2KM", - { - "function": { - "contract_fn": { - "contract_address": "CBEPDNVYXQGWB5YUBXKJWYJA7OXTZW5LFLNO5JRRGE6Z6C5OSUZPCCEL", - "function_name": "mint", - "args": [ - { - "address": "CAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHK3M" - }, - { - "i128": { - "hi": 0, - "lo": 1000 - } - } - ] - } - }, - "sub_invocations": [] - } - ] - ], - [] - ], - "ledger": { - "protocol_version": 20, - "sequence_number": 0, - "timestamp": 0, - "network_id": "0000000000000000000000000000000000000000000000000000000000000000", - "base_reserve": 0, - "min_persistent_entry_ttl": 4096, - "min_temp_entry_ttl": 16, - "max_entry_ttl": 6312000, - "ledger_entries": [ - [ - { - "account": { - "account_id": "GAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEGWF" - } - }, - [ - { - "last_modified_ledger_seq": 0, - "data": { - "account": { - "account_id": "GAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEGWF", - "balance": 0, - "seq_num": 0, - "num_sub_entries": 0, - "inflation_dest": null, - "flags": 0, - "home_domain": "", - "thresholds": "01010101", - "signers": [], - "ext": "v0" - } - }, - "ext": "v0" - }, - null - ] - ], - [ - { - "contract_data": { - "contract": "GAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEGWF", - "key": { - "ledger_key_nonce": { - "nonce": 801925984706572462 - } - }, - "durability": "temporary" - } - }, - [ - { - "last_modified_ledger_seq": 0, - "data": { - "contract_data": { - "ext": "v0", - "contract": "GAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEGWF", - "key": { - "ledger_key_nonce": { - "nonce": 801925984706572462 - } - }, - "durability": "temporary", - "val": "void" - } - }, - "ext": "v0" - }, - 15 - ] - ], - [ - { - "contract_data": { - "contract": "CAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD2KM", - "key": { - "ledger_key_nonce": { - "nonce": 5541220902715666415 - } - }, - "durability": "temporary" - } - }, - [ - { - "last_modified_ledger_seq": 0, - "data": { - "contract_data": { - "ext": "v0", - "contract": "CAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD2KM", - "key": { - "ledger_key_nonce": { - "nonce": 5541220902715666415 - } - }, - "durability": "temporary", - "val": "void" - } - }, - "ext": "v0" - }, - 15 - ] - ], - [ - { - "contract_data": { - "contract": "CAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAITA4", - "key": "ledger_key_contract_instance", - "durability": "persistent" - } - }, - [ - { - "last_modified_ledger_seq": 0, - "data": { - "contract_data": { - "ext": "v0", - "contract": "CAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAITA4", - "key": "ledger_key_contract_instance", - "durability": "persistent", - "val": { - "contract_instance": { - "executable": { - "wasm": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855" - }, - "storage": [ - { - "key": { - "u32": 0 - }, - "val": { - "address": "CBEPDNVYXQGWB5YUBXKJWYJA7OXTZW5LFLNO5JRRGE6Z6C5OSUZPCCEL" - } - }, - { - "key": { - "u32": 1 - }, - "val": { - "address": "CDPX66UMNNF4BWWDG7W6QGSVHCLMWP3ZOB2SLRWD3LNRZ3B6CEUJ6HZT" - } - }, - { - "key": { - "u32": 3 - }, - "val": { - "i128": { - "hi": 0, - "lo": 0 - } - } - } - ] - } - } - } - }, - "ext": "v0" - }, - 4095 - ] - ], - [ - { - "contract_data": { - "contract": "CBEPDNVYXQGWB5YUBXKJWYJA7OXTZW5LFLNO5JRRGE6Z6C5OSUZPCCEL", - "key": { - "vec": [ - { - "symbol": "Balance" - }, - { - "address": "CAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHK3M" - } - ] - }, - "durability": "persistent" - } - }, - [ - { - "last_modified_ledger_seq": 0, - "data": { - "contract_data": { - "ext": "v0", - "contract": "CBEPDNVYXQGWB5YUBXKJWYJA7OXTZW5LFLNO5JRRGE6Z6C5OSUZPCCEL", - "key": { - "vec": [ - { - "symbol": "Balance" - }, - { - "address": "CAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHK3M" - } - ] - }, - "durability": "persistent", - "val": { - "map": [ - { - "key": { - "symbol": "amount" - }, - "val": { - "i128": { - "hi": 0, - "lo": 1000 - } - } - }, - { - "key": { - "symbol": "authorized" - }, - "val": { - "bool": true - } - }, - { - "key": { - "symbol": "clawback" - }, - "val": { - "bool": false - } - } - ] - } - } - }, - "ext": "v0" - }, - 518400 - ] - ], - [ - { - "contract_data": { - "contract": "CBEPDNVYXQGWB5YUBXKJWYJA7OXTZW5LFLNO5JRRGE6Z6C5OSUZPCCEL", - "key": "ledger_key_contract_instance", - "durability": "persistent" - } - }, - [ - { - "last_modified_ledger_seq": 0, - "data": { - "contract_data": { - "ext": "v0", - "contract": "CBEPDNVYXQGWB5YUBXKJWYJA7OXTZW5LFLNO5JRRGE6Z6C5OSUZPCCEL", - "key": "ledger_key_contract_instance", - "durability": "persistent", - "val": { - "contract_instance": { - "executable": "stellar_asset", - "storage": [ - { - "key": { - "symbol": "METADATA" - }, - "val": { - "map": [ - { - "key": { - "symbol": "decimal" - }, - "val": { - "u32": 7 - } - }, - { - "key": { - "symbol": "name" - }, - "val": { - "string": "aaa:GAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEGWF" - } - }, - { - "key": { - "symbol": "symbol" - }, - "val": { - "string": "aaa" - } - } - ] - } - }, - { - "key": { - "vec": [ - { - "symbol": "Admin" - } - ] - }, - "val": { - "address": "CAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD2KM" - } - }, - { - "key": { - "vec": [ - { - "symbol": "AssetInfo" - } - ] - }, - "val": { - "vec": [ - { - "symbol": "AlphaNum4" - }, - { - "map": [ - { - "key": { - "symbol": "asset_code" - }, - "val": { - "string": "aaa\\0" - } - }, - { - "key": { - "symbol": "issuer" - }, - "val": { - "bytes": "0000000000000000000000000000000000000000000000000000000000000002" - } - } - ] - } - ] - } - } - ] - } - } - } - }, - "ext": "v0" - }, - 120960 - ] - ], - [ - { - "contract_data": { - "contract": "CDPX66UMNNF4BWWDG7W6QGSVHCLMWP3ZOB2SLRWD3LNRZ3B6CEUJ6HZT", - "key": "ledger_key_contract_instance", - "durability": "persistent" - } - }, - [ - { - "last_modified_ledger_seq": 0, - "data": { - "contract_data": { - "ext": "v0", - "contract": "CDPX66UMNNF4BWWDG7W6QGSVHCLMWP3ZOB2SLRWD3LNRZ3B6CEUJ6HZT", - "key": "ledger_key_contract_instance", - "durability": "persistent", - "val": { - "contract_instance": { - "executable": { - "wasm": "b13961ecfa16928c58a7fabc15b4f9980066029041d896e068d9e9c9783433cf" - }, - "storage": [ - { - "key": { - "symbol": "METADATA" - }, - "val": { - "map": [ - { - "key": { - "symbol": "decimal" - }, - "val": { - "u32": 7 - } - }, - { - "key": { - "symbol": "name" - }, - "val": { - "string": "XLM Pool Share Token" - } - }, - { - "key": { - "symbol": "symbol" - }, - "val": { - "string": "pXLM" - } - } - ] - } - }, - { - "key": { - "vec": [ - { - "symbol": "Admin" - } - ] - }, - "val": { - "address": "CAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAITA4" - } - } - ] - } - } - } - }, - "ext": "v0" - }, - 4095 - ] - ], - [ - { - "contract_code": { - "hash": "b13961ecfa16928c58a7fabc15b4f9980066029041d896e068d9e9c9783433cf" - } - }, - [ - { - "last_modified_ledger_seq": 0, - "data": { - "contract_code": { - "ext": "v0", - "hash": "b13961ecfa16928c58a7fabc15b4f9980066029041d896e068d9e9c9783433cf", - "code": "0061736d010000000180011660047e7e7e7e017e60027e7e017e60037e7e7e017e60017e017e6000017e60017f0060047f7e7f7f0060017f017e60027f7f017e60047f7f7f7f017e60027e7e017f60027f7f0060017e0060037f7e7e0060057e7f7f7f7f0060027f7e006000017f60057e7e7e7e7f0060000060047e7e7e7e0060037e7e7e0060027e7e00025b0f016c01370000016c01310001016c015f00020161013000030178013100010176016700010169013800030169013700030169013600010162016a0001016d01390002016d01610000017801330004016c01300001016c01380001032d2c05060708010809040a0b0c0d0e0f1011120d130f14141415000112070301010003021300011402040f04041205030100110619037f01418080c0000b7f00418c82c0000b7f00419082c0000b07b20111066d656d6f727902000a696e697469616c697a650027046d696e740028097365745f61646d696e002b09616c6c6f77616e6365002d07617070726f7665002e0762616c616e6365002f087472616e7366657200300d7472616e736665725f66726f6d0032046275726e0033096275726e5f66726f6d003508646563696d616c730036046e616d6500380673796d626f6c0039015f003a0a5f5f646174615f656e6403010b5f5f686561705f6261736503020ab3282c1400200042014180cb1e4180d21f1090808080000b2500200010918080800020012002ad4220864204842003ad4220864204841080808080001a0bdd0102017f017e23808080800041106b22012480808080000240024002400240024020002802000e0403000102030b41c981c080004107109280808000200029030810938080800021020c030b41d081c080004105109280808000200029030810938080800021020c020b200141d581c0800041051092808080003703002001410110948080800021020c010b41c081c08000410910928080800021022001200041106a290300370308200120002903083703002002418881c0800041022001410210958080800010938080800021020b200141106a24808080800020020bc60102017e047f0240200141094b0d00420021022001210320002104024003402003450d0141012105024020042d0000220641df00460d000240200641506a41ff0171410a490d000240200641bf7f6a41ff0171411a490d002006419f7f6a41ff017141194b0d05200641456a21050c020b2006414b6a21050c010b200641526a21050b20024206862005ad42ff01838421022003417f6a2103200441016a21040c000b0b2002420886420e840f0b2000ad4220864204842001ad4220864204841089808080000b3c01017f23808080800041106b22022480808080002002200137030820022000370300200241021094808080002101200241106a24808080800020010b1a002000ad4220864204842001ad4220864204841085808080000b2f00024020012003460d0000000b2000ad4220864204842002ad4220864204842001ad422086420484108a808080000b7002017f017e23808080800041206b22002480808080002000420337030802400240200041086a10918080800022014202109780808000450d0020014202108180808000220142ff018342cd00510d0100000b418080c08000412b109880808000000b200041206a24808080800020010b0f0020002001108d808080004201510b0900109f80808000000b3d01017f23808080800041206b220124808080800020014203370308200141086a109180808000200042021082808080001a200141206a2480808080000bae0203027f017e017f23808080800041c0006b2203248080808000200341106a20023703002003200137030842002102200342003703000240024002402003109180808000220142001097808080000d0041002104420021010c010b200142001081808080002102410021040240034020044110460d01200341186a20046a4202370300200441086a21040c000b0b200242ff018342cc00520d01200241b081c080004102200341186a4102109b80808000200341286a2003290318109c80808000200329032850450d012003290320220242ff01834204520d01200329033021054200200341386a290300109d808080002002422088a722044b22061b21014200200520061b21020b200020013703082000200237030020002004360210200341c0006a2480808080000f0b00000b3200024020022004460d0000000b20002001ad4220864204842003ad4220864204842002ad422086420484108b808080001a0b830102017f017e0240024002402001a741ff0171220241c500460d0002402002410b470d00200041106a2001423f87370300200020014208873703080c020b200042839080808001370308420121010c020b2001108680808000210320011087808080002101200041106a2003370300200020013703080b420021010b200020013703000b0c00108c80808000422088a70b8f0201027f23808080800041d0006b22052480808080000240200242005220034200552003501b2206450d00109d8080800020044d0d00109f80808000000b200541106a41106a20013703002005200037031820054200370310200541286a41106a20013703002005200037033020054200370328200541286a109180808000210120052002200310a08080800020052004ad42208642048437034820052005290308370340200141b081c080004102200541c0006a410210958080800042001082808080001a02402006450d0002402004109d8080800022064f0d00418080c08000412b109880808000000b200541106a4200200420066b220420041090808080000b200541d0006a2480808080000b040000000b5b000240024020014280808080808080c0007c42ffffffffffffffff00560d0020012001852001423f87200285844200520d002001420886420b8421010c010b2002200110888080800021010b20002001370308200042003703000b920104017f017e017f017e23808080800041206b2204248080808000200441086a20002001109a808080000240200429030822052002542206200441106a290300220720035320072003511b0d000240200242005220034200552003501b450d0020002001200520027d200720037d2006ad7d2004280218109e808080000b200441206a2480808080000f0b109f80808000000b9b0102017f027e23808080800041306b22022480808080002002420137030020022001370308420021014200210302400240200210918080800022044201109780808000450d00200241186a20044201108180808000109c80808000200229031850450d01200241286a2903002103200229032021012002108f808080000b2000200337030820002001370300200241306a2480808080000f0b00000b6501017f23808080800041306b22032480808080002003420137031820032000370320200341186a1091808080002100200341086a2001200210a0808080002000200329031042011082808080001a200341186a108f80808000200341306a2480808080000b7c02017f017e23808080800041106b22032480808080002003200010a2808080000240200341086a2903002204200285427f852004200420027c2003290300220220017c2201200254ad7c220285834200530d0020002001200210a380808000200341106a2480808080000f0b41e080c08000411c109880808000000b950104017f017e017f017e23808080800041106b22032480808080002003200010a28080800002400240200329030022042001542205200341086a290300220620025320062002511b0d0020062002852006200620027d2005ad7d220285834200590d0141b080c080004121109880808000000b109f80808000000b2000200420017d200210a380808000200341106a2480808080000b1400024020014200530d000f0b109f80808000000bd60101017f23808080800041206b220424808080800002400240200042ff018342cd00520d00200142ff01834204520d00200242ff018342c900520d00200342ff018342c900520d0020044203370308200441086a10918080800042021097808080000d0120001099808080002001422088a741124b0d0120042003370318200420023703102004200142808080807083420484370308428e989fe6c3f9c13041f481c080004103200441086a410310958080800042021082808080001a200441206a24808080800042020f0b00000b109f80808000000bc70102017f027e23808080800041306b22022480808080000240200042ff018342cd00520d00200241186a2001109c80808000200229031850450d0020022903202201200241286a290300220310a68080800010968080800022041083808080001a10a98080800020002001200310a48080800020022000370328200220043703202002428ef2b3d70c370318200241186a10aa808080002100200241086a2001200310a080808000200020022903101084808080001a200241306a24808080800042020f0b00000b1b00428480808080a0e50042848080808090f600108e808080001a0ba60102017f017e23808080800041306b220124808080800020012000290310370310200120002903083703082001200029030037030041002100037e024020004118470d00410021000240034020004118460d01200141186a20006a200120006a290300370300200041086a21000c000b0b200141186a41031094808080002102200141306a24808080800020020f0b200141186a20006a4202370300200041086a21000c000b0b4f01017e0240200042ff018342cd00510d0000000b10968080800022011083808080001a10a9808080002000109980808000428ee6aeb9ea8ce4d538200110ac8080800020001084808080001a42020b940101027f23808080800041206b2202248080808000200220013703082002200037030041002103037e024020034110470d00410021030240034020034110460d01200241106a20036a200220036a290300370300200341086a21030c000b0b200241106a41021094808080002101200241206a24808080800020010f0b200241106a20036a4202370300200341086a21030c000b0b7401017f23808080800041306b22022480808080000240200042ff018342cd00520d00200142ff018342cd00520d0010a980808000200241186a20002001109a80808000200241086a2002290318200241206a29030010a08080800020022903102100200241306a24808080800020000f0b00000b950202017f027e23808080800041c0006b22042480808080000240200042ff018342cd00520d00200142ff018342cd00520d00200441186a2002109c80808000200429031850450d00200342ff01834204520d00200441286a29030021022004290320210520001083808080001a2005200210a68080800010a98080800020002001200520022003422088a7109e8080800041da81c0800041071092808080002106200420013703282004200037032020042006370318200441186a10aa808080002100200441086a2005200210a0808080002004200342808080807083420484370338200420042903103703302000200441306a41021094808080001084808080001a200441c0006a24808080800042020f0b00000b6201017f23808080800041206b22012480808080000240200042ff018342cd00510d0000000b10a980808000200141106a200010a28080800020012001290310200141186a29030010a08080800020012903082100200141206a24808080800020000ba80102017f017e23808080800041206b22032480808080000240200042ff018342cd00520d00200142ff018342cd00520d00200341086a2002109c80808000200329030850450d00200341186a29030021022003290310210420001083808080001a2004200210a68080800010a98080800020002004200210a58080800020012004200210a480808000200020012004200210b180808000200341206a24808080800042020f0b00000b6701017f23808080800041306b220424808080800020042001370328200420003703202004428eeeea95beb6def300370318200441186a10aa808080002101200441086a2002200310a080808000200120042903101084808080001a200441306a2480808080000bc20102017f017e23808080800041206b22042480808080000240200042ff018342cd00520d00200142ff018342cd00520d00200242ff018342cd00520d00200441086a2003109c80808000200429030850450d00200441186a29030021032004290310210520001083808080001a2005200310a68080800010a980808000200120002005200310a18080800020012005200310a58080800020022005200310a480808000200120022005200310b180808000200441206a24808080800042020f0b00000b8e0102017f017e23808080800041206b22022480808080000240200042ff018342cd00520d00200241086a2001109c80808000200229030850450d00200241186a29030021012002290310210320001083808080001a2003200110a68080800010a98080800020002003200110a58080800020002003200110b480808000200241206a24808080800042020f0b00000b4a01017f23808080800041106b2203248080808000428ee6b7fd09200010ac80808000210020032001200210a080808000200020032903081084808080001a200341106a2480808080000ba80102017f017e23808080800041206b22032480808080000240200042ff018342cd00520d00200142ff018342cd00520d00200341086a2002109c80808000200329030850450d00200341186a29030021022003290310210420001083808080001a2004200210a68080800010a980808000200120002004200210a18080800020012004200210a58080800020012004200210b480808000200341206a24808080800042020f0b00000b7102017f017e23808080800041206b220024808080800002400240428e989fe6c3f9c1304202109780808000450d002000428e989fe6c3f9c130420210818080800010b7808080002000290300500d010b00000b200041186a3502002101200041206a24808080800020014220864204840bf70102027f027e23808080800041206b2202248080808000410021030240034020034118460d01200241086a20036a4202370300200341086a21030c000b0b0240024002400240200142ff018342cc00520d00200141f481c080004103200241086a4103109b808080002002290308220142ff01834204520d012002290310220442ff018342c900520d0202402002290318220542ff018342c900520d002000200437030820004200370300200041186a2001422088a7360200200041106a20053703000c040b200042013703000c030b200042013703000c020b200042013703000c010b200042013703000b200241206a2480808080000b6802017f017e23808080800041206b220024808080800002400240428e989fe6c3f9c1304202109780808000450d002000428e989fe6c3f9c130420210818080800010b7808080002000290300500d010b00000b20002903082101200041206a24808080800020010b6b02017f017e23808080800041206b220024808080800002400240428e989fe6c3f9c1304202109780808000450d002000428e989fe6c3f9c130420210818080800010b7808080002000290300500d010b00000b200041106a2903002101200041206a24808080800020010b02000b0b96020100418080c0000b8c0263616c6c656420604f7074696f6e3a3a756e77726170282960206f6e206120604e6f6e65602076616c75650000000000617474656d707420746f2073756274726163742077697468206f766572666c6f77000000000000000000000000000000617474656d707420746f206164642077697468206f766572666c6f7766726f6d7370656e646572007c001000040000008000100007000000616d6f756e7465787069726174696f6e5f6c65646765720098001000060000009e00100011000000416c6c6f77616e636542616c616e6365537461746541646d696e617070726f7665646563696d616c6e616d6573796d626f6c0000e100100007000000e800100004000000ec00100006000000009f0a0e636f6e747261637473706563763000000000000000000000000a696e697469616c697a65000000000004000000000000000561646d696e000000000000130000000000000007646563696d616c000000000400000000000000046e616d6500000010000000000000000673796d626f6c000000000010000000000000000000000000000000046d696e74000000020000000000000002746f0000000000130000000000000006616d6f756e7400000000000b000000000000000000000000000000097365745f61646d696e0000000000000100000000000000096e65775f61646d696e0000000000001300000000000000000000000000000009616c6c6f77616e636500000000000002000000000000000466726f6d0000001300000000000000077370656e6465720000000013000000010000000b000000000000000000000007617070726f76650000000004000000000000000466726f6d0000001300000000000000077370656e64657200000000130000000000000006616d6f756e7400000000000b000000000000001165787069726174696f6e5f6c6564676572000000000000040000000000000000000000000000000762616c616e6365000000000100000000000000026964000000000013000000010000000b0000000000000000000000087472616e7366657200000003000000000000000466726f6d000000130000000000000002746f0000000000130000000000000006616d6f756e7400000000000b0000000000000000000000000000000d7472616e736665725f66726f6d0000000000000400000000000000077370656e6465720000000013000000000000000466726f6d000000130000000000000002746f0000000000130000000000000006616d6f756e7400000000000b000000000000000000000000000000046275726e00000002000000000000000466726f6d000000130000000000000006616d6f756e7400000000000b000000000000000000000000000000096275726e5f66726f6d0000000000000300000000000000077370656e6465720000000013000000000000000466726f6d000000130000000000000006616d6f756e7400000000000b00000000000000000000000000000008646563696d616c730000000000000001000000040000000000000000000000046e616d6500000000000000010000001000000000000000000000000673796d626f6c000000000000000000010000001000000001000000000000000000000010416c6c6f77616e6365446174614b657900000002000000000000000466726f6d0000001300000000000000077370656e64657200000000130000000100000000000000000000000e416c6c6f77616e636556616c75650000000000020000000000000006616d6f756e7400000000000b000000000000001165787069726174696f6e5f6c65646765720000000000000400000002000000000000000000000007446174614b65790000000004000000010000000000000009416c6c6f77616e636500000000000001000007d000000010416c6c6f77616e6365446174614b657900000001000000000000000742616c616e63650000000001000000130000000100000000000000055374617465000000000000010000001300000000000000000000000541646d696e0000000000000100000000000000000000000d546f6b656e4d65746164617461000000000000030000000000000007646563696d616c000000000400000000000000046e616d6500000010000000000000000673796d626f6c000000000010001e11636f6e7472616374656e766d6574617630000000000000001400000000006f0e636f6e74726163746d65746176300000000000000005727376657200000000000006312e37362e3000000000000000000008727373646b7665720000002f32302e352e30233965326333303232623433353562323234613761383134653133626135313736316565623134626200" - } - }, - "ext": "v0" - }, - 4095 - ] - ], - [ - { - "contract_code": { - "hash": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855" - } - }, - [ - { - "last_modified_ledger_seq": 0, - "data": { - "contract_code": { - "ext": "v0", - "hash": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", - "code": "" - } - }, - "ext": "v0" - }, - 4095 - ] - ] - ] - }, - "events": [ - { - "event": { - "ext": "v0", - "contract_id": null, - "type_": "diagnostic", - "body": { - "v0": { - "topics": [ - { - "symbol": "fn_call" - }, - { - "bytes": "48f1b6b8bc0d60f7140dd49b6120fbaf3cdbab2adaeea631313d9f0bae9532f1" - }, - { - "symbol": "init_asset" - } - ], - "data": { - "bytes": "0000000161616100000000000000000000000000000000000000000000000000000000000000000000000002" - } - } - } - }, - "failed_call": false - }, - { - "event": { - "ext": "v0", - "contract_id": "48f1b6b8bc0d60f7140dd49b6120fbaf3cdbab2adaeea631313d9f0bae9532f1", - "type_": "diagnostic", - "body": { - "v0": { - "topics": [ - { - "symbol": "fn_return" - }, - { - "symbol": "init_asset" - } - ], - "data": "void" - } - } - }, - "failed_call": false - }, - { - "event": { - "ext": "v0", - "contract_id": null, - "type_": "diagnostic", - "body": { - "v0": { - "topics": [ - { - "symbol": "fn_call" - }, - { - "bytes": "48f1b6b8bc0d60f7140dd49b6120fbaf3cdbab2adaeea631313d9f0bae9532f1" - }, - { - "symbol": "set_admin" - } - ], - "data": { - "address": "CAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD2KM" - } - } - } - }, - "failed_call": false - }, - { - "event": { - "ext": "v0", - "contract_id": "48f1b6b8bc0d60f7140dd49b6120fbaf3cdbab2adaeea631313d9f0bae9532f1", - "type_": "contract", - "body": { - "v0": { - "topics": [ - { - "symbol": "set_admin" - }, - { - "address": "GAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEGWF" - }, - { - "string": "aaa:GAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEGWF" - } - ], - "data": { - "address": "CAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD2KM" - } - } - } - }, - "failed_call": false - }, - { - "event": { - "ext": "v0", - "contract_id": "48f1b6b8bc0d60f7140dd49b6120fbaf3cdbab2adaeea631313d9f0bae9532f1", - "type_": "diagnostic", - "body": { - "v0": { - "topics": [ - { - "symbol": "fn_return" - }, - { - "symbol": "set_admin" - } - ], - "data": "void" - } - } - }, - "failed_call": false - }, - { - "event": { - "ext": "v0", - "contract_id": null, - "type_": "diagnostic", - "body": { - "v0": { - "topics": [ - { - "symbol": "fn_call" - }, - { - "bytes": "0000000000000000000000000000000000000000000000000000000000000004" - }, - { - "symbol": "initialize" - } - ], - "data": { - "vec": [ - { - "bytes": "b13961ecfa16928c58a7fabc15b4f9980066029041d896e068d9e9c9783433cf" - }, - { - "address": "CBEPDNVYXQGWB5YUBXKJWYJA7OXTZW5LFLNO5JRRGE6Z6C5OSUZPCCEL" - } - ] - } - } - } - }, - "failed_call": false - }, - { - "event": { - "ext": "v0", - "contract_id": "0000000000000000000000000000000000000000000000000000000000000004", - "type_": "diagnostic", - "body": { - "v0": { - "topics": [ - { - "symbol": "fn_call" - }, - { - "bytes": "df7f7a8c6b4bc0dac337ede81a553896cb3f79707525c6c3dadb1cec3e11289f" - }, - { - "symbol": "initialize" - } - ], - "data": { - "vec": [ - { - "address": "CAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAITA4" - }, - { - "u32": 7 - }, - { - "string": "XLM Pool Share Token" - }, - { - "string": "pXLM" - } - ] - } - } - } - }, - "failed_call": false - }, - { - "event": { - "ext": "v0", - "contract_id": "df7f7a8c6b4bc0dac337ede81a553896cb3f79707525c6c3dadb1cec3e11289f", - "type_": "diagnostic", - "body": { - "v0": { - "topics": [ - { - "symbol": "fn_return" - }, - { - "symbol": "initialize" - } - ], - "data": "void" - } - } - }, - "failed_call": false - }, - { - "event": { - "ext": "v0", - "contract_id": "0000000000000000000000000000000000000000000000000000000000000004", - "type_": "diagnostic", - "body": { - "v0": { - "topics": [ - { - "symbol": "fn_return" - }, - { - "symbol": "initialize" - } - ], - "data": "void" - } - } - }, - "failed_call": false - }, - { - "event": { - "ext": "v0", - "contract_id": null, - "type_": "diagnostic", - "body": { - "v0": { - "topics": [ - { - "symbol": "fn_call" - }, - { - "bytes": "0000000000000000000000000000000000000000000000000000000000000004" - }, - { - "symbol": "share_id" - } - ], - "data": "void" - } - } - }, - "failed_call": false - }, - { - "event": { - "ext": "v0", - "contract_id": "0000000000000000000000000000000000000000000000000000000000000004", - "type_": "diagnostic", - "body": { - "v0": { - "topics": [ - { - "symbol": "fn_return" - }, - { - "symbol": "share_id" - } - ], - "data": { - "address": "CDPX66UMNNF4BWWDG7W6QGSVHCLMWP3ZOB2SLRWD3LNRZ3B6CEUJ6HZT" - } - } - } - }, - "failed_call": false - }, - { - "event": { - "ext": "v0", - "contract_id": null, - "type_": "diagnostic", - "body": { - "v0": { - "topics": [ - { - "symbol": "fn_call" - }, - { - "bytes": "48f1b6b8bc0d60f7140dd49b6120fbaf3cdbab2adaeea631313d9f0bae9532f1" - }, - { - "symbol": "mint" - } - ], - "data": { - "vec": [ - { - "address": "CAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHK3M" - }, - { - "i128": { - "hi": 0, - "lo": 1000 - } - } - ] - } - } - } - }, - "failed_call": false - }, - { - "event": { - "ext": "v0", - "contract_id": "48f1b6b8bc0d60f7140dd49b6120fbaf3cdbab2adaeea631313d9f0bae9532f1", - "type_": "contract", - "body": { - "v0": { - "topics": [ - { - "symbol": "mint" - }, - { - "address": "CAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD2KM" - }, - { - "address": "CAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHK3M" - }, - { - "string": "aaa:GAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEGWF" - } - ], - "data": { - "i128": { - "hi": 0, - "lo": 1000 - } - } - } - } - }, - "failed_call": false - }, - { - "event": { - "ext": "v0", - "contract_id": "48f1b6b8bc0d60f7140dd49b6120fbaf3cdbab2adaeea631313d9f0bae9532f1", - "type_": "diagnostic", - "body": { - "v0": { - "topics": [ - { - "symbol": "fn_return" - }, - { - "symbol": "mint" - } - ], - "data": "void" - } - } - }, - "failed_call": false - }, - { - "event": { - "ext": "v0", - "contract_id": null, - "type_": "diagnostic", - "body": { - "v0": { - "topics": [ - { - "symbol": "fn_call" - }, - { - "bytes": "48f1b6b8bc0d60f7140dd49b6120fbaf3cdbab2adaeea631313d9f0bae9532f1" - }, - { - "symbol": "balance" - } - ], - "data": { - "address": "CAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHK3M" - } - } - } - }, - "failed_call": false - }, - { - "event": { - "ext": "v0", - "contract_id": "48f1b6b8bc0d60f7140dd49b6120fbaf3cdbab2adaeea631313d9f0bae9532f1", - "type_": "diagnostic", - "body": { - "v0": { - "topics": [ - { - "symbol": "fn_return" - }, - { - "symbol": "balance" - } - ], - "data": { - "i128": { - "hi": 0, - "lo": 1000 - } - } - } - } - }, - "failed_call": false - } - ] -} \ No newline at end of file