Comments (2)
[clyos --fee-payer option support]
clyos push action yx.ntoken transfer '[ "useraccount3", "useraccount2", "5000.00 DKRW", "memo1" ]' -v producer.g --fee-payer useraccount2 -p useraccount3 -p useraccount2
executed transaction: 067f5d934ef47d2d016e0feaf66adb352146303a7567b23ddad5c2da62120387 184 bytes 1433 us
# yx.ntoken <= yx.ntoken::transfer {"from":"useraccount3","to":"useraccount2","amount":"5000.00 DKRW","memo":"memo1"}
# yx.ntoken <= yx.ntoken::ntransfer {"from":"useraccount3","to":"useraccount2","token":{"amount":"5000.00 DKRW","issuer":"sysdepo1"},"me...
# useraccount3 <= yx.ntoken::ntransfer {"from":"useraccount3","to":"useraccount2","token":{"amount":"5000.00 DKRW","issuer":"sysdepo1"},"me...
# useraccount2 <= yx.ntoken::ntransfer {"from":"useraccount3","to":"useraccount2","token":{"amount":"5000.00 DKRW","issuer":"sysdepo1"},"me...
# yx.ntoken <= yx.ntoken::payfee {"payer":"useraccount2","token":{"amount":"100.00 DKRW","issuer":"sysdepo1"}}
# useraccount2 <= yx.ntoken::payfee {"payer":"useraccount2","token":{"amount":"100.00 DKRW","issuer":"sysdepo1"}}
# yx.txfee <= yx.ntoken::payfee {"payer":"useraccount2","token":{"amount":"100.00 DKRW","issuer":"sysdepo1"}}
from yosemite-public-blockchain.
[transaction message example]
#define YOSEMITE_DELEGATED_TRANSACTION_FEE_PAYER_TX_EXTENSION_FIELD 1002
clyos push action yx.ntoken transfer '[ "useraccount3", "useraccount2", "5000.00 DKRW", "memo1" ]' -v producer.g --fee-payer useraccount2 -p useraccount3 -p useraccount2 -j -d
{
"expiration": "2018-10-17T09:03:24",
"ref_block_num": 53886,
"ref_block_prefix": 2554335991,
"max_net_usage_words": 0,
"max_cpu_usage_ms": 0,
"delay_sec": 0,
"context_free_actions": [],
"actions": [{
"account": "yx.ntoken",
"name": "transfer",
"authorization": [{
"actor": "useraccount3",
"permission": "active"
},{
"actor": "useraccount2",
"permission": "active"
}
],
"data": "30f2d414217315d620f2d414217315d620a107000000000002444b5257000000056d656d6f31"
}
],
"transaction_extensions": [[
1001,
"00000357219de8ad"
],[
1002,
"20f2d414217315d6"
]
],
"signatures": [
"YSG_K1_K2RC4r9fM5PKUDDQ3EztyF6LTErparKi9mDyTK3VZfxMW7a7mLTFg7wJviPGZtmphXWUHeKBDr5ScChKouwzxP18t4iCGo",
"YSG_K1_JyeRw5tf5sFyQ9d4pSNQzqGch7n3ULF8vm6kXTJvGPskJya4KNhh7sWpMbgz8fcs7WR6Bn9mrpmAtWJJPZ7JREgrZLWeiz"
],
"context_free_data": []
}
from yosemite-public-blockchain.
Related Issues (20)
- unit tests for yx contracts
- Show the last contract error message of a transaction failure
- [yx.ntoken] fix unrequired behaviour of transaction fee calculation
- merge eos 1.3.0
- [yx.dcontract] remove signer account type and KYC checking of dcreate operation
- Non-Fungible Token contract (ERC721) HOT 1
- Non-Fungible Token exchange
- Merge EOSIO 1.4.1 HOT 1
- Token Issue Delegation
- YOSEMITE Standard Token Interface
- Avoid DoS attack with fee logic
- [yx.identity] adult and accredited investor authentication
- Merge EOS 1.4.4
- Adjust get_account error message
- Adjust tx fee error with the payer who has insufficient fee token HOT 2
- add keyos work-dir option
- [Proof-of-Transaction] Transaction Vote Statistics on Blockchain Core
- [yx.system] update system contract according to the transaction vote stats. on blockchain core
- [contract] Yosemite Token - merchant-issuing gift token backed stable coin
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from yosemite-public-blockchain.