Skip to content

Commit

Permalink
Add SENDMSG
Browse files Browse the repository at this point in the history
  • Loading branch information
hacker-volodya committed Jan 29, 2024
1 parent e02436a commit 4a019f4
Showing 1 changed file with 41 additions and 0 deletions.
41 changes: 41 additions & 0 deletions cp0.json
Original file line number Diff line number Diff line change
Expand Up @@ -37162,6 +37162,47 @@
}
}
},
{
"mnemonic": "SENDMSG",
"doc": {
"category": "app_actions",
"description": "Creates an output action and returns a fee for creating a message. Mode has the same effect as in the case of `SENDRAWMSG`. Additionally `+1024` means - do not create an action, only estimate fee. Other modes affect the fee calculation as follows: `+64` substitutes the entire balance of the incoming message as an outcoming value (slightly inaccurate, gas expenses that cannot be estimated before the computation is completed are not taken into account), `+128` substitutes the value of the entire balance of the contract before the start of the computation phase (slightly inaccurate, since gas expenses that cannot be estimated before the completion of the computation phase are not taken into account).",
"gas": "526",
"fift": "SENDMSG"
},
"bytecode": {
"doc_opcode": "FB08",
"tlb": "#FB08",
"prefix": "FB08",
"operands": []
},
"value_flow": {
"doc_stack": "c x - fee",
"inputs": {
"stack": [
{
"type": "simple",
"name": "c",
"value_types": ["Cell"]
},
{
"type": "simple",
"name": "x",
"value_types": ["Integer"]
}
]
},
"outputs": {
"stack": [
{
"type": "simple",
"name": "fee",
"value_types": ["Integer"]
}
]
}
}
},
{
"mnemonic": "DUMPSTK",
"doc": {
Expand Down

0 comments on commit 4a019f4

Please sign in to comment.