Skip to content

Commit 8ad2359

Browse files
committed
Add ttREMIT
1 parent dd7d92e commit 8ad2359

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

src/HookOn.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ class HookOn
5454
const ttURITOKEN_BUY = 47;
5555
const ttURITOKEN_CREATE_SELL_OFFER = 48;
5656
const ttURITOKEN_CANCEL_SELL_OFFER = 49;
57+
const ttREMIT = 95;
5758
const ttGENESIS_MINT = 96; //Private
5859
const ttIMPORT = 97; //Private
5960
const ttCLAIM_REWARD = 98; //Private
@@ -99,6 +100,7 @@ class HookOn
99100
47 => 'ttURITOKEN_BUY',
100101
48 => 'ttURITOKEN_CREATE_SELL_OFFER',
101102
49 => 'ttURITOKEN_CANCEL_SELL_OFFER',
103+
95 => 'ttREMIT',
102104
96 => 'ttGENESIS_MINT',
103105
97 => 'ttIMPORT',
104106
98 => 'ttCLAIM_REWARD',

tests/HookOnTest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,7 @@ public function testDecode()
124124
unset($expected[HookOn::ttNFTOKEN_CREATE_OFFER]);
125125
unset($expected[HookOn::ttNFTOKEN_CANCEL_OFFER]);
126126
unset($expected[HookOn::ttNFTOKEN_ACCEPT_OFFER]);
127+
unset($expected[HookOn::ttREMIT]);
127128
unset($expected[HookOn::ttGENESIS_MINT]);
128129
unset($expected[HookOn::ttIMPORT]);
129130
unset($expected[HookOn::ttCLAIM_REWARD]);
@@ -148,6 +149,7 @@ public function testDecode()
148149
unset($expected[HookOn::ttNFTOKEN_CREATE_OFFER]);
149150
unset($expected[HookOn::ttNFTOKEN_CANCEL_OFFER]);
150151
unset($expected[HookOn::ttNFTOKEN_ACCEPT_OFFER]);
152+
unset($expected[HookOn::ttREMIT]);
151153
unset($expected[HookOn::ttGENESIS_MINT]);
152154
unset($expected[HookOn::ttIMPORT]);
153155
unset($expected[HookOn::ttCLAIM_REWARD]);

0 commit comments

Comments
 (0)