You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: soroban-env-common/env.json
+59Lines changed: 59 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -1708,6 +1708,65 @@
1708
1708
"return": "Void",
1709
1709
"docs": "Extend the contract instance and/or corresponding code entry TTL to be up to `extend_to` ledgers, where TTL is defined as `entry_live_until_ledger_seq - current_ledger_seq`. `extension_scope` defines whether contract instance, code, or both will be extended. The TTL extension only actually happens if it is at least `min_extension`, otherwise this function is a no-op. The amount of extension ledgers will not exceed `max_extension` ledgers. If attempting to extend an entry past the maximum allowed value (defined as the current ledger + `max_entry_ttl` - 1), its new `live_until_ledger_seq` will be clamped to the max.",
1710
1710
"min_supported_protocol": 26
1711
+
},
1712
+
{
1713
+
"export": "h",
1714
+
"name": "create_executable_tag",
1715
+
"args": [
1716
+
{
1717
+
"name": "tag_string",
1718
+
"type": "StringObject"
1719
+
}
1720
+
],
1721
+
"return": "ExecutableTagObject",
1722
+
"docs": "Creates a new `ExecutableTag` object holding the contents of the provided string. The tag acts as a key identifying an executable reference contract data entry. Executable reference entries may be used by other contracts to fetch their executable.",
1723
+
"min_supported_protocol": 28
1724
+
},
1725
+
{
1726
+
"export": "i",
1727
+
"name": "create_external_ref_contract",
1728
+
"args": [
1729
+
{
1730
+
"name": "deployer",
1731
+
"type": "AddressObject"
1732
+
},
1733
+
{
1734
+
"name": "executable_owner",
1735
+
"type": "AddressObject"
1736
+
},
1737
+
{
1738
+
"name": "tag",
1739
+
"type": "ExecutableTagObject"
1740
+
},
1741
+
{
1742
+
"name": "salt",
1743
+
"type": "BytesObject"
1744
+
},
1745
+
{
1746
+
"name": "constructor_args",
1747
+
"type": "VecObject"
1748
+
}
1749
+
],
1750
+
"return": "AddressObject",
1751
+
"docs": "Creates the contract instance on behalf of `deployer`. `deployer` must authorize this call via Soroban auth framework, i.e. this calls `deployer.require_auth` with respective arguments. Executable is read from the `executable_owner` contract storage entry keyed by `tag`. Currently the only supported external executable kind is hash of an existing Wasm. `salt` is used to create a unique contract id. `constructor_args` are forwarded into created contract's constructor (`__constructor`) function. Returns the address of the created contract.",
1752
+
"min_supported_protocol": 28
1753
+
},
1754
+
{
1755
+
"export": "j",
1756
+
"name": "update_current_contract_executable_ref",
1757
+
"args": [
1758
+
{
1759
+
"name": "executable_owner",
1760
+
"type": "AddressObject"
1761
+
},
1762
+
{
1763
+
"name": "tag",
1764
+
"type": "ExecutableTagObject"
1765
+
}
1766
+
],
1767
+
"return": "Void",
1768
+
"docs": "Replaces the executable of the current contract with the provided executable reference. Executable is read from the `executable_owner` contract storage entry keyed by `tag`. Currently the only supported external executable kind is hash of an existing Wasm. The update happens only after the current contract invocation has successfully finished, so this can be safely called in the middle of a function.",
0 commit comments