The following a migration guide for Version constants in v2.5.0
of the arionum-php
package.
The old constants were available in the pxgamer\Arionum\Transaction
class, but have now moved to a dedicated class at:
OwenVoke\Arionum\Transaction\Version
These will be removed from Transaction
in v3.0.0
.
Old | ~~ | New |
---|---|---|
Transaction::VERSION_STANDARD |
=> | Version::STANDARD |
Transaction::VERSION_ALIAS_SEND |
=> | Version::ALIAS_SEND |
Transaction::VERSION_ALIAS_SET |
=> | Version::ALIAS_SET |
Transaction::VERSION_MASTERNODE_CREATE |
=> | Version::MASTERNODE_CREATE |
Transaction::VERSION_MASTERNODE_PAUSE |
=> | Version::MASTERNODE_PAUSE |
Transaction::VERSION_MASTERNODE_RESUME |
=> | Version::MASTERNODE_RESUME |
Transaction::VERSION_MASTERNODE_RELEASE |
=> | Version::MASTERNODE_RELEASE |
There are also now 6 new transaction constants related to the asset system:
Version::ASSET_CREATE
Version::ASSET_SEND
Version::ASSET_MARKET
Version::ASSET_CANCEL_ORDER
Version::ASSET_DIVIDENDS
Version::ASSET_INFLATE