Wrapper Index Contract interface. WIC is a contract to index (enumerate) wrappers.
More...
#include <WIC.hpp>
|
resumable< void > | onDeploy (uint128 keep_evers, address_opt old_wrappers_cfg, address_opt old_wrapper, bool keep_wrapper, address deployer, uint8 type, cell init_args) |
|
void | setNext (address_opt old_wrappers_cfg, opt< string > next_symbol, address next) |
| Set next WIC address. More...
|
|
void | cloneUpgrade (WICCloneEvers evers, opt< address > first_clone, opt< address > last_clone, opt< string > prev_symbol, uint32 wic_count, uint32 token_version, address new_wrappers_cfg, dict_array< address > wrapper_deployers) |
|
void | unlist () |
| Mark this WIC/Wrapper as unlisted. Unlisted WIC will not be cloned during cloneUpgrade.
|
|
WICDetails | getDetails () |
| Get info about contract state details.
|
|
Wrapper Index Contract interface. WIC is a contract to index (enumerate) wrappers.
◆ cloneUpgrade()
void cloneUpgrade |
( |
WICCloneEvers |
evers, |
|
|
opt< address > |
first_clone, |
|
|
opt< address > |
last_clone, |
|
|
opt< string > |
prev_symbol, |
|
|
uint32 |
wic_count, |
|
|
uint32 |
token_version, |
|
|
address |
new_wrappers_cfg, |
|
|
dict_array< address > |
wrapper_deployers |
|
) |
| |
Clone this WIC to the new Flex version. This call will be chained to the next WIC (if exists).
- Parameters
-
evers | Evers configuration |
first_clone | First WIC clone (if it is a nested call) |
last_clone | Last WIC clone (if it is a nested call) |
prev_symbol | Previous WIC symbol (if it is a nested call). Including unlisted. |
wic_count | WIC count |
token_version | Tokens update group version |
new_wrappers_cfg | New WrappersConfig address |
wrapper_deployers | Wrapper deployers for different types |
◆ onDeploy()
resumable<void> onDeploy |
( |
uint128 |
keep_evers, |
|
|
address_opt |
old_wrappers_cfg, |
|
|
address_opt |
old_wrapper, |
|
|
bool |
keep_wrapper, |
|
|
address |
deployer, |
|
|
uint8 |
type, |
|
|
cell |
init_args |
|
) |
| |
- Parameters
-
keep_evers | Keep evers in the contract |
old_wrappers_cfg | Old WrappersConfig address (empty if it is original listing deploy) |
old_wrapper | Old wrapper for this clone |
keep_wrapper | If deployer is not changed (at cloning), keep_wrapper will be true. |
deployer | Wrapper deployer address |
type | Wrapper type |
init_args | Init args |
◆ setNext()
void setNext |
( |
address_opt |
old_wrappers_cfg, |
|
|
opt< string > |
next_symbol, |
|
|
address |
next |
|
) |
| |
Set next WIC address.
- Parameters
-
old_wrappers_cfg | Old WrappersConfig address in case of call from previous `next` WIC |
next_symbol | Next WIC `symbol`. Must be set iff old_wrappers_cfg is set. |
next | New `next` WIC in the linked list |
The documentation for this interface was generated from the following file: