Skip to content

Instantly share code, notes, and snippets.

// SPDX-License-Identifier: MIT
pragma solidity >=0.8.4 <0.9.0;
interface IXERC20minimal {
/**
* @notice Emits when a limit is set
*
* @param _mintingLimit The updated minting limit we are setting to the bridge
* @param _burningLimit The updated burning limit we are setting to the bridge
* @param _bridge The address of the bridge we are setting the limit too
@radeksvarz
radeksvarz / IXERC20.sol
Created November 9, 2023 14:01
xERC20 upgradeable version in line with OZ 4. Note setBridgeLimits instead of setLimits.
// SPDX-License-Identifier: UNLICENSED
pragma solidity >=0.8.4 <0.9.0;
interface IXERC20 {
/**
* @notice Emits when a lockbox is set
*
* @param _lockbox The address of the lockbox
*/

Keybase proof

I hereby claim:

  • I am radeksvarz on github.
  • I am adekr (https://keybase.io/adekr) on keybase.
  • I have a public key whose fingerprint is 2C81 E571 35CB 4DC7 2903 4425 5A93 7921 E42A 1CF3

To claim this, I am signing this object:

@radeksvarz
radeksvarz / main.dart
Last active August 27, 2020 10:30
dartpad-rozvrh-detail
import 'package:flutter/foundation.dart';
/// detail casovy usek
///
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
final Color darkBlue = Color.fromARGB(255, 18, 32, 47);
void main() {
import matplotlib.pyplot as plt
from pylab import rand, ylim, xlim
from random import randint
import numpy as np
# random.randint(a, b) # Return a random integer N such that a <= N <= b.
def onGenerate():
x = randint(0,5)
y = randint(1, 6-x)
import matplotlib.pyplot as plt
from pylab import rand
from random import randint
import numpy as np
# random.randint(a, b) # Return a random integer N such that a <= N <= b.
# numpy.random.randint(low, high=None, size=None, dtype='l') # Return random integers from low (inclusive) to high (exclusive).
@radeksvarz
radeksvarz / main.dart
Created February 17, 2020 08:05
flutter-template-singlescroll column
import 'package:flutter/material.dart';
final Color darkBlue = Color.fromARGB(255, 18, 32, 47);
void main() {
runApp(MyApp());
}
class MyApp extends StatelessWidget {
@override
@radeksvarz
radeksvarz / main.dart
Last active February 17, 2020 01:25
dartpad-rozvrh
import 'package:flutter/material.dart';
final Color darkBlue = Color.fromARGB(255, 18, 32, 47);
void main() {
runApp(MyApp());
}
class MyApp extends StatelessWidget {
@override
@radeksvarz
radeksvarz / pytest.ini
Created March 1, 2017 18:55
Pytest and django - check admin pages of own apps - reading
[pytest]
addopts = --reuse-db
DJANGO_SETTINGS_MODULE = settings.dev
python_files = tests.py test_*.py *_tests.py