Let's test this thing:
python
from pyteal import *
def smart_contract():
on_creation = Seq([
App.globalPut(Bytes("required_arg"), Txn.application_args[0]),
Let's test this thing:
python
from pyteal import *
def smart_contract():
on_creation = Seq([
App.globalPut(Bytes("required_arg"), Txn.application_args[0]),
Thank you for your interest in the "Project", owned and run by Struct Chat, Inc. ("Struct"). In order to clarify the intellectual property license granted with Contributions from any person or entity, Struct must have a Contributor License Agreement ("CLA") on file that has been signed by each Contributor, indicating agreement to the license terms below. This license is for your protection as a Contributor as
package main | |
import ( | |
"fmt" | |
"math/rand" | |
"net/http" | |
"time" | |
"github.com/dgraph-io/badger" | |
"strings" | |
) |
package main | |
import ( | |
"context" | |
"encoding/hex" | |
"fmt" | |
"github.com/ethereum/go-ethereum/accounts/abi" | |
"github.com/ethereum/go-ethereum/common" | |
"github.com/ethereum/go-ethereum/core/types" | |
"github.com/ethereum/go-ethereum/ethclient" |
module poly | |
go 1.18 | |
require github.com/ethereum/go-ethereum v1.10.21 | |
require ( | |
github.com/StackExchange/wmi v0.0.0-20180116203802-5d049714c4a6 // indirect | |
github.com/btcsuite/btcd/btcec/v2 v2.2.0 // indirect | |
github.com/deckarep/golang-set v1.8.0 // indirect |
package main | |
import ( | |
"crypto/rand" | |
"io" | |
"net" | |
"os" | |
"syscall" | |
"testing" | |
) |
package main | |
import ( | |
"fmt" | |
"log" | |
"net/http" | |
"strconv" | |
"sync" | |
"github.com/dgraph-io/badger" |
package main | |
import ( | |
"encoding/binary" | |
"encoding/json" | |
"fmt" | |
"net/http" | |
_ "net/http/pprof" | |
"os" | |
"os/signal" |
%s;^\(\s\+\);\=repeat(' ', len(submatch(0))/2);g |
# Save this file (after modifying ID_VENDOR and ID_MODEL if necessary) as /etc/udev/rules.d/81-thinkpad-dock.rules | |
# These values seem to work for "ThinkPad Mini Dock Plus Series 3" | |
SUBSYSTEM=="usb", ACTION=="add|remove", ENV{ID_VENDOR}=="17ef", ENV{ID_MODEL}=="100a", RUN+="/etc/sbin/thinkpad-dock.sh" |