Commit acdc940
committed
fix: wire missing types, keys, events and fields from merged PRs
- Added PenaltyTier contracttype struct (Vec<(u64,u32)> unsupported by contracttype)
- Split admin_frozen from InvoiceExt (at 40-field limit) into InvoiceExt2
- Added penalty_tiers, allowed_callers, refund_grace_secs to InvoiceExt
- Added require_kyc, scheduled_release_at to InvoiceOptions
- Added donate_on_failure to Payment; wired through pay() → _pay()
- Added 8 new event functions (nft_gate_set, timelock, admin freeze, etc.)
- Added missing helper fns: pay_shard_key, compute_shard_id, require_admin, etc.
- Fixed symbol_short!("fee_waivers") → "fee_wvrs" (max 9 chars)
- Fixed ed25519_verify: convert BytesN<32> → Bytes for message arg
- Fixed test nonce (per-payer not global) and shard key name ("pay_sh")
- All 151 tests pass1 parent 6b1a5bc commit acdc940
4 files changed
Lines changed: 201 additions & 35 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
186 | 186 | | |
187 | 187 | | |
188 | 188 | | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
0 commit comments