Amoveo ♥🧿
{market_swap_tx,0,0,0,
<<232,188,76,87,39,64,184,198,180,130,
171,136,24,119,236,70,...>>,
14883384,26549003,1,
<<0,0,0,0,0,0,0,0,0,0,0,0,...>>,
0,
<<143,62,126,54,38,165,77,31,202,183,...>>,
1},
{market_swap_tx,0,0,0,
<<214,69,132,214,127,234,195,204,148,96,
144,24,130,180,45,...>>,
100,297,1,
<<0,0,0,0,0,0,0,0,0,0,0,...>>,
0,
<<143,62,126,54,38,165,77,31,202,...>>,
2},
{contract_use_tx,0,0,0,
<<143,62,126,54,38,165,77,31,202,183,41,
168,218,...>>,
87873150,2,
<<0,0,0,0,0,0,0,0,0,0,...>>,
0},
{contract_use_tx,0,0,0,
<<143,62,126,54,38,165,77,31,202,183,41,
168,...>>,
166216165,2,
<<0,0,0,0,0,0,0,0,0,...>>,
0}
{market_liquidity_tx,0,0,0,
<<94,136,88,249,8,61,155,33,83,243,197,
...>>,
134853097,
<<143,62,126,54,38,165,77,31,202,...>>,
1,
<<143,62,126,54,38,165,77,...>>,
2},
{market_liquidity_tx,0,0,0,
<<232,188,76,87,39,64,184,198,180,130,...>>,
43536636,
<<0,0,0,0,0,0,0,0,...>>,
0,
<<143,62,126,54,38,165,...>>,
1},
you can sell 2.0012047635910126 of the source currency to gain liquidity shares that are currently worth:which looks like what I want to do
0.3378586635910126 of source currency.
1.6621413231031354 of subcurrency type 1.
1.6621413273453902 of subcurrency type 2.
{market_liquidity_tx,0,0,0,this tx spent some veo
<<232,188,76,87,39,64,184,198,180,130,...>>,
43536636,
<<0,0,0,0,0,0,0,0,...>>,
0,
<<143,62,126,54,38,165,...>>,
1},
market id: 6LxMVydAuMa0gquIGHfsRhmhZ6KHOQ0AmWOpF4iKb7w=seems like 0.43 shares is going to cost 0.43 * 2.46 / 3.17 = 0.33 veo
currency 1: veo
amount 1: 246235231
cid 2: jz5+NialTR/Ktymo2jb7PBDdVIGcSKVXwVw0bA6dEqY=
type 2: 1
amount 2: 409344382
shares: 317319024
["contract_use_tx",0,0,0,"jz5+NialTR/Ktymo2jb7PBDdVIGcSKVXwVw0bA6dEqY=",166214134,2,"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=",0],looks like I lose 1.66 veo from the contract_use_tx.
["market_liquidity_tx",0,0,0,"6LxMVydAuMa0gquIGHfsRhmhZ6KHOQ0AmWOpF4iKb7w=",43535710,"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=",0,"jz5+NialTR/Ktymo2jb7PBDdVIGcSKVXwVw0bA6dEqY=",1],
{market_swap_tx,0,0,0,
<<60,85,110,145,87,251,133,145,53,146,248,189,24,102,...>>,
100000000,76475057,1,
<<0,0,0,0,0,0,0,0,0,0,...>>,
0,
<<134,232,233,132,181,81,221,172,...>>,
2},
snap install amoveo-wallet
git pull
, it may fail.git fetch origin
git reset --hard origin/master
git clone https://github.com/zack-bitcoin/amoveo.git .
Look up the result of oracle X.
verify that the oracle question matches the required format.
verify that the oracle returned "True".
Parse a number from the oracle question.
Split up the value from this contract based on that number that was embedded in that oracle question.